:root {
    --primary-teal: #00838F;
    /* Lighter, more vibrant teal */
    --primary-gradient: linear-gradient(135deg, #00838F 0%, #006064 100%);
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --accent-orange: #FF8F00;
    --text-light: #5f6368;
    --text-dark: #202124;
    --background-light: #F0F4F4;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-blur: 20px;
    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 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-light: var(--shadow-lg);
    /* Alias for existing code */
    --card-hover: rgba(255, 255, 255, 0.85);
    --radius-md: 12px;
    --radius-lg: 16px;
    --nav-blog-blue: #006ea8;
    --nav-testimonials-yellow: #e09a00;
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: 100px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

/* Preloader Plane Animation */
.loader-track {
    width: 250px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
    margin-top: 10px;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-teal);
    border-radius: 2px;
    animation: load-progress 2s infinite ease-in-out;
}

.loader-plane {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    /* Center plane on the line end */
    animation: load-plane 2s infinite ease-in-out;
    z-index: 10;
}

.loader-plane svg {
    transform: rotate(45deg);
    /* Adjust orientation for 45deg icon */
    width: 24px;
    height: 24px;
}

@keyframes load-progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes load-plane {
    0% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjust for preloader */
@media (max-width: 480px) {
    .loader-track {
        width: 180px;
    }
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Desktop Nav */
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--accent-orange);
}

/* Keep Blog/Testimonies colors consistent across all topbars */
.desktop-nav a[href="blog.html"],
.mobile-nav a[href="blog.html"] {
    color: var(--nav-blog-blue);
    font-weight: 600;
}

.desktop-nav a[href="testimonials.html"],
.mobile-nav a[href="testimonials.html"] {
    color: var(--nav-testimonials-yellow);
    font-weight: 600;
}

.desktop-nav a[href="blog.html"]:hover,
.mobile-nav a[href="blog.html"]:hover,
.desktop-nav a[href="blog.html"].active,
.mobile-nav a[href="blog.html"].active {
    color: #005783;
}

.desktop-nav a[href="testimonials.html"]:hover,
.mobile-nav a[href="testimonials.html"]:hover,
.desktop-nav a[href="testimonials.html"].active,
.mobile-nav a[href="testimonials.html"].active {
    color: #b47800;
}

/* Dropdown Navigation */
.desktop-nav .dropdown {
    position: relative;
}

.desktop-nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0, 96, 100, 0.1);
}

.desktop-nav .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.desktop-nav .dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

.desktop-nav .dropdown-content a:hover {
    background: rgba(0, 96, 100, 0.08);
    color: var(--primary-teal);
    padding-left: 1.75rem;
}

/* Specific Dropdown for User Profile */
#nav-user-profile.dropdown-content {
    left: auto;
    right: 0;
    transform: none;
    min-width: 220px;
}

#nav-user-profile:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Ensure the dropdown aligns to the right edge of the parent li */
#nav-user-profile .dropdown-content {
    left: auto;
    right: 0;
    transform: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 201;
    /* Above overlay */
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .cards-grid,
    .destinations-grid,
    .domains-grid {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 40px;
    }
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-teal);
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--primary-teal);
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 2rem 0;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white !important;
}

.btn-accent {
    background-color: var(--accent-orange);
    color: white !important;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(0, 131, 143, 0.4);
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #000;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-teal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--primary-teal);
    box-shadow: 0 4px 15px rgba(0, 131, 143, 0.15);
    transform: translateY(-1px);
}

/* Booking Options (WhatsApp Modal) */
.booking-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.booking-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-option:hover {
    transform: translateY(-5px);
    background: rgba(0, 96, 100, 0.05);
}

.booking-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.booking-option h4 {
    color: var(--primary-teal);
    margin-bottom: 0.25rem;
}

.booking-option p {
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

@media (max-width: 600px) {
    .booking-options {
        grid-template-columns: 1fr;
    }
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9999 !important;
    /* Force to back */
    overflow: hidden;
    background-color: var(--background-light);
    pointer-events: none;
    /* Ensure clicks pass through */
}

.video-container video,
.video-container .bg-layer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Background Layer Logic */
.video-container .bg-layer {
    z-index: -1;
    /* Local stacking */
    opacity: 0;
    /* transition removed to prevent superposition */
}

.video-container .bg-layer.active {
    opacity: 1;
    z-index: 1;
}

.video-container video {
    z-index: 2;
    /* Video on top if present */
}

/* Layout & Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.content-scroller {
    position: relative;
    z-index: 20 !important;
    /* Force to front */
    isolation: isolate;
    /* Create new stacking context */
}

/* Sections */
.panel {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.scroll-spacer {
    height: 10vh;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
}

/* Hero */
.hero-section {
    align-items: flex-start;
    justify-content: center;
}

.hero-text {
    transform-style: preserve-3d;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-teal);
    transform: translateZ(20px);
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text-dark);
    transform: translateZ(20px);
}

