:root {
    --primary-color: #FF9933; /* Saffron */
    --secondary-color: #000080; /* Navy Blue */
    --accent-color: #D4AF37; /* Gold */
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 160px;
    margin: -40px 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
}

.cta-btn:hover {
    background: #E68A2E;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 5% 60px;
    background-image: linear-gradient(rgba(0, 0, 128, 0.7), rgba(0, 0, 128, 0.5)), url('../assets/images/banner-main.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    min-height: 600px; /* Sensible minimum height */
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.price-tag {
    background: var(--white);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
    animation: pricePopup 1s ease-out forwards, pricePulse 3s infinite ease-in-out 1s;
}

@keyframes pricePopup {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pricePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
    animation: pulse 2s infinite;
}

/* Form Container with Glassmorphism */
.hero-form {
    flex: 0 0 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.hero-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.form-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.9);
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--secondary-color);
    color: var(--accent-color);
}

/* Quick Services Section */
.quick-services {
    padding: 3rem 5%;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    clear: both;
    width: 100%;
    display: block;
}

/* Banner Cards */
.banner-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.banner-card {
    background: var(--white); /* Changed from glass to white for better readability against light bg */
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.banner-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.2);
}

.banner-card h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.banner-card p {
    font-size: 0.85rem;
    color: #666;
}

/* Services */
.services {
    padding: 5rem 5%;
    background: var(--light-bg);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-info {
    padding: 1.5rem;
}

.service-card-info h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.book-now {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

/* Gallery - Exactly as requested, keeping original content vibe but with Maharashtra wrapper */
.gallery {
    padding: 5rem 5%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,128,0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ================================================
   TESTIMONIALS — Auto-scrolling Carousel
   ================================================ */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a2e 0%, #000080 50%, #0d0050 100%);
    overflow: hidden;
    position: relative;
}

/* Subtle orb decorations */
.testimonials::before,
.testimonials::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.07;
}
.testimonials::before {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #FF9933, transparent);
    top: -200px; left: -150px;
}
.testimonials::after {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #D4AF37, transparent);
    bottom: -150px; right: -100px;
}

.testi-inner {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.testi-header { margin-bottom: 3rem; }

.testi-badge {
    display: inline-block;
    background: rgba(255,153,51,0.15);
    border: 1px solid rgba(255,153,51,0.35);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.testi-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.7rem;
}

.testi-highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testi-header p {
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
}

/* ---- Track Wrapper: clip + fade edges ---- */
.testi-track-wrapper {
    overflow: hidden;
    margin: 0 -5%;                    /* bleed to screen edge */
    padding: 1rem 0;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

/* ---- Scrolling Belt ---- */
.testi-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    padding: 0.5rem 5%;
    animation: testiScroll 45s linear infinite;
}

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

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

/* ---- Individual Card ---- */
.testi-card {
    flex-shrink: 0;
    width: 320px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem 1.8rem 1.6rem;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-color 0.3s,
        box-shadow 0.35s;
    cursor: default;
}

.testi-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255,153,51,0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3),
                0 0 0 1px rgba(255,153,51,0.12);
}

/* Decorative large quote mark */
.testi-quote {
    font-size: 5rem;
    line-height: 0.7;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.45;
    margin-bottom: 0.5rem;
    display: block;
    user-select: none;
}

/* Stars */
.testi-stars {
    color: #FFD700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.9rem;
    text-shadow: 0 0 8px rgba(255,215,0,0.4);
}

/* Review Text */
.testi-text {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Profile area */
.testi-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.2rem;
}

.testi-profile img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid rgba(255,153,51,0.4);
    box-shadow: 0 0 0 4px rgba(255,153,51,0.08);
    flex-shrink: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.testi-card:hover .testi-profile img {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(255,153,51,0.2);
}

.testi-info strong {
    display: block;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.testi-info span {
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
}

/* Shimmer effect on card hover */
.testi-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.04),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}
.testi-card:hover::before {
    left: 150%;
}

/* ---- Rating Summary Bar ---- */
.testi-rating-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.testi-rating-score {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 0.5rem 1rem;
}

