/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --header-height: 80px;
    --footer-height: 400px;
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Navigation Styles */
#mainNav {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
}

    #mainNav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #mainNav .navbar-brand {
        font-weight: 700;
        color: var(--dark-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
    }

.navbar-logo {
    height: 80px;
    width: auto;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

#mainNav .navbar-nav {
    gap: 1.5rem;
}

#mainNav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.75rem 0;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
}

    #mainNav .nav-link::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background: #2563eb;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #mainNav .nav-link:hover::before,
    #mainNav .nav-link.active::before,
    #mainNav .nav-link.show::before {
        transform: scaleX(1);
        transform-origin: left;
    }

    #mainNav .nav-link:hover,
    #mainNav .nav-link.active,
    #mainNav .nav-link.show {
        color: #2563eb;
    }

/* Active Navigation Item */
#mainNav .nav-item.active .nav-link {
    color: #2563eb;
}

    #mainNav .nav-item.active .nav-link::before {
        transform: scaleX(1);
        transform-origin: left;
    }

/* Mobile Navigation Adjustments */
@media (max-width: 991.98px) {
    #mainNav {
        padding: 0.75rem 1rem;
        height: auto;
        min-height: 70px;
        width: 100%;
    }

    .navbar-brand {
        margin-right: auto;
        padding: 0;
        font-size: 1.1rem; /* Reduce font size */
    }

    .navbar-toggler {
        margin-left: 0.5rem;
        padding: 0.4rem;
        border: none;
        outline: none !important;
    }

    .navbar-collapse {
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .navbar-nav {
        padding: 0;
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-item {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

        .nav-item:last-child {
            border-bottom: none;
        }

    .nav-link {
        padding: 0.75rem 1.25rem !important; /* Reduce vertical padding */
        margin: 0 !important;
        min-height: 50px;
        line-height: 1;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        color: var(--dark-color) !important;
        font-weight: 500;
    }

    /* Dropdown Menu Styles */
    .nav-item .dropdown-menu {
        position: static !important;
        float: none;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none;
        border-radius: 0;
        background: #f8f9fa;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
        display: none;
        opacity: 1;
        transform: none !important;
        visibility: visible;
        transition: none !important;
    }

        .nav-item .dropdown-menu.show {
            display: block;
        }

    /* Industries and Solutions Menu */
    .industries-menu,
    .nav-item:nth-child(2) .dropdown-menu {
        min-width: 100% !important;
    }

    .industries-section,
    .solutions-section {
        border: none;
        padding: 0;
    }

        .industries-section h3,
        .solutions-section h3 {
            padding: 1rem 1.25rem;
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
            color: #2563eb;
            background: rgba(37, 99, 235, 0.04);
        }

    .dropdown-items-wrapper {
        padding: 0;
    }

    .dropdown-item {
        padding: 0.875rem 1.25rem !important;
        color: #4b5563;
        font-size: 0.9375rem;
        line-height: 1.4;
        border-radius: 0;
        transition: all 0.2s ease;
        white-space: normal;
    }

        .dropdown-item:hover {
            background-color: rgba(37, 99, 235, 0.04);
            color: #2563eb;
            padding-left: 1.5rem !important;
        }

    /* Column Layout */
    .row {
        margin: 0;
    }

    .col-md-4 {
        padding: 0;
    }

        .col-md-4:not(:last-child) .industries-section,
        .col-md-4:not(:last-child) .solutions-section {
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        }

    /* Mobile Buttons */
    .mobile-nav-buttons {
        padding: 1rem 1.25rem;
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        background: white;
        margin-top: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

        .mobile-nav-buttons .btn {
            padding: 0.75rem;
            font-size: 0.9375rem;
            font-weight: 500;
            width: 100%;
            border-radius: 6px;
        }

        .mobile-nav-buttons .btn-outline-primary {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

            .mobile-nav-buttons .btn-outline-primary:hover {
                background-color: var(--primary-color);
                color: white;
            }

        .mobile-nav-buttons .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

            .mobile-nav-buttons .btn-primary:hover {
                background-color: var(--secondary-color);
                border-color: var(--secondary-color);
            }

    /* Dropdown Toggle Animation */
    .nav-link.dropdown-toggle::after {
        transition: transform 0.2s ease;
    }

    .nav-link.dropdown-toggle.show::after {
        transform: rotate(-180deg);
    }

    /* Industry Cards Mobile Style */
    .industry-card {
        background: white;
        padding: 1.25rem;
        margin: 0.5rem 0;
        border-radius: 8px;
        border-bottom: none !important;
    }

        .industry-card h4 {
            font-size: 1rem;
            margin-bottom: 0.3rem;
        }

        .industry-card p {
            font-size: 0.875rem;
            margin: 0;
            color: #6b7280;
            line-height: 1.3;
        }

    /* Solutions Section Mobile */
    .solutions-section {
        padding: 0;
        background: white;
    }

        .solutions-section h3 {
            padding: 1rem 1.25rem;
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
            color: #2563eb;
            background: rgba(37, 99, 235, 0.04);
        }

    .dropdown-items-wrapper {
        padding: 0.5rem 0;
    }

    .dropdown-item {
        padding: 0.3rem 1.5rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    /* Mobile Buttons */
    .mobile-nav-buttons {
        padding: 1rem 1.25rem;
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        background: white;
        margin-top: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

        .mobile-nav-buttons .btn {
            padding: 0.75rem;
            font-size: 0.9375rem;
            font-weight: 500;
            width: 100%;
            border-radius: 6px;
        }

    /* Dropdown Menus */
    .nav-item .dropdown-menu {
        padding: 0 !important;
        margin: 0 !important;
        border: none;
        border-radius: 0;
        background: #f8f9fa;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .industries-menu,
    .nav-item:nth-child(2) .dropdown-menu {
        min-width: 100% !important;
    }

    /* Remove desktop animations */
    .dropdown-menu {
        animation: none !important;
        transform: none !important;
    }

    .solutions-section .dropdown-item:hover,
    .industries-section .dropdown-item:hover {
        transform: none;
    }

    /* Smaller screens */
    @media (max-width: 575.98px) {
        .navbar-brand {
            font-size: 1rem;
        }

        .navbar-logo {
            height: 60px;
        }

        .desktop-nav-buttons {
            display: none !important;
        }
    }
}

/* Preserve Desktop Styles */
@media (min-width: 992px) {
    /* Keep all existing desktop styles unchanged */
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-nav {
        gap: 1.5rem;
    }

    .nav-item .dropdown-menu {
        position: absolute;
        animation: dropdownFade 0.2s ease;
    }

    .industries-menu {
        width: auto;
        min-width: 900px;
        padding: 1rem;
        position: absolute;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin-top: 0.5rem;
    }

        .industries-menu .desktop-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            padding: 0.5rem;
        }

    .industry-card:hover {
        background-color: rgba(37, 99, 235, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    }

    .industry-card-large .card-body {
        text-align: left;
    }

    .nav-item:nth-child(2) .dropdown-menu {
        padding: 1rem 0.25rem 0.5rem;
    }

    .nav-item:nth-child(2) .dropdown-menu .row {
        display: flex;
        margin: 0;
        width: 100%;
    }

    .nav-item:nth-child(2) .dropdown-menu .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        padding: 0 8px;
        position: relative;
    }

    .nav-item:nth-child(2) .dropdown-menu .col-md-4:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .solutions-section {
        padding: 0;
        height: 100%;
    }

    .solutions-section h3 {
        margin-bottom: 1rem;
    }

    .menu-item .item-title {
        margin-bottom: 0;
        line-height: 1;
    }

    .menu-item {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0.125rem;
    }

    .solutions-mega-menu .container {
        max-width: 100%;
        padding: 0.25rem;
    }

    .solutions-mega-menu .row {
        margin: 0;
    }

    .solutions-mega-menu .col-md-4 {
        padding: 0;
    }

    .solutions-mega-menu .col-md-4:not(:last-child) .solutions-section {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
}

/* Backdrop Effect */
.dropdown-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 990;
}

.dropdown-toggle.show ~ .dropdown-backdrop {
    opacity: 1;
    visibility: visible;
}

/* Common Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .hero-section .display-4 {
        font-size: 3.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .hero-section .lead {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        line-height: 1.6;
        max-width: 540px;
    }

    .hero-section .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .hero-section .btn-light {
        background: white;
        color: #2563eb;
        border-color: white;
    }

    .hero-section .btn-outline-light:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.hero-image-container {
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    overflow: hidden;
}

    .hero-image-container img {
        max-height: 400px;
        width: 100%;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

/* Banner Section */
.banner {
    position: relative;
    height: 100vh;
    width: 100%;
    color: white;
    overflow: hidden;
    margin-top: -80px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .video-background video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        min-width: 100%;
        min-height: 100%;
    }

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
    padding-top: 80px;
}

.banner-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.banner-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .banner-buttons .btn {
        font-size: 1.25rem;
        padding: 1rem 2rem;
        font-weight: 500;
    }

.banner .btn-light {
    background: white;
    color: var(--dark-color);
    border-color: white;
}

    .banner .btn-light:hover {
        background: #e9ecef;
        color: var(--dark-color);
        border-color: #e9ecef;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

/* Responsive Banner Styles */
@media (max-width: 1199.98px) {
    .banner-title {
        font-size: 4rem;
    }

    .banner-lead {
        font-size: 1.35rem;
        max-width: 700px;
    }
}

@media (max-width: 991.98px) {
    .banner {
        height: 100vh;
    }

    .banner-title {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }

    .banner-lead {
        font-size: 1.25rem;
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }

    .banner-buttons .btn {
        font-size: 1.15rem;
        padding: 0.875rem 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .banner {
        height: 100vh;
    }

    .banner-content {
        padding-top: 70px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .banner-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .banner-lead {
        font-size: 1.15rem;
        padding: 0 1rem;
        margin-bottom: 1.75rem;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

        .banner-buttons .btn {
            width: 100%;
            max-width: 300px;
            font-size: 1.1rem;
            padding: 0.75rem 1.5rem;
        }
}

@media (max-width: 575.98px) {
    .banner {
        height: 80vh;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }

    .banner-lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .video-background video {
        object-position: center center;
    }

    .banner-buttons .btn {
        max-width: 280px;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 359px) {
    .banner-title {
        font-size: 2.25rem;
    }

    .banner-lead {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .banner-buttons .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
        max-width: 260px;
    }
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light-color);
}

.features .section-header h2 {
    color: #000000 !important;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

/* Industries Section */
.industries {
    padding: 100px 0;
}

/* Industries Slider */
.industries-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    /* gap: 2rem; */ /* Keep the gap consistent */
}

.industry-card {
    flex: 0 0 calc(33.333% - 2rem);
    margin: 0 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}


.industry-card .card-image {
    height: 200px;
    overflow: hidden;
}

.industry-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Align images to the center */
}

.industry-card .card-body {
    padding: 1.5rem;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.industry-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}


/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    padding: 60px 0 30px;
    position: relative;
    bottom: 0;
    width: 100%;
    flex-shrink: 0;
}

    .footer h5 {
        color: white;
        margin-bottom: 1.5rem;
    }

    .footer ul li {
        margin-bottom: 0.5rem;
    }

    .footer a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: white;
        }

    .footer .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
    }

        .footer .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .footer .social-links a:hover {
                background: var(--primary-color);
                transform: translateY(-3px);
            }

        .footer .social-links i {
            font-size: 1.25rem;
        }

/* About Page Hero Section */
.about-hero {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

    .about-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .about-hero .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }

    .about-hero .position-absolute {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 24px;
        overflow: hidden;
        padding: 1rem;
    }

        .about-hero .position-absolute img {
            max-height: 400px;
            width: 100%;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

.mobile-hero-image {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    overflow: hidden;
    padding: 1rem;
    margin: 2rem 1rem;
}

    .mobile-hero-image img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

@media (max-width: 991.98px) {
    .about-hero {
        padding: 60px 0 40px;
        text-align: center;
    }

        .about-hero h1 {
            font-size: 2.25rem;
        }

        .about-hero .lead {
            font-size: 1rem;
            margin: 0 auto 1.5rem;
            max-width: 600px;
        }
}

@media (max-width: 767.98px) {
    .about-hero {
        padding: 40px 0;
    }

        .about-hero h1 {
            font-size: 2rem;
        }

    .mobile-hero-image {
        margin: 1.5rem 0.5rem;
    }
}

.mission-vision .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

    .mission-vision .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.feature-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.why-choose-us {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

    .why-choose-us h2 {
        margin-bottom: 3rem;
        position: relative;
    }

        .why-choose-us h2:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: #3366ff;
        }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-hero {
        padding: 4rem 0 2rem;
        text-align: center;
    }

        .about-hero img {
            margin-top: 2rem;
        }

    .feature-card {
        margin-bottom: 1rem;
    }

    .our-approach {
        text-align: center;
    }

        .our-approach img {
            margin-top: 2rem;
        }

        .our-approach ul {
            text-align: left;
        }
}

@media (max-width: 767.98px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .mission-vision .card {
        margin-bottom: 1rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
}

    .footer a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: white;
        }

    .footer h5 {
        color: white;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .footer .social-links a {
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
    }

        .footer .social-links a:hover {
            color: white;
            transform: translateY(-3px);
        }

/* About Page Styles */
.about-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

    .about-hero h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

.milestone-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

    .milestone-card h3 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

.our-story {
    padding: 100px 0;
    background-color: var(--light-color);
}

.our-values {
    padding: 100px 0;
}

.value-card {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-5px);
    }

    .value-card h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }



.join-us {
    padding: 100px 0;
}

.join-us-image {
    height: 400px;
    background-color: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

/* Contact Page Styles */
.contact-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

    .contact-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

/* Global Offices Section */
.global-offices {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.office-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .office-card:hover {
        transform: translateY(-5px);
    }

.office-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.flag-wrapper {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 3px solid #fff;
}

.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.office-details {
    color: #4b5563;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

    .location-info i {
        color: var(--primary-color);
        font-size: 1.25rem;
    }

    .location-info p {
        margin: 0;
        line-height: 1.6;
    }

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

    .contact-info .email,
    .contact-info .phone {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .contact-info i {
        color: var(--primary-color);
        font-size: 1.125rem;
        width: 20px;
        text-align: center;
    }

    .contact-info a {
        color: #4b5563;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-info a:hover {
            color: var(--primary-color);
        }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .flag-wrapper {
        width: 70px;
        height: 70px;
    }

    .office-header h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .office-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .flag-wrapper {
        width: 60px;
        height: 60px;
    }

    .office-header h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .office-card {
        padding: 1.5rem;
    }

    .flag-wrapper {
        width: 50px;
        height: 50px;
    }

    .office-header h3 {
        font-size: 1.125rem;
    }

    .location-info i,
    .contact-info i {
        font-size: 1rem;
    }
}

/* Mega Menu Enhanced Styles */
.mega-menu-title,
.mega-menu-list a {
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-menu-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

    .mega-menu-title::after,
    .mega-menu-list a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #2563eb;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }

    .mega-menu-title:hover::after,
    .mega-menu-list a:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .mega-menu-title:hover,
    .mega-menu-list a:hover {
        color: #2563eb;
    }

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mega-menu-list li {
        margin-bottom: 0.25rem;
    }

    .mega-menu-list a {
        color: var(--dark-color);
        display: block;
        padding: 0.5rem 1rem;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

        .mega-menu-list a:hover {
            background-color: rgba(37, 99, 235, 0.1);
            color: #2563eb;
        }

.mega-menu-title {
    color: var(--dark-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .mega-menu-list li {
        margin-bottom: 0;
    }

    .mega-menu-list a {
        padding: 0.75rem 1rem;
    }

    .mega-menu-title {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Dropdown Arrow Animation */
.nav-link.dropdown-toggle::after {
    transition: transform 0.3s ease;
    margin-left: 0.4em;
}

.nav-link.dropdown-toggle.show::after {
    transform: rotate(-180deg);
}

/* Dropdown and Mega Menu Common Styles */
.dropdown-item,
.mega-menu-list a {
    color: var(--dark-color);
    display: block;
    padding: 0.25rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
}

.nav-item:nth-child(2) .dropdown-item {
    padding: 0.25rem 0;
    text-align: left;
    margin: 0;
}

.dropdown-item:hover,
.dropdown-item:focus,
.mega-menu-list a:hover,
.mega-menu-list a:focus,
.dropdown-item.active {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.dropdown-item .item-title {
    font-weight: 500;
    color: var(--dark-color);
}

.dropdown-item:hover .item-title {
    color: #2563eb;
}

.dropdown-item .item-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mega-menu-list li {
        margin: 0;
    }

.mega-menu-title {
    color: var(--dark-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .mega-menu-list a,
    .dropdown-item {
        padding: 0.75rem 1rem;
    }

    .mega-menu-title {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Mega Menu Layout */
.nav-item:nth-child(1) .dropdown-menu,
.nav-item:nth-child(2) .dropdown-menu,
.nav-item:nth-child(3) .dropdown-menu,
.nav-item:nth-child(4) .dropdown-menu {
    width: auto;
    min-width: 900px;
    padding: 1.5rem;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-top: 0.5rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.nav-item:nth-child(2) .dropdown-menu {
    min-width: 1000px; /* Increased width for better column spacing */
    padding: 0.5rem;
}

.nav-item:nth-child(3) .dropdown-item,
.nav-item:nth-child(4) .dropdown-item {
    text-align: left;
    font-size: 1rem;
}

.nav-item:nth-child(1) .dropdown-menu::before,
.nav-item:nth-child(2) .dropdown-menu::before,
.nav-item:nth-child(3) .dropdown-menu::before,
.nav-item:nth-child(4) .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.nav-item:nth-child(2) .dropdown-menu h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2563eb;
    padding: 0; /* Remove padding */
    text-align: left;
}

@media (max-width: 991.98px) {
    .nav-item:nth-child(1) .dropdown-menu,
    .nav-item:nth-child(2) .dropdown-menu,
    .nav-item:nth-child(3) .dropdown-menu,
    .nav-item:nth-child(4) .dropdown-menu {
        min-width: 100%;
        padding: 0.5rem; /* Reduce padding on mobile */
        position: static !important;
        transform: none !important;
        margin-top: 0;
    }
}

/* Industries Menu Positioning */
/* This is now handled by the more generic selectors above */

/* Industries Menu Styles */
.industries-menu {
    width: auto;
    min-width: 900px;
    padding: 2rem;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
}

    .industries-menu .desktop-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        padding: 0;
        position: relative;
    }

/* Zoom-responsive Industries Menu (110% - 150% zoom) */
@media screen and (min-width: 992px) and (max-width: 1400px) {
    .industries-menu {
        min-width: 400px;
        max-width: 450px;
    }
    
    .industries-menu .desktop-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .industries-menu .menu-column {
        margin-bottom: 0.5rem;
    }
    
    .industries-menu .menu-column:not(:last-child)::after {
        display: none;
    }
}

/* Enhanced zoom-responsive styles */
.industries-menu.zoom-responsive {
    min-width: 400px !important;
    max-width: 450px !important;
}

.industries-menu.zoom-responsive .desktop-grid {
    grid-template-columns: 1fr !important;
    gap: 0.125rem !important;
}

.industries-menu.zoom-responsive .menu-column {
    margin-bottom: 0.25rem;
}

.industries-menu.zoom-responsive .menu-column:not(:last-child)::after {
    display: none !important;
}

.industries-menu.zoom-responsive .menu-column h4 {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
}

.industries-menu.zoom-responsive .menu-column p {
    font-size: 0.85rem;
    padding: 0 0.75rem 0.5rem;
}

.industries-menu.zoom-responsive .menu-column a {
    padding: 0.375rem 0.75rem;
    margin-bottom: 0.375rem;
}

/* Viewport-based fallback for zoom detection */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .industries-menu {
        min-width: 400px;
        max-width: 450px;
    }
    
    .industries-menu .desktop-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .industries-menu .menu-column:not(:last-child)::after {
        display: none;
    }
    
    .industries-menu .menu-column {
        margin-bottom: 0.25rem;
    }
    
    .industries-menu .menu-column h4 {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }
    
    .industries-menu .menu-column p {
        font-size: 0.85rem;
        padding: 0 0.75rem 0.5rem;
    }
    
    .industries-menu .menu-column a {
        padding: 0.375rem 0.75rem;
        margin-bottom: 0.375rem;
    }
    
    /* Ensure proper positioning when zoomed */
    .nav-item:nth-child(1) .dropdown-menu {
        min-width: 400px;
        max-width: 450px;
        left: 30% !important;
        transform: translateX(-30%) !important;
    }
}

    .industries-menu .menu-column {
        position: relative;
    }

        /* Add vertical dividers between columns */
        .industries-menu .menu-column:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 0;
            right: -1.5rem;
            height: 100%;
            width: 1px;
            background: rgba(0, 0, 0, 0.08);
        }

    .industries-menu .menu-column a {
        text-decoration: none;
        color: inherit;
        display: block;
        padding: 0;
        border-radius: 0;
        transition: all 0.3s ease;
        margin-bottom: 2rem;
        background: none;
        border: none;
        box-shadow: none;
    }

        .industries-menu .menu-column a:last-child {
            margin-bottom: 0;
        }

        .industries-menu .menu-column a:hover {
            background: rgba(0, 0, 0, 0.03);
            /* padding: 0.5rem;
            border-radius: 6px; */
        }

        .industries-menu .menu-column a:hover h4 {
            color: #1d4ed8;
            border-bottom-color: #2563eb;
        }

    .industries-menu .menu-column h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: #2563eb;
        padding: 0 0 0.5rem 0;
        text-align: left;
        position: relative;
        border: none;
        background: none;
        transition: color 0.3s ease;
        border-bottom: 1px solid #e5e7eb;
    }

    .industries-menu .menu-column p {
        font-size: 0.9rem;
        color: #6b7280;
        margin-bottom: 0;
        line-height: 1.6;
        padding: 0;
    }

/* Mobile Adjustments for Industries */
@media (max-width: 991.98px) {
    .industries-menu {
        min-width: 100%;
        width: 100%;
        padding: 1rem;
        position: static !important;
        transform: none !important;
        margin: 0;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
    }

        .industries-menu .submenu-container {
            width: 100%;
        }

        .industries-menu .desktop-grid {
            display: block !important;
            padding: 0;
            gap: 0;
        }

    .menu-column {
        border: none !important;
        padding: 0;
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 1rem;
    }

        .menu-column:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

    .industries-menu .menu-column h4 {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 0.5rem;
        border-bottom: none;
    }

    .industries-menu .menu-column p {
        padding: 0 1.5rem;
        margin-bottom: 0;
        color: #4b5563;
        line-height: 1.5;
    }

    .industries-menu .menu-column a {
        padding: 0.75rem 1.5rem;
        margin-bottom: 0;
    }

        .industries-menu .menu-column a:hover {
            background-color: rgba(37, 99, 235, 0.05);
            transform: none;
        }

    .industries-menu .menu-column::after {
        display: none; /* Hide vertical dividers on mobile */
    }
}

/* Preserve Desktop Styles */
@media (min-width: 992px) {
    .industries-menu {
        width: auto;
        min-width: 900px;
        padding: 2rem;
        position: absolute;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin-top: 0.5rem;
    }

        .industries-menu .desktop-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
            padding: 0;
        }

    .industry-card:hover {
        background-color: rgba(37, 99, 235, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    }

    .industry-card-large .card-body {
        text-align: left;
    }

    .nav-item:nth-child(2) .dropdown-menu {
        padding: 1rem 0.25rem 0.5rem;
    }

    .nav-item:nth-child(2) .dropdown-menu .row {
        display: flex;
        margin: 0;
        width: 100%;
    }

    .nav-item:nth-child(2) .dropdown-menu .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        padding: 0 8px;
        position: relative;
    }

    .nav-item:nth-child(2) .dropdown-menu .col-md-4:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 1rem;
        bottom: 1rem;
        right: 0;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .solutions-section {
        padding: 0;
        height: 100%;
    }

    .solutions-section h3 {
        margin-bottom: 1rem;
    }
}

.our-team {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.team-image-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.team-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-features li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.team-features i {
    color: #3366ff;
    font-size: 1.25rem;
    margin-right: 1rem;
}

@media (max-width: 991.98px) {
    .our-team {
        padding: 3rem 0;
    }

    .team-image-container {
        margin-top: 2rem;
    }
}

.heading-hover {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .heading-hover::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #3366ff;
        transition: width 0.4s ease;
    }

    .heading-hover:hover {
        color: #3366ff;
    }

        .heading-hover:hover::after {
            width: 100%;
        }

.mission-vision .card:hover .heading-hover::after {
    width: 100%;
}

@media (max-width: 767.98px) {
    .heading-hover::after {
        height: 2px;
        bottom: -2px;
    }
}

/* Solutions Section Styles */
.solutions-section {
    padding: 0;
    position: relative;
    text-align: left;
}

    .solutions-section h3 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #2563eb;
        padding: 0.375rem 0.75rem;
        text-align: center;
        position: relative;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

        /* Remove previous after pseudo-element */
        .solutions-section h3::after {
            display: none;
        }

.solutions-section .dropdown-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Add vertical dividers between columns */
.col-md-4:not(:last-child) .solutions-section::after {
    display: none;
}

.nav-item:nth-child(2) .col-md-4 {
    position: relative;
}

    .nav-item:nth-child(2) .col-md-4:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 1rem;
        bottom: 1rem;
        right: 0;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .solutions-section {
        padding: 0;
        border: none;
    }

        .solutions-section .dropdown-item {
            padding: 0 !important;
        }

        .solutions-section::after {
            display: none; /* Hide vertical dividers on mobile */
        }

        .solutions-section h3 {
            font-size: 1.1rem;
            padding: 1rem 1.5rem;
            margin-bottom: 0;
            background: rgba(37, 99, 235, 0.04);
            border-bottom: none; /* Remove horizontal line on mobile */
        }

    .industries-menu .menu-column::after {
        display: none; /* Hide vertical dividers on mobile */
    }

    .industries-menu .menu-column h4 {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 0.25rem;
        border-bottom: none; /* Remove horizontal line on mobile */
    }

    .industry-card {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

        .industry-card:last-child {
            border-bottom: none;
        }
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.title-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #2563eb, #3b82f6);
    margin: 1.5rem auto 2rem;
    border-radius: 3px;
}

/* Feature Cards */
.feature-card {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    }

.feature-icon {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

    .feature-list li {
        margin-bottom: 0.75rem;
    }

.feature-check {
    color: #2563eb;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Benefits Section */
.benefits {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

    .benefits::before {
        content: '';
        position: absolute;
        top: -10%;
        right: -10%;
        width: 300px;
        height: 300px;
        background: rgba(37, 99, 235, 0.03);
        border-radius: 50%;
        z-index: 0;
    }

.benefits-content {
    position: relative;
    z-index: 1;
}

.benefits-stats {
    margin-top: 2rem;
}

.benefit-stat h3 {
    margin-bottom: 0.25rem;
    color: #2563eb;
}

.benefit-stat p {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0;
}

.benefits-image {
    position: relative;
    z-index: 1;
}

.image-container {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}

.stats-card {
    width: 60%;
    max-width: 250px;
    transform: translateY(20%);
    z-index: 2;
}

.benefits-image .image-container img {
    object-fit: cover;
    height: 100%;
}

/* Industry Cards */
.industry-card-large {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    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);
}



    .industry-card-large .card-body {
        padding: 1.5rem;
    }

    .industry-card-large .btn-link {
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
    }

        .industry-card-large .btn-link i {
            transition: transform 0.2s ease;
        }

    .industry-card-large:hover .btn-link i {
        transform: translateX(5px);
    }

    .industry-card-large .card-image img {
        object-fit: cover;
    }

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: #fff;
    background-color: #2563eb;
    background-image: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
    background-color: #2563eb
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 2;
}

.testimonials-section .container {
    position: relative;
    z-index: 3;
}

.testimonials-section .title-underline {
    background: linear-gradient(#ffffff, rgb(255, 253, 253));
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    height: 100%;
    justify-content: space-between; /* Distribute space to push footer to bottom */
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 20px;
    left: 1rem; /* Aligned with the text content */
    font-size: 4rem;
    color:white; /* Corrected color format */
    line-height: 1;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .testimonials-section .col-md-6,
    .testimonials-section .col-lg-4 {
        margin-bottom: 2rem;
    }

    .testimonial-card::before {
        top: 10px; /* Position closer to the text, slightly above it */
        left: 1rem; /* Aligned with the text's left padding */
        transform: none; /* Remove centering transform */
        font-size: 3rem; /* Large enough, but not too overwhelming */
        color: white; /* Use the primary blue color */
    }

    .testimonial-text {
        padding-top: 1rem; /* Reduce padding, as the quote is now closer to the text */
        padding-left: 3rem; /* Add left padding to the text to make space for the quote */
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 1.25rem;
    }
}

.testimonial-card:hover {
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
    border-color: 5px;
}


.testimonial-text {
    font-style: italic;
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 1rem 0; /* Reset margins and add bottom margin */
    position: relative;
    padding-left: 1rem; /* Align with quote icon */
    padding-right: 1rem;
}

.testimonial-rating {
    color: #ffbc11;
    font-size: 1.25rem;
    margin: 0.5rem auto; /* Center horizontally with auto margins, add vertical spacing */
    text-align: center; /* Ensure stars are centered */
    padding-left: 1rem; /* Align with text */
    padding-right: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column; /* Stack name and company */
    align-items: center; /* Center horizontally */
    text-align: center; /* Ensure text within is centered */
    width: 100%; /* Take full width to allow centering */
    padding-left: 1rem; /* Align with text */
    padding-right: 1rem;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    color: #ffffff;
    font-weight: 600;
}

.testimonial-author p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.testimonial-footer {
    display: flex;
    flex-direction: column; /* Stack rating and author vertically */
    align-items: center; /* Center horizontally */
    width: 100%;
    margin-top: auto; /* Push to the bottom of the card */
    padding-top: 1.5rem; /* Padding for the line */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Horizontal line */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .benefits-content {
        text-align: center;
        padding-right: 0 !important;
        margin-bottom: 2rem;
    }

    .benefits-stats {
        justify-content: center;
    }

    .stats-card {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: -50px auto 0;
        transform: none;
    }

    .feature-card,
    .industry-card-large {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .benefits-stats {
        flex-direction: column;
        align-items: center;
    }

    .benefit-stat {
        margin-right: 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .feature-card,
    .industry-card-large,
    .testimonial-card {
        padding: 1.5rem;
    }

    .stats-card {
        width: 80%;
    }
}

/* Healthcare Page Styles */
.healthcare-hero {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

    .healthcare-hero::before {
        content: '';
        position: absolute;
        top: -10%;
        right: -10%;
        width: 500px;
        height: 300px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        z-index: 1;
    }

    .healthcare-hero .container {
        position: relative;
        z-index: 2;
    }

.hero-image-container {
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    overflow: hidden;
}

    .hero-image-container img {
        max-height: 400px;
        width: 100%;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }

    .hero-image-container::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
        border-radius: 24px;
    }

.healthcare-hero .display-4 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.healthcare-hero .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.case-study-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

    .case-study-card .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

        .case-study-card .card-body p {
            flex-grow: 1;
        }

    .case-study-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .case-study-card .card-image {
        height: 200px;
        overflow: hidden;
    }

        .case-study-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

    .case-study-card:hover .card-image img {
        transform: scale(1.05);
    }

    .case-study-card .btn-link {
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
    }

        .case-study-card .btn-link i {
            transition: transform 0.2s ease;
        }

    .case-study-card:hover .btn-link i {
        transform: translateX(5px);
    }

.cta-section {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        z-index: 1;
    }

    .cta-section .container {
        position: relative;
        z-index: 2;
    }

/* Responsive Adjustments for Healthcare Page */
@media (max-width: 991.98px) {
    .healthcare-hero {
        padding: 60px 0 40px;
        text-align: center;
    }

    .hero-image-container {
        margin-top: 2rem;
    }

    .case-study-card {
        margin-bottom: 2rem;
    }

    .benefits-content {
        text-align: center;
        margin-bottom: 3rem;
    }

    .benefits-stats {
        justify-content: center;
    }

    .hero-image-container img {
        max-height: 300px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 767.98px) {
    .healthcare-hero h1 {
        font-size: 2.5rem;
    }

    .case-study-card .card-image {
        height: 180px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .healthcare-hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

        .healthcare-hero h1 {
            font-size: 2.25rem;
        }

    .case-study-card .card-image {
        max-width: 100%;
    }
}

/* Mobile Fixes */
@media (max-width: 767.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
    }

    .banner-buttons .btn {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.95rem;
    }

    .banner-buttons {
        margin-top: 1.5rem;
    }

    .banner-title {
        margin-bottom: 1rem;
    }

    .banner-lead {
        margin-bottom: 1rem;
    }
}

@media (max-width: 359px) {
    /* Extra small devices */
    .navbar-brand {
        font-size: 0.9rem;
    }

    .navbar-logo {
        height: 60px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-lead {
        font-size: 0.9rem;
    }

    .banner-buttons .btn {
        font-size: 0.6rem 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Responsive Submenu Text */
@media (min-width: 992px) {
    .dropdown-menu .dropdown-item {
        font-size: 14px;
    }
}

/* Contact Form Styles */
.contact-form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

    .form-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #2563eb, #3b82f6);
    }

    .form-wrapper h2 {
        color: #1f2937;
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 2.5rem;
        position: relative;
    }

        .form-wrapper h2::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: #2563eb;
            border-radius: 2px;
        }

.form-control {
    height: 54px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

    .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
        background: white;
    }

textarea.form-control {
    height: auto;
    min-height: 160px;
    resize: vertical;
}

.form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.btn-submit {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
        background: linear-gradient(135deg, #1d4ed8, #1e40af);
        color: white;
    }

    .btn-submit:active {
        transform: translateY(0);
    }

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.5rem;
    display: none;
}

.form-control.is-invalid {
    border-color: #ef4444;
    background-image: none;
}

    .form-control.is-invalid:focus {
        border-color: #ef4444;
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .form-wrapper {
        padding: 2.5rem;
    }

        .form-wrapper h2 {
            font-size: 2rem;
        }
}

@media (max-width: 767.98px) {
    .contact-form-section {
        padding: 4rem 0;
    }

    .form-wrapper {
        padding: 2rem;
    }

        .form-wrapper h2 {
            font-size: 1.75rem;
        }

    .btn-submit {
        width: 100%;
        padding: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .form-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .form-control {
        height: 50px;
        font-size: 0.95rem;
    }
}

/* Form Animation */
.form-control {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}

    .form-control:focus {
        transform: translateY(-2px);
    }

.form-group:hover .form-control:not(:focus) {
    border-color: #94a3b8;
}

/* Loading state for submit button */
.btn-submit.loading {
    background: #e5e7eb;
    color: transparent;
    pointer-events: none;
    position: relative;
}

    .btn-submit.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
        border: 2px solid #2563eb;
        border-top-color: transparent;
        border-radius: 50%;
        animation: button-loading-spinner 1s linear infinite;
    }

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.nav-item:nth-child(2) .dropdown-menu {
    min-width: 750px; /* Widen solutions menu */
}

.nav-item:nth-child(3) .dropdown-menu {
    min-width: 230px;
    padding: 1rem;
}

.nav-item:nth-child(4) .dropdown-menu {
    min-width: 150px;
    padding: 1rem;
}

.nav-item:nth-child(3) .dropdown-item,
.nav-item:nth-child(4) .dropdown-item {
    text-align: left;
}

/* Login and Register Pages */
.login-section,
.register-section {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    padding-top: 50px;
    padding-bottom: 50px;
}

.login-section {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(37, 99, 235, 0) 50%), linear-gradient(45deg, rgba(37, 99, 235, 0) 50%, rgba(37, 99, 235, 0.03) 100%);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.register-section {
    background-image: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.07) 0%, rgba(37, 99, 235, 0) 30%), radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0) 30%);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.login-card,
.register-card {
    border-radius: 15px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .login-card:hover,
    .register-card:hover {
        box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
        transform: translateY(-5px);
    }

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
    margin: 1.5rem 0;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

.separator-text {
    padding: 0 10px;
    font-size: 0.9rem;
}

.social-login .btn {
    flex: 1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .social-login .btn:hover {
        background-color: #f8f9fa;
        transform: translateY(-2px);
    }

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
    border-color: #93c5fd;
}

.input-group-text {
    color: #6c757d;
}

.password-strength .progress {
    height: 5px;
    margin-top: 8px;
    border-radius: 3px;
    overflow: hidden;
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
    .login-card,
    .register-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 991.98px) {
    .nav-item:nth-child(2) .dropdown-menu {
        min-width: 100%;
        padding: 0.5rem;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0 1rem;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-nav-buttons .btn {
        width: 100%;
    }
}

/* Ensure dropdown menus are visible on mobile */
@media (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
    }
}

.solutions-section h3::after {
    display: none;
}

.solutions-section .dropdown-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.solutions-section {
    text-align: left;
    padding: 0;
}

/* Solutions Mega Menu Styling */
.solutions-mega-menu {
    width: 100%;
    max-width: 1200px;
    padding: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 0.5rem;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
}

.solutions-mega-menu .container {
    max-width: 100%;
    padding: 0.25rem;
}

.solutions-mega-menu .row {
    margin: 0;
    width: 100%;
}

.solutions-mega-menu .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 0.5rem;
    position: relative;
}

.solution-category {
    padding: 0;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.25rem;
}

.category-title i {
    color: #2563eb;
    font-size: 1.2em;
}

.category-items {
    display: flex;
    flex-direction: column;
    padding: 0 0.25rem;
}

.category-items .menu-item {
    margin-bottom: 0.5rem;
}

.menu-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #4b5563;
    padding: 0.5rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.menu-item:hover {
    background-color: #f3f4f6;
    color: #2563eb;
    transform: translateX(4px);
}

.menu-item .item-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.menu-item .item-desc {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .solutions-mega-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0;
    }

    .solutions-mega-menu .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .solution-category {
        padding: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .solution-category:last-child {
        border-bottom: none;
    }

    .category-title {
        margin-bottom: 0.75rem;
    }

    .menu-item {
        padding: 0.5rem 0;
    }

    .menu-item:hover {
        transform: none;
    }

    .solution-category::after {
        display: none;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .solutions-mega-menu .col-md-4:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
    }
}

.dropdown-menu .dropdown-item:hover,
.menu-item:hover,
.solutions-mega-menu .menu-item:hover,
.navbar-nav .nav-link:hover {
    background-color: #f3f4f6;
    color: #2563eb;
    transform: translateX(5px);
    box-shadow: none;
    padding-left: 1rem; /* Add left padding on hover */
}

/* Ensure original padding is set to allow for the hover shift */
.dropdown-menu .dropdown-item,
.menu-item,
.solutions-mega-menu .menu-item {
     padding-left: 0.5rem;/* Base padding */
}

/* Removed conflicting hover effects for industry-card */

.solutions-mega-menu .menu-item:hover {
    transform: translateX(5px);
    box-shadow: none;
}

.dropdown-item:hover {
    transform: translateX(5px);
    box-shadow: none;
}

/* Ensure parent containers don't clip the movement */
.dropdown-menu,
.solutions-mega-menu,
.category-items {
    overflow: visible;
}

/* Reset hover effects for navbar parent items with dropdowns */
.navbar-nav .nav-item.dropdown > .nav-link:hover {
    transform: none;
    background-color: transparent;
}

@media (min-width: 992px) {
    .menu-item .item-title {
        margin-bottom: 0;
        line-height: 1;
    }

    .menu-item {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0.125rem;
    }
}

.benefits-smooth-background {
    opacity: 0.8;
    z-index: 1;
    background-color: #2563eb;

}

.benefits-section {
    position: relative;
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

.benefits-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/about-banner.jpg') no-repeat center center/cover;
    filter: brightness(0.7);
    z-index: 0;
}

.benefits-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 99, 235, 0.7); /* Adjust overlay color/opacity as needed */
    z-index: 0;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

.benefits-section .section-header h2,
.benefits-section .section-header h6 {
    color: #fff !important;
}

.benefits-section .title-underline {
    background: linear-gradient(#fff, rgba(255,255,255,0.5));
}

.benefits-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.benefits-section .benefit-stat p {
    color: rgba(255, 255, 255, 0.8);
}


.benefits-section .benefits-image .image-container {
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
    border-radius: 20px;
}

.benefits-smooth-background {
    background-color: #f7f9fc; /* A very light blue-gray for a smooth feel */
}

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, #000000, #1d4ed8);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.team-hero .container {
    position: relative;
    z-index: 2;
}

.team-hero .display-4 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.team-hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.team-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.team-member-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.team-member-card .member-info .bio {
    text-align: left;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.member-avatar {
    margin-bottom: 2rem;
    position: relative;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.avatar-placeholder i {
    font-size: 3rem;
    color: #9ca3af;
}

.team-member-card:hover .avatar-placeholder {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.2);
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-info .position {
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-info .bio {
    color: #3c3f45;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}


/* Responsive Team Styles */
@media (max-width: 991.98px) {
    .team-hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .team-hero .display-4 {
        font-size: 2.5rem;
    }
    
    .team-section {
        padding: 80px 0;
    }
    
    .team-member-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
}

@media (max-width: 767.98px) {
    .team-hero {
        padding: 40px 0;
    }
    
    .team-hero .display-4 {
        font-size: 2rem;
    }
    
    .team-hero .lead {
        font-size: 1.1rem;
    }
    
    .team-section {
        padding: 60px 0;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .avatar-placeholder i {
        font-size: 2.5rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-info .position {
        font-size: 1rem;
    }
    
    .join-team-cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .team-member-card {
        padding: 1.25rem;
    }
    
    .avatar-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .avatar-placeholder i {
        font-size: 2rem;
    }
    
    .member-info .bio {
        font-size: 0.9rem;
    }
    
}

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.team-hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.team-hero .container {
    position: relative;
    z-index: 2;
}

.team-hero .display-4 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.team-hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.team-member-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.8s ease;
}

.team-member-card .member-info .bio {
    text-align: left;
}

.team-member-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(37, 99, 235, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(37, 99, 235, 0.2);
}

.team-member-card:hover::before {
    left: 100%;
}

.member-avatar {
    margin-bottom: 2rem;
    position: relative;
}

.member-avatar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 50%;
    z-index: 0;
    transition: all 0.3s ease;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 50%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid white;
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.avatar-placeholder i {
    font-size: 3rem;
    color: #6b7280;
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-member-card:hover .member-avatar::before {
    transform: translate(-50%, -50%) scale(1.1);
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.2), rgba(168, 85, 247, 0.2));
}

.team-member-card:hover .avatar-placeholder {
    transform: scale(1.08);
    box-shadow: 
        0 20px 40px rgba(37, 99, 235, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.1);
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1f2937, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-info .position {
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.member-info .bio {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.8));
    border-radius: 12px;
    border-left: 3px solid rgba(37, 99, 235, 0.3);
}

/* Responsive Team Styles */
@media (max-width: 991.98px) {
    .team-hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .team-hero .display-4 {
        font-size: 2.5rem;
    }
    
    .team-section {
        padding: 80px 0;
    }
    
    .team-member-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .member-avatar::before {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .team-hero {
        padding: 40px 0;
    }
    
    .team-hero .display-4 {
        font-size: 2rem;
    }
    
    .team-hero .lead {
        font-size: 1.1rem;
    }
    
    .team-section {
        padding: 60px 0;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .member-avatar::before {
        width: 110px;
        height: 110px;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .avatar-placeholder i {
        font-size: 2.5rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-info .position {
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .team-member-card {
        padding: 1.25rem;
    }
    
    .member-avatar::before {
        width: 90px;
        height: 90px;
    }
    
    .avatar-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .avatar-placeholder i {
        font-size: 2rem;
    }
    
    .member-info .bio {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}

/* Testimonial Slider */
.testimonial-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-slider {
    display: flex;
    animation: slide linear infinite;
}

.testimonial-slider:hover {
    animation-play-state: paused;
}

.testimonial-slider .testimonial-card {
    width: 380px; /* Fixed width for each card */
    margin: 0 10px;
    flex-shrink: 0;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%); /* Move by half the total width for a seamless loop */
    }
}

@media (max-width: 991.98px) {
    .testimonial-slider {
        animation-duration: 30s;
    }
    .testimonial-slider .testimonial-card {
        width: 320px;
    }
    .testimonial-slider {
        width: calc(10 * 340px);
    }
}

@media (max-width: 767.98px) {
    .testimonial-slider {
        animation-duration: 25s;
    }
    .testimonial-slider .testimonial-card {
        width: 280px;
    }
    .testimonial-slider {
        width: calc(10 * 300px);
    }
}

/* Partners Section Styles */
.partners-section {
    padding: 120px 0; /* Further increased padding for more vertical space */
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #ffffff, #d8efff, #dce7f9, #fde0db, #ffdaaf); /* Gradient colors from industries-animated.css */
    background-size: 400% 400%;
    animation: blueFlow 8s ease-in-out infinite;
}

@keyframes blueFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.partners-section::before {
    /* Removed the previous ::before background as per user request */
    content: none;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-section .display-4 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color); /* Keep dark color for contrast on light gradient */
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: fadeInDown 1s ease-out;
}

.partners-section .lead {
    font-size: 1.25rem;
    color: #4b5563; /* Keep dark color for contrast on light gradient */
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out;
    white-space: nowrap; /* Ensure text stays on one line */
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partners-section .row {
    margin-top: 3rem;
}

.partners-section .text-center.mt-5 {
    margin-top: 4rem !important;
}

.partners-section .text-primary {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.partners-section .text-primary:hover {
    color: var(--secondary-color) !important;
}

.partner-card {
    background: white;
    border-radius: 16px; /* Slightly larger border-radius */
    padding: 2.5rem; /* Increased padding inside the card */
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* More prominent initial shadow */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column; /* Align content vertically */
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02); /* More pronounced lift and slight scale */
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15); /* Blueish shadow on hover */
}

.partner-logo {
    width: 100%; /* Allow logo to take full width of its container */
    max-width: 300px; /* Adjusted max-width for better consistency */
    height: 80px; /* Slightly reduced fixed height for a cleaner look */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease-in-out;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05); /* Slight scale on logo itself on hover */
}

/* Responsive adjustments for partner section */
@media (max-width: 767.98px) {
    .partners-section {
        padding: 60px 0;
    }

    .partner-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .partner-logo {
        height: 70px;
    }
}

@media (max-width: 575.98px) {
    .partner-card {
        padding: 1rem;
    }

    .partner-logo {
        height: 60px;
    }
}

/* Benefits Section for Partners Page */
.benefits-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

.benefits-section .display-4 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.benefits-section .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-card i {
    color: white; /* Icons are white on dark background */
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Responsive adjustments for benefits section */
@media (max-width: 991.98px) {
    .benefits-section {
        padding: 80px 0;
    }

    .benefits-section .display-4 {
        font-size: 2.5rem;
    }

    .benefits-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .benefits-section {
        padding: 60px 0;
    }

    .benefits-section .display-4 {
        font-size: 2rem;
    }

    .benefit-card i {
        font-size: 2.5rem;
    }

    .benefit-card h3 {
        font-size: 1.2rem;
    }

    .benefit-card p {
        font-size: 0.9rem;
    }
}

/* Industries Carousel Wrapper */
.industries-carousel-wrapper {
    position: relative;
    padding: 0 50px; /* Space for buttons */
}

/* Industries Slider */
.industries-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    /* gap: 2rem; */
}

.industry-card {
    flex: 0 0 calc(33.333% - 2rem);
    margin: 0 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    background-color: #f5f5f5;
}

.industry-card .card-image {
    height: 200px;
    overflow: hidden;
}

.industry-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-card .card-body {
    padding: 1.5rem;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.industry-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Mobile Styles for Industries Slider */
@media (max-width: 991.98px) {
    .industries-carousel-wrapper {
        padding: 0; /* Remove padding on mobile */
    }

    .industries-slider {
        overflow-x: auto; /* Enable horizontal scroll for cards */
        scroll-snap-type: x mandatory; /* Smooth snapping */
        -webkit-overflow-scrolling: touch; /* Improve scrolling on iOS */
    }

    .slider-container {
        gap: 1rem;
        padding: 0;
    }

    .industry-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        margin: 0 0 1rem;
    }

    .slider-btn {
        display: none; /* Hide buttons on mobile */
    }
}

/* Further adjustments for smaller screens */
@media (max-width: 767.98px) {
    .industry-card {
        flex: 0 0 100%; /* Show one card on smaller phones */
    }
}