/* Services */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-teal);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    text-align: center;
    transition: transform 0.3s;
    transform-style: preserve-3d;
}

.card:hover {
    background: var(--card-hover);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

/* Visa Types Tags */
.visa-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.visa-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #00838f 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dest-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-light);
    /* transform-style: preserve-3d; REMOVED */
}

.dest-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    width: 100%;
    /* transform: translateZ(30px); REMOVED */
}

/* Footer */
.footer-section {
    justify-content: flex-end;
    padding-bottom: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.footer-contact h4,
.footer-links h4 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    color: #666;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 20;
    opacity: 0.8;
    animation: bounce 2s infinite;
    color: var(--primary-teal);
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-teal);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-teal);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .header-content {
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Utilities */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}


/* =========================================
   Russia Studies Section
   ========================================= */
.russia-section {
    position: relative;
    z-index: 5;
}

.russia-intro {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* --- Documents Checklist --- */
.docs-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    position: relative;
    z-index: 10;
    display: block;
    /* Ensure it takes space */
}

.docs-checklist li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.2rem;
    /* Increased size slightly */
    font-weight: 500;
    /* Made slightly bolder */
    color: var(--text-dark) !important;
    /* Force color */
    opacity: 1 !important;
    /* Force opacity */
}

.docs-checklist li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 2px;
}

/* --- Timeline (9 Steps) --- */
.timeline-container {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    position: relative;
    padding: 1rem 0;
}