.trs-big {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.trs-big small {
    font-size: 1.2rem;
}

.trs-stars {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #FFD700;
    margin-bottom: 0.3rem;
}

.trs-label {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.trs-divider {
    width: 1px;
    height: 55px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .testi-card { width: 280px; }
    .testi-header h2 { font-size: 2rem; }
    .trs-divider { display: none; }
    .testi-rating-score { min-width: 80px; }
    .trs-big { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .testi-card { width: 260px; padding: 1.5rem 1.3rem; }
    .testimonials { padding: 4rem 0; }
}



/* Animations */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

.fade-up {
    transform: translateY(30px);
}

.aos-animate.fade-up {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    header {
        padding: 0.5rem 5%;
    }
    .logo img {
        height: 120px;
        margin: -20px 0;
    }
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 80px 5% 40px;
        min-height: auto;
    }
    .hero-form {
        margin-left: 0;
        margin-top: 2rem;
        flex: 1;
        width: 100%;
        max-width: 500px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Mobile Menu Style */
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background: var(--secondary-color);
        transition: all 0.3s ease-in-out;
    }
    
    nav ul {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 100px;
        z-index: 1000;
    }

    nav ul.active {
        right: 0;
    }

    /* Hamburger to X */
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .logo img {
        height: 100px;
        margin: -15px 0;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 80px;
        margin: -10px 0;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .price-tag {
        font-size: 1.5rem;
    }
}

/* ================================================
   FLOATING MAP BUTTON & POPUP
   ================================================ */
.map-floating-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.map-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.map-btn i {
    font-size: 1.2rem;
}

.map-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.map-popup {
    width: 350px;
    height: 300px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid var(--white);
}

.map-floating-container:hover .map-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .map-floating-container {
        bottom: 20px;
        left: 20px;
    }
    .map-popup {
        width: 280px;
        height: 250px;
    }
    .map-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-section {
    padding: 80px 5%;
    background: #fdfaf5;
}

.faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--secondary-color);
    background: rgba(255, 153, 51, 0.05);
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--secondary-color);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Large enough for content */
    padding-bottom: 1.2rem;
}

.faq-answer p {
    padding: 0 1.5rem 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 5%;
    }
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* ================================================
   WHY CHOOSE APOSTILLE MAHARASHTRA - SECTION
   ================================================ */
.why-choose {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, #0a0a2e 0%, #000080 45%, #1a0050 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Decorative rotated shape */
.why-choose-bg-shape {
    position: absolute;
    top: -80px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(255,153,51,0.12) 0%, rgba(212,175,55,0.08) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphShape 12s ease-in-out infinite;
    z-index: 0;
}

@keyframes morphShape {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg) scale(1); }
    33%       { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; transform: rotate(120deg) scale(1.05); }
    66%       { border-radius: 30% 60% 30% 70% / 50% 60% 30% 60%; transform: rotate(240deg) scale(0.95); }
}

.why-choose-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.why-header { margin-bottom: 3rem; }

.section-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.why-header h2 {
    font-size: 2.8rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.why-header h2 span {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-header p {
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
}

/* ---- Stats Bar ---- */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem 1rem;
    margin-bottom: 3.5rem;
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.5rem 1rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    vertical-align: super;
    margin-left: 2px;
}

.stat-item p {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ---- Feature Cards Grid ---- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.why-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.3s,
                box-shadow 0.4s;

    /* Staggered entrance animation */
    opacity: 0;
    transform: translateY(40px);
    animation: wc-enter 0.6s ease forwards;
}

.why-card.wc-1 { animation-delay: 0.1s; }
.why-card.wc-2 { animation-delay: 0.2s; }
.why-card.wc-3 { animation-delay: 0.3s; }
.why-card.wc-4 { animation-delay: 0.4s; }
.why-card.wc-5 { animation-delay: 0.5s; }
.why-card.wc-6 { animation-delay: 0.6s; }

@keyframes wc-enter {
    to { opacity: 1; transform: translateY(0); }
}

.why-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 153, 51, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(255,153,51,0.08);
}

/* Icon */
.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, var(--primary-color), #c44f00);
    color: white;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(255,153,51,0.35);
    transition: box-shadow 0.3s, transform 0.3s;
}

.why-card:hover .why-card-icon {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(255,153,51,0.5);
}

.why-card-icon svg {
    width: 100%;
    height: 100%;
}

