/* ============================================
   QAF United Express Service — Dubai Sunset Edition
   Premium 3D Website with Cinematic Cover-Flow Hero
   ============================================ */

:root {
    /* === Brand Colors — Inspired by Dubai Marina at sunset === */
    --brand-gold: #f5b04a;            /* warm sunset gold (QAF building lights) */
    --brand-gold-light: #fcd34d;      /* bright amber highlight */
    --brand-amber: #f59e0b;           /* deep amber */
    --brand-amber-soft: #fbbf24;
    --brand-sunset: #f97316;          /* sunset orange */
    --brand-rose: #e08a6e;            /* dusty rose in the sky */

    /* Cool tones from the water / glass towers */
    --brand-navy: #0a1a3a;            /* deep night sky */
    --brand-navy-mid: #122449;        /* mid-twilight */
    --brand-navy-soft: #1e3a5f;       /* soft navy */
    --brand-deep-blue: #0c2461;       /* deep blue water */
    --brand-teal: #0e7490;            /* marina teal */
    --brand-cyan: #38bdf8;            /* glass reflection cyan */

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f4f7ff;
    --cream: #fff8ec;

    /* Gradients */
    --grad-gold: linear-gradient(135deg, #f5b04a 0%, #f97316 50%, #e08a6e 100%);
    --grad-amber: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --grad-sunset: linear-gradient(180deg, rgba(245, 176, 74, 0.9) 0%, rgba(249, 115, 22, 0.7) 50%, rgba(224, 138, 110, 0.5) 100%);
    --grad-dawn: linear-gradient(180deg, #0a1a3a 0%, #1e3a5f 40%, #f5b04a 85%, #fcd34d 100%);
    --grad-night: linear-gradient(180deg, #050b1f 0%, #0a1a3a 100%);
    --grad-navy: linear-gradient(180deg, rgba(10, 26, 58, 0.92) 0%, rgba(18, 36, 73, 0.85) 50%, rgba(30, 58, 95, 0.78) 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(245, 176, 74, 0.03) 100%);
    --grad-glass-gold: linear-gradient(135deg, rgba(245, 176, 74, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 26, 58, 0.2);
    --shadow-md: 0 8px 24px rgba(10, 26, 58, 0.3);
    --shadow-lg: 0 20px 60px rgba(10, 26, 58, 0.5);
    --shadow-xl: 0 30px 90px rgba(10, 26, 58, 0.6);
    --shadow-gold: 0 20px 60px rgba(245, 176, 74, 0.35);
    --shadow-glow: 0 0 80px rgba(245, 176, 74, 0.4);
    --shadow-cyan: 0 20px 60px rgba(56, 189, 248, 0.25);

    /* Layout */
    --container-max: 1280px;
    --section-pad: 120px 0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --t-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --t-spring: 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-3d: 0.9s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: var(--brand-navy);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body[dir="rtl"] {
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   Cinematic Dubai Background
   ============================================ */
.bg-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #050b1f;
}

.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    /* slow Ken-Burns drift */
    animation: kenBurns 30s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0%   { transform: scale(1)    translate(0, 0); }
    100% { transform: scale(1.12) translate(-2%, -1%); }
}

/* dark overlay so text stays readable */
.bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(5, 11, 31, 0.85) 0%,
            rgba(10, 26, 58, 0.7) 35%,
            rgba(18, 36, 73, 0.55) 60%,
            rgba(30, 58, 95, 0.75) 100%);
}

.bg-overlay-warm {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(245, 176, 74, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 40%, rgba(249, 115, 22, 0.12) 0%, transparent 50%);
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(5, 11, 31, 0.7) 100%);
}

/* Subtle floating dust / light particles layer (no canvas) */
.bg-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 220, 160, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 240, 200, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 70%, rgba(245, 176, 74, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 10%, rgba(252, 211, 77, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 60%, rgba(56, 189, 248, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 90%, rgba(245, 176, 74, 0.5) 0%, transparent 100%);
    background-size: 400px 400px;
    animation: drift 60s linear infinite;
    opacity: 0.6;
}

@keyframes drift {
    0%   { background-position: 0 0; }
    100% { background-position: 400px 400px; }
}

/* Reusable grid overlay (subtle tech feel) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 176, 74, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 176, 74, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--t-base);
    backdrop-filter: blur(0);
}

.navbar.scrolled {
    background: rgba(5, 11, 31, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 176, 74, 0.18);
    padding: 14px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: transform var(--t-base);
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(245, 176, 74, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform var(--t-slow);
}

.nav-logo:hover .logo-mark::before {
    transform: translateX(100%);
}

.logo-symbol {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 0.5px;
}

body[dir="rtl"] .logo-name {
    font-family: 'Tajawal', sans-serif;
}

.logo-tagline {
    font-size: 11px;
    color: rgba(245, 176, 74, 0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

body[dir="rtl"] .logo-tagline {
    letter-spacing: 0;
    text-transform: none;
    font-size: 12px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    position: relative;
    transition: all var(--t-base);
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--grad-gold);
    border-radius: 2px;
    transition: transform var(--t-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-gold-light);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(245, 176, 74, 0.08);
    border: 1px solid rgba(245, 176, 74, 0.25);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all var(--t-base);
    cursor: pointer;
}

.lang-switch:hover {
    background: rgba(245, 176, 74, 0.2);
    border-color: rgba(245, 176, 74, 0.55);
    transform: translateY(-1px);
}

.lang-active {
    color: var(--brand-gold-light);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.lang-other {
    color: rgba(255, 255, 255, 0.5);
}

.lang-switch:hover .lang-other {
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--t-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Section Base
   ============================================ */
.section {
    padding: var(--section-pad);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--brand-gold-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 18px;
    background: rgba(245, 176, 74, 0.12);
    border: 1px solid rgba(245, 176, 74, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

body[dir="rtl"] .section-eyebrow {
    letter-spacing: 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

body[dir="rtl"] .section-title {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--grad-gold);
    margin: 0 auto;
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 20px rgba(245, 176, 74, 0.6);
}

.section-line::before,
.section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--brand-gold);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 15px rgba(245, 176, 74, 0.7);
}

.section-line::before {
    left: -20px;
}

.section-line::after {
    right: -20px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Glass Card
   ============================================ */
.glass-card {
    background: linear-gradient(135deg, rgba(10, 26, 58, 0.55) 0%, rgba(18, 36, 73, 0.35) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(245, 176, 74, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all var(--t-slow);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 176, 74, 0.6), transparent);
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(245, 176, 74, 0.18) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--t-base);
    pointer-events: none;
}

.glass-card:hover {
    border-color: rgba(245, 176, 74, 0.4);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(245, 176, 74, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.glass-card:hover::after {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 176, 74, 0.18) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--t-slow);
    pointer-events: none;
}

.glass-card:hover .card-glow {
    opacity: 1;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--t-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

body[dir="rtl"] .btn {
    letter-spacing: 0;
    text-transform: none;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--t-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

body[dir="rtl"] .btn:hover svg {
    transform: translateX(-4px);
}

.btn-primary {
    background: var(--grad-gold);
    color: #1a0f04;
    box-shadow: 0 10px 30px rgba(245, 176, 74, 0.45);
    font-weight: 700;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left var(--t-slow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(245, 176, 74, 0.65);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1px solid rgba(245, 176, 74, 0.35);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(245, 176, 74, 0.12);
    border-color: rgba(245, 176, 74, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 176, 74, 0.25);
}

/* ============================================
   === HERO — 3D COVER-FLOW SLIDE ===
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 32px 80px;
    overflow: hidden;
    perspective: 1800px;
}

/* Cinematic light beams over the image */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(252, 211, 77, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   3D Cover-Flow Carousel
   ============================================ */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 620px;
    margin: 0 auto;
    perspective: 1800px;
    z-index: 3;
}

.carousel-stage {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform var(--t-3d);
}

.carousel-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 720px;
    max-width: 90vw;
    min-height: 520px;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    transition:
        transform 0.9s cubic-bezier(0.65, 0.05, 0.36, 1),
        opacity 0.9s cubic-bezier(0.65, 0.05, 0.36, 1),
        filter 0.9s cubic-bezier(0.65, 0.05, 0.36, 1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    will-change: transform, opacity;
    background: linear-gradient(135deg, rgba(10, 26, 58, 0.7) 0%, rgba(18, 36, 73, 0.5) 100%);
    border: 1px solid rgba(245, 176, 74, 0.18);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(245, 176, 74, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 60px 50px;
    color: var(--white);
    text-align: center;
}

/* position offsets for the three slides */
.carousel-slide:nth-child(1) { transform: translate(-50%, -50%) translateX(0)     translateZ(0)     rotateY(0deg);    opacity: 1; filter: none; z-index: 3; }
.carousel-slide:nth-child(2) { transform: translate(-50%, -50%) translateX(-460px) translateZ(-260px) rotateY(38deg);  opacity: 0.55; filter: brightness(0.7) blur(1px); z-index: 2; }
.carousel-slide:nth-child(3) { transform: translate(-50%, -50%) translateX(460px)  translateZ(-260px) rotateY(-38deg); opacity: 0.55; filter: brightness(0.7) blur(1px); z-index: 2; }

/* state when active is slide 2 */
.carousel.is-active-2 .carousel-slide:nth-child(1) { transform: translate(-50%, -50%) translateX(460px)  translateZ(-260px) rotateY(-38deg); opacity: 0.55; filter: brightness(0.7) blur(1px); z-index: 2; }
.carousel.is-active-2 .carousel-slide:nth-child(2) { transform: translate(-50%, -50%) translateX(0)     translateZ(0)     rotateY(0deg);    opacity: 1; filter: none; z-index: 3; }
.carousel.is-active-2 .carousel-slide:nth-child(3) { transform: translate(-50%, -50%) translateX(-460px) translateZ(-260px) rotateY(38deg);  opacity: 0.4;  filter: brightness(0.6) blur(2px); z-index: 1; }

/* state when active is slide 3 */
.carousel.is-active-3 .carousel-slide:nth-child(1) { transform: translate(-50%, -50%) translateX(-460px) translateZ(-260px) rotateY(38deg);  opacity: 0.4;  filter: brightness(0.6) blur(2px); z-index: 1; }
.carousel.is-active-3 .carousel-slide:nth-child(2) { transform: translate(-50%, -50%) translateX(460px)  translateZ(-260px) rotateY(-38deg); opacity: 0.55; filter: brightness(0.7) blur(1px); z-index: 2; }
.carousel.is-active-3 .carousel-slide:nth-child(3) { transform: translate(-50%, -50%) translateX(0)     translateZ(0)     rotateY(0deg);    opacity: 1; filter: none; z-index: 3; }

.slide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.slide-eyebrow {
    display: inline-block;
    color: var(--brand-gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(245, 176, 74, 0.1);
    border: 1px solid rgba(245, 176, 74, 0.35);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 8px;
}

body[dir="rtl"] .slide-eyebrow {
    letter-spacing: 0;
    text-transform: none;
    font-size: 13px;
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -1px;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
    transform: translateZ(40px);
}

body[dir="rtl"] .slide-title {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

.slide-title .accent {
    display: block;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(245, 176, 74, 0.55));
}

.slide-divider {
    width: 80px;
    height: 2px;
    background: var(--grad-gold);
    margin: 6px 0 8px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(245, 176, 74, 0.6);
}

.slide-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 16px;
    transform: translateZ(20px);
}

.slide-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
    transform: translateZ(60px);
}

/* small floating tags inside the active slide */
.slide-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
    transform: translateZ(30px);
}

.slide-tag {
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(245, 176, 74, 0.1);
    border: 1px solid rgba(245, 176, 74, 0.3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-gold-light);
}

body[dir="rtl"] .slide-tag {
    letter-spacing: 0;
    text-transform: none;
}

/* Corner glow on the active slide */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 176, 74, 0.9), transparent);
}

.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 176, 74, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Carousel controls */
.carousel-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 22px;
    z-index: 4;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 26, 58, 0.7);
    border: 1px solid rgba(245, 176, 74, 0.4);
    backdrop-filter: blur(20px);
    color: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t-base);
}

