/* -----------------------------------------------------------
   1. YOUR ORIGINAL STYLES (Restored)
----------------------------------------------------------- */
:root {
    --bg-dark: #1A0B2E;    /* Deep Royal Purple */
    --gold: #D4AF37;       /* Metallic Gold */
    --gold-dim: #8a7024;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(212, 175, 55, 0.2);
    
    --font-en: 'Outfit', sans-serif;
    --font-ar: 'IBM Plex Sans Arabic', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--font-en);
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 20px 0; transition: 0.3s;
}
.glass-nav {
    background: rgba(26, 11, 46, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; }
.nav-links a { color: var(--white); margin: 0 15px; text-decoration: none; font-size: 0.9rem; text-transform: uppercase; }
.btn-book-nav { background: var(--gold); color: var(--bg-dark); padding: 10px 25px; border-radius: 30px; border: none; font-weight: 600; cursor: pointer; }

/* -----------------------------------------------------------
   2. UPDATED HERO & BACKGROUND LOGIC
   (Modified to support fixed video scroll)
----------------------------------------------------------- */

/* NEW: Fixed Background Layer (Replaces absolute hero-bg-wrapper) */
.fixed-bg-layer {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -1; /* Behind everything */
    overflow: hidden;
    pointer-events: none;
}

/* Your Video Styling */
.hero-video, .bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: filter 0.1s linear; /* Smooth blur */
}

/* Blur Class (Added by JS) */
.bg-video.blurred {
    filter: blur(20px) brightness(0.6);
}

.hero-overlay, .bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Your Gradient */
    background: radial-gradient(circle at center, rgba(26, 11, 46, 0.5) 0%, rgba(26, 11, 46, 0.95) 100%);
    z-index: 1;
}

/* UPDATED: Hero Section Container */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: transparent; /* Transparent so fixed video shows */
    margin-bottom: 0; /* No gap for story section */
    z-index: 10;
}

/* Hero Content (Unchanged) */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex; flex-direction: column; align-items: center;
}

/* CSS Arch Logo (Unchanged) */
.logo-container { margin-bottom: 30px; }
.arch-shape {
    
   
    
}
.inner-arch {
    width: 120px; height: 170px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-bottom: none;
    border-radius: 60px 60px 0 0;
    margin-bottom: 0;
}

