:root {
    --primary-color: #D4AF37;
    --primary-dark: #b5952f;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text-white: #ffffff;
    --text-grey: #cccccc;
    --border-color: rgba(212, 175, 55, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s ease;
    --font-main: 'Tajawal', sans-serif;
}

/* ... existing code ... */
html.lenis {
    height: auto;
}

/* ... existing code ... */
.service-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    border-right: 1px solid var(--border-subtle);
    position: relative;
}

/* ... existing code ... */
.panel-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ... existing code ... */
.service-list li {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Dark Mode Map Filter */
    filter: grayscale(100%) invert(92%) contrast(83%);
    opacity: 0.8;
    transition: var(--transition);
}

.map-container iframe:hover {
    opacity: 1;
    filter: grayscale(0%) invert(0%);
    /* Show real colors on hover if desired, or keep stylized */
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border-color: transparent;
}

/* Hide default cursor only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    input,
    textarea,
    select,
    .faq-question {
        cursor: none;
        /* We handle hover state via JS */
    }
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    width: 90%;
    background: rgba(10, 10, 10, 0.7);
    /* More transparent for blur */
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 20px 20px;
    /* Optional: adds nice bottom curves */
    top: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    /* Prevent 3D shapes from causing scroll */
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Slight transparency for overlay blend */
}

/* 3D Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0.1;
    filter: blur(50px);
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -100px;
    background: linear-gradient(120deg, var(--primary-dark), transparent);
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 30%;
    background: radial-gradient(circle, #fff, transparent);
    opacity: 0.05;
    animation-delay: -10s;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.3), var(--dark-bg));
    z-index: -1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-color);
    display: block;
    font-size: 4.5rem;
    margin-top: 10px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-grey);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    opacity: 0.7;
}

.scroll-down span {
    width: 5px;
    height: 10px;
    background: var(--text-white);
    border-radius: 5px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image img {
    border-radius: 20px;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    right: 0;
    /* RTL */
    border-radius: 2px;
}

.center .section-title::after {
    right: 50%;
    transform: translateX(50%);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.desc-text {
    color: var(--text-grey);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.stats-grid {
    display: flex;
    gap: 40px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* Services (Horizontal Scroll) */
.services-wrapper {
    overflow: hidden;
    position: relative;
    background-color: var(--darker-bg);
}

.services-pin-wrap {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 400vw;
    /* 100vw intro + 3 panels */
}

.services-intro {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    z-index: 10;
    position: relative;
}

.scroll-hint {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--primary-color);
    animation: bounceLeft 2s infinite;
}

@keyframes bounceLeft {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(-10px);
    }

    60% {
        transform: translateX(-5px);
    }
}

.horizontal-scroll-container {
    display: flex;
    height: 100vh;
    width: 300vw;
    /* Remaining width */
}

.service-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.service-panel::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 0;
}

.panel-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.panel-content:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.service-list {
    margin-top: 30px;
}

.service-list li {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.service-list li i {
    color: var(--primary-color);
    width: 30px;
    font-size: 1.3rem;
}

.service-list li:hover {
    padding-right: 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

/* Partners Marquee */
.partners-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 50px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 60s linear infinite;
    /* Duplicate content logic usually requires JS or duplicate HTML. For simple CSS loop, we assume enough items or duplication */
}

.partners-marquee:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content img {
    height: 80px;
    width: auto;
    display: inline-block;
    margin: 0 30px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
    vertical-align: middle;
}

.marquee-content img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }

    /* Direction depends on RTL. In RTL +X is left? No, transform X is consistent. */
}

/* In RTL mode, scrolling usually needs to go right-to-left. 
   translateX(-50%) moves left. 
   If we want it to move continuously, we might need to adjust based on RTL.
   Let's check direction.
*/

html[dir="rtl"] .marquee-content {
    animation: marquee-rtl 60s linear infinite;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }

    /* Moves right */
}


/* Mission */
.mission {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mission-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero.png') no-repeat center center/cover;
    filter: brightness(0.3);
    z-index: -1;
    background-attachment: fixed;
}

