@font-face {
    font-family: 'Doran';
    src: url('../fomts/Doran Variable/Doran-VF.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Space+Grotesk:wght@300;400;500&display=swap');

:root {
    --ink: #000000;
    --ink-2: #12061A;
    --bone: #f5f3ef;
    --muted: rgba(245, 243, 239, 0.6);
    --accent: #FFB7D5;
    --accent-strong: #FF1E81;
    --signal: #D40078;
    --font-display: 'Italiana', serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-arabic-display: 'Doran', 'Cairo', sans-serif;
    --font-arabic-body: 'Doran', 'Almarai', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --bg-color: var(--ink);
    --bg-alt: var(--ink-2);
    --text-color: var(--bone);
    --text-dim: var(--muted);
    --accent-gold: var(--accent-strong);
    --accent-gold-soft: rgba(188, 111, 241, 0.18);
    --font-serif: 'Italiana', serif;
}

/* RTL Font Overrides */
[dir="rtl"],
.rtl {
    font-family: var(--font-arabic-body) !important;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
.rtl h1,
.rtl h2,
.rtl h3,
[dir="rtl"] .big-text,
.rtl .big-text {
    font-family: var(--font-arabic-display) !important;
    letter-spacing: 0 !important;
}

/* Prevent image/text swapping in RTL for ALL sections */
[dir="rtl"] .row,
[dir="rtl"] .row>*,
.rtl .row>* {
    direction: ltr !important;
    text-align: right;
}

/* RTL Layout Fix - Prevent column reordering but keep text RTL */
[dir="rtl"] .row {
    flex-direction: row !important;
}

/* Keep columns in original order - prevent swapping */
[dir="rtl"] .col,
[dir="rtl"] .col-md-6,
[dir="rtl"] .col-lg-6,
[dir="rtl"] [class*="col-"] {
    direction: ltr !important;
}

/* HERO and SECTION-TITLE - ALWAYS CENTER in RTL */
[dir="rtl"] .hero-content-inner,
[dir="rtl"] .hero-content-inner h1,
[dir="rtl"] .hero-content-inner p,
[dir="rtl"] .hero-content-inner span,
[dir="rtl"] .hero-content-inner .subtitle,
[dir="rtl"] .fixed-hero-layer h1,
[dir="rtl"] .fixed-hero-layer p,
[dir="rtl"] .fixed-hero-layer span,
[dir="rtl"] .section-title,
[dir="rtl"] .section-title h2,
[dir="rtl"] .section-title span,
[dir="rtl"] .text-center {
    text-align: center !important;
}

/* Footer CTA - CENTER */
[dir="rtl"] .footer-cta-title,
[dir="rtl"] .footer-cta-text {
    text-align: center !important;
}

/* Ticker and Impact Numbers - CENTER in RTL */
[dir="rtl"] .ticker-item,
[dir="rtl"] .impact-number,
[dir="rtl"] .impact-label,
[dir="rtl"] .subtitle {
    text-align: center !important;
}

/* FORGED IN DUBAI section - RIGHT in RTL - Specific Overrides */
[dir="rtl"] .forged-dubai-text,
[dir="rtl"] .forged-dubai-text .subtitle,
[dir="rtl"] .forged-dubai-text .big-text,
[dir="rtl"] .forged-dubai-text h2,
[dir="rtl"] .forged-dubai-text p,
[dir="rtl"] .forged-dubai-text a {
    text-align: right !important;
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

html {
    scroll-behavior: smooth;
    background-color: var(--ink);
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--ink);
    overflow-x: hidden;
    /* Subtle purple halo effect */
    background-image: radial-gradient(circle at 50% 50%, #12061A 0%, #000000 70%);
    background-attachment: fixed;
    color: var(--bone);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: -20% -10% auto -10%;
    height: 60vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(137, 44, 220, 0.15), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(188, 111, 241, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    inset: auto -10% -30% -10%;
    height: 70vh;
    background:
        radial-gradient(circle at 20% 80%, rgba(245, 243, 239, 0.08), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(160, 58, 42, 0.08), transparent 45%);
}

/* Header Language Switcher */
.header-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin-left: 15px;
    backdrop-filter: blur(5px);
}

[dir="rtl"] .header-lang-switcher {
    margin-left: 0;
    margin-right: 15px;
}

.header-lang-switcher a {
    color: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease;
}

.header-lang-switcher a.active {
    color: var(--accent-strong) !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(188, 111, 241, 0.5);
}

.header-lang-switcher span {
    color: rgba(255, 255, 255, 0.1);
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.mobile-lang-switcher a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2em;
}

.mobile-lang-switcher a.active {
    color: var(--accent-strong);
    font-weight: 700;
}

.mobile-lang-switcher span {
    color: rgba(255, 255, 255, 0.1);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navbar */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.9) 0%, transparent 100%);
    transition: all 0.6s var(--ease);
}

.navbar-fixed.scrolled {
    background: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(16px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(245, 243, 239, 0.08);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 15px;
    /* Center gap when logo is hidden */
    transition: all 0.8s var(--ease);
    /* Animate everything including transform */
    position: relative;
    transform: translateX(-50px);
    /* Nudge left to balance the 2-vs-3 links visually */
}

.nav-brand-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.nav-brand-center a {
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.5em;
    transition: all 0.6s var(--ease);
    display: block;
    opacity: 0;
    /* Hidden by default */
    pointer-events: none;
}

.brand-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(15px);
    /* Start from slightly below */
    opacity: 0;
    pointer-events: none;
}

.brand-text {
    display: none;
    /* Text brand removed as per replacement request */
}

.navbar-fixed.scrolled .nav-container {
    gap: 120px;
    /* Big gap to let logo sit in the middle */
    transform: translateX(0) !important;
    justify-content: center;
}

.navbar-fixed.scrolled .nav-brand-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.navbar-fixed.scrolled .brand-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: all;
}