.main-title { font-size: 4.5rem; line-height: 0.9; letter-spacing: -2px; margin-bottom: 10px; }
.arabic-title { font-family: var(--font-ar); font-size: 2rem; color: #ddd; margin-bottom: 30px; }
.hero-meta { text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; color: var(--gold); margin-bottom: 40px; }
.meta-separator { margin: 0 10px; color: #fff; }

.hero-actions { display: flex; gap: 20px; align-items: center; }
.btn-primary {
    background: linear-gradient(45deg, var(--gold), #f0e68c);
    color: var(--bg-dark);
    padding: 18px 45px;
    border: none; border-radius: 50px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(212, 175, 55, 0.6); }
.btn-text { color: #fff; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; font-size: 0.9rem; opacity: 0.8; }






/* -----------------------------------------------------------
   4. SECTIONS COMMON (Updated for Visibility)
----------------------------------------------------------- */
.section-padding { 
    padding: 120px 0; 
    /* ADDED: Solid BG so content covers the video after story */
    background: var(--bg-dark); 
    position: relative; 
    z-index: 20; 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.center { text-align: center; }
h2.section-heading { font-size: 3rem; margin-bottom: 2rem; }

/* Vision Section (Unchanged) */
.grid-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.sub-heading { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.body-text { line-height: 1.8; color: #ccc; margin-bottom: 30px; font-size: 1.1rem; }
.stats-strip { display: flex; gap: 40px; border-top: 1px solid var(--border); padding-top: 20px; }
.mini-stat strong { display: block; font-size: 1.8rem; color: var(--gold); }

/* Stats Counter (Updated Background) */
.stats-section { 
    padding: 80px 0; 
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border); 
    background: #150825; /* Solid color instead of transparent */
    position: relative; 
    z-index: 20;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stat-number { font-size: 3.5rem; font-weight: 700; color: var(--white); }
.stat-label { color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; margin-top: 5px; }

/* Bento Grid (Unchanged) */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 300px); gap: 20px; margin-top: 40px; }
.bento-item {
    border: 1px solid var(--border); border-radius: 20px;
    background-size: cover; background-position: center;
    position: relative; overflow: hidden; transition: 0.4s;
    display: flex; align-items: flex-end; padding: 30px;
}
.bento-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); z-index: 1; }
.bento-content { position: relative; z-index: 2; }
.bento-content h3 { font-size: 1.5rem; margin-bottom: 5px; color: #fff; }
.bento-content p { color: var(--gold); }
.bento-item:hover { transform: scale(0.98); border-color: var(--gold); }

/* Images (Placeholders) */
.zone-1 { grid-column: span 2; grid-row: span 2; background-image: url('https://placehold.co/800x600/222/gold?text=Main+Stage'); }
.zone-2 { background-image: url('https://placehold.co/400x300/222/gold?text=Cooking'); }
.zone-3 { background-image: url('https://placehold.co/400x300/222/gold?text=Kids'); }
.zone-4 { background-image: url('https://placehold.co/400x300/222/gold?text=Gaming'); }

/* Sponsorship (Unchanged) */
.tiers-container { margin-top: 50px; }
.tier-card {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1);
    padding: 40px; border-radius: 20px; transition: 0.3s;
}
.strategic {
    background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, rgba(0,0,0,0) 100%);
    border: 2px solid var(--gold); margin-bottom: 30px; text-align: center;
}
.badge { background: var(--gold); color: #000; padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }
.price { font-size: 2.5rem; font-weight: 700; color: var(--gold); margin: 15px 0; font-family: var(--font-ar); }
.tier-features { list-style: none; margin: 20px 0; color: #ccc; }
.tier-features.horizontal { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.tier-features li i { color: var(--gold); margin-right: 10px; }
.btn-tier { background: transparent; border: 1px solid var(--border); color: #fff; padding: 12px 30px; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.btn-tier:hover { background: var(--gold); color: #000; }

.tiers-grid-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* Booking Modal (Unchanged) */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    z-index: 999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.4s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content {
    background: #110620; border: 1px solid var(--gold);
    padding: 50px; border-radius: 20px; width: 90%; max-width: 800px;
    position: relative; transform: translateY(30px); transition: 0.4s;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.ticket-card { border: 1px solid rgba(255,255,255,0.2); border-radius: 15px; padding: 30px; text-align: center; }
.ticket-card.vip { border-color: var(--gold); background: rgba(212,175,55,0.05); }
.ticket-price { font-size: 2.5rem; color: var(--gold); font-weight: 700; margin: 10px 0; }
.btn-ticket { width: 100%; padding: 12px; margin-top: 20px; background: transparent; border: 1px solid #fff; color: #fff; border-radius: 8px; cursor: pointer; }
.btn-ticket.btn-gold { background: var(--gold); border: none; color: #000; }

/* Footer (Updated Z-Index) */
.main-footer { 
    background: #08030e; padding: 80px 0 30px; 
    border-top: 1px solid var(--border); 
    position: relative; z-index: 20;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--gold); margin-bottom: 20px; text-transform: uppercase; }
.footer-col a { color: #888; text-decoration: none; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; text-align: center; color: #555; }

/* Mobile (Unchanged) */
@media (max-width: 768px) {
    .main-title { font-size: 3rem; }
    .nav-links { display: none; }
    .grid-split, .stats-grid, .footer-grid, .ticket-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-item.large { grid-column: auto; grid-row: auto; height: 300px; }
    
    
}

/* --- REPLACE YOUR EXISTING STORY SECTION CSS WITH THIS --- */

.story-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}

.story-wrapper {
    position: relative;
    width: 100%; 
    height: 100%;
    /* vital for 3D depth perception */
    perspective: 1000px; 
    transform-style: preserve-3d;
}

/* Text is now separate from the gallery flow */
.story-text-container {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.story-heading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    opacity: 0;
    /* Use translate3d for hardware acceleration */
    will-change: opacity, transform; 
}

.story-gallery {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    perspective: 1000px; /* Essential for the 3D feel */
    transform-style: preserve-3d;
    pointer-events: none;
}

.story-card {
    position: absolute;
    /* Slightly wider cards for better visibility */
    width: 400px; 
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    opacity: 0; /* Hidden initially, JS will fade them in */
    will-change: transform;
}

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

/* Mobile sizing */
@media (max-width: 768px) {
    .story-card { width: 180px; height: 240px; }
}





/* --- ROYAL INAUGURATION SECTION --- */
.royal-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0;
    /* Ensure it sits above the fixed background of the previous section if needed */
    z-index: 20; 
    background: #1A0B2E; /* Fallback */
}

/* Local Background Video */
.royal-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.royal-video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Dim the video slightly */
    filter: blur(5px); /* Cinematic blur for background */
    transform: scale(1.1);
}

.royal-overlay {
    position: absolute;
    inset: 0;
    /* Premium Purple Gradient Overlay */
    background: radial-gradient(circle at 30% 50%, rgba(86, 28, 128, 0.4), rgba(26, 11, 46, 0.95));
    z-index: 1;
    background: radial-gradient(circle at center, rgba(26, 11, 46, 0.5) 0%, rgba(26, 11, 46, 0.95) 100%);
}

.royal-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
}

/* Top Logos */
.royal-logos-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    opacity: 0; /* JS will animate */
}

.logo-white {
    height: 40px;
    opacity: 0.8;
    transition: 0.3s;
    filter: brightness(0) invert(1); /* Forces white logos */
}
.logo-white:hover { opacity: 1; transform: scale(1.05); }

/* Main Content Grid */
.royal-content-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Image takes less space than text */
    gap: 60px;
    align-items: center;
}

/* Image styling */
.royal-image-box {
    position: relative;
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0; /* JS will animate */
}

.royal-frame {
    position: relative;
    width: 100%;
    height: 100%;
    /* Create a glowing backdrop behind the prince */
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 30px;
    overflow: visible; /* Allow head to pop out if needed */
}

.prince-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
    transition: transform 0.5s ease;
}

/* Hover Effect on Image */
.royal-image-box:hover .prince-img {
    transform: scale(1.02) translateY(-5px);
}

/* Text Styling */
.royal-text-box {
   text-align: right; 
    color: #fff;
    /* REMOVED: opacity: 0; -> This was the bug */
    position: relative;
    z-index: 10;
}

/* 2. Add opacity to the children instead, so they don't flash before animation */
.royal-text-box > * {
    opacity: 0;
}

.royal-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.royal-title-ar {
    font-family: var(--font-ar);
    font-size: 3.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.gold-text {
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.royal-subtitle-ar {
    font-family: var(--font-ar);
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.6;
}

.divider-gold {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 30px 0 30px auto; /* Aligned right */
}

.royal-desc-en {
    font-family: var(--font-en);
    text-align: left; /* English LTR */
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    border-left: 3px solid var(--gold); /* Stylish left border */
    padding-left: 20px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent);
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

/* Date & Location */
.royal-date-loc {
    display: flex;
    justify-content: flex-end; /* Align right for Arabic flow context */
    gap: 30px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 1.1rem;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Bottom Logos */
.royal-logos-bottom {
    margin-top: 60px;
    text-align: right;
    opacity: 0;
}

.organized-by {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #888;
}

.logo-intro {
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 900px) {
    .royal-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .royal-text-box {
        text-align: center;
    }
    
    .royal-date-loc {
        justify-content: center;
    }
    
    .divider-gold {
        margin: 30px auto;
    }
    
    .royal-desc-en {
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--gold);
        border-radius: 0 0 10px 10px;
    }
    
    .royal-logos-top {
        justify-content: center;
    }
    
    .royal-logos-bottom {
        text-align: center;
    }
}


/* --- KFU IDENTITY SECTION (3D PREMIUM) --- */
.kfu-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f0518; /* Deep night purple */
    z-index: 20;
    perspective: 1000px; /* Essential for 3D effects */
}

/* Parallax Background Wrapper */
.kfu-bg-wrapper {
    position: absolute;
    inset: -50px; /* Make it larger than screen for movement */
    z-index: 0;
}

.kfu-bg-image {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: transform 0.1s linear;
}

/* Animated Stars Overlay */
.kfu-stars {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.kfu-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(26, 11, 46, 0.5) 0%, rgba(26, 11, 46, 0.95) 100%);
}

.kfu-container {
    position: relative;
    z-index: 10;
}

.kfu-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

/* Content Styling */
.kfu-subtitle {
    font-family: var(--font-en);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.kfu-title-ar {
    font-family: var(--font-ar);
    font-size: 3rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 30px;
}

.kfu-divider {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 30px;
    border-radius: 2px;
}

.kfu-desc-ar, .kfu-desc-en {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 20px;
    max-width: 600px;
}

.kfu-desc-ar { font-family: var(--font-ar); text-align: right; }
.kfu-desc-en { font-family: var(--font-en); border-left: 1px solid rgba(255,255,255,0.2); padding-left: 20px; }

/* Stats Row (Premium Cards) */
.kfu-stats-row {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.kfu-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.kfu-stat-box:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.icon-3d {
    font-size: 2rem;
    color: var(--gold);
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.4));
}

.stat-info { display: flex; flex-direction: column; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: #fff; font-family: var(--font-en); }
.stat-value small { font-size: 0.9rem; font-weight: 400; color: var(--gold); margin-left: 5px; }
.stat-dual { display: flex; align-items: center; gap: 10px; }
.dash { color: var(--gold); }

/* 3D Visual (Right Side) */
.kfu-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.kfu-emblem-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    /* 3D Properties */
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth follow */
}

.kfu-seal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
    /* Make the image pop in 3D space */
    transform: translateZ(50px); 
}

.emblem-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) translateZ(0px);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
    .kfu-grid { grid-template-columns: 1fr; text-align: center; }
    .kfu-desc-ar { text-align: center; }
    .kfu-desc-en { text-align: center; border-left: none; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }
    .kfu-stats-row { flex-direction: column; align-items: center; }
    .kfu-divider { margin: 30px auto; }
    .kfu-emblem-wrapper { width: 250px; height: 250px; margin: 0 auto; }
}