.carousel-btn:hover {
    background: var(--grad-gold);
    color: #1a0f04;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(245, 176, 74, 0.5);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

body[dir="rtl"] .carousel-btn svg {
    transform: scaleX(-1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 176, 74, 0.25);
    border: 1px solid rgba(245, 176, 74, 0.4);
    cursor: pointer;
    transition: all var(--t-base);
}

.carousel-dot.active {
    background: var(--grad-gold);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(245, 176, 74, 0.7);
}

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 4;
}

body[dir="rtl"] .hero-scroll {
    letter-spacing: 0;
    text-transform: none;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--brand-gold-light), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: var(--brand-gold-light);
    animation: scrollDown 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(245, 176, 74, 0.8);
}

@keyframes scrollDown {
    0%   { transform: translateY(-16px); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translateY(40px);  opacity: 0; }
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 28px;
    align-items: stretch;
}

.about-content {
    color: rgba(255, 255, 255, 0.9);
}

.about-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
}

body[dir="rtl"] .about-subtitle {
    font-family: 'Tajawal', sans-serif;
}

.about-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 15.5px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 28px 20px;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
    filter: drop-shadow(0 0 20px rgba(245, 176, 74, 0.3));
}

body[dir="rtl"] .stat-num {
    font-family: 'Tajawal', sans-serif;
}