.brand-logo img {
    height: 55px;
    /* Larger, more impactful logo */
    width: auto;
    filter: drop-shadow(0 0 25px rgba(188, 111, 241, 0.6));
    /* Intense luxury glow */
    transition: all 0.5s var(--ease);
}

.nav-links {
    display: flex;
    align-items: center;
    /* Ensures all links are on the same line */
    gap: 18px;
    /* High-end tight spacing */
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.8s var(--ease);
    position: relative;
    z-index: 20;
    pointer-events: all !important;
}

.nav-links.left {
    justify-content: flex-end;
    flex: 1 1 0;
    /* Forced equal weight */
}

.nav-links.right {
    justify-content: flex-start;
    flex: 1 1 0;
    /* Forced equal weight */
}

.nav-item a {
    color: rgba(245, 243, 239, 0.65);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 5px;
    font-family: 'Doran', sans-serif;
}


.nav-item a:hover,
.nav-item a.active {
    color: var(--accent-strong);
}

.nav-item a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: var(--accent-strong);
    box-shadow: 0 0 10px var(--accent-strong);
}

/* Mobile Menu */
.mobile-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #070707;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.m-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin: 18px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.m-link.active {
    color: var(--accent-strong);
    transform: scale(1.1);
}

.close-mobile {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: rgba(245, 243, 239, 0.6);
    font-size: 3rem;
    cursor: pointer;
}

/* Cinematic Animations */
.rise-up {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(10px);
    transition:
        opacity 1.5s var(--ease),
        transform 1.8s var(--ease),
        filter 1.5s var(--ease);
    will-change: transform, opacity, filter;
}

.rise-up.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.rise-up-fade {
    animation: riseFadeCinematic 2.2s var(--ease) forwards;
    opacity: 0;
}

