/* ============================================================
    SAFWAH INVESTMENT — MASTER CONSOLIDATED STYLESHEET
    ============================================================ */

:root {
    --bg-primary: #fff9e9;
    --bg-secondary: #fdfcf9;
    --bg-gold: #d4af37;
    --accent-gold: #d4af37;
    --accent-gold-rgb: 212, 175, 55;
    --accent-gold-hover: #c5a059;
    --color-slate-gray: #708090;
    --color-slate-gray-rgb: 112, 128, 144;
    --text-light: #f8f9fa;
    --text-muted: #f8f9fa;
    --text-dark: #1e1e1e;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    overflow-x: clip;
}

p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================================
    HEADER & NAVIGATION
    ============================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(112, 128, 144, 1.0), transparent);
    backdrop-filter: blur(5px);
}

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

.logo-symbol {
    height: 6em;
    display: flex;
    align-items: center;
    transition: height 0.3s ease;
}

.logo-symbol img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 24px;
    background: var(--accent-gold);
    border: 1px solid #ffffff;
    border-radius: 0;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    vertical-align: middle;
    transition: all 0.3s ease;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
}

.btn-gold:hover {
    background: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ============================================================
    INDEX: SCROLL STORY HERO
    ============================================================ */

.scroll-container {
    position: relative;
    height: 100vh;
}

.sticky-viewport {
    position: relative;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bg-image,
video.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.sticky-viewport::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        to right,
        rgba(5, 10, 18, 0.82) 0%,
        rgba(5, 10, 18, 0.5) 55%,
        rgba(5, 10, 18, 0.25) 100%
    ); */
    z-index: 2;
    pointer-events: none;
}

.story-scene {
    position: absolute;
    top: 34%;
    left: 10%;
    transform: translateY(20px);
    max-width: 650px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.story-scene.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.story-scene h1 {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 
        -1.5px -1.5px 0 rgba(0, 0, 0, 0.85),
         1.5px -1.5px 0 rgba(0, 0, 0, 0.85),
        -1.5px  1.5px 0 rgba(0, 0, 0, 0.85),
         1.5px  1.5px 0 rgba(0, 0, 0, 0.85),
         0 4px 15px rgba(0, 0, 0, 0.6);
}

.story-scene h1 span {
    color: var(--accent-gold);
    text-shadow: 
        -1.5px -1.5px 0 rgba(0, 0, 0, 0.9),
         1.5px -1.5px 0 rgba(0, 0, 0, 0.9),
        -1.5px  1.5px 0 rgba(0, 0, 0, 0.9),
         1.5px  1.5px 0 rgba(0, 0, 0, 0.9),
         0 0 12px rgba(212, 175, 55, 0.4);
}

/* ============================================================
    INDEX: SCROLL PROMPT ANIMATION
    ============================================================ */
.scroll-prompt-container {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    z-index: 20;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s ease;
}

.scroll-prompt-container.is-hidden {
    opacity: 0;
    transform: translate(-50%, 15px);
}

.scroll-prompt-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
    margin-left: 0.32em;
}