/* --- KAFU GLANCE SECTION (Premium Purple) --- */
.glance-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #2E0B45; /* Deep rich purple base */
    z-index: 20;
    perspective: 1500px;
}

/* Background Pattern Animation */
.glance-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.glance-gradient {
    position: absolute;
    inset: 0;
    /* Beautiful Purple-Magenta Gradient */
    background: linear-gradient(135deg, rgba(26,11,46,0.95) 0%, rgba(76,26,105,0.8) 100%);
    z-index: 2;
}

.geo-pattern {
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    /* Abstract star pattern SVG */
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      radial-gradient(rgba(212,175,55,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    animation: rotatePattern 100s linear infinite;
    z-index: 1;
}

@keyframes rotatePattern {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glance-container {
    position: relative;
    z-index: 10;
    max-width: 1300px; /* Wider container for layout */
}

.glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Text Styling */
.glance-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.glance-block-ar { text-align: right; }
.glance-title-ar {
    font-family: var(--font-ar);
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
}

.glance-desc-ar {
    font-family: var(--font-ar);
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.glance-divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    position: relative;
    margin: 10px 0;
    opacity: 0.5;
}
.line-dot {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
}

.glance-block-en { text-align: left; }
.glance-title-en {
    font-family: var(--font-en);
    font-size: 2.2rem;
    color: #fff; /* Make it orange/gold in span */
    margin-bottom: 15px;
}

.glance-desc-en {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Button */
.btn-glow-explore {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--gold);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-en);
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-glow-explore:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 30px rgba(212,175,55,0.5);
}

/* 3D Visual Styling */
.glance-visual-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.glance-3d-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* For mouse movement */
}

.image-back-glow {
    position: absolute;
    inset: 20px;
    background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%);
    filter: blur(40px);
    transform: translateZ(-50px);
}