@keyframes riseFadeCinematic {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Sections - Solid Background no gaps */
.content-section {
    position: relative;
    z-index: 10;
    background: #000 !important;
}

@keyframes riseFade {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Footer */
footer {
    background-color: var(--ink);
    border-top: 1px solid rgba(245, 243, 239, 0.08);
    padding: 120px 0 60px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Hero */
.fixed-hero-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    transition: transform 1s var(--ease);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.8);
}

.hero-content-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 1200px;
    z-index: 2;
    perspective: 1000px;
    /* Enable 3D depth */
}

.text-3d {
    text-shadow:
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0, 0, 0, .1),
        0 0 5px rgba(0, 0, 0, .1),
        0 1px 3px rgba(0, 0, 0, .3),
        0 3px 5px rgba(0, 0, 0, .2),
        0 5px 10px rgba(0, 0, 0, .25),
        0 10px 10px rgba(0, 0, 0, .2),
        0 20px 20px rgba(0, 0, 0, .15);
    background: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(188, 111, 241, 0.2));
}

.glass-hero-card {
    background: rgba(18, 6, 26, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px 40px;
    border-radius: 40px;
    border: 1px solid rgba(188, 111, 241, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 900px !important;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 28px auto;
}

.hero-subtitle-text {
    font-family: var(--font-body);
    color: var(--accent);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 8%;
    z-index: 5;
    opacity: 0.6;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1px solid rgba(245, 243, 239, 0.7);
    border-radius: 12px;
    position: relative;
    animation: bounce 2s infinite;
}

.mouse::before {
    content: '';
    width: 2px;
    height: 6px;
    background: var(--accent);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.main-scroll-container {
    position: relative;
    z-index: 10;
    background-color: transparent;
}

.content-section {
    position: relative;
    background-color: transparent;
    padding: 200px 0;
    min-height: 90vh;
}

.container-luxury {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.big-text {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    font-family: var(--font-display);
}

.section-title {
    text-align: center;
    /* Centered by default for premium look */
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--bone);
    margin-bottom: 18px;
}

.section-title .subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent);
    font-size: 0.85rem;
}

.miracle-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 80px;
    margin-bottom: 160px;
}

.miracle-row:nth-child(even) {
    direction: rtl;
}

.miracle-row:nth-child(even)>* {
    direction: ltr;
}

.miracle-text h3 {
    font-size: 1.3rem;
    color: var(--accent-strong);
    margin-bottom: 22px;
    letter-spacing: 0.2em;
}

.miracle-img {
    height: 520px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(245, 243, 239, 0.08);
    border-radius: 18px;
}

.miracle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.8);
    transition: transform 1.8s var(--ease), filter 1.8s var(--ease);
}

.miracle-row:hover .miracle-img img {
    transform: scale(1.04);
    filter: brightness(0.95) saturate(1);
}

.work-card {
    margin-bottom: 90px;
}

.work-img {
    height: 440px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #0e0e0e;
    border: 1px solid rgba(245, 243, 239, 0.08);
    border-radius: 18px;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.6);
    transition: 1.5s var(--ease);
}

.work-card:hover .work-img img {
    filter: brightness(1) saturate(1);
    transform: scale(1.05);
}

.work-card h3 {
    font-size: 1.2rem;
    color: var(--accent-strong);
    margin-bottom: 12px;
    letter-spacing: 0.2em;
}