.scroll-mouse-pill {
    width: 22px;
    height: 38px;
    border-radius: 20px;
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    background: rgba(10, 15, 20, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.5), inset 0 0 6px rgba(212, 175, 55, 0.2);
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-wheel-dot {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(180deg, #dfc278 0%, #b8933b 100%);
    box-shadow: 0 0 8px rgba(223, 194, 120, 0.85);
    margin-top: 6px;
    animation: scrollDropSmooth 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.scroll-chevron-stream {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-chevron-stream .chevron {
    display: block;
    width: 7px;
    height: 7px;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.85);
    border-right: 1.5px solid rgba(212, 175, 55, 0.85);
    transform: rotate(45deg);
    opacity: 0;
}

.scroll-chevron-stream .c1 {
    animation: chevronStream 2s infinite ease-in-out;
}

.scroll-chevron-stream .c2 {
    animation: chevronStream 2s infinite ease-in-out 0.25s;
}

@keyframes scrollDropSmooth {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    60% {
        transform: translateY(14px);
        opacity: 0.15;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

@keyframes chevronStream {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-2px, -2px);
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(2px, 2px);
    }
}

@media (max-height: 600px) {
    .scroll-prompt-container {
        bottom: 15px;
        transform: translateX(-50%) scale(0.85);
    }
}

/* ============================================================
    INDEX: VIDEO BLOCK
    ============================================================ */
.safwah-vertical-videos {
    position: relative;
    width: 100%;
    z-index: 15;
}

.scroll-video-block {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.scroll-video-block.scroll-video-window-mode {
    align-items: center;
    justify-content: center;
}

.video-media-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.scroll-fs-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.video-media-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 10, 18, 0) 0%,
        rgba(5, 10, 18, 0.2) 60%,
        rgba(5, 10, 18, 0.5) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.video-caption-overlay {
    position: relative;
    z-index: 3;
    padding: 0 clamp(30px, 8vw, 120px) 10vh clamp(30px, 8vw, 120px);
    max-width: 980px;
}

.slide-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
    padding: 7px 16px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 999px;
    background: rgba(11, 19, 43, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 18px 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
    letter-spacing: -0.01em;
}

.slide-sub {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* Framed Window Variation */
.video-window-frame {
    position: relative;
    width: 70vw;
    height: 70vh;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(212, 175, 55, 0.12);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-caption-overlay.centered-window-caption {
    z-index: 4;
    padding: 30px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.centered-window-caption .slide-title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    margin: 0 0 14px 0;
}

.centered-window-caption .slide-sub {
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 90%;
}

@media (max-width: 992px) {
    .video-window-frame {
        width: 82vw;
        height: 65vh;
    }
    .islamic-flank {
        width: 8vw;
        opacity: 0.45;
    }
}

@media (max-width: 600px) {
    .video-window-frame {
        width: 92vw;
        height: 70vh;
    }
    .islamic-flank {
        display: none;
    }
}

/* ============================================================
    INDEX: REAL ESTATE EXPLORER
    ============================================================ */
.real-estate-explorer {
    --ree-bg-color: #f7f4ee;
    --ree-text-dark: #11271d;
    --ree-text-light: #556b62;
    --ree-primary-green: #044b33;
    --ree-tab-inactive-bg: #f0ece1;
    --ree-border-color: #dcd7ca;
    --ree-font-serif: var(--font-heading);
    --ree-font-sans: var(--font-body);

    background-color: var(--ree-bg-color);
    color: var(--ree-text-dark);
    font-family: var(--ree-font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 20;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.ree-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 10rem 4rem 3rem 4rem;
}

.ree-header {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    position: static;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
}

.ree-header h1 {
    font-family: var(--ree-font-serif);
    font-size: 4.5rem;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
}

.ree-header a {
    color: var(--ree-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--ree-text-dark);
    padding-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.ree-header a:hover { opacity: 0.7; }
.ree-header a span { font-size: 1.1rem; transition: transform 0.2s; }
.ree-header a:hover span { transform: translateX(4px); }

/* .ree-property-view {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-content: center;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
} */

.ree-properties-wrapper {
    position: relative;
    width: 100%;
}

.ree-property-view {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ree-property-view.active {
    display: grid;
    opacity: 1;
}

.ree-property-view.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

.ree-image-section {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 55vh;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background-color: #eae5d9;
}

.ree-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ree-details-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ree-details-section h2 {
    font-family: var(--ree-font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--ree-text-dark);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.ree-specs { margin-bottom: 2rem; }

.ree-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ree-border-color);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--ree-text-dark);
}

.ree-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.ree-feature-box {
    border: 1px solid var(--ree-border-color);
    border-radius: 4px;
    padding: 1.2rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
    transition: border-color 0.2s, background-color 0.2s;
}

.ree-feature-box:hover {
    border-color: var(--accent-gold);
    background-color: #fdfcf9;
}

.ree-feature-box svg {
    width: 28px;
    height: 28px;
    stroke: var(--ree-text-dark);
    stroke-width: 1.2;
    fill: none;
}

.ree-feature-box span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    font-weight: 500;
    color: var(--ree-text-dark);
}

.ree-cta-button {
    background-color: var(--accent-gold);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 1.1rem 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    margin-bottom: 2rem;
    transition: background-color 0.2s, transform 0.2s;
}

.ree-cta-button:hover {
    background-color: rgba(var(--accent-gold-rgb), 0.75);
    transform: translateY(-2px);
}

.ree-nav-arrows { display: flex; gap: 1rem; margin-top: 2%; }

.ree-nav-arrows button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--ree-border-color);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ree-text-light);
    transition: all 0.2s;
}

.ree-nav-arrows button:hover {
    border-color: var(--ree-text-dark);
    color: var(--ree-text-dark);
}

.ree-tabs-container {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ree-border-color);
    width: 100%;
    background-color: var(--ree-tab-inactive-bg);
}

.ree-tab {
    padding: 1.5rem 2rem;
    background-color: var(--ree-tab-inactive-bg);
    cursor: pointer;
    border-right: 1px solid var(--ree-border-color);
    transition: background-color 0.3s, color 0.3s;
    text-align: left;
}

.ree-tab:last-child { border-right: none; }

.ree-tab h3 {
    font-family: var(--ree-font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: var(--ree-text-dark);
    transition: color 0.3s;
}

.ree-tab p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ree-text-light);
    font-weight: 500;
    transition: color 0.3s;
}