.glance-img-main {
    width: 100%;
    height: 100%;
    
    /* If using a full rectangular photo like screenshot, use object-fit: cover and border-radius */
    object-fit: cover; 
    object-position: 50% 10%;
    border-radius: 20px; /* Soft edges */
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transform: translateZ(20px);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%); /* Fade bottom slightly */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Floating Elements */
.float-element {
    position: absolute;
    color: var(--gold);
    filter: drop-shadow(0 0 10px var(--gold));
    animation: floatAnim 4s ease-in-out infinite;
    z-index: 5;
}

.star-1 { top: 20%; right: -20px; font-size: 2rem; transform: translateZ(60px); }
.star-2 { bottom: 30%; left: -30px; font-size: 1.5rem; animation-delay: 1s; transform: translateZ(80px); }
.light-flare {
    top: 10%; left: 50%;
    width: 100px; height: 100px;
    background: radial-gradient(circle, white, transparent);
    opacity: 0.6;
    mix-blend-mode: overlay;
    transform: translateZ(40px);
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) translateZ(60px); }
    50% { transform: translateY(-20px) translateZ(60px); }
}

/* Responsive */
@media (max-width: 900px) {
    .glance-grid { grid-template-columns: 1fr; }
    .glance-visual-wrapper { height: 400px; order: -1; margin-bottom: 40px; }
    .glance-block-ar, .glance-block-en { text-align: center; }
    .glance-btn-wrapper { display: flex; justify-content: center; }
}






/* --- FESTIVAL ZONES (Stacking) --- */
.zones-section {
    position: relative;
    height: 100vh;
    background: #000;
    overflow: hidden;
    z-index: 20;
}

/* Fixed UI */
.zones-ui-fixed {
    position: absolute;
    top: 100px; left: 60px; /* Below the main logos */
    z-index: 50;
    pointer-events: none;
}