.mission-content {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.mission-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.03);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    color: var(--text-grey);
    font-weight: 700;
    font-size: 1.1rem;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

/* Why Us */
.why-us {
    background-color: var(--darker-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0));
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: #000;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.preloader-shutter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    transform-origin: top;
}

.preloader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    overflow: hidden;
}

.preloader-logo {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(50px);
}

.preloader-line {
    width: 0;
    height: 2px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* Scramble Text */
.scramble-text {
    display: inline-block;
    font-family: monospace;
    /* For glitch effect */
}

/* Magnetic Buttons */
.magnetic-btn {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Liquid Hover Effect */
.liquid-img {
    filter: url(#liquidFilter);
    transition: filter 0.3s ease;
}

/* Process */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.reveal-right {
    left: 0;
}

.timeline-item.reveal-left {
    left: 50%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    position: absolute;
    border-radius: 50%;
    top: 20px;
    right: -10px;
    /* RTL - logic reversed */
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item.reveal-left .timeline-dot {
    left: -10px;
    right: auto;
}

/* Because of RTL, left content is strictly left, right is right but the line is center.
   In RTL, "left" is actually right in visual DOM if not handled carefully.
   Let's fix for RTL specifically.
/* Correction for RTL: 
   Standard Logic: Left item (0 to 50%), Right item (50% to 100%).
   RTL: Everything flips. 
   Let's just use explicit classes or pseudo selectors clearly.
*/

html[dir="rtl"] .timeline::after {
    right: 50%;
    left: auto;
    margin-right: -1px;
}

html[dir="rtl"] .timeline-item {
    width: 50%;
}

html[dir="rtl"] .timeline-item:nth-child(odd) {
    left: auto;
    right: 0;
    text-align: left;
    /* Pointing to spine (left) */
    padding-left: 40px;
    padding-right: 0;
}

html[dir="rtl"] .timeline-item:nth-child(even) {
    left: auto;
    right: 50%;
    text-align: right;
    /* Pointing to spine (right) */
    padding-right: 40px;
    padding-left: 0;
}

html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-dot {
    left: -10px;
    right: auto;
}

html[dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
    right: -10px;
    left: auto;
}


.timeline-content {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: disc;
    padding-right: 20px;
    /* RTL */
    color: var(--text-grey);
}

.timeline-content li {
    margin-bottom: 8px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 20px;
    color: var(--text-grey);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--primary-color);
    width: 30px;
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background: #000;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-col p {
    color: var(--text-grey);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-grey);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
    /* RTL padding */
}

.footer-bottom {
    background: #050505;
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 40px;
        right: auto;
        /* Force left line on mobile */
    }

    html[dir="rtl"] .timeline::after {
        right: 40px;
        left: auto;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        left: 0;
    }

    html[dir="rtl"] .timeline-item {
        width: 100%;
        padding-right: 70px;
        padding-left: 25px;
        right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    html[dir="rtl"] .timeline-item:nth-child(even) {
        right: 0;
        text-align: left;
        /* Align text normally */
    }

    .timeline-dot {
        left: 31px;
        /* Align with line */
        right: auto;
    }

    html[dir="rtl"] .timeline-dot,
    html[dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
        right: 31px;
        left: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .highlight {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu implementation needed if full JS */
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-padding {
        padding: 60px 0;
    }

    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* Fix for Select Options in Dark Mode */
select option {
    background-color: var(--dark-bg);
    color: var(--text-white);
    padding: 10px;
}

/* --- Countdown Section --- */
.countdown-section {
    background: radial-gradient(circle at center, rgba(20, 20, 20, 0.9), #000);
    border-top: 1px solid var(--border-subtle);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.time-unit .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    /* Digital feel */
}

.time-unit .label {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-top: 5px;
    display: block;
}



/* Mobile responsive fix for nav extras */
@media (max-width: 768px) {
    .nav-extras {
        margin-left: 0 !important;
        margin-right: auto;
    }
}

/* --- WhatsApp Badge --- */
.whatsapp-badge {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Opposite side of AI */
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    z-index: 1500;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-badge:hover {
    transform: scale(1.1) rotate(-10deg);
}

.whatsapp-badge .tooltip {
    position: absolute;
    left: 70px;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.whatsapp-badge:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Updated AI Toggle with Custom Image */
.ai-toggle-btn {
    width: 70px;
    /* Slightly larger for image */
    height: 70px;
    background: none;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease;
    animation: pulse 3s infinite;
    overflow: hidden;
}

.ai-toggle-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide icon inside since we use image now, but keep logic safely */
.ai-toggle-btn i {
    display: none;
}

/* --- News Ticker --- */
.news-ticker-container {
    background: #000;
    border-bottom: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 50px;
    position: relative;
    z-index: 100;
}

.ticker-label {
    background: var(--primary-color);
    color: #000;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    z-index: 2;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    color: #fff;
    margin-right: 50px;
    /* Space between items (RTL) */
    font-size: 0.95rem;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- Leadership Section --- */
.leaders-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.leader-card {
    text-align: center;
    width: 250px;
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s ease;
}

.leader-card:hover .leader-img img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.leader-card h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.leader-card span {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.ai-concierge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
}

.ai-toggle-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease;
    animation: pulse 3s infinite;
}

.ai-toggle-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.ai-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 250px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ai-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-header {
    background: var(--primary-color);
    color: #000;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.ai-options {
    list-style: none;
    padding: 10px;
}

.ai-options li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.ai-options li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* --- 3D Carousel (Simplified 3D Effect) --- */
.carousel-3d-container {
    perspective: 1000px;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.carousel-3d {
    width: 300px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    /* CSS Animation for simple rotation if JS fails or for pure CSS version */
}

.carousel-item {
    position: absolute;
    width: 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    /* This positioning will be handled by JS for true 3D placement */
    background: var(--card-bg);
}

.carousel-item p {
    font-style: italic;
    color: var(--text-grey);
}

.carousel-item h4 {
    color: var(--primary-color);
    margin-top: 10px;
}

.carousel-item span {
    font-size: 0.8rem;
    color: #666;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-grey);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: 0.4s ease;
}

.portfolio-item:hover .item-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.item-overlay h3 {
    color: var(--text-white);
    /* Dark mode text is white */
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.item-overlay span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Light mode support for white text in overlay regardless of theme */
body.light-mode .item-overlay h3 {
    color: #fff;
}

.event-wizard {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.wizard-header {
    margin-bottom: 30px;
}

.wizard-header h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.wizard-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    width: 33%;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-step.active {
    display: block;
}

.wizard-step h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.card-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-inner i {
    font-size: 1.5rem;
    color: var(--text-grey);
}

.option-card input:checked+.card-inner {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

.option-card input:checked+.card-inner i {
    color: var(--primary-color);
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

/* Form inputs adjustment for wizard */
.wizard-step input[type="text"],
.wizard-step input[type="email"],
.wizard-step input[type="tel"],
.wizard-step select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    margin-bottom: 15px;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    cursor: pointer;
}

.margin-top {
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--primary-color);
    padding: 60px 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-grey);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-body h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-body p {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

body {
    transition: background-color 0.8s ease, color 0.8s ease;
}

body.light-mode {
    --dark-bg: #f5f5f7;
    --darker-bg: #e0e0e0;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-white: #1a1a1a;
    --text-grey: #4a4a4a;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-subtle: rgba(0, 0, 0, 0.08);
}

body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    color: #1a1a1a;
}

body.light-mode .logo {
    color: #000;
}

body.light-mode .nav-links a {
    color: #1a1a1a;
}

body.light-mode .section-title::after {
    background: var(--primary-dark);
}

/* --- New Partners Grid Design --- */
.partners-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.partner-card img {
    max-width: 80%;
    max-height: 80%;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.5s ease;
    opacity: 0.7;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Light mode specific fix for partners */
body.light-mode .partner-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .partner-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}