.ree-tab.active { background-color: var(--accent-gold); }
.ree-tab.active h3 { color: #ffffff; }
.ree-tab.active p { color: rgba(255, 255, 255, 0.8); }

/* ============================================================
    GALLERY & STATS
    ============================================================ */
.scroll-reveal-gallery {
    position: relative;
    width: 100%;
    background: var(--bg-secondary);
    padding: 0 0 140px 0;
    z-index: 10;
}

.scroll-reveal-gallery .gallery-header {
    position: sticky;
    top: 0;
    z-index: 20;
    text-align: center;
    padding: 120px 40px 40px;
    margin-bottom: 60px;
    background: var(--bg-secondary);
    will-change: transform;
}

.scroll-reveal-gallery .gallery-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1em;
}

.scroll-reveal-gallery .gallery-header p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    perspective: 1200px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item:nth-child(odd) { aspect-ratio: 4 / 5; margin-top: 40px; }
.gallery-item:nth-child(3n) { aspect-ratio: 1 / 1; margin-top: -20px; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
    filter: brightness(0.8) saturate(0.9);
}

.gallery-item:hover img { transform: scale(1.08); filter: brightness(1) saturate(1.1); }

.gallery-item .item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 19, 43, 0.85) 0%, rgba(11, 19, 43, 0.2) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.gallery-item:hover .item-overlay span { transform: translateY(0); }

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0);
    border-radius: 8px;
    transition: border-color 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-item:hover::after { border-color: rgba(212, 175, 55, 0.5); }

.stats-section {
    background-color: #0d1321;
    padding: 100px 50px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.stat-item { padding: 20px; }
.stat-number { font-family: var(--font-heading); font-size: 3.5rem; color: var(--accent-gold); font-weight: 700; display: block; margin-bottom: 10px; }
.stat-label { color: var(--text-light); font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }

/* ============================================================
    ABOUT PAGE STYLES
    ============================================================ */
.about-hero {
    position: relative;
    min-height: 72vh;
    background: linear-gradient(
        180deg,
        rgba(var(--color-slate-gray-rgb), 0.10) 0%,
        rgba(var(--color-slate-gray-rgb), 0.02) 100%
    ), #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 170px 24px 90px;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.about-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 22px;
    padding: 8px 22px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(11, 19, 43, 0.55);
    backdrop-filter: blur(8px);
}

.about-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.about-hero h1 span {
    color: var(--accent-gold);
}

.about-hero p {
    font-size: 1.05rem;
    color: rgba(248, 249, 250, 0.85);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 300;
}

.about-vm-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 90px;
}

.vm-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 48px 40px;
    position: relative;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.6;
    transition: opacity 0.35s ease;
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(11, 19, 43, 0.08);
    border-color: rgba(212, 175, 55, 0.6);
}

.vm-card:hover::before {
    opacity: 1;
}

.vm-badge {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
    display: inline-block;
}

.vm-card h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: #0b132b;
    margin-bottom: 18px;
    line-height: 1.25;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
}

.about-narrative {
    background-color: var(--bg-secondary);
    color: var(--text-dark);
    padding: 100px 0 100px;
    position: relative;
    z-index: 10;
}

.narrative-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.narrative-tag {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold-hover);
    font-weight: 600;
    display: block;
    margin-bottom: 14px;
}

.narrative-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    color: #0b132b;
    line-height: 1.2;
    margin-bottom: 24px;
}

.narrative-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.narrative-media {
    position: relative;
}

.narrative-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    aspect-ratio: 4 / 5;
    background-color: #eae5d9;
}

.narrative-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.narrative-img-wrap:hover img {
    transform: scale(1.03);
}

.media-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: #0b132b;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 24px 30px;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.media-badge span {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.media-badge small {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
}

.about-pillars {
    background: linear-gradient(
        180deg,
        rgba(var(--color-slate-gray-rgb), 0.10) 0%,
        rgba(var(--color-slate-gray-rgb), 0.02) 100%
    ), #0d1117;
    color: var(--text-light);
    padding: 120px 0;
    position: relative;
}

