/* ========================================
   Reset & Base Styles
   ======================================== */
:root {
    /* Colors */
    --primary-blue: #002F5D;
    --primary-dark: #001A3D;
    --accent-cyan: #F26522;
    --text-main: #1A202C;
    --text-muted: #4A5568;
    --bg-light: #F7FAFC;
    --white: #ffffff;

    /* Gradients */
    /* Gradients - Premium Adjustment */
    /* original was linear-gradient(135deg, #002F5D 0%, #F26522 100%) */
    --gradient-primary: linear-gradient(135deg, #002F5D 0%, #004588 60%, #F26522 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(242, 101, 34, 0.2) 0%, transparent 70%);

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(242, 101, 34, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --backdrop-blur: blur(12px);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Background Animated Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 47, 93, 0.1);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(242, 101, 34, 0.1);
    bottom: 0;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 47, 93, 0.15);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -50px);
    }
}

/* Common Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 100px 0;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: var(--glass-border);
}

.glass-card {
    background: var(--gradient-glass);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}


.nav-hidden {
    transform: translateY(-100%);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: auto;
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .logo-img {
        max-height: 34px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 28px;
    }
}

.footer-logo-img {
    height: auto;
    max-height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer-logo-img {
        max-height: 24px;
    }
}


.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}


.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.btn-nav {
    background: var(--primary-blue);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 47, 93, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 47, 93, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 47, 93, 0.1);
    border-radius: 100px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 47, 93, 0.2);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.text-gradient {
    color: var(--accent-cyan);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--text-main);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(0, 47, 93, 0.4);
    transform: translateY(-2px);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-btn:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

/* Trust Strip */
.trust-strip {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.trust-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    opacity: 0.7;
}

.separator {
    color: var(--accent-cyan);
}

/* Blue Authority Marquee */
.authority-marquee-section {
    padding: 0;
    margin: 4rem 0;
    background: var(--primary-blue);
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    transform: skewY(-2deg);
    /* Stylish tilt */
    box-shadow: 0 10px 30px rgba(0, 47, 93, 0.3);
}

.marquee-container {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 6rem 0;
    transform: skewY(2deg);
    /* Un-tilt content */
    overflow: hidden; /* Prevent internal scroll */
    height: auto;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    /* Hardware acceleration */
    backface-visibility: hidden;
    overflow: visible;
    padding: 40px 0; /* Increased padding for hover space */
}

.marquee-group {
    display: flex;
    gap: 4rem;
    align-items: center;
    padding-right: 4rem;
    /* Ensure seamless spacing between groups */
    overflow: visible;
}

.authority-pill {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    transform: translateZ(0);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    position: relative;
    z-index: 1;
}

.authority-pill:hover {
    transform: translateY(-6px) scale(1.05) translateZ(0);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15), var(--shadow-glow);
    cursor: default;
    z-index: 10;
}

.authority-pill svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.pill-content {
    display: flex;
    flex-direction: column;
}

.pill-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pill-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }

    /* Scroll one group width (4 groups total, so 1/4 = 25%) */
}

/* Pause on hover */
.marquee-track:hover {
    animation-play-state: paused;
}

/* Response */
@media (max-width: 768px) {
    .authority-marquee-section {
        margin: 2rem 0;
        /* Tighter vertical spacing */
    }

    .pill-value {
        font-size: 1.3rem;
        /* Adjusted for mobile */
    }

    .pill-label {
        font-size: 0.75rem;
    }

    .authority-pill {
        padding: 0.6rem 1.2rem;
        /* Compact padding */
        gap: 0.8rem;
    }

    .authority-pill svg {
        width: 20px;
        height: 20px;
    }

    .marquee-track {
        gap: 1.5rem;
        /* Reduced gap */
        animation-duration: 15s;
        /* Faster for mobile feeling */
    }

    .marquee-group {
        gap: 1.5rem;
    }
}

/* About & Services */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-cyan);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* Premium About Section */
.about-premium {
    padding: 100px 0;
    position: relative;
}

.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header-main {
    text-align: center;
    margin-bottom: 4rem;
}

.display-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.subtitle-role {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.about-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.modern-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.highlight {
    color: var(--primary-blue);
    font-weight: 700;
    background: rgba(0, 47, 93, 0.05);
    padding: 0 5px;
    border-radius: 4px;
}

.glass-card-minimal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-card-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-cyan);
}

.focus-list ul {
    list-style: none;
    padding: 0;
}

.focus-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.05rem;
}

.icon-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue);
}

.focus-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