/* Vertical Line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary-teal);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
    box-sizing: border-box;
}

/* Left/Right Alternation */
.timeline-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* The Dot */
.timeline-step::after {
    content: attr(data-step);
    position: absolute;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline-step:nth-child(odd)::after {
    right: -20px;
}

.timeline-step:nth-child(even)::after {
    left: -20px;
}

.timeline-content {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
}

/* --- Pricing Packs --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    /* Center vertically if heights differ */
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

/* Premium Highlight */
.pricing-card.premium {
    border: 2px solid var(--accent-orange);
    transform: scale(1.05);
    /* Make it pop */
    z-index: 2;
}

.pricing-card.premium::before {
    content: 'RECOMMANDÉ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 111, 0, 0.4);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-teal);
    margin: 1.5rem 0;
}

.price-tag small {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.features-list li:last-child {
    border-bottom: none;
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-step {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        text-align: left !important;
    }

    .timeline-step:nth-child(odd),
    .timeline-step:nth-child(even) {
        left: 0;
    }

    .timeline-step:nth-child(odd)::after,
    .timeline-step:nth-child(even)::after {
        left: 0;
        right: auto;
    }

    .pricing-card.premium {
        transform: scale(1);
    }
}

/* --- Payment Modes --- */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    /* Increased from 2rem */
    text-align: left;
    margin-top: 3rem;
    /* Increased from 2rem */
}

.payment-opt h4 {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    /* Increased margin */
    font-size: 1.25rem;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.payment-table th,
.payment-table td {
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.payment-table th {
    color: var(--accent-orange);
    font-weight: 600;
}

.visa-guarantee {
    display: inline-block;
    background: #e6fffa;
    color: #006064;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 5px;
    border: 1px solid #006064;
}

/* Coming Soon Overlay */
.dest-card.coming-soon::after {
    content: "Bientôt";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark veil */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    z-index: 1;
    border-radius: 20px;
    /* transform: translateZ(0.1px); REMOVED */
    /* Sit flat on card, below content */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.5px);
    /* Reduced blur */
}

.dest-card.coming-soon .dest-content {
    position: relative;
    z-index: 10;
    /* Force text content above the veil */
}

/* =========================================
   Material 3 Expressive Motion
   ========================================= */
:root {
    --ease-out-expressive: cubic-bezier(0.2, 0.0, 0, 1.0);
    /* Expressive Standard */
    --duration-expressive: 600ms;
}

/* Apply new motion to all previous tilt elements */
.glass-card,
.dest-card,
.timeline-content,
.pricing-card,
.card {
    transition: transform var(--duration-expressive) var(--ease-out-expressive),
        box-shadow var(--duration-expressive) var(--ease-out-expressive);
    will-change: transform, box-shadow;
}

.glass-card:hover,
.dest-card:hover,
.timeline-content:hover,
.pricing-card:hover,
.card:hover {
    transform: translateY(-8px) scale(1.02);
    /* Material 3 Elevation Lift */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* Elevation Increase */
}

/* =========================================
   Destination CTAs & WhatsApp Button
   ========================================= */
.dest-cta {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

/* =========================================
   Études Section - Tabs
   ========================================= */
.etudes-section {
    position: relative;
    z-index: 5;
}

.tabs-container {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: rgba(0, 96, 100, 0.1);
    color: var(--primary-teal);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(0, 96, 100, 0.2);
}

.tab-btn.active {
    background: var(--primary-teal);
    color: white;
}

.tab-content {
    display: none;
    text-align: center;
    padding: 1rem;
}

.tab-content.active {
    display: block;
}

.tab-title {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

/* =========================================
   Domains Grid
   ========================================= */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.domain-card {
    text-align: center;
    padding: 1.5rem;
}

.domain-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.domain-card h4 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.domain-card p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* =========================================
   Universities List
   ========================================= */
.city-universities {
    padding: 1.5rem;
}

.city-title {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.university-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.university-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 96, 100, 0.05);
    border-radius: 10px;
}

.university-item strong {
    flex: 1;
    min-width: 200px;
}

.uni-domains {
    color: #666;
    font-size: 0.85rem;
}

.uni-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.uni-link:hover {
    text-decoration: underline;
}

.uni-note {
    width: 100%;
    font-size: 0.8rem;
    color: var(--primary-teal);
    margin-top: 0.25rem;
    font-style: italic;
}

.more-universities {
    cursor: pointer;
}

.more-universities summary {
    font-weight: 600;
    color: var(--primary-teal);
    padding: 1rem;
}

/* =========================================
   Travail Section - Work Sectors
   ========================================= */
.travail-section {
    position: relative;
    z-index: 5;
}

.disclaimer-banner {
    padding: 1rem 1.5rem;
}

.work-sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.work-card {
    text-align: center;
    padding: 1.5rem;
}

.work-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.work-card h4 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.work-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.work-demand {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.work-demand.high {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.work-demand.medium {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #f57f17;
}

.work-demand.low {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: #c2185b;
}

/* =========================================
   Sport Section
   ========================================= */
.sport-section {
    position: relative;
    z-index: 5;
}

.sport-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.sport-card {
    text-align: center;
    padding: 2rem;
}

.sport-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sport-card h4 {
    color: var(--primary-teal);
    margin-bottom: 0.75rem;
}

.sport-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #00838f 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sport-universities {
    padding: 1.5rem;
}

.sport-process {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--primary-teal);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* =========================================
   Responsive Additions
   ========================================= */
@media (max-width: 768px) {
    .dest-cta {
        flex-direction: column;
    }

    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        text-align: center;
    }

    .sport-process {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .university-item {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   City Detail Modals
   ========================================= */
.city-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.city-modal.show {
    display: flex !important;
}

.city-modal .modal-content {
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    padding: 0;
    overflow: hidden;
    overflow-y: auto;
    border-radius: 20px;
    background: white;
    margin: auto;
}

.city-modal-header {
    background-size: cover;
    background-position: center;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.city-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.city-modal-header h2,
.city-modal-header p {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.city-modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.city-modal-body {
    padding: 2rem;
}

.city-modal-body h3 {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.modal-uni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-uni-card {
    background: rgba(0, 96, 100, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.modal-uni-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.modal-uni-card h4 {
    color: var(--primary-teal);
    margin-bottom: 0.25rem;
}

.modal-uni-card p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.uni-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--primary-teal);
    color: white;
    border-radius: 10px;
    font-size: 0.7rem;
    margin: 0.15rem;
}

.modal-uni-card .uni-link {
    display: block;
    margin-top: 0.5rem;
}

.modal-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.domain-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-cta {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .city-modal {
        padding: 0.5rem;
    }

    .city-modal .modal-content {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 16px;
    }

    .city-modal-header {
        padding: 1.5rem 1rem;
    }

    .city-modal-header h2 {
        font-size: 1.4rem;
    }

    .city-modal-body {
        padding: 1rem;
    }

    .city-modal-body h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .modal-uni-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .modal-uni-card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .modal-uni-card img {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .modal-uni-card h4 {
        font-size: 0.9rem;
    }

    .modal-uni-card p {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .uni-tag {
        font-size: 0.6rem;
        padding: 0.1rem 0.35rem;
    }

    .modal-domains {
        gap: 0.35rem;
    }

    .domain-tag {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }

    .modal-cta {
        padding: 1rem 0;
    }

    .modal-cta .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .city-modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-uni-card {
        flex-direction: column;
        text-align: center;
    }

    .modal-uni-card img {
        width: 100%;
        height: 80px;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f4 100%);
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimony-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 96, 100, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-teal);
}

.testimony-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 96, 100, 0.2);
}

.testimony-author {
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.testimony-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimony-date {
    font-size: 0.85rem;
    color: #aaa;
}

/* ===== AUTH MODALS ===== */
.auth-tab {
    display: none;
}

.auth-tab.active {
    display: block;
}

.form-group textarea {
    font-size: 1rem;
    line-height: 1.5;
}

.auth-modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#testimony-auth-check {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(0, 96, 100, 0.1);
    border-radius: 8px;
    text-align: center;
}

#testimony-auth-check.logged-in {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-teal);
}

/* Success/Error Messages */
.auth-message {
    padding: 12px;
    margin-bottom: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.auth-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.auth-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #c62828;
    border: 1px solid #f44336;
}