.pillars-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 80px;
}

.pillars-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #ffffff;
    margin-bottom: 16px;
}

.pillars-header h2 span {
    color: var(--accent-gold);
}

.pillars-header p {
    font-size: 1.05rem;
    color: rgba(248, 249, 250, 0.75);
    line-height: 1.8;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 44px 36px;
    position: relative;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.35s ease;
}

.pillar-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.pillar-card p {
    font-size: 1.05rem;
    color: rgba(248, 249, 250, 0.75);
    line-height: 1.8;
    margin: 0;
}

.about-vision2030 {
    background: linear-gradient(
        135deg,
        rgba(var(--color-slate-gray-rgb), 0.10) 0%,
        rgba(var(--color-slate-gray-rgb), 0.02) 100%
    ), #0d1117;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 100px 40px;
    text-align: center;
    position: relative;
}

.vision2030-box {
    max-width: 900px;
    margin: 0 auto;
}

.vision2030-box h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.vision2030-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 36px;
}

/* ============================================================
    SERVICES PAGE STYLES
    ============================================================ */
.services-hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(
        180deg,
        rgba(var(--color-slate-gray-rgb), 0.10) 0%,
        rgba(var(--color-slate-gray-rgb), 0.02) 100%
    ), #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.services-hero-content {
    max-width: 860px;
    position: relative;
    z-index: 2;
}

.services-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(11, 19, 43, 0.5);
    backdrop-filter: blur(8px);
}

.services-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.services-hero h1 span {
    color: var(--accent-gold);
}

.services-hero p {
    font-size: 1.05rem;
    color: rgba(248, 249, 250, 0.8);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

.services-showcase {
    background-color: var(--bg-secondary);
    color: var(--text-dark);
    position: relative;
    padding: 60px 0 120px;
    z-index: 10;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: start;
}

.services-stream {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 44px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover,
.service-card.active {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.service-card:hover::before,
.service-card.active::before {
    opacity: 1;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-index {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    opacity: 0.8;
    letter-spacing: 0.1em;
}

.service-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: #0b132b;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
}

.service-body {
    font-size: 1.05rem;
    color: #0b132b;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.service-features li {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0b132b;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.services-viewport {
    position: sticky;
    top: 140px;
    height: 640px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    background: #050a14;
}

.preview-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.preview-slide.active {
    opacity: 1;
    visibility: visible;
}

.preview-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 6s ease;
}

.preview-slide.active img {
    transform: scale(1);
}

.preview-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.1) 30%, rgba(5, 10, 20, 0.85) 100%);
}

.preview-caption {
    position: absolute;
    bottom: 36px;
    left: 36px;
    right: 36px;
    z-index: 3;
}

.preview-tag {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 8px;
    display: block;
}

.preview-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.preview-caption p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.services-cta-wrap {
    margin-top: 100px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-wrap h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: #0b132b;
    margin-bottom: 16px;
}

.services-cta-wrap p {
    color: #0b132b;
    max-width: 580px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================================
    REACH US / CONTACT PAGE STYLES
    ============================================================ */
.contact-hero {
    position: relative;
    min-height: 52vh;
    background: linear-gradient(
        180deg,
        rgba(var(--color-slate-gray-rgb), 0.10) 0%,
        rgba(var(--color-slate-gray-rgb), 0.02) 100%
    ), #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 70px;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-content {
    max-width: 820px;
    position: relative;
    z-index: 2;
}

.contact-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding: 8px 22px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(11, 19, 43, 0.55);
    backdrop-filter: blur(8px);
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.contact-hero h1 span {
    color: var(--accent-gold);
}

.contact-hero p {
    font-size: 1.05rem;
    color: rgba(248, 249, 250, 0.82);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

.contact-section {
    background-color: var(--bg-secondary);
    color: var(--text-dark);
    position: relative;
    padding: 80px 0 120px;
    z-index: 10;
}

.contact-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.c-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: 0 10px 30px rgba(11, 19, 43, 0.05);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.c-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(212, 175, 55, 0.18);
}

.c-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.c-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #997300;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #0b132b;
    letter-spacing: 0.05em;
    margin: 0;
}

.c-card-body {
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 20px;
}