.stat-suffix {
    font-size: 22px;
    color: var(--brand-gold-light);
    -webkit-text-fill-color: var(--brand-gold-light);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 12px;
}

body[dir="rtl"] .stat-label {
    letter-spacing: 0;
    text-transform: none;
    font-size: 14px;
}

/* ============================================
   Leadership Section
   ============================================ */
.leadership-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.leader-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px;
    align-items: center;
    padding: 50px;
    color: rgba(255, 255, 255, 0.9);
}

body[dir="rtl"] .leader-card {
    grid-template-columns: 1fr 360px;
}

body[dir="rtl"] .leader-photo-frame {
    order: 2;
}

body[dir="rtl"] .leader-info {
    order: 1;
}

.leader-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 360px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-ring {
    position: absolute;
    inset: -20px;
    border: 2px solid transparent;
    border-top-color: var(--brand-gold);
    border-right-color: var(--brand-gold-light);
    border-radius: 50%;
    animation: spin 8s linear infinite;
    filter: drop-shadow(0 0 10px rgba(245, 176, 74, 0.4));
}

.leader-photo-frame::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(245, 176, 74, 0.3);
    border-radius: 50%;
    animation: spin 12s linear infinite reverse;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.leader-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 176, 74, 0.18) 0%, rgba(56, 189, 248, 0.08) 100%);
    border: 2px solid rgba(245, 176, 74, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(245, 176, 74, 0.25), inset 0 0 60px rgba(245, 176, 74, 0.12);
}