.zones-header-title {
    font-size: 1.5rem; text-transform: uppercase; color: #fff; margin-bottom: 20px;
}

.zones-progress-wrapper {
    display: flex; align-items: center; gap: 15px; color: #fff; font-family: var(--font-en); font-weight: 700;
}
.zone-progress-track { width: 150px; height: 2px; background: rgba(255,255,255,0.2); position: relative; }
.zone-progress-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--gold); transition: width 0.1s linear; }

/* Stacking Logic */
.zones-stack-container {
    position: relative;
    width: 100%; height: 100%;
}

.zone-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    /* Initially, slides 2,3,4 are hidden to the RIGHT */
    transform: translateX(100%); 
    will-change: transform;
    box-shadow: -20px 0 50px rgba(0,0,0,0.5); /* Shadow for depth */
}

/* Slide 1 starts visible */
#slide-1 { transform: translateX(0%); }

.zone-bg-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 0.5s ease-out; /* For parallax hover */
}

/* Info Labels (Right Side Boxes) */
.zone-info-panel {
    position: absolute;
    top: 35%; right: 0; /* Aligned to right edge */
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    padding: 20px 40px 20px 60px;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0% 100%); /* Angular cut */
    display: flex; align-items: center;
}

.zone-label-box { display: flex; align-items: center; gap: 20px; }
.zone-icon { font-size: 2rem; color: #622599; /* Purple Theme */ }
.zone-names { text-align: right; }
.name-ar { font-family: var(--font-ar); color: #622599; font-size: 1.8rem; margin: 0; }
.name-en { font-family: var(--font-en); color: #622599; font-size: 1.2rem; opacity: 0.8; margin: 0; }

/* Special Cooking Panel (Bottom Center) */
.zone-cooking-panel {
    position: absolute;
    bottom: 50px; left: 50%; transform: translateX(-50%);
    background: rgba(240, 235, 230, 0.95); /* Off-white paper look */
    padding: 30px;
    width: 80%; max-width: 900px;
    display: flex; justify-content: space-between; align-items: center;
}
.cooking-grid { display: flex; gap: 30px; align-items: center; }
.cook-decor { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 60px; }
.deco-box { width: 25px; height: 25px; }
.deco-box.orange { background: #FF6B35; }
.deco-box.purple { background: #622599; }
.deco-box.pink { background: #D90368; }

.cook-text { text-align: right; max-width: 600px; }
.cook-desc-ar { font-family: var(--font-ar); font-size: 1.1rem; color: #333; margin-bottom: 10px; }
.cook-desc-en { font-family: var(--font-en); font-size: 0.9rem; color: #666; }
.orange-text { color: #FF6B35; font-weight: 700; }

.zone-label-floating {
    position: absolute; top: -30px; right: -20px;
    background: #fff; padding: 15px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex; gap: 15px; align-items: center;
}
/* --- Add Overlay to Festival Zone Slides --- */

/* Target the existing image container */
.zone-bg-img {
    /* Ensure the container is a positioning context for the pseudo-element */
    position: absolute; 
    inset: 0;
    background-size: cover; 
    background-position: center;
    /* We need to ensure z-index is handled so overlay sits on top of bg image but below content */
    z-index: 0; 
}

/* Create the pseudo-element overlay */
.zone-bg-img::after {
    content: '';
    position: absolute;
    inset: 0; /* Stretch to cover entire container */
    /* Premium dark gradient: lighter at top, darker at bottom */
    background: linear-gradient(to bottom, rgba(26, 11, 46, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* Ensure it sits directly on top of the background image */
    z-index: 1;
    pointer-events: none; /* Let clicks pass through */
    background: radial-gradient(circle at center, rgba(26, 11, 46, 0.4) 0%, rgba(26, 11, 46, 0.6) 100%);
}

/* Ensure the content panels sit ABOVE the new overlay */
.zone-info-panel,
.zone-cooking-panel {
    z-index: 10; /* Higher than the image and its overlay */
}








/* --- FIXED GLOBAL LOGOS --- */
.fixed-global-logos {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; /* Highest Z-Index */
    pointer-events: none; /* Allows clicking through to content */
    padding: 30px 50px;
}

.logo-group {
    position: absolute;
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 20px;
    pointer-events: auto; /* Logos themselves are clickable if needed */
}

/* Positioning */
.top-left { top: 30px; left: 50px;  }
.top-center { top: 30px; left: 50%; transform: translateX(-50%); }
.top-right { top: 30px; right: 50px; }
.bottom-left { bottom: 30px; left: 50px; }
.bottom-right { bottom: 30px; right: 50px; }

/* Styling */
.logo-white { height: 65px; filter: brightness(0) invert(1); opacity: 0.9; }
.logo-kfu-main { height: 80px;  }
.logo-vision { height: 65px; filter: brightness(0) invert(1); }

/* Bottom Text Styling */
.marketing-text, .organizer-text {
    display: flex; flex-direction: column; align-items: flex-start;
}
.bottom-right .organizer-text { align-items: flex-end; text-align: right; }

.marketing-text span, .organizer-text span {
    font-size: 0.6rem; letter-spacing: 1px; color: rgba(255,255,255,0.6); margin-bottom: 5px; text-transform: uppercase;
}
.logo-agency, .logo-intro-main { height: 70px; filter: brightness(0) invert(1); }

/* Mobile Responsive */
@media (max-width: 1024px) {
    .fixed-global-logos { padding: 20px; }
    .top-left, .top-right, .bottom-left, .bottom-right { display: none; } /* Hide clutter on mobile */
    .top-center { top: 20px; width: 100%; justify-content: center; }
    .logo-kfu-main { height: 40px; }
}



/* --- IMPACT STATS SECTION --- */
.impact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Deep Purple Base */
    background: #1A0B2E;
    z-index: 20;
    perspective: 1000px;
}

/* Background & Overlay */
.impact-bg-layer {
    position: absolute; inset: 0; z-index: 0;
}

.impact-bg-img {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0.6; /* Visible but blended */
}

.impact-overlay {
    position: absolute; inset: 0;
    /* Purple Gradient that fades to white/transparent center slightly for visibility */
    background: radial-gradient(circle at center, rgba(26, 11, 46, 0.5) 0%, rgba(26, 11, 46, 0.65) 100%);
}

.impact-container {
    position: relative; z-index: 10;
    width: 100%; max-width: 1200px;
    text-align: center;
}

/* Main Big Stat */
.main-stat-wrapper {
    margin-bottom: 80px;
    transform-style: preserve-3d;
}

.big-number {
    font-family: var(--font-en);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    /* The Orange/Gold Gradient from Screenshot */
    background: linear-gradient(180deg, #FF9966 0%, #FF5E62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 94, 98, 0.4));
    margin-bottom: 10px;
    line-height: 1;
}

.stat-labels {
    display: flex; flex-direction: column; gap: 5px;
    color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}

.label-ar { font-family: var(--font-ar); color: #ddd; font-size: 1.2rem; }

/* --- IMPACT STATS SECTION (FIXED) --- */

/* 1. Main Container */
.impact-grid {
    display: grid;
    /* Force exactly 3 columns of equal width */
    grid-template-columns: repeat(3, 1fr);
    /* Uniform spacing */
    gap: 30px;
    width: 100%;
    margin-top: 50px;
    /* Ensure the grid itself is visible */
    position: relative;
    z-index: 10;
}

/* 2. The Glass Card (Balanced) */
.impact-card {
    position: relative;
    display: flex;
    align-items: center; /* Vertically center content */
    gap: 20px;         /* Space between icon and text */
    padding: 30px;
    border-radius: 16px;
    
    /* Force Height Uniformity */
    height: 100%;       /* Fill the grid cell */
    min-height: 140px;  /* Minimum height to prevent squashing */
    
    /* --- ENHANCED GLASSMORPHISM (Visible) --- */
    /* Darker, more visible semi-transparent background */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);            
    -webkit-backdrop-filter: blur(20px);
    
    /* Stronger Border for definition */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Inner shadow for depth */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 
                0 10px 30px rgba(0, 0, 0, 0.3);
    
    /* Default State (JS will animate opacity, but we start visible just in case) */
    opacity: 1; 
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover Effect */
.impact-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: var(--gold); /* Highlight border on hover */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* 3. Icon Styling (Fixed Size) */
.geo-star-icon {
    width: 60px; height: 60px; /* Fixed square */
    flex-shrink: 0; /* Prevent shrinking */
    display: flex; align-items: center; justify-content: center;
    position: relative;
}

.star-shape {
    position: absolute; inset: 0;
    background: rgba(212, 175, 55, 0.15); /* Gold tint */
    border: 2px solid var(--gold);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transition: 0.4s;
}

/* 4. Text Content (Alignment) */
.card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 5px;
}

.card-label-en {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.card-label-ar {
    font-family: var(--font-ar);
    font-size: 1rem;
    color: var(--gold);
    margin-top: 2px;
}

/* Responsive Fix */
@media (max-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .impact-card {
        min-height: auto; /* Let content dictate height on mobile */
    }
}






/* --- KFU DIGITAL SECTION (Purple Left Side Fixed) --- */
.digital-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; /* Video background base */
    overflow: hidden;
    z-index: 20;
    perspective: 2000px;
}

/* 1. Video Layer */
.digital-video-layer {
    position: absolute; inset: 0; z-index: 0;
}
.digital-video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* 2. Diagonal Mask (Purple Split) */
.digital-diagonal-mask {
    position: absolute; inset: 0; z-index: 1;
    /* This Gradient creates the PURPLE LEFT SIDE */
    /* #2a1b3d is the lighter purple top-left */
    /* #1A0B2E is the darker purple near the cut */
    background: linear-gradient(115deg, #2a1b3d 0%, #1A0B2E 55%, transparent 55.1%);
}

.digital-container {
    position: relative; z-index: 10;
    width: 100%; max-width: 1200px;
    padding: 40px 20px;
}

.digital-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    margin-bottom: 50px;
    min-height: 500px;
}

/* LEFT: Stats */
.digital-stats-col {
    display: flex; flex-direction: column; gap: 50px; padding-left: 10px;
}
.digi-stat-item {
    display: flex; flex-direction: column; gap: 5px;
    opacity: 0; transform: translateX(-30px);
}
.digi-label {
    font-family: var(--font-en); font-size: 0.9rem; color: #bbb; letter-spacing: 1px;
}
.digi-number {
    font-family: var(--font-en); font-size: 5rem; font-weight: 700; line-height: 1;
}
.color-orange { color: #FF9F76; }
.color-purple { color: #C0B7E8; }
.digi-sub {
    font-family: var(--font-en); font-size: 1.2rem; color: #fff; font-weight: 600;
}

/* CENTER: 3D Phone */
.digital-visual-col {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    perspective: 2000px;
}

.threed-card-wrapper {
    position: relative;
    width: 270px; height: 540px;
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.1s ease-out;
}

/* Front Face */
.threed-card-face.front {
    position: absolute; inset: 0;
    background: #000;
    border-radius: 48px;
    border: 8px solid #1a1a1a; 
    box-shadow: 
        inset 0 0 20px rgba(255,255,255,0.05),
        -15px 15px 40px rgba(0,0,0,0.6);
    transform: translateZ(10px);
    overflow: hidden;
    z-index: 5;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
}

.card-screen {
    position: absolute; inset: 0;
    /* Purple Screen Background */
    background: transparent;
    border-radius: 38px;
}
.card-gloss {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 45%);
    pointer-events: none;
}
.card-logo-container {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.screen-logo { width: 100px; filter: drop-shadow(0 0 10px rgba(0,0,0,0.8)); }

/* 3D Sides */
.threed-card-face.side-right {
    position: absolute; top: 50px; right: 0; 
    width: 15px; height: calc(100% - 100px);
    background: #080808;
    transform: rotateY(90deg) translateZ(0); transform-origin: right;
    border-left: 1px solid #222;
}

.threed-card-face.side-bottom {
    position: absolute; bottom: 0; left: 50px; 
    width: calc(100% - 100px); height: 15px;
    background: #080808;
    transform: rotateX(-90deg) translateZ(0); transform-origin: bottom;
    border-top: 1px solid #222;
}

.monolith-shadow {
    width: 220px; height: 30px;
    background: rgba(0,0,0,0.8);
    border-radius: 50%;
    filter: blur(30px);
    margin-top: 40px;
    transform: rotateX(60deg);
}

/* RIGHT: Badge */
.digital-title-col {
    display: flex; justify-content: flex-end; align-items: flex-start; height: 100%; padding-top: 40px;
}
.digital-badge {
    background: #F5F5F7; padding: 12px 25px; border-radius: 6px;
    display: flex; align-items: center; gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.badge-icon { width: 35px; height: 35px; background: #622599; border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center; }
.badge-text h3 { font-family: var(--font-en); font-size: 0.85rem; color: #000; font-weight: 700; margin: 0; }
.badge-text span { font-family: var(--font-en); font-size: 0.8rem; color: #622599; font-weight: 600; }

/* BOTTOM: Info Panel */
.digital-bottom-box {
    position: relative; z-index: 20; display: flex; justify-content: center; margin-top: -20px;
}
.glass-info-panel {
    background: #F5F5F7; color: #333; padding: 40px; width: 100%; border-radius: 4px; display: flex; gap: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border-bottom: 4px solid #D90368;
}
.panel-decor { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 50px; flex-shrink: 0; align-content: start; }
.decor-square { width: 22px; height: 22px; }
.decor-square.orange { background: #FF9F76; }
.decor-square.purple { background: #622599; }
.decor-square.pink { background: #D90368; }
.panel-content { display: flex; gap: 40px; align-items: center; flex: 1; }
.panel-desc-en, .panel-desc-ar { flex: 1; font-size: 0.9rem; line-height: 1.6; color: #444; }
.panel-desc-ar { text-align: right; font-family: var(--font-ar); }
.panel-divider { width: 1px; height: 70px; background: #ddd; }

/* Responsive */
@media (max-width: 1024px) {
    /* Mobile Gradient: Top Purple -> Bottom Transparent */
    .digital-diagonal-mask {
        background: linear-gradient(180deg, #1A0B2E 0%, #1A0B2E 45%, transparent 45.1%);
    }
    .digital-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .digital-stats-col { align-items: center; order: 2; flex-direction: row; justify-content: center; gap: 30px; }
    .digital-visual-col { order: 1; }
    .digital-title-col { order: 0; justify-content: center; padding: 0; }
    .panel-content { flex-direction: column; text-align: center; }
    .panel-divider { width: 100%; height: 1px; }
}

/* --- PREMIUM FOOTER --- */
.premium-footer {
    position: relative;
    background: #050208; /* Very dark purple/black */
    padding: 100px 0 30px;
    overflow: hidden;
    z-index: 20;
    color: #fff;
}

/* 1. Background Effects */
.footer-bg-layer {
    position: absolute; inset: 0; pointer-events: none;
}

.footer-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% -20%, #2E0B45 0%, #050208 60%);
    opacity: 0.6;
}

.footer-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; opacity: 0.03;
    animation: rotateSlow 120s linear infinite;
}
.watermark-img { width: 100%; }

@keyframes rotateSlow { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.footer-container {
    position: relative; z-index: 10;
}

/* 2. CTA Banner */
.footer-cta-wrapper {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 60px;
    display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(10px);
    margin-bottom: 80px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cta-title { font-size: 2rem; font-family: var(--font-en); margin-bottom: 5px; }
.cta-desc { color: #aaa; font-size: 1.1rem; }

.btn-premium-gold {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    transition: 0.3s;
}
.btn-premium-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212,175,55,0.5);
}

/* 3. Main Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Column Styling */
.logo-text { font-size: 2rem; font-weight: 700; letter-spacing: 2px; }
.brand-bio { color: #888; line-height: 1.6; margin: 20px 0 30px; max-width: 300px; }

.social-hub { display: flex; gap: 15px; }
.social-link {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-link:hover { background: var(--gold); color: #000; transform: translateY(-3px); }

/* Links */
.col-heading {
    font-size: 1.2rem; margin-bottom: 25px; color: #fff;
    position: relative; display: inline-block;
}
.col-heading::after {
    content: ''; position: absolute; bottom: -8px; left: 0;
    width: 40px; height: 2px; background: var(--gold);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.link-item {
    color: #aaa; text-decoration: none; transition: 0.3s; position: relative;
}
.link-item:hover { color: var(--gold); padding-left: 10px; }
.link-item::before {
    content: '›'; position: absolute; left: -10px; opacity: 0; transition: 0.3s;
}
.link-item:hover::before { opacity: 1; left: 0; }

/* 3D Contact Card */
.contact-3d-card {
    background: rgba(26, 11, 46, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth tilt */
}
.card-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.15), transparent 70%);
    pointer-events: none;
}

.contact-row {
    display: flex; align-items: center; gap: 20px;
    margin-top: 20px;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    transition: 0.3s;
    transform: translateZ(20px); /* 3D Pop */
}
.contact-row:hover { background: rgba(255,255,255,0.08); transform: translateZ(30px) translateX(5px); }

.icon-box {
    width: 40px; height: 40px;
    background: var(--gold); color: #000;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.text-box { display: flex; flex-direction: column; }
.text-box .label { font-size: 0.8rem; color: #888; text-transform: uppercase; }
.text-box .value { color: #fff; font-weight: 600; font-family: var(--font-en); }

/* 4. Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex; justify-content: space-between; align-items: center;
    color: #666; font-size: 0.9rem;
}
.legal-links a { color: #666; text-decoration: none; transition: 0.3s; }
.legal-links a:hover { color: #fff; }
.separator { margin: 0 10px; }

/* Responsive */
@media (max-width: 900px) {
    .footer-cta-wrapper { flex-direction: column; text-align: center; gap: 20px; }
    .footer-main-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-bottom-bar { flex-direction: column; gap: 15px; text-align: center; }
}