.booking-card {
    max-width: 820px;
    width: 100%;
    background: rgba(17, 17, 17, 0.7);
    padding: 70px;
    border: 1px solid rgba(245, 243, 239, 0.08);
    border-radius: 20px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.form-label {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    margin-bottom: 12px;
    display: block;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(245, 243, 239, 0.15);
    color: #fff;
    border-radius: 0;
    padding: 14px 0;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.form-control:focus {
    background: transparent;
    box-shadow: none;
    border-color: var(--accent-strong);
    color: #fff;
}

.btn-gold {
    display: inline-block;
    width: 100%;
    padding: 22px;
    border: 1px solid var(--accent-strong);
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.72rem;
    transition: 0.6s var(--ease);
    background: transparent;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--accent-strong);
    color: #0b0b0b;
}

.honor-card {
    padding: 36px;
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(245, 243, 239, 0.08);
    border-radius: 18px;
    height: 100%;
    transition: all 0.5s var(--ease);
}

.honor-card:hover {
    background: rgba(245, 243, 239, 0.04);
    border-color: var(--accent-strong);
    transform: translateY(-5px);
}

/* Global Footer & Social Button Styling */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(188, 111, 241, 0.05);
    border: 1px solid rgba(188, 111, 241, 0.1);
    color: #fff;
    border-radius: 50%;
    margin: 0 15px;
    font-size: 1.4rem;
    transition: all 0.5s var(--ease);
    text-decoration: none !important;
}

.social-icon-btn:hover {
    background: var(--accent-strong);
    color: #000;
    transform: translateY(-10px) rotate(8deg);
    box-shadow: 0 20px 40px rgba(188, 111, 241, 0.3);
}

.footer-cta h2 {
    letter-spacing: 0.1em;
    font-weight: 700;
}

[dir="rtl"] .footer-cta h2 {
    letter-spacing: 0;
}

/* Bento Grid for Mobile (Luxury Collage Style) */
@media (max-width: 768px) {
    .bento-mobile-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 5px;
    }

    /* Repeating pattern: items 1&2 are 50%, item 3 is 100%, etc. */
    .bento-mobile-grid .col-md-4,
    .bento-mobile-grid .col-lg-4 {
        grid-column: span 1;
        width: 100% !important;
    }

    .bento-mobile-grid .col-md-4:nth-child(3n),
    .bento-mobile-grid .col-lg-4:nth-child(3n),
    .bento-mobile-grid .col-12 {
        grid-column: span 2;
        width: 100% !important;
    }

    .bento-mobile-grid .honor-card {
        padding: 35px 20px !important;
        height: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Ensure content starts from the top */
        border-radius: 25px !important;
    }

    .bento-mobile-grid .honor-icon {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }

    .bento-mobile-grid .honor-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        letter-spacing: 0.15em !important;
        line-height: 1.3;
    }

    .bento-mobile-grid .honor-card p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }
}

.honor-icon {
    font-size: 1.4rem;
    color: var(--accent-strong);
    margin-bottom: 20px;
}

.honor-card h3 {
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-display);
}

.honor-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: var(--muted);
}