.leader-photo-placeholder::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(245, 176, 74, 0.35) 25%, transparent 50%);
    animation: spin 6s linear infinite;
    opacity: 0.4;
}

.leader-photo-placeholder svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.leader-photo-placeholder span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

body[dir="rtl"] .leader-photo-placeholder span {
    letter-spacing: 0;
    text-transform: none;
}

.leader-quote-mark {
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    color: var(--brand-gold);
    opacity: 0.4;
    line-height: 1;
}

body[dir="rtl"] .leader-quote-mark {
    left: auto;
    right: -10px;
}

.leader-quote {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--brand-gold-light);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.6;
}

body[dir="rtl"] .leader-quote {
    font-family: 'Tajawal', sans-serif;
    font-style: normal;
}

.leader-message {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 15.5px;
    margin-bottom: 24px;
}

.leader-divider {
    width: 60px;
    height: 2px;
    background: var(--grad-gold);
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(245, 176, 74, 0.6);
}

.leader-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 700;
}

body[dir="rtl"] .leader-name {
    font-family: 'Tajawal', sans-serif;
}

.leader-role {
    color: var(--brand-gold-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body[dir="rtl"] .leader-role {
    letter-spacing: 0;
    text-transform: none;
}

/* ============================================
   Vision & Mission
   ============================================ */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vm-card {
    color: rgba(255, 255, 255, 0.9);
    padding: 50px 40px;
    position: relative;
}

.vm-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 800;
    color: rgba(245, 176, 74, 0.18);
    line-height: 1;
}

body[dir="rtl"] .vm-number {
    right: auto;
    left: 30px;
}

.vm-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(245, 176, 74, 0.45);
    position: relative;
    z-index: 1;
}

.vm-icon svg {
    width: 30px;
    height: 30px;
    color: #1a0f04;
}