.c-card-link {
    color: #997300;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.c-card-link:hover {
    color: var(--accent-gold-hover);
    transform: translateX(4px);
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-form-pane {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 12px 35px rgba(11, 19, 43, 0.06);
}

.contact-form-pane h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: #0b132b;
    margin-bottom: 12px;
}

.contact-form-pane p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #997300;
    font-weight: 600;
}

.form-input {
    background: #fffdf9;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 14px 16px;
    color: #1e1e1e;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: var(--accent-gold);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder {
    color: #999999;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-visual-pane {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-frame-box {
    flex: 1;
    min-height: 380px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 35px rgba(11, 19, 43, 0.08);
    position: relative;
}

.map-frame-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: contrast(1.02) saturate(1.05);
}

.social-connect-bar {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(11, 19, 43, 0.05);
}

.social-connect-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #0b132b;
    margin: 0 0 4px 0;
}

.social-connect-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.social-pills-wrap {
    display: flex;
    gap: 12px;
}

.social-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: #fffdf9;
    color: #0b132b;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-pill:hover {
    background: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

/* ============================================================
    FOOTER
    ============================================================ */
.safwah-footer {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(var(--color-slate-gray-rgb), 0.10) 0%,
        rgba(var(--color-slate-gray-rgb), 0.02) 100%
    ), #0d1117;
    color: var(--color-slate-gray);
    font-family: var(--font-body);
    padding: 90px 0 35px 0;
    border-top: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    overflow: hidden;
    z-index: 20;
}

.safwah-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(var(--color-slate-gray-rgb), 0.3) 20%, 
        var(--accent-gold) 50%, 
        rgba(var(--color-slate-gray-rgb), 0.3) 80%, 
        transparent
    );
    opacity: 0.85;
}

.sf-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.sf-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.35fr 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 60px;
}

.sf-brand-col {
    display: flex;
    flex-direction: column;
}

.sf-brand-link {
    display: inline-block;
    margin-bottom: 22px;
}

.sf-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.sf-about-text {
    color: rgba(248, 249, 250, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 380px;
    margin-bottom: 30px;
}

.sf-social-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-social-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
}

.sf-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sf-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(8px);
}

.sf-social-btn:hover {
    background: var(--accent-gold);
    color: #0b132b;
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.sf-purpose-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sf-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.sf-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.sf-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    padding-bottom: 3px;
}

.sf-card-body {
    font-size: 1.05rem;
    color: rgba(248, 249, 250, 0.78);
    line-height: 1.8;
    margin: 0;
}

.sf-contact-col {
    display: flex;
    flex-direction: column;
}

.sf-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.sf-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sf-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sf-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-contact-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sf-contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(248, 249, 250, 0.45);
}

.sf-contact-val {
    font-size: 1.05rem;
    color: rgba(248, 249, 250, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.sf-contact-val:hover {
    color: var(--accent-gold);
}

.sf-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sf-brand-watermark {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    color: rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
}

.sf-copy {
    font-size: 0.82rem;
    color: rgba(248, 249, 250, 0.5);
    margin: 0;
}

/* ============================================================
    FLASH MESSAGES
    ============================================================ */
.flashes {
    list-style: none;
    margin: 100px auto 0;
    padding: 0;
    max-width: 800px;
    width: 90%;
    position: relative;
    z-index: 101;
}

.flashes li {
    padding: 16px 22px;
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.flashes li.success {
    background: rgba(11, 40, 25, 0.85);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #bdfad6;
}

.flashes li.danger {
    background: rgba(45, 14, 18, 0.85);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ffd2d2;
}

/* ============================================================
    GTRANSLATE & LANGUAGE SWITCHER
    ============================================================ */
iframe.skiptranslate,
iframe.goog-te-banner-frame,
.skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-menu-frame,
.goog-te-balloon-frame,
.goog-te-spinner,
.goog-te-spinner-pos,
#goog-gt-tt,
#goog-gt-vt,
#goog-gt-tt *,
#goog-gt-vt *,
[class*="VIpgJd-ZVi9od"],
.goog-tooltip,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

body { top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
html { margin-top: 0 !important; padding-top: 0 !important; }

#google_translate_element {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

html.translating body {
    animation: pageFadeIn 0.4s ease 0.35s both;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lang-switcher {
    position: relative;
    font-family: var(--font-body);
    z-index: 9999;
}

.lang-current {
    min-width: 56px;
    text-align: left;
}

.lang-chevron {
    color: #c9a961;
    opacity: 0.75;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
    margin: 0;
    list-style: none;
    background: linear-gradient(180deg, #17130c 0%, #0f0c08 100%);
    border: 1px solid rgba(201, 169, 97, 0.28);
    border-radius: 16px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(201, 169, 97, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10000;
}

.lang-switcher.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-menu li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #e8e2d3;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.lang-menu li:hover {
    background: rgba(201, 169, 97, 0.1);
    color: #fff;
    transform: translateX(2px);
}

.lang-menu li.active {
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.18), rgba(201, 169, 97, 0.06));
    color: #c9a961;
    font-weight: 500;
}

.lang-menu li.active::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #c9a961;
    border-radius: 2px;
}

.lang-menu::-webkit-scrollbar { width: 6px; }
.lang-menu::-webkit-scrollbar-track { background: transparent; }
.lang-menu::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 97, 0.25);
    border-radius: 3px;
}
.lang-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 97, 0.45);
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ============================================================
    RESPONSIVE MEDIA QUERIES (CONSOLIDATED)
    ============================================================ */