/* Response for About */
@media (max-width: 768px) {
    .about-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .display-title {
        font-size: 2.5rem;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Column layout */
    gap: 2rem;
}

.service-card {
    text-align: left;
    transition: all 0.4s ease;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    background: white;
    /* Default White */
    color: var(--text-main);
    display: flex;
    /* Ensure content stacking */
    flex-direction: column;
    justify-content: center;
}

/* Checkerboard Pattern: Item 2 (Top Right) Blue, Item 3 (Bottom Left) Orange */
.service-card:nth-child(2) {
    background: var(--primary-blue);
    color: white;
}

.service-card:nth-child(3) {
    background: var(--primary-blue);
    color: white;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 47, 93, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 47, 93, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: 0.3s;
    color: var(--primary-blue);
    border: 1px solid rgba(0, 47, 93, 0.1);
}

/* Icon style for Blue cards */
.service-card:nth-child(2) .service-icon,
.service-card:nth-child(3) .service-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card:nth-child(2) p,
.service-card:nth-child(3) p {
    color: rgba(255, 255, 255, 0.9);
}

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive Services Pattern */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Reset Desktop Rules */
    .service-card:nth-child(3) {
        background: white;
        color: var(--text-main);
    }

    .service-card:nth-child(3) .service-icon {
        background: rgba(0, 47, 93, 0.05);
        border-color: rgba(0, 47, 93, 0.1);
        color: var(--primary-blue);
    }

    .service-card:nth-child(3) p {
        color: var(--text-muted);
    }

    /* Enforce Alternating Pattern (Even = Blue) */
    .service-card:nth-child(even) {
        background: var(--primary-blue);
        color: white;
    }

    .service-card:nth-child(even) .service-icon {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .service-card:nth-child(even) p {
        color: rgba(255, 255, 255, 0.9);
    }
}

.text-primary {
    color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}



/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 2rem 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(0, 47, 93, 0.15);
    transition: 0.3s;
}

.process-step:hover .step-number {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(0, 47, 93, 0.2);
    margin-top: 30px;
}

/* Packages */
/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    /* Force equal height */
    justify-content: center;
}

.package-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-body {
    flex-grow: 1;
    /* Push footer to bottom */
}

/* Popular (Center) Card Highlight */
.popular {
    transform: scale(1.05);
    /* Slight default scale */
    border: 3px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 47, 93, 0.15);
    z-index: 2;
    /* Bring to front */
}

.popular:hover,
.package-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 47, 93, 0.2);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0.5rem 0;
}

.package-features ul {
    list-style: none;
    text-align: left;
}

.package-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.check {
    color: var(--accent-cyan);
    font-weight: 800;
}

.full-width {
    width: 100%;
    justify-content: center;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .popular {
        transform: none;
        /* Disable scale on small screens */
    }

    .popular:hover,
    .package-card:hover {
        transform: translateY(-5px);
        /* Simple float on hover */
    }
}


/* Package Details */
.package-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    text-align: left;
}

.package-details p {
    margin-bottom: 0.8rem;
}

.package-details strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.4rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.2rem 0;
}

.benefit-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.benefit-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.best-for {
    margin-top: 1.5rem !important;
    padding: 1rem;
    background: rgba(0, 47, 93, 0.03);
    border-radius: 10px;
    border-left: 3px solid var(--accent-cyan);
}

.best-for strong {
    display: inline;
}

.package-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

/* Testimonials Slider */
.testimonials {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.testimonial-track {
    display: flex;
    width: max-content;
    animation: testimonialScroll 30s linear infinite;
    will-change: transform;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-group {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-right: 2rem;
}

.testimonial-image-wrapper {
    flex: 0 0 calc(50vw - 2.5rem); /* Desktop: 2 images at a time */
    max-width: calc(50vw - 2.5rem);
    transition: all 0.35s ease;
    opacity: 0.9;
}

.testimonial-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.35s ease;
}

.testimonial-image-wrapper:hover {
    transform: translateY(-10px);
    opacity: 1;
}

.testimonial-image-wrapper:hover .testimonial-img {
    box-shadow: 0 15px 35px rgba(242, 101, 34, 0.25), var(--shadow-glow);
    border-color: var(--accent-cyan);
}

@keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .testimonial-image-wrapper {
        flex: 0 0 calc(66.66vw - 2.5rem); /* Tablet: ~1.5 images */
        max-width: calc(66.66vw - 2.5rem);
    }
}

@media (max-width: 768px) {
    .testimonial-image-wrapper {
        flex: 0 0 calc(100vw - 3rem); /* Mobile: 1 image */
        max-width: calc(100vw - 3rem);
    }
    .testimonial-track {
        animation-duration: 20s;
    }
}


.control-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
}

.cta-box {
    background: url('https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&w=1600&q=80') center/cover;
    position: relative;
    padding: 5rem 2rem;
    color: white;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 47, 93, 0.9) 0%, rgba(242, 101, 34, 0.8) 100%);
    z-index: 1;
}