/* Per-card icon colors */
.wc-1 .why-card-icon { background: linear-gradient(135deg, #1565C0, #0D47A1); box-shadow: 0 8px 20px rgba(21,101,192,0.4); }
.wc-2 .why-card-icon { background: linear-gradient(135deg, #FF9933, #c44f00); box-shadow: 0 8px 20px rgba(255,153,51,0.4); }
.wc-3 .why-card-icon { background: linear-gradient(135deg, #2E7D32, #1B5E20); box-shadow: 0 8px 20px rgba(46,125,50,0.4); }
.wc-4 .why-card-icon { background: linear-gradient(135deg, #6a1fa8, #3d0080); box-shadow: 0 8px 20px rgba(106,31,168,0.4); }
.wc-5 .why-card-icon { background: linear-gradient(135deg, #D4AF37, #a07d10); box-shadow: 0 8px 20px rgba(212,175,55,0.4); }
.wc-6 .why-card-icon { background: linear-gradient(135deg, #c62828, #8b0000); box-shadow: 0 8px 20px rgba(198,40,40,0.4); }

.why-card h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Card ambient glow on hover */
.why-card-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,153,51,0.15), transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
}

.why-card:hover .why-card-glow {
    opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-header h2 { font-size: 2.2rem; }
    .stat-divider { display: none; }
    .stat-item { min-width: 80px; }
}

@media (max-width: 560px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .stats-bar {
        gap: 1rem;
    }
    .why-choose { padding: 4rem 5%; }
}

/* ================================================
   APOSTILLE / ATTESTATION OVER 100+ COUNTRIES
   ================================================ */
.countries-section {
    padding: 6rem 0;
    background: #f8f9fa;
    background-image:
        radial-gradient(circle, rgba(0,0,128,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    overflow: hidden;
    position: relative;
}

.countries-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.countries-header {
    margin-bottom: 3rem;
    text-align: center;
}

.countries-badge {
    display: inline-block;
    background: linear-gradient(90deg, #000080, #FF9933);
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.countries-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.countries-highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), #c44f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countries-header p {
    color: #666;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Track wrapper: clips overflow + adds fade edges ---- */
.countries-track-wrapper {
    overflow: hidden;
    margin-bottom: 1.2rem;
    /* Fade-out left and right edges */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

/* ---- The scrolling belt ---- */
.countries-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    padding: 0.4rem 0;
}

/* LTR: left to right */
.track-ltr {
    animation: scrollLTR 30s linear infinite;
}

/* RTL: right to left */
.track-rtl {
    animation: scrollRTL 35s linear infinite;
}

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

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

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

/* ---- Individual country card ---- */
.country-card {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: white;
    border: 1.5px solid #e8eaf0;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    white-space: nowrap;
    cursor: default;
    transition:
        transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.5),
        border-color 0.25s,
        box-shadow 0.25s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.country-card:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.2);
}

.cflag-img {
    height: 28px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.country-card:hover .cflag-img {
    transform: scale(1.15) rotate(-3deg);
}

.cname {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ---- CTA line at the bottom ---- */
.countries-cta {
    margin-top: 2.8rem;
    text-align: center;
    background: linear-gradient(135deg, #000080, #0a0a50);
    border-radius: 12px;
    padding: 1.4rem 2rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.countries-cta strong {
    color: var(--primary-color);
}

.countries-cta a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-color);
    transition: color 0.2s;
}

.countries-cta a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 600px) {
    .countries-header h2 { font-size: 1.9rem; }
    .countries-section { padding: 4rem 0; }
    .country-card { padding: 0.5rem 1rem; }
    .cflag { font-size: 1.25rem; }
    .cname { font-size: 0.82rem; }
}

/* ================================================
   SIMPLE 5-STEP PROCESS SECTION
   ================================================ */
.process-section {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, #000814 0%, #000080 50%, #001f5b 100%);
    overflow: hidden;
}

/* Subtle animated grid overlay */
.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,153,51,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,153,51,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.process-inner {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
}

/* ---- Header ---- */
.process-header { margin-bottom: 4rem; }

.process-badge {
    display: inline-block;
    background: rgba(255,153,51,0.15);
    border: 1px solid rgba(255,153,51,0.3);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.process-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.process-highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
}

/* ---- Step Track ---- */
.process-track {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
}
.process-track::-webkit-scrollbar { display: none; }

/* ---- Arrow between steps ---- */
.ps-arrow {
    font-size: 1.6rem;
    color: var(--primary-color);
    opacity: 0.7;
    flex-shrink: 0;
    align-self: center;
    margin: 0 -4px;
    padding-bottom: 60px; /* raise it to align with icon level */
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50%       { opacity: 1;   transform: translateX(4px); }
}

/* ---- Individual Step ---- */
.process-step {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;

    /* Entrance animation */
    opacity: 0;
    transform: translateY(30px);
    animation: stepEnter 0.6s ease forwards;
}

.ps-1 { animation-delay: 0.1s; }
.ps-2 { animation-delay: 0.25s; }
.ps-3 { animation-delay: 0.4s; }
.ps-4 { animation-delay: 0.55s; }
.ps-5 { animation-delay: 0.7s; }

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

/* ---- Bubble (icon circle) ---- */
.ps-bubble {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.12);
    transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.5), box-shadow 0.35s;
    flex-shrink: 0;
}

.process-step:hover .ps-bubble {
    transform: scale(1.12) translateY(-4px);
}

/* Per-step bubble accent */
.ps-1 .ps-bubble { border-color: rgba(255,153,51,0.5); box-shadow: 0 0 20px rgba(255,153,51,0.15); }
.ps-2 .ps-bubble { border-color: rgba(33,150,243,0.5); box-shadow: 0 0 20px rgba(33,150,243,0.15); }
.ps-3 .ps-bubble { border-color: rgba(76,175,80,0.5);  box-shadow: 0 0 20px rgba(76,175,80,0.15); }
.ps-4 .ps-bubble { border-color: rgba(212,175,55,0.5); box-shadow: 0 0 20px rgba(212,175,55,0.15); }
.ps-5 .ps-bubble { border-color: rgba(156,39,176,0.5); box-shadow: 0 0 20px rgba(156,39,176,0.15); }

/* Step number (top-left badge on bubble) */
.ps-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255,153,51,0.5);
    letter-spacing: 0.02em;
}

.ps-2 .ps-num { background: #2196F3; box-shadow: 0 2px 8px rgba(33,150,243,0.5); }
.ps-3 .ps-num { background: #4CAF50; box-shadow: 0 2px 8px rgba(76,175,80,0.5); }
.ps-4 .ps-num { background: #D4AF37; box-shadow: 0 2px 8px rgba(212,175,55,0.5); }
.ps-5 .ps-num { background: #9C27B0; box-shadow: 0 2px 8px rgba(156,39,176,0.5); }

/* SVG icon inside bubble */
.ps-icon {
    width: 44px;
    height: 44px;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}

.ps-1:hover .ps-icon { color: #FF9933; }
.ps-2:hover .ps-icon { color: #2196F3; }
.ps-3:hover .ps-icon { color: #4CAF50; }
.ps-4:hover .ps-icon { color: #D4AF37; }
.ps-5:hover .ps-icon { color: #CE93D8; }

/* Step text */
.ps-content { flex: 1; }

.ps-content h3 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ps-content p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* Unused connectors (kept for potential styling) */
.ps-connector-left,
.ps-connector-right { display: none; }

/* ---- CTA ---- */
.process-cta {
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.process-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #c44f00);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255,153,51,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.02em;
}

.process-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 35px rgba(255,153,51,0.55);
}

.process-cta-note {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .process-track {
        flex-direction: column;
        align-items: center;
        gap: 0;
        overflow-x: visible;
    }
    .ps-arrow {
        transform: rotate(90deg);
        padding-bottom: 0;
        margin: -4px 0;
        font-size: 1.3rem;
    }
    .process-step {
        max-width: 420px;
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 1.2rem;
        padding: 0.8rem 1rem;
        background: rgba(255,255,255,0.04);
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,0.08);
    }
    .ps-bubble { margin-bottom: 0; flex-shrink: 0; }
    .process-header h2 { font-size: 2rem; }
    .process-section { padding: 4rem 5%; }
}

@media (max-width: 560px) {
    .process-cta { flex-direction: column; gap: 1rem; text-align: center; }
    .process-step { gap: 0.8rem; }
    .ps-bubble { width: 70px; height: 70px; }
    .ps-icon { width: 34px; height: 34px; }
}