.vm-eyebrow {
    display: inline-block;
    color: var(--brand-gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

body[dir="rtl"] .vm-eyebrow {
    letter-spacing: 0;
    text-transform: none;
}

.vm-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

body[dir="rtl"] .vm-card h3 {
    font-family: 'Tajawal', sans-serif;
}

.vm-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 15.5px;
}

/* ============================================
   Competitive Edge
   ============================================ */
.edge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.edge-card {
    color: rgba(255, 255, 255, 0.9);
    padding: 36px 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.edge-wide {
    grid-column: span 2;
}

.edge-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: var(--brand-gold-light);
    font-weight: 700;
    letter-spacing: 2px;
}

body[dir="rtl"] .edge-num {
    right: auto;
    left: 28px;
}

.edge-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 176, 74, 0.2) 0%, rgba(56, 189, 248, 0.1) 100%);
    border: 1px solid rgba(245, 176, 74, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--t-base);
}

.edge-icon svg {
    width: 26px;
    height: 26px;
    color: var(--brand-gold-light);
}

.edge-card:hover .edge-icon {
    background: var(--grad-gold);
    border-color: transparent;
    transform: scale(1.05) rotate(-5deg);
}

.edge-card:hover .edge-icon svg {
    color: #1a0f04;
}

.edge-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 14px;
    font-weight: 700;
}

body[dir="rtl"] .edge-card h3 {
    font-family: 'Tajawal', sans-serif;
}

.edge-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    color: rgba(255, 255, 255, 0.9);
    padding: 40px 32px;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.service-num {
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    color: rgba(245, 176, 74, 0.15);
    line-height: 1;
    transition: all var(--t-slow);
}

body[dir="rtl"] .service-num {
    right: auto;
    left: 28px;
}

.service-card:hover .service-num {
    color: rgba(245, 176, 74, 0.32);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(245, 176, 74, 0.18) 0%, rgba(56, 189, 248, 0.06) 100%);
    border: 1px solid rgba(245, 176, 74, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all var(--t-base);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--brand-gold-light);
    transition: color var(--t-base);
}

.service-card:hover .service-icon {
    background: var(--grad-gold);
    border-color: transparent;
    transform: translateY(-4px) rotateY(15deg);
    box-shadow: 0 15px 30px rgba(245, 176, 74, 0.5);
}

.service-card:hover .service-icon svg {
    color: #1a0f04;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}

body[dir="rtl"] .service-card h3 {
    font-family: 'Tajawal', sans-serif;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 15px;
    flex-grow: 1;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--brand-gold-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--t-base);
}

body[dir="rtl"] .service-link {
    letter-spacing: 0;
    text-transform: none;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-base);
}

body[dir="rtl"] .service-link svg {
    transform: scaleX(-1);
}

.service-card:hover .service-link {
    color: var(--white);
}

.service-card:hover .service-link svg {
    transform: translateX(6px);
}

body[dir="rtl"] .service-card:hover .service-link svg {
    transform: scaleX(-1) translateX(6px);
}

