﻿.hero-section {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #37517e 0%, #2c4065 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,80 0,100"/></svg>');
        background-size: cover;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-container {
    background: #ffffff;
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
    position: relative;
    z-index: 3;
    padding: 60px 0;
    box-shadow: 0 -10px 30px rgba(55, 81, 126, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(55, 81, 126, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(55, 81, 126, 0.05);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #37517e, #4a6491);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(55, 81, 126, 0.15);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #37517e, #4a6491);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(55, 81, 126, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #37517e;
    margin-bottom: 20px;
}

.feature-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

    .feature-list li {
        padding: 8px 0;
        position: relative;
        padding-left: 30px;
        color: #555;
    }

        .feature-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #37517e;
            font-weight: bold;
            font-size: 1.1rem;
        }

.feature-link {
    color: #37517e;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

    .feature-link:hover {
        color: #2c4065;
        transform: translateX(5px);
    }

.stats-section {
    background: linear-gradient(135deg, #f8f9fd 0%, #e8f0fe 100%);
    padding: 60px 0;
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #37517e;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 600;
}

.cta-section {
    background: linear-gradient(135deg, #37517e 0%, #2c4065 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 60px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #37517e;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .features-container {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.industry-section {
    margin-bottom: 80px;
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(55, 81, 126, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(55, 81, 126, 0.05);
    position: relative;
    overflow: hidden;
}

    .industry-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #37517e, #4a6491);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .industry-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(55, 81, 126, 0.15);
    }

        .industry-card:hover::before {
            transform: scaleX(1);
        }

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #37517e, #4a6491);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(55, 81, 126, 0.3);
}

.industry-card-description {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 1rem;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.section-link {
    text-align: center;
    margin-top: 40px;
}

.feature-link {
    color: #37517e;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

    .feature-link:hover {
        color: #2c4065;
        transform: translateX(5px);
    }

.why-choose-section {
    background: linear-gradient(135deg, #f8f9fd 0%, #e8f0fe 100%);
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 30px;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .industry-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .industry-card {
        padding: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .content-container {
        padding: 40px 0;
    }

    .industry-section {
        margin-bottom: 60px;
    }
}


/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.custom-faq-hero {
    background: var(--gradient-primary);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

    .custom-faq-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

    .custom-faq-hero h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }

    .custom-faq-hero p {
        font-size: 1.2rem;
        opacity: 0.9;
        position: relative;
        z-index: 2;
    }

.custom-faq-container {
    background: #37517e;
    border-radius: 20px;
    padding: 40px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-heavy);
}

.faq-section-title {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

    .faq-section-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 30px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }

.faq-custom-accordion {
    margin-bottom: 40px;
}

    .faq-custom-accordion .accordion-item {
        background: var(--accent-color);
        border: 1.5px solid rgba(255, 255, 255, 0.7);
        border-radius: 12px !important;
        margin-bottom: 15px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-light);
    }

        .faq-custom-accordion .accordion-item:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-medium);
            border: 1.5px solid rgba(255, 255, 255, 0.7);
        }

    .faq-custom-accordion .accordion-button {
        background: transparent;
        color: #FFFFFF;
        font-weight: 600;
        font-size: 1.1rem;
        padding: 20px 25px;
        border: none;
        box-shadow: none;
        transition: all 0.3s ease;
        position: relative;
    }

        .faq-custom-accordion .accordion-button:not(.collapsed) {
            background: var(--gradient-primary);
            color: white;
            box-shadow: none;
        }

        .faq-custom-accordion .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8fafc'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transition: transform 0.3s ease;
            width: 1.5rem;
            height: 1.5rem;
        }

        .faq-custom-accordion .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transform: rotate(180deg);
        }

    .faq-custom-accordion .accordion-body {
        background: white;
        color: #37517e;
        padding: 25px;
        line-height: 1.6;
        border: 1.5px solid rgba(255, 255, 255, 0.7);
    }

        .faq-custom-accordion .accordion-body ul {
            padding-left: 20px;
            margin-bottom: 0;
        }

        .faq-custom-accordion .accordion-body li {
            margin-bottom: 8px;
            color: var(--text-light);
        }

        .faq-custom-accordion .accordion-body strong {
            color: var(--primary-color);
        }

.faq-terms-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .faq-terms-section h3 {
        color: #FFFFFF;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .faq-terms-section .accordion-body {
        background: rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding: 25px;
    }

.faq-fade-in {
    animation: faqFadeInUp 0.6s ease-out;
}

@keyframes faqFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-stagger-animation {
    animation-delay: 0.1s;
}

    .faq-stagger-animation:nth-child(2) {
        animation-delay: 0.2s;
    }

    .faq-stagger-animation:nth-child(3) {
        animation-delay: 0.3s;
    }

    .faq-stagger-animation:nth-child(4) {
        animation-delay: 0.4s;
    }

    .faq-stagger-animation:nth-child(5) {
        animation-delay: 0.5s;
    }

@media (max-width: 768px) {
    .custom-faq-hero h1 {
        font-size: 2.5rem;
    }

    .custom-faq-container {
        padding: 25px;
        margin-top: -20px;
    }

    .faq-custom-accordion .accordion-button {
        font-size: 1rem;
        padding: 15px 20px;
    }
}
/* Hide hamburger on desktop */
.mobile-nav-toggle {
    display: none;
}

/* Overlay hidden initially */
.mobile-nav-overlay {
    display: none;
}

/* ============================================
   MOBILE ONLY (≤991px)
============================================ */
@media (max-width: 991px) {

    /* Font improvements */
    body, #navbar, #navbar a {
        font-family: "Poppins", "Segoe UI", Roboto, sans-serif;
        -webkit-font-smoothing: antialiased;
    }

    /* Hamburger button */
    .mobile-nav-toggle {
        display: block;
        position: fixed;
        right: 20px;
        top: 22px;
        z-index: 10003; /* Above everything */
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        width: 35px;
        height: 30px;
    }

        .mobile-nav-toggle span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: #ffffff;
            margin: 6px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .mobile-nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 7px);
        }

        .mobile-nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -7px);
        }

    /* Mobile Menu */
    #navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #37517e;
        color: #ffffff;
        transition: right 0.4s ease;
        z-index: 10002; /* Above overlay */
        overflow-y: auto;
        padding: 90px 0 30px 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

        #navbar.mobile-nav-active {
            right: 0;
        }

        /* Menu list */
        #navbar ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
        }

            #navbar ul li {
                border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            }

                #navbar ul li a {
                    display: block;
                    padding: 18px 30px;
                    font-size: 16px;
                    color: #ffffff;
                    font-weight: 500;
                    text-decoration: none;
                    transition: all 0.3s ease;
                }

                    #navbar ul li a:hover,
                    #navbar ul li a:focus {
                        background: rgba(255, 255, 255, 0.1);
                        padding-left: 40px;
                    }

        /* Login Button */
        #navbar > a.nav-link.scrollto {
            display: block;
            margin: 30px 30px 0;
            padding: 14px 25px;
            background: #ffffff;
            color: #37517e;
            text-align: center;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            #navbar > a.nav-link.scrollto:hover {
                background: #f1f3f8;
                color: #2e426a;
            }

    /* Background Overlay - FIXED: Only blurs content behind header/menu */
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(55, 81, 126, 0.25);
        z-index: 9999; /* BELOW hamburger and header */
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

        .mobile-nav-overlay.active {
            display: block;
            opacity: 1;
            pointer-events: auto;
        }

    /* Apply blur only to main content, not header */
    body.mobile-nav-active > *:not(#header):not(.mobile-nav-overlay) {
        filter: blur(6px);
        -webkit-filter: blur(6px);
        transition: filter 0.3s ease;
    }

    /* Ensure header stays sharp */
    #header {
        position: fixed;
        z-index: 10001; /* Above overlay, below menu */
        filter: none !important;
        -webkit-filter: none !important;
    }

    /* Disable scroll when open */
    body.mobile-nav-active {
        overflow: hidden;
    }

    #header .container {
        position: relative;
    }
}

