@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&family=Tajawal:wght@500;700;800&family=Cairo:wght@400;600;800&display=swap");

:root {
    --bg-black: #f8f9fa; /* Very subtle off-white for section breaks */
    --bg-dark: #ffffff;  /* Pure white for pristine corporate feel */
    --text-white: #1a202c; /* Slate navy for extreme readability */
    --text-muted: #4a5568; /* Soft slate gray */
    --brand-green: #04ab5c; /* Emerald */
    --brand-blue: #2d3748; /* Slate navy for buttons/headings */
    --brand-green-glow: rgba(4, 171, 92, 0.15); /* Very soft diffuse shadow */
    --border: #e2e8f0; /* Crisp light gray borders */
    
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

[data-theme="dark"] {
    --bg-black: #0B0E14; /* Deep premium slate */
    --bg-dark: #111827;  /* Slightly lighter slate for cards */
    --text-white: #f9fafb; /* Crisp white for text */
    --text-muted: #9ca3af; /* Soft slate gray for dark mode */
    --brand-green: #04ab5c; /* Emerald */
    --brand-blue: #ffffff; /* White for dark mode buttons/headings */
    --brand-green-glow: rgba(4, 171, 92, 0.25);
    --border: rgba(255, 255, 255, 0.1);
}

[dir="rtl"] {
    text-align: right;
    --font-display: 'Tajawal', sans-serif;
    --font-body: 'Cairo', sans-serif;
}

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

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--brand-blue);
    font-weight: 800;
    letter-spacing: 2px;
    overflow: hidden;
}

.loader-text span {
    display: inline-block;
    transform: translateY(100%);
}

.loader-progress {
    width: 250px;
    height: 3px;
    background: var(--border);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.loader-progress-bar {
    position: absolute;
    top: 0; left: 0; height: 100%; width: 0%;
    background: var(--brand-green);
}

/* Smooth Scroll */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
    background: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    color: var(--text-white);
}

.huge-text {
    font-size: clamp(3.5rem, 8vw, 10rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--brand-blue);
}

.text-green { color: var(--brand-green); }

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

.section {
    padding: 10vh 0;
    position: relative;
    background: var(--bg-black);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .navbar {
    background: rgba(11, 14, 20, 0.95);
}

[data-theme="dark"] .logo img, [data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* .nav-links a::after removed */ {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover {
    color: var(--brand-green);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Corporate Buttons */
.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 50px; /* Pill shape */
    color: #1a202c !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background: var(--brand-green);
    transition: width 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 0;
}

.magnetic-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.magnetic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--brand-green-glow);
    border-color: var(--brand-green);
}

.magnetic-btn:hover { background: #038d4c; }

.magnetic-btn:hover span {
    color: #ffffff;
}

/* Hero Section Slider */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--bg-black);
}

.hero-slider {
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-video-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.hero-video-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Elegant, premium dark gradient strictly over the image */
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8) 0%, rgba(26, 32, 44, 0.4) 100%);
}

.hero-video-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-slide.active .hero-video-wrap img {
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-slider-nav {
    position: absolute;
    bottom: 5vh;
    right: 40px;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

html[dir="rtl"] .hero-slider-nav {
    right: auto;
    left: 40px;
}

.nav-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    background: rgba(255,255,255,0.6);
}

.nav-dot.active {
    background: transparent;
    border-color: var(--brand-green);
    box-shadow: 0 0 10px var(--brand-green-glow);
    transform: scale(1.3);
}

.split-line { overflow: hidden; }
.split-word { display: inline-block; transform: translateY(110%); }

/* Art Image Masks */
.art-image {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
}

.art-image img {
    width: 100%; height: 120%;
    object-fit: cover;
}

/* Horizontal Scroll Section */
.horizontal-wrap {
    height: 100svh;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.horizontal-track {
    display: flex;
    height: 100svh;
    /* width set by JS */
}

.horizontal-item {
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    flex-shrink: 0;
}

.horizontal-card {
    width: 100%;
    height: 70vh;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.2;
    transition: opacity 0.5s;
}

.card-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.horizontal-card:hover .card-bg { opacity: 0.6; }

.horizontal-card h3 {
    font-size: 4rem;
    z-index: 1;
    position: relative;
}

.horizontal-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    z-index: 1;
    position: relative;
    margin-top: 1rem;
    max-width: 500px;
}

/* Footer */
.footer {
    padding: 10vh 0 5vh;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-huge {
    font-size: clamp(4rem, 8vw, 10rem);
    text-align: center;
    margin-bottom: 10vh;
    color: var(--text-muted);
    transition: color 0.5s;
}

.footer-huge:hover { color: var(--brand-green); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--text-white); }

/* Intro Section Sticky Support */
.intro-sticky {
    position: sticky;
    top: 15vh;
    align-self: flex-start;
}

/* Premium Timeline */
.premium-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-track {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(4, 171, 92, 0.1), rgba(4, 171, 92, 1), rgba(4, 171, 92, 0.1));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    z-index: 2;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-left { flex-direction: row-reverse; }
.timeline-right { flex-direction: row; }

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-black);
    border: 4px solid var(--brand-green);
    box-shadow: 0 0 20px rgba(4, 171, 92, 0.4);
    z-index: 3;
}

.timeline-content {
    width: 45%;
    position: relative;
}

.timeline-left .timeline-content { text-align: right; }
.timeline-right .timeline-content { text-align: left; }

.timeline-year {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

.timeline-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.timeline-card p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-white);
}

/* RTL Support for Timeline */
html[dir="rtl"] .timeline-left .timeline-content { text-align: left; }
html[dir="rtl"] .timeline-right .timeline-content { text-align: right; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.stat-card .number {
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--brand-green);
    font-weight: 800;
    margin-bottom: 1rem;
}