.cta-box>* {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: white;
}

/* Footer */
.footer {
    background: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
}

.footer-links a:hover {
    color: white;
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 47, 93, 0.3);
}

.footer-bottom {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
        /* Ensure above navbar */
        position: relative;
    }

    .menu-toggle span {
        background-color: var(--primary-blue);
        /* Ensure contrast */
    }

    /* Mobile Header & Hero Adjustments */
    .navbar {
        height: 180px;
        /* Matched to desktop */
        position: absolute;
        /* Scrolls with page */
    }

    .logo {
        flex-grow: 1;
        justify-content: flex-start;
        /* Left align */
    }

    .logo-img {
        height: 160px;
        width: auto;
        max-width: none;
        /* Allow full size */
        margin-left: -5px;
        /* Slight optical adjustment */
        /* prevent overflow */
        object-fit: contain;
    }

    .hero {
        padding-top: 220px;
    }

    .nav-menu {
        position: fixed;
        top: 180px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 180px);
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Process Timeline */
    .process-steps {
        flex-direction: column;
        gap: 0;
        padding-left: 10px;
        /* Offset for comfort */
    }

    .step-connector {
        display: none;
        /* Hide legacy horizontal/vertical spacer */
    }

    .process-step {
        display: grid;
        grid-template-columns: 60px 1fr;
        /* Circle Width | Content */
        grid-template-areas:
            "num title"
            "num desc";
        /* Line effectively runs through 'num' col context */
        column-gap: 1.5rem;
        text-align: left;
        padding-bottom: 3rem;
        /* Space between steps */
        position: relative;
    }

    .step-number {
        grid-area: num;
        margin: 0;
        z-index: 2;
        /* Sit on top of line */
        /* Inherits 60px width/height from main styles */
    }

    .process-step h4 {
        grid-area: title;
        align-self: center;
        margin: 0 0 5px 0;
        font-size: 1.5rem;
        /* Ensure readability */
    }

    .process-step p {
        grid-area: desc;
        margin: 0;
    }

    /* Vertical Connecting Line */
    .process-step::before {
        content: '';
        position: absolute;
        top: 0;
        left: 30px;
        /* Center of 60px circle */
        width: 3px;
        /* Slightly thicker line */
        height: 100%;
        background: rgba(0, 47, 93, 0.1);
        transform: translateX(-50%);
        z-index: 1;
    }

    /* Hide line for last item */
    .process-step:last-child {
        padding-bottom: 0;
    }

    .process-step:last-child::before {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        /* Force center alignment of items */
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        display: flex;
        /* Ensure flex for centering content */
        justify-content: center;
        /* Center text/icon inside button */
        margin: 0 auto;
        /* block level centering backup */
    }

    /* Verify Popular Tag Centering */
    .popular-tag {
        left: 50% !important;
        transform: translateX(-50%) !important;
        white-space: nowrap;
    }

    .trust-logos {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .popular {
        transform: none;
    }

    .popular:hover {
        transform: translateY(-5px);
    }
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px; /* space between menu items */
    align-items: center;
}

.nav-menu li {
    position: relative; /* needed for dropdown positioning */
}

.nav-link {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
}

/* --- Dropdown fix --- */
.nav-menu li.dropdown {
    position: relative;
}

.nav-menu li.dropdown .dropdown-menu {
    display: none; /* hide the submenu by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 0;
    list-style: none;
    z-index: 999;
}

.nav-menu li.dropdown:hover .dropdown-menu {
    display: block !important; /* show the submenu on hover */
}

.nav-menu li.dropdown .dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    color: #333;
    text-decoration: none;
}

.nav-menu li.dropdown .dropdown-menu li a:hover {
    background-color: #f0f0f0;
}


@media (max-width: 768px) {

  /* ✅ Hamburger show karo */
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* ✅ Menu ko mobile dropdown banao */
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;

    display: none; /* hidden by default */
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  /* ✅ Jab click ho */
  .nav-menu.active {
    display: flex;
  }

  /* ✅ Links full width */
  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: block;
  }
}


/* =========================
   NAVBAR BASE
========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    background: white;
}

/* =========================
   DESKTOP MENU
========================= */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

/* =========================
   HAMBURGER ICON
========================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* =========================
   MOBILE VIEW
========================= */
@media (max-width: 768px) {

    /* Show hamburger */
    .menu-toggle {
        display: flex;
    }

    /* Hide menu initially (slide system) */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;

        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;

        transition: 0.4s ease;
    }

    /* Show menu on click */
    .nav-menu.active {
        left: 0;
    }

    /* Full width links */
    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        display: block;
        padding: 10px 0;
    }
}