.parallax-wrap {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.parallax-img {
    height: 130%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: -15%;
    will-change: transform;
    filter: brightness(0.8);
}

.bio-img-wrap {
    height: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.8s var(--ease);
}

.bio-img-wrap:hover {
    transform: scale(1.02);
}

/* Sexy overlay/mask for the bottom of the photo on mobile */
.bio-img-wrap::after {
    display: none;
}

@media (max-width: 992px) {
    .bio-img-wrap {
        height: 650px;
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .bio-img-wrap {
        height: 550px;
        max-width: 100%;
        margin-bottom: 60px;
        border: 1px solid rgba(188, 111, 241, 0.2);
        border-radius: 30px;
        box-shadow: 0 0 60px rgba(137, 44, 220, 0.15);
        overflow: hidden;
    }

    .bio-img-wrap::after {
        display: block;
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 30%);
        pointer-events: none;
        z-index: 2;
        border-radius: 30px;
    }

    .bio-img-wrap .parallax-img {
        object-fit: cover !important;
        object-position: top !important;
        height: 125% !important;
        width: 100% !important;
        left: 0 !important;
    }
}

.protocol-img-wrap {
    height: 800px;
}

@media (max-width: 992px) {

    .protocol-img-wrap,
    .bio-img-wrap {
        height: 600px;
    }
}

@media (max-width: 768px) {

    .protocol-img-wrap,
    .bio-img-wrap {
        height: 450px;
        margin-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .navbar-fixed {
        padding: 22px 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .container-luxury {
        padding: 0 24px;
    }

    .content-section {
        padding: 120px 0;
        min-height: auto;
    }

    .miracle-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .miracle-img {
        height: 320px;
    }

    .work-img {
        height: 320px;
    }

    .booking-card {
        padding: 40px 24px;
    }

    .hero-content-inner {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }

    .hero-portrait-wrap {
        height: 60vh !important;
    }

    .hero-portrait-wrap .parallax-img {
        background-position: center top !important;
        /* Forces mobile portraits to keep Arka's head in frame */
    }

    /* Fixed Hero Images - Keep exactly like desktop */
    .fixed-hero-layer {
        background-position: center center !important;
        background-size: cover !important;
        min-height: 100vh !important;
    }

    /* Make honor cards equal height on mobile */
    .honor-card {
        min-height: 400px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 40px 30px !important;
    }

    .honor-card p {
        flex-grow: 1 !important;
    }

    .big-text {
        font-size: 3.5rem !important;
    }

    .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 20px !important;
        gap: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        direction: ltr !important;
        /* Force Logo Left, Menu Right even in RTL */
    }

    .nav-brand-center,
    .navbar-fixed.scrolled .nav-brand-center {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        pointer-events: auto !important;
        order: 1 !important;
    }

    .brand-text {
        display: none !important;
        /* Hide ARKA text on mobile, just show logo */
    }

    .brand-logo,
    .navbar-fixed.scrolled .brand-logo {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        display: block !important;
        pointer-events: auto !important;
    }

    .brand-logo img {
        height: 42px !important;
        width: auto !important;
        display: block !important;
    }

    .mobile-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 2 !important;
        position: relative !important;
        margin: 0 !important;
        z-index: 100 !important;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 1 !important;
    }

    .hero-content-inner h1 {
        font-size: 3rem !important;
        text-align: center;
    }

    .hero-content-inner span.subtitle {
        text-align: center;
        width: 100%;
        display: block;
    }

    .filter-nav {
        gap: 20px !important;
        margin-bottom: 50px !important;
    }

    .filter-btn {
        font-size: 0.65rem !important;
        letter-spacing: 0.2em !important;
    }

    .gallery-grid {
        column-count: 2 !important;
        column-gap: 15px !important;
        padding-top: 30px;
    }

    /* Staggered Masonry Story - Alternating heights for depth */
    .media-card:nth-child(even) {
        transform: translateY(35px);
        margin-bottom: 50px !important;
    }

    .media-card {
        margin-bottom: 25px !important;
        border-radius: 12px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        /* Deep shadows for pop */
        transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
    }

    .media-overlay {
        padding: 15px !important;
        background: linear-gradient(to top, rgba(18, 6, 26, 0.98) 0%, transparent 60%);
    }

    .media-title {
        font-size: 0.85rem !important;
        letter-spacing: 0.02em !important;
        line-height: 1.2;
    }

    .media-tag {
        font-size: 0.5rem !important;
        margin-bottom: 4px !important;
    }

    /* Ticker overrides moved to end of file for priority */

    .brand-ticker::before,
    .brand-ticker::after {
        width: 80px;
        /* Reduced to prevent overlap on small screens */
        display: none !important;
        /* Completely remove the black boxes/gradients on mobile */
    }

    .impact-number {
        font-size: 2.5rem !important;
    }

    .impact-label {
        font-size: 0.65rem !important;
        letter-spacing: 0.2em !important;
    }

    /* Mobile Menu z-index fix */
    .mobile-menu {
        z-index: 9999 !important;
    }

    .navbar-fixed {
        z-index: 9998 !important;
    }

    /* Keep navbar same in RTL - logo left, menu right */
    [dir="rtl"] .navbar-fixed,
    [dir="rtl"] .nav-container {
        direction: ltr !important;
    }

    .brand-ticker::before,
    .brand-ticker::after {
        display: none !important;
        /* Aggressive removal of black overlaps */
    }

    .section-title {
        text-align: center !important;
        margin-bottom: 60px !important;
    }

    .content-section {
        padding: 60px 0;
        min-height: auto;
    }

    .row.align-items-center {
        flex-direction: column;
    }

    .col-lg-6 {
        width: 100%;
    }

    .premium-form-card {
        padding: 30px 20px;
    }

    /* Extra small device fixes */
    .big-text {
        font-size: 2.2rem !important;
    }

    .subtitle {
        letter-spacing: 0.3em !important;
        font-size: 0.8rem !important;
    }

    .hero-divider {
        margin-bottom: 40px !important;
    }

    /* Fix for text readability on full background sections */
    .responsive-bg-blur {
        filter: blur(5px) brightness(0.6);
        transform: scale(1.05);
        /* Prevent white edges from blur */
    }
}

/* Logo Ticker Slider */
.brand-ticker {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: transparent;
    position: relative;
    direction: ltr !important;
    /* Fix for Arabic/RTL animation swap */
}

.brand-ticker::before,
.brand-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-ticker::before {
    left: 0;
    background: linear-gradient(to right, #000 0%, transparent 100%);
}

.brand-ticker::after {
    right: 0;
    background: linear-gradient(to left, #000 0%, transparent 100%);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-ticker 40s linear infinite;
    direction: ltr !important;
    justify-content: flex-start !important;
}

.ticker-item {
    padding: 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.ticker-item:hover {
    color: var(--accent-strong);
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .who-is-arka-content {
        padding: 60px 24px !important;
        text-align: center !important;
    }

    .who-is-arka-content .hero-divider {
        margin: 0 auto 40px !important;
    }

    .new-chapter-content {
        text-align: center !important;
    }

    .new-chapter-content .btn-container {
        display: flex;
        justify-content: center;
    }

    /* Keep Sheikh visible on mobile - Specific for booking page */
    .booking-hero-mobile {
        background-position: 65% center !important;
    }
}

/* Mobile Ticker Overrides - Placed at end for CSS priority */
@media (max-width: 768px) {
    .ticker-track {
        animation-duration: 25s;
        /* Faster scroll on small screens */
    }

    .ticker-item {
        padding: 0 12px !important;
        /* Extremely tight spacing */
    }

    .ticker-item img {
        height: 40px !important;
    }

    .ticker-item img[style*="height: 180px"],
    .ticker-item img[style*="height: 110px"] {
        height: 60px !important;
    }
}

/* uShift Made By Section */
.ushift-made-by {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.5s var(--ease);
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
}

.ushift-made-by:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.ushift-made-by span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.4);
}

.ushift-made-by .team-name {
    color: var(--accent-strong);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 30, 129, 0.5);
}

/* uShift Modal Styles */
.ushift-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s var(--ease);
}

.ushift-modal.active {
    opacity: 1;
    pointer-events: all;
}

.ushift-modal-content {
    background: rgba(18, 6, 26, 0.8);
    padding: 60px 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 30, 129, 0.2);
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.9);
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.85) translateY(60px);
    transition: all 0.8s var(--ease);
    position: relative;
}

.ushift-modal.active .ushift-modal-content {
    transform: scale(1) translateY(0);
}

.ushift-modal-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.ushift-modal-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.3em;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.ushift-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ushift-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--bone);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.5s var(--ease);
    text-decoration: none !important;
}

.ushift-link-item:hover {
    background: rgba(255, 30, 129, 0.15);
    border-color: var(--accent-strong);
    color: var(--accent-strong);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 30, 129, 0.2);
}

.ushift-link-item i {
    font-size: 1.4rem;
}

.ushift-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.5s var(--ease);
    z-index: 10;
}

.ushift-close:hover {
    color: var(--accent-strong);
    transform: rotate(90deg);
}

/* Modal Direction Logic */
[dir="rtl"] .ushift-link-item {
    flex-direction: row-reverse;
}