@media (max-width: 1100px) {
    .sf-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .sf-brand-col {
        grid-column: span 2;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
    .map-frame-box {
        min-height: 400px;
    }
}

@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .ree-property-view { grid-template-columns: 1fr; }
    .ree-image-section { min-height: 320px; max-height: 40vh; }
    .ree-header h1 { font-size: 3rem; }
    .ree-tabs-container { grid-template-columns: 1fr 1fr; }
    .ree-tab { border-bottom: 1px solid var(--ree-border-color); }
    .about-vm-section { grid-template-columns: 1fr; gap: 24px; margin-bottom: 70px; }
    .narrative-grid { grid-template-columns: 1fr; gap: 60px; }
    .pillars-grid { grid-template-columns: 1fr; gap: 24px; }
    .media-badge { left: 20px; bottom: -20px; }
    .services-container { grid-template-columns: 1fr; }
    .services-viewport { display: none; }
    .logo-symbol {
        height: 4.2em; /* Scaled down for tablet screens */
    }
}

@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .story-scene { left: 5%; right: 5%; max-width: none; }
    .story-scene h1 { font-size: 2rem; }
    .stats-section { padding: 60px 20px; }

    .scroll-reveal-gallery { padding-bottom: 80px; }
    .scroll-reveal-gallery .gallery-header { padding: 90px 20px 30px; margin-bottom: 10px; }
    .scroll-reveal-gallery .gallery-header h2 { font-size: 1.7rem; }
    .scroll-reveal-gallery .gallery-header p { font-size: 1.05rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 20px; }
    .gallery-item:nth-child(odd), .gallery-item:nth-child(3n) { margin-top: 0; aspect-ratio: 3 / 4; }

    .ree-container { padding: 3rem 2rem 2rem 2rem; }
    .ree-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .ree-features-grid { grid-template-columns: 1fr 1fr; }
    .ree-details-section h2 { font-size: 2rem; }
    .ree-header h1 { font-size: 2.2rem; }

    .about-hero { padding: 140px 20px 70px; }
    .narrative-container, .pillars-grid { padding: 0 20px; }
    .about-narrative, .about-pillars { padding: 70px 0; }
    .vm-card { padding: 36px 24px; }

    .services-hero { padding: 130px 20px 60px; }
    .service-card { padding: 28px 24px; }
    .service-title { font-size: 1.45rem; }
    .services-cta-wrap { padding: 40px 20px; }

    .contact-hero { padding: 130px 20px 50px; }
    .contact-section { padding: 50px 0 80px; }
    .contact-container { padding: 0 20px; }
    .contact-form-pane { padding: 30px 20px; }
    .form-group-row { grid-template-columns: 1fr; }
    .social-connect-bar { flex-direction: column; align-items: flex-start; gap: 16px; }

    .safwah-footer { padding: 60px 0 30px 0; }
    .sf-container { padding: 0 24px; }
    .sf-main-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
    .sf-brand-col { grid-column: span 1; }
    .sf-bottom-bar { flex-direction: column; align-items: flex-start; }
    .logo-symbol {
        height: 3.2em; /* Compact for mobile screens */
    }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .scroll-reveal-gallery .gallery-header { padding: 70px 16px 24px; }
    .logo-symbol {
        height: 3.2em; /* Compact for mobile screens */
    }
}

/* ============================================================
   FULLSCREEN OFFICE VIDEO PLAYBACK SECTION (ABOUT PAGE)
   ============================================================ */
.fullscreen-video-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0d1117;
    padding-top: 80px;
}