/* ============================================
   Why Choose QAF
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    color: rgba(255, 255, 255, 0.9);
    padding: 36px 28px;
    text-align: center;
    position: relative;
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 15px 35px rgba(245, 176, 74, 0.5);
    position: relative;
    transition: all var(--t-base);
}

.why-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(245, 176, 74, 0.35);
    border-radius: 24px;
    opacity: 0;
    transition: all var(--t-base);
}

.why-card:hover .why-icon {
    transform: translateY(-8px) rotate(360deg);
}

.why-card:hover .why-icon::before {
    opacity: 1;
    transform: scale(1.1);
}

.why-icon svg {
    width: 32px;
    height: 32px;
    color: #1a0f04;
}

.why-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 14px;
    font-weight: 700;
}

body[dir="rtl"] .why-card h3 {
    font-family: 'Tajawal', sans-serif;
}

.why-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-size: 14.5px;
}

/* ============================================
   Core Values
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    color: var(--white);
    position: relative;
    transition: all var(--t-slow);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-orb {
    width: 120px;
    height: 120px;
    margin: 0 auto 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-core {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-gold);
    box-shadow: 0 0 50px rgba(245, 176, 74, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
    animation: orbPulse 3s ease-in-out infinite;
}

.orb-core::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 25%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(6px);
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(245, 176, 74, 0.4);
    transform: translate(-50%, -50%);
}

.orb-ring-1 {
    width: 90px;
    height: 90px;
    animation: ringRotate 8s linear infinite;
}

.orb-ring-2 {
    width: 110px;
    height: 110px;
    border-style: dashed;
    border-color: rgba(56, 189, 248, 0.35);
    animation: ringRotate 12s linear infinite reverse;
}

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

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
}

body[dir="rtl"] .value-card h3 {
    font-family: 'Tajawal', sans-serif;
}

.value-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-size: 14px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    padding: 50px;
    color: var(--white);
    text-align: center;
    position: relative;
}

.contact-brand {
    margin-bottom: 40px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 24px;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(245, 176, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

.brand-logo::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(245, 176, 74, 0.4);
    border-radius: 28px;
    animation: spin 10s linear infinite;
}

.contact-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--white);
    font-weight: 700;
}

body[dir="rtl"] .contact-brand h3 {
    font-family: 'Tajawal', sans-serif;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: start;
    padding: 20px;
    background: rgba(245, 176, 74, 0.05);
    border: 1px solid rgba(245, 176, 74, 0.12);
    border-radius: 16px;
    transition: all var(--t-base);
}

.info-item:hover {
    background: rgba(245, 176, 74, 0.12);
    border-color: rgba(245, 176, 74, 0.4);
    transform: translateX(8px);
}

body[dir="rtl"] .info-item:hover {
    transform: translateX(-8px);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(245, 176, 74, 0.5);
}

.info-icon svg {
    width: 22px;
    height: 22px;
    color: #1a0f04;
}

.info-content {
    flex: 1;
}

.info-label {
    display: block;
    color: var(--brand-gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

body[dir="rtl"] .info-label {
    letter-spacing: 0;
    text-transform: none;
}

.info-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15.5px;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--t-base);
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body[dir="rtl"] .contact-btn {
    letter-spacing: 0;
    text-transform: none;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.contact-btn-email {
    background: var(--grad-gold);
    box-shadow: 0 10px 30px rgba(245, 176, 74, 0.5);
    color: #1a0f04;
    font-weight: 700;
}

.contact-btn-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(245, 176, 74, 0.7);
}

.contact-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.contact-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.6);
}

/* ============================================
   Service Detail Pages
   ============================================ */
.service-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 160px 32px 100px;
    text-align: center;
    overflow: hidden;
    perspective: 1400px;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(252, 211, 77, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: heroFadeIn 0.9s ease-out;
}

.service-hero .eyebrow {
    display: inline-block;
    color: var(--brand-gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(245, 176, 74, 0.1);
    border: 1px solid rgba(245, 176, 74, 0.35);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

body[dir="rtl"] .service-hero .eyebrow {
    letter-spacing: 0;
    text-transform: none;
    font-size: 13px;
}

.service-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
}

body[dir="rtl"] .service-hero h1 {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

.service-hero h1 .accent {
    display: block;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(245, 176, 74, 0.55));
}

.service-hero p.lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 32px;
}

.service-hero .hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Generic content section used by all detail pages */
.svc-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.svc-section + .svc-section {
    padding-top: 0;
}

.svc-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.svc-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

body[dir="rtl"] .svc-section-header h2 {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

.svc-section-header .svc-line {
    width: 60px;
    height: 3px;
    background: var(--grad-gold);
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(245, 176, 74, 0.6);
    position: relative;
}

.svc-section-header .svc-line::before,
.svc-section-header .svc-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    background: var(--brand-gold);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 12px rgba(245, 176, 74, 0.7);
}

.svc-section-header .svc-line::before { left: -18px; }
.svc-section-header .svc-line::after  { right: -18px; }

/* Overview paragraph */
.svc-overview {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

/* Offer grid (What We Offer) */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}

.offer-card {
    color: rgba(255, 255, 255, 0.9);
    padding: 30px 26px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.offer-card .offer-num {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand-gold-light);
    margin-bottom: 14px;
}

.offer-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

body[dir="rtl"] .offer-card h3 {
    font-family: 'Tajawal', sans-serif;
}

.offer-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-size: 14.5px;
    flex-grow: 1;
}