/* ============================================
   SMALL SCREENS (≤480px)
============================================ */
@media (max-width: 480px) {
    #navbar {
        width: 250px;
    }

        #navbar ul li a {
            font-size: 15px;
            padding: 16px 25px;
        }

        #navbar > a.nav-link.scrollto {
            margin: 20px 25px;
            padding: 12px 20px;
            font-size: 15px;
        }

    .mobile-nav-toggle {
        right: 15px;
        top: 18px;
    }
}

/* Mobile View Only - Hero Section Fixes */
@media (max-width: 991px) {
    #hero {
        padding: 60px 0 90px 0;
        min-height: auto;
    }

        #hero h1 {
            font-size: 24px;
            line-height: 1.3;
            margin-bottom: 15px;
        }

        #hero h2 {
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 20px;
            text-align: justify;
            text-justify: inter-word;
        }

        #hero .btn-get-started {
            font-size: 14px;
            padding: 10px 24px;
        }

        #hero .hero-img {
            margin-top: 30px;
            margin-bottom: 30px;
        }

            #hero .hero-img img {
                max-height: 300px;
                object-fit: contain;
            }
}

@media (max-width: 575px) {
    #hero {
        padding: 60px 0 90px 0;
    }

        #hero h1 {
            font-size: 24px;
            line-height: 1.3;
        }

        #hero h2 {
            font-size: 14px;
            line-height: 1.4;
            text-align: justify;
        }

        #hero .btn-get-started {
            font-size: 13px;
            padding: 8px 20px;
            margin: 5px !important;
        }

        #hero .hero-img img {
            max-height: 250px;
        }
}

/* Mobile View Only - Text Justification and Size Fixes */

/* 1) Justify services section paragraph on mobile */
@media (max-width: 991px) {
    #services .section-title p {
        text-align: justify !important;
        text-justify: inter-word;
    }
}

/* 2) Justify feature description paragraphs on mobile */
@media (max-width: 991px) {
    .feature-description {
        text-align: justify !important;
        text-justify: inter-word;
    }
}

/* 3, 4, 5) Fix section-title h2 size on mobile */
@media (max-width: 991px) {
    .section-title,
    h2.section-title {
        font-size: 28px !important;
        line-height: 1.3;
    }
}

@media (max-width: 575px) {
    .section-title,
    h2.section-title {
        font-size: 24px !important;
        line-height: 1.3;
    }
}

/* Additional mobile optimization for section descriptions */
@media (max-width: 991px) {
    .section-description {
        text-align: justify;
        text-justify: inter-word;
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 575px) {
    .section-description {
        font-size: 13px;
    }
}