.fs-video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.fs-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(5, 10, 18, 0.45) 100%);
    z-index: 2;
    pointer-events: none;
}

.fs-video-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fs-video-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 22px;
    padding: 8px 22px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(11, 19, 43, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.fs-video-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.fs-video-heading span {
    color: var(--accent-gold);
}

.fs-video-subheading {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(248, 249, 250, 0.88);
    max-width: 740px;
    margin: 0 auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .fullscreen-video-banner {
        height: 100vh;
        padding-top: 60px;
    }
    .fs-video-content {
        padding: 0 20px;
    }
    .fs-video-heading {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }
}

/* ============================================================
   RTL & ARABIC / URDU TYPOGRAPHY & LAYOUT NORMALIZATION
   ============================================================ */

/* 1. Global Font Normalization for RTL Languages */
[dir="rtl"],
html[lang^="ar"],
html[lang^="ur"] {
    font-family: 'Noto Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif;
}

[dir="rtl"] body {
    font-size: 1.15rem;
    line-height: 2.0;
}

[dir="rtl"] p {
    font-size: 1.15rem;
    line-height: 2.0;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
    font-family: 'Noto Sans Arabic', var(--font-heading), sans-serif;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
}

/* 2. Sequential Video Blocks in RTL */
[dir="rtl"] .safwah-vertical-videos {
    direction: rtl;
}

[dir="rtl"] .video-caption-overlay {
    text-align: right;
}

[dir="rtl"] .slide-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

[dir="rtl"] .slide-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.35;
}

[dir="rtl"] .slide-sub {
    font-size: 1.15rem;
    line-height: 2.0;
}

/* 3. Hero Copy & Kickers in RTL */
[dir="rtl"] .story-scene {
    left: auto;
    right: 10%;
    text-align: right;
}

[dir="rtl"] .story-scene p {
    font-size: 1.25rem;
    line-height: 1.9;
}

[dir="rtl"] .contact-kicker,
[dir="rtl"] .about-kicker,
[dir="rtl"] .services-kicker,
[dir="rtl"] .fs-video-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

/* 4. Action Buttons and Dropdowns in RTL */
[dir="rtl"] .btn-gold {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
    text-align: right;
    transform-origin: top left;
}

[dir="rtl"] .lang-menu li {
    font-size: 15px;
}

[dir="rtl"] .lang-menu li.active::before {
    left: auto;
    right: 4px;
}

/* 5. Real Estate Explorer adjustments in RTL */
[dir="rtl"] .ree-tab {
    text-align: right;
    border-right: none;
    border-left: 1px solid var(--ree-border-color);
}

[dir="rtl"] .ree-tab:last-child {
    border-left: none;
}

@media (max-width: 768px) {
    [dir="rtl"] .story-scene {
        right: 5%;
        left: 5%;
    }
}

/* 6. Typography Scale Boost for Arabic & Urdu Legibility */
[dir="rtl"] nav a {
    font-size: 1.05rem;
    letter-spacing: normal;
}

[dir="rtl"] .scroll-prompt-text {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

[dir="rtl"] .ree-header a {
    font-size: 1.05rem;
}

[dir="rtl"] .ree-spec-row {
    font-size: 1rem;
    letter-spacing: normal;
}

[dir="rtl"] .ree-feature-box span {
    font-size: 0.85rem;
    letter-spacing: normal;
    line-height: 1.5;
}

[dir="rtl"] .ree-cta-button {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

[dir="rtl"] .ree-tab h3 {
    font-size: 1.4rem;
}

[dir="rtl"] .ree-tab p {
    font-size: 0.85rem;
    letter-spacing: normal;
}

[dir="rtl"] .vm-badge,
[dir="rtl"] .narrative-tag,
[dir="rtl"] .service-badge,
[dir="rtl"] .preview-tag,
[dir="rtl"] .sf-tag,
[dir="rtl"] .sf-social-label,
[dir="rtl"] .sf-contact-label {
    font-size: 0.85rem;
    letter-spacing: normal;
}

[dir="rtl"] .media-badge small {
    font-size: 0.85rem;
    letter-spacing: normal;
}

[dir="rtl"] .service-features li {
    font-size: 0.9rem;
    letter-spacing: normal;
}

[dir="rtl"] .c-card-link {
    font-size: 0.95rem;
    letter-spacing: normal;
}

[dir="rtl"] .form-group label {
    font-size: 0.9rem;
    letter-spacing: normal;
}

[dir="rtl"] .social-connect-info p {
    font-size: 0.95rem;
}

[dir="rtl"] .social-pill {
    font-size: 0.9rem;
    letter-spacing: normal;
}

[dir="rtl"] .sf-copy,
[dir="rtl"] .sf-brand-watermark {
    font-size: 0.92rem;
    letter-spacing: normal;
}

/* ============================================================
    INDEX: NEWS & EVENTS SLIDER SECTION
    ============================================================ */
.news-slider-section {
    background-color: var(--bg-secondary);
    padding: 100px 0 120px 0;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    z-index: 20;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
}

.news-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #0b132b;
    margin: 12px 0 0 0;
    line-height: 1.15;
}

.news-heading span {
    color: var(--accent-gold);
}

.news-nav-controls {
    display: flex;
    gap: 12px;
}

.news-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b132b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.news-arrow-btn:hover {
    background: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.news-carousel-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.news-carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Card layout (default shows exactly 2 cards) */
.news-card {
    flex: 0 0 calc(50% - 16px);
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(11, 19, 43, 0.04);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.16);
}

.news-media-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: #0d1117;
    overflow: hidden;
}