.offer-card .offer-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 176, 74, 0.18) 0%, rgba(56, 189, 248, 0.06) 100%);
    border: 1px solid rgba(245, 176, 74, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all var(--t-base);
}

.offer-card .offer-icon svg {
    width: 22px;
    height: 22px;
    color: var(--brand-gold-light);
}

.offer-card:hover .offer-icon {
    background: var(--grad-gold);
    border-color: transparent;
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 10px 24px rgba(245, 176, 74, 0.45);
}

.offer-card:hover .offer-icon svg {
    color: #1a0f04;
}

/* Type chips (Property Types / Who We Serve) */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.chip-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(10, 26, 58, 0.55) 0%, rgba(18, 36, 73, 0.35) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 176, 74, 0.3);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all var(--t-base);
}

.chip-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad-gold);
    box-shadow: 0 0 10px rgba(245, 176, 74, 0.7);
    flex-shrink: 0;
}

.chip-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 176, 74, 0.6);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(245, 176, 74, 0.2);
}

body[dir="rtl"] .chip-pill {
    letter-spacing: 0;
}

/* Process / numbered steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.process-step {
    color: rgba(255, 255, 255, 0.9);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.process-step .step-num {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand-gold-light);
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(245, 176, 74, 0.1);
    border: 1px solid rgba(245, 176, 74, 0.3);
}

.process-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
}

body[dir="rtl"] .process-step h3 {
    font-family: 'Tajawal', sans-serif;
}

.process-step p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-size: 14px;
}

body[dir="rtl"] .process-step .step-num {
    letter-spacing: 0;
}

/* Why-choose-us grid (used by some pages) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.feature-card {
    text-align: center;
    padding: 26px 20px;
    color: var(--white);
}

.feature-card .feature-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 10px 24px rgba(245, 176, 74, 0.5);
    color: #1a0f04;
    font-size: 18px;
    font-weight: 800;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--white);
    font-weight: 700;
    line-height: 1.4;
}

body[dir="rtl"] .feature-card h3 {
    font-family: 'Tajawal', sans-serif;
}

/* Disclaimer box */
.disclaimer-box {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 22px 26px;
    background: rgba(245, 176, 74, 0.06);
    border: 1px solid rgba(245, 176, 74, 0.25);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

/* Shared final CTA at the bottom of every detail page */
.final-cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg,
        rgba(5, 11, 31, 0.0) 0%,
        rgba(5, 11, 31, 0.65) 50%,
        rgba(5, 11, 31, 0.85) 100%);
}

.final-cta-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(10, 26, 58, 0.6) 0%, rgba(18, 36, 73, 0.4) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(245, 176, 74, 0.25);
    border-radius: var(--radius-xl);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(245, 176, 74, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 176, 74, 0.9), transparent);
}

.final-cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245, 176, 74, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

body[dir="rtl"] .final-cta-card h2 {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

.final-cta-card h2 .accent {
    display: block;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(245, 176, 74, 0.55));
    margin-top: 4px;
}

.final-cta-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

.final-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Why-maintenance features (with icons) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.feature-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 32px 24px;
    text-align: center;
}

.feature-item .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 176, 74, 0.18) 0%, rgba(56, 189, 248, 0.06) 100%);
    border: 1px solid rgba(245, 176, 74, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all var(--t-base);
}

.feature-item .feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--brand-gold-light);
}

.feature-item:hover .feature-icon {
    background: var(--grad-gold);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(245, 176, 74, 0.45);
}

