/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, rgba(38, 103, 255, 0.1) 0%, rgba(255, 71, 84, 0.05) 100%);
    padding: 50px 0 0px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232667FF' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.service-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-hero-content p {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.service-hero-image {
    position: relative;
    z-index: 2;
}

.service-hero-image:hover img {
    transform: scale(1.02);
}

.service-features {
    margin-top: 40px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.service-feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

.why-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.why-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(38, 103, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: var(--primary-color);
    color: white;
}

/* Our Service Section*/
/* Enhanced Services Section */
.services-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(11, 20, 96, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    z-index: 2;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(11, 20, 96, 0.15);
}

.service-card:hover::before {
    height: 10px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(38, 103, 255, 0.1) 0%, rgba(255, 71, 84, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: all 0.4s ease;
}

.service-card:hover h3::after {
    width: 100%;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: var(--dark-color);
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.service-features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-features-list li {
    color: var(--dark-color);
    transform: translateX(5px);
}

.service-card:hover .service-features-list li::before {
    color: var(--accent-color);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover::after {
    width: 100%;
}

.service-link i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(38, 103, 255, 0.03) 0%, rgba(255, 71, 84, 0.02) 100%);
}

.process-step {
    position: relative;
    padding-left: 90px;
    margin-bottom: 40px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.process-step-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background-color: white;
}

.tool-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tool-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tool-card:hover img {
    transform: scale(1.1);
}

/* CTA Section */
.service-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a56ff 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.service-cta-content {
    position: relative;
    z-index: 2;
}

.service-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}
.service-cta, .btn {
    pointer-events: auto !important;
    z-index: 9999;
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .service-hero {
        padding: 50px 0 0px;
    }
    
    .service-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-image {
        margin-top: 40px;
    }
    
    .process-step {
        padding-left: 70px;
    }
    
    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .service-hero {
        padding: 50px 0 0px;
        text-align: center;
    }
    
    .service-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-hero-content p {
        font-size: 1.1rem;
    }
    
    .service-feature-item {
        justify-content: center;
    }
    
    .service-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .service-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .process-step {
        padding-left: 60px;
    }
    
    .process-step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-step-content h3 {
        font-size: 1.3rem;
    }
}

/* Top Image */	
/* Service Hero Section - Responsive Adjustments */
.service-hero {
    padding: 50px 0 0px;
}

.service-hero .row {
    display: flex;
    flex-wrap: wrap;
}

.service-hero-content {
    text-align: left;
    padding: 0;
}

.service-hero-image {
    margin-bottom: 30px;
    text-align: center;
}

.service-hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-features {
    margin-top: 20px;
}

.service-feature-item {
    justify-content: flex-start !important;
}

.btn-group-mobile {
    flex-direction: column;
    gap: 10px;
}

/* Mobile devices (default) */
@media (max-width: 991.98px) {
    .service-hero .row {
        flex-direction: column;
    }
    
    .service-hero-image {
        order: -1; /* This moves the image to the top */
    }
    
    .service-hero-content {
        order: 1; /* This moves the content below the image */
    }
    
    .btn-mobile {
        width: 100%;
        text-align: center;
    }
}

/* Desktop devices */
@media (min-width: 992px) {
    .service-hero {
        padding: 50px 0 0px;
    }
    
    .service-hero-image {
        margin-bottom: 0;
    }
    
    .service-hero-content h1 {
        font-size: 3rem;
    }
    
    .service-hero-content p {
        font-size: 1.2rem;
    }
    
    .btn-group-desktop {
        flex-direction: row;
        gap: 15px;
    }
}

/* Override Bootstrap's default column ordering */
@media (max-width: 991.98px) {
    .service-hero .row {
        display: flex;
        flex-direction: column;
    }
    
    .service-hero .col-lg-6:first-child {
        order: 2; /* Content moves below */
    }
    
    .service-hero .col-lg-6:last-child {
        order: 1; /* Image moves to top */
        margin-bottom: 30px;
    }
    
    .service-hero-content {
        text-align: left;
        padding: 0 15px;
    }
    
    .service-hero-image {
        text-align: center;
    }
    
    .btn-group-mobile {
        flex-direction: column;
    }
    
    .btn-group-mobile .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .service-hero .col-lg-6:first-child {
        order: 1; /* Content on left */
    }
    
    .service-hero .col-lg-6:last-child {
        order: 2; /* Image on right */
    }
    
    .service-hero-content {
        padding-right: 30px;
    }
}

/* Menu Broken solved */
@media (max-width: 1245px) and (min-width: 992px) {
    /* Navbar container adjustments */
    .navbar {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Logo size reduction */
    .navbar-brand img {
        width: 140px;
    }
    
    /* Nav items container */
    .navbar-nav {
        flex-wrap: nowrap; /* Keep items in single line */
        align-items: center;
    }
    
    /* Individual nav items */
    .navbar-nav .nav-item {
        margin-right: 4px;
        white-space: nowrap;
    }
    
    /* Nav links */
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    /* Services dropdown adjustments */
    .dropdown-toggle .fa-chevron-down {
        font-size: 0.65rem;
        margin-left: 2px;
    }
    
    /* CTA button specific styling */
    .nav-cta {
        padding: 0.35rem 0.7rem;
        font-size: 0.85rem;
        margin-left: 8px;
        white-space: nowrap;
    }
    
    /* Reduce dropdown menu padding */
    .dropdown-menu {
        min-width: 200px;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

.service-cta {
    pointer-events: auto !important;
    z-index: 1; /* Lower value to keep behind sticky navbar */
    position: relative;
}

.btn {
    z-index: auto; /* Reset */
    position: relative;
}