.news-media-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card:hover .news-media-asset {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(11, 19, 43, 0.75);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}

.news-content {
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #708090;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.news-dot {
    color: var(--accent-gold);
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #0b132b;
    line-height: 1.35;
    margin: 0 0 14px 0;
}

.news-excerpt {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 24px;
    flex-grow: 1;
}

.news-read-more {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-gold-hover);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

.news-read-more span {
    transition: transform 0.2s ease;
}

.news-read-more:hover {
    color: var(--accent-gold);
}

.news-read-more:hover span {
    transform: translateX(4px);
}

/* RTL Layout adjustments */
[dir="rtl"] .news-category-badge {
    left: auto;
    right: 18px;
}

[dir="rtl"] .news-read-more:hover span {
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 900px) {
    .news-card {
        flex: 0 0 100%;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================================
   SANDWICH (HAMBURGER) BUTTON & MOBILE DRAWER
   ============================================================ */
.menu-toggle-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    z-index: 1002;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.menu-toggle-btn:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.menu-toggle-btn .bar {
    width: 22px;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Morph Hamburger to "X" when open */
.menu-toggle-btn.is-active .bar-1 {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle-btn.is-active .bar-2 {
    opacity: 0;
}

.menu-toggle-btn.is-active .bar-3 {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-drawer {
    display: none;
}

/* Tablet & Mobile Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
    header {
        padding: 16px 24px;
    }

    .desktop-nav,
    .desktop-actions {
        display: none !important;
    }

    .menu-toggle-btn {
        display: flex;
    }

    .mobile-drawer {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 380px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #0e141d 0%, #080c12 100%);
        border-left: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
        padding: 110px 32px 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .mobile-drawer.open {
        transform: translateX(0);
    }

    .drawer-nav ul {
        display: flex;
        flex-direction: column;
        gap: 22px;
        list-style: none;
        padding: 0;
        margin: 0 0 35px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px;
    }

    .drawer-nav a {
        color: var(--text-light);
        text-decoration: none;
        font-size: 1.25rem;
        font-family: var(--font-heading);
        letter-spacing: 1px;
        display: inline-block;
        transition: color 0.3s ease, transform 0.2s ease;
    }

    .drawer-nav a:hover {
        color: var(--accent-gold);
        transform: translateX(6px);
    }

    .drawer-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .drawer-inquire-btn {
        width: 100%;
        height: 46px;
        font-size: 0.95rem;
    }

    .drawer-lang-switcher {
        width: 100%;
        position: relative;
    }

    .drawer-lang-switcher .lang-toggle-btn {
        width: 100%;
        justify-content: space-between;
        padding: 0 20px;
        height: 44px;
    }

    .drawer-lang-switcher .lang-menu {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
        transform: none !important;
        opacity: 1;
        display: none;
    }

    .drawer-lang-switcher.open .lang-menu {
        display: block;
    }

    /* RTL adaptations for drawer */
    [dir="rtl"] .mobile-drawer {
        right: auto;
        left: 0;
        border-left: none;
        border-right: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.7);
        transform: translateX(-100%);
    }

    [dir="rtl"] .mobile-drawer.open {
        transform: translateX(0);
    }

    [dir="rtl"] .drawer-nav a:hover {
        transform: translateX(-6px);
    }
}

@media (max-width: 480px) {
    .mobile-drawer {
        max-width: 100%;
    }
}