.feature-item:hover .feature-icon svg {
    color: #1a0f04;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

body[dir="rtl"] .feature-item h3 {
    font-family: 'Tajawal', sans-serif;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-size: 14px;
}

/* Service-detail responsive */
@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 130px 20px 60px;
        min-height: 60vh;
    }
    .svc-section {
        padding: 60px 0;
    }
    .offer-grid,
    .process-grid,
    .feature-list,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .final-cta {
        padding: 70px 0;
    }
    .final-cta-card {
        padding: 40px 24px;
    }
    .hero-cta,
    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta .btn,
    .final-cta-actions .btn {
        justify-content: center;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 50px 0;
    background: linear-gradient(180deg, rgba(5, 11, 31, 0.7) 0%, rgba(5, 11, 31, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(245, 176, 74, 0.2);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--white);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 4px;
}

body[dir="rtl"] .footer-name {
    font-family: 'Tajawal', sans-serif;
}

.footer-tag {
    color: rgba(245, 176, 74, 0.75);
    font-size: 12px;
    font-style: italic;
}

body[dir="rtl"] .footer-tag {
    font-style: normal;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-pad: 90px 0;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats {
        grid-column: span 2;
        grid-template-columns: repeat(4, 1fr);
    }

    .edge-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edge-wide {
        grid-column: span 2;
    }

    .why-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leader-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    body[dir="rtl"] .leader-card {
        grid-template-columns: 1fr;
    }

    body[dir="rtl"] .leader-photo-frame {
        order: 1;
    }

    body[dir="rtl"] .leader-info {
        order: 2;
    }

    .leader-quote-mark {
        left: 50%;
        transform: translateX(-50%);
    }

    body[dir="rtl"] .leader-quote-mark {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .leader-divider {
        margin: 0 auto 20px;
    }

    .carousel {
        height: 600px;
    }

    .carousel-slide {
        width: 620px;
        padding: 50px 40px;
    }

    .carousel-slide:nth-child(2) { transform: translate(-50%, -50%) translateX(-380px) translateZ(-220px) rotateY(34deg); }
    .carousel-slide:nth-child(3) { transform: translate(-50%, -50%) translateX(380px)  translateZ(-220px) rotateY(-34deg); }

    .carousel.is-active-2 .carousel-slide:nth-child(1) { transform: translate(-50%, -50%) translateX(380px)  translateZ(-220px) rotateY(-34deg); }
    .carousel.is-active-2 .carousel-slide:nth-child(3) { transform: translate(-50%, -50%) translateX(-380px) translateZ(-220px) rotateY(34deg); }

    .carousel.is-active-3 .carousel-slide:nth-child(1) { transform: translate(-50%, -50%) translateX(-380px) translateZ(-220px) rotateY(34deg); }
    .carousel.is-active-3 .carousel-slide:nth-child(2) { transform: translate(-50%, -50%) translateX(380px)  translateZ(-220px) rotateY(-34deg); }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 70px 0;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(5, 11, 31, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--t-base);
        border-top: 1px solid rgba(245, 176, 74, 0.2);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    body[dir="rtl"] .nav-menu {
        transform: translateX(-100%);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 20px 100px;
    }

    .carousel {
        height: 580px;
    }

    .carousel-slide {
        width: 92vw;
        padding: 40px 28px;
        min-height: 480px;
    }

    /* simplify cover-flow on mobile — stack with fade */
    .carousel-slide:nth-child(1),
    .carousel-slide:nth-child(2),
    .carousel-slide:nth-child(3),
    .carousel.is-active-2 .carousel-slide:nth-child(1),
    .carousel.is-active-2 .carousel-slide:nth-child(2),
    .carousel.is-active-2 .carousel-slide:nth-child(3),
    .carousel.is-active-3 .carousel-slide:nth-child(1),
    .carousel.is-active-3 .carousel-slide:nth-child(2),
    .carousel.is-active-3 .carousel-slide:nth-child(3) {
        transform: translate(-50%, -50%) translateX(0) rotateY(0deg) translateZ(0);
    }

    .carousel-slide { opacity: 0; pointer-events: none; filter: none; }
    .carousel-slide.is-current { opacity: 1; pointer-events: auto; z-index: 3; }

    .hero-cta,
    .slide-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .about-grid,
    .vm-grid,
    .edge-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-column: 1;
        grid-template-columns: repeat(2, 1fr);
    }

    .edge-wide {
        grid-column: 1;
    }

    .why-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .leader-card {
        padding: 32px 24px;
    }

    .leader-photo-frame {
        max-width: 260px;
    }

    .glass-card {
        padding: 28px 22px;
    }

    .vm-card {
        padding: 36px 28px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        justify-content: center;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title,
    .slide-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .vm-card h3,
    .leader-name {
        font-size: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-num {
        font-size: 36px;
    }
}

/* ============================================
   Selection
   ============================================ */
::selection {
    background: var(--brand-gold);
    color: #1a0f04;
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050b1f;
}

::-webkit-scrollbar-thumb {
    background: var(--grad-gold);
    border-radius: 5px;
    border: 2px solid #050b1f;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold-light);
}