.stat-card .label {
    font-size: 1.2rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.news-card {
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s;
}

.news-card:hover {
    border-color: var(--brand-green);
}

.news-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 2rem;
}

.news-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: none;
}

.news-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* RTL Support */
html[dir="rtl"] {
    text-align: right;
}
html[dir="rtl"] .nav-links {
    margin-left: 0;
    margin-right: auto;
}
html[dir="rtl"] .timeline {
    border-left: none;
    border-right: 2px solid var(--border);
    padding-left: 0;
    padding-right: 2rem;
}
html[dir="rtl"] .timeline-item::before {
    left: auto;
    right: -2.4rem;
}

/* SEO Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* =========================================
   Mobile Responsiveness
   ========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    margin-left: 1rem;
}
html[dir="rtl"] .hamburger {
    margin-left: 0;
    margin-right: 1rem;
}
.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--brand-blue);
    transition: all 0.3s;
}
[data-theme="dark"] .hamburger span {
    background-color: var(--text-white);
}

@media (max-width: 768px) {
    /* Layout & Utilities */
    .container { padding: 0 5%; }
    .section { padding: 5vh 0; }
    
    /* Typography */
    .huge-text { font-size: clamp(2.5rem, 10vw, 4rem); }
    .section-title { font-size: clamp(2rem, 8vw, 3rem); }
    
    /* Navbar & Hamburger Menu */
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
    }
    [data-theme="dark"] .nav-links {
        background: rgba(11, 14, 20, 0.98);
    }
    .nav-links.active { 
        transform: translateY(0); 
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a { font-size: 1.5rem; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav-controls {
        margin: 0 !important;
        flex-direction: row;
    }
    .control-btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.8rem;
    }

    /* Grids & Stacking */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-col { padding: 0 !important; }
    .stats-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    
    /* Hero Section */
    .hero-content h2 { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-content p { font-size: 1.1rem; }
    .hero-cta { flex-direction: column; width: 100%; align-items: stretch; }
    .hero-cta .magnetic-btn { text-align: center; }

    /* Intro Section Mobile Fix */
    .intro-sticky {
        position: relative !important;
        top: auto !important;
        align-self: auto !important;
        margin-bottom: 2rem;
    }

    /* Premium Timeline - Mobile */
    .timeline-track { left: 30px; transform: none; }
    .timeline-dot { left: 30px; transform: translate(-50%, -50%); }
    .timeline-item { flex-direction: column !important; align-items: flex-start; margin-bottom: 4rem; padding-left: 60px; }
    .timeline-content { width: 100%; text-align: left !important; }

    html[dir="rtl"] .timeline-track { left: auto; right: 30px; }
    html[dir="rtl"] .timeline-dot { left: auto; right: 30px; transform: translate(50%, -50%); }
    html[dir="rtl"] .timeline-item { padding-left: 0; padding-right: 60px; }
    html[dir="rtl"] .timeline-content { text-align: right !important; }
    }
    .gt-col {
        width: 100%;
        margin: 0;
        position: relative;
    }
    /* Create glowing dots on the vertical line for each item */
    .gt-col::before {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: -2.4rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--brand-green);
        box-shadow: 0 0 10px var(--brand-green-glow);
    }
    html[dir="rtl"] .gt-col::before {
        left: auto;
        right: -2.4rem;
    }
    /* Hide custom graphics but KEEP horizontal year icons */
    .gt-img-vert, .gt-img-end {
        display: none !important;
    }
    .gt-img-horz {
        display: block !important;
        width: 120px;
        height: auto;
        margin-bottom: 1rem;
        object-fit: contain;
    }
    .gt-text {
        min-height: auto;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border);
        border-radius: 8px;
        text-align: left;
    }
    html[dir="rtl"] .gt-text {
        text-align: right;
    }

    /* Horizontal Portfolio */
    .horizontal-item { padding: 0 5%; }
    .horizontal-card { padding: 2rem; height: 60vh; }
    .horizontal-card h3 { font-size: 2.5rem; }
    
    /* General specific grids */
    .mobile-stack {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Facility Section Styles */
.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.facility-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

.facility-image-inner {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    border-radius: 24px;
    z-index: 2;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.facility-image-wrapper:hover .facility-img {
    transform: scale(1.05);
}

.facility-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.4), transparent);
    z-index: 3;
}

.facility-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: var(--brand-green);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

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

.facility-stats-tabs {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

.facility-tab-nav {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.facility-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.facility-tab-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.02);
}

.facility-tab-btn.active {
    color: var(--brand-green);
    border-bottom-color: var(--brand-green);
    background: rgba(4, 171, 92, 0.05);
}

.facility-tab-container {
    padding: 2rem;
    position: relative;
    min-height: 200px;
}

.facility-tab-content {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.facility-tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

.metric-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.metric-item-clean {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.metric-plus {
    color: var(--brand-green);
    font-weight: 400;
}

.metric-unit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-green);
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .facility-top-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .metric-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .facility-tab-btn {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }
    .facility-image-wrapper {
        min-height: 400px;
    }
}


/* Journey Overlay for Dark/Light Mode */
.journey-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0.8));
}
[data-theme="dark"] .journey-overlay {
    background: linear-gradient(to bottom, rgba(11, 14, 20, 1), rgba(11, 14, 20, 0.8));
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px var(--brand-green-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
}

html[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #038d4c;
    transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.3s;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.mouse-icon {
    width: 24px;
    height: 36px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    animation: scroll-bounce 1.5s infinite;
}

@keyframes scroll-bounce {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}
