/* ════════════════════════════════════════════
   İBRAHİM ALSHARİDAH — styles.css
   Faithful Figma recreation
   Palette:
     Beige BG      : #F0EDE6 / #F5F2EB
     Warm White    : #FAFAF8
     Tan / Gold    : #8B7355 / #9C8560 / #C9A84C
     Charcoal text : #1A1A1A / #2C2C2C
     Mid gray text : #6B6461
     Olive footer  : #5C533A / #4A4231
     Dark section  : #2C2820
════════════════════════════════════════════ */


@font-face { font-family:'Tajawal'; font-style:normal; font-weight:300; font-display:swap;
  src:url('fonts/tajawal/tajawal-300-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:300; font-display:swap;
  src:url('fonts/tajawal/tajawal-300-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family:'Tajawal'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/tajawal/tajawal-400-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:400; font-display:swap;
  src:url('fonts/tajawal/tajawal-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family:'Tajawal'; font-style:normal; font-weight:500; font-display:swap;
  src:url('fonts/tajawal/tajawal-500-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:500; font-display:swap;
  src:url('fonts/tajawal/tajawal-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family:'Tajawal'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/tajawal/tajawal-700-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:700; font-display:swap;
  src:url('fonts/tajawal/tajawal-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family:'Tajawal'; font-style:normal; font-weight:800; font-display:swap;
  src:url('fonts/tajawal/tajawal-800-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family:'Tajawal'; font-style:normal; font-weight:800; font-display:swap;
  src:url('fonts/tajawal/tajawal-800-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', 'IBM Plex Sans Arabic', sans-serif;
    background: #F5F2EB;
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    direction: ltr;   /* default LTR; JS sets rtl when Arabic is active */
}

/* ── SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #EDE8DE; }
::-webkit-scrollbar-thumb { background: #9C8560; border-radius: 3px; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.55rem 0;  /* thinner than before */
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

/* Brand text colour flips on scroll */
.nav-brand-text  { transition: color 0.3s; color: rgba(255,255,255,0.92); }
.nav-brand-sub   { transition: color 0.3s; }
#navbar.scrolled .nav-brand-text { color: #2C2820 !important; }
#navbar.scrolled .nav-brand-sub  { color: rgba(58,50,40,0.5) !important; }

/* Hamburger colour flip on scroll */
.nav-hamburger   { color: rgba(255,255,255,0.88); transition: color 0.3s; }
#navbar.scrolled .nav-hamburger  { color: #2C2820; }

/* On hero (transparent) */
#navbar .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.85);
    transition: color 0.25s;
    text-decoration: none;
}
#navbar.scrolled .nav-link { color: #3A3228; }
#navbar .nav-link:hover { color: #C9A84C; }
#navbar.scrolled .nav-link:hover { color: #8B7355; }

.nav-contact-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.45rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.88);
    border-radius: 9999px;          /* oval / pill */
    background: transparent;
    transition: all 0.25s;
    text-decoration: none;
    white-space: nowrap;
}
#navbar.scrolled .nav-contact-btn {
    border-color: rgba(139,115,85,0.5);
    color: #3A3228;
    background: transparent;
}
.nav-contact-btn:hover { border-color: #C9A84C; color: #C9A84C !important; background: transparent; }

/* ══════════════════════════════════════════
   HERO — Full-screen cityscape photo
══════════════════════════════════════════ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section video,
.hero-section img.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,12,8,0.65) 0%, rgba(15,12,8,0.35) 60%, rgba(15,12,8,0.2) 100%);
    z-index: 1;
}

/* The card box overlaid on the hero (Figma look: dark rounded card on left side) */
.hero-card {
    position: relative;
    z-index: 2;
    background: rgba(20, 17, 12, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 12px;
    padding: 3.5rem 4rem;
    max-width: 820px;
    width: 100%;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.7);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #FAFAF8;
    margin-bottom: 0.25rem;
}
.hero-title-gold { color: #C9A84C; }

.hero-rule {
    width: 40px;
    height: 1px;
    background: rgba(201,168,76,0.4);
    margin: 1rem 0;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(250,250,248,0.65);
    margin-bottom: 0.5rem;
}

.hero-sub-ar {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.78rem;
    color: rgba(250,250,248,0.45);
    direction: rtl;
    margin-bottom: 1.5rem;
}

.hero-signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #C9A84C;
    margin-bottom: 1.75rem;
}

.hero-btn-primary {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    background: #9C8560;
    color: #FAFAF8;
    padding: 0.75rem 1.75rem;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s;
    margin-left: 0.75rem;
}
.hero-btn-primary:hover { background: #7D6848; transform: translateY(-1px); }

.hero-btn-outline {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    padding: 0.72rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.9);
    border-radius: 9999px;   /* pill shape like Figma */
    text-decoration: none;
    transition: all 0.25s;
    background: transparent;
}
.hero-btn-outline:hover { border-color: rgba(255,255,255,0.9); color: #fff; background: rgba(255,255,255,0.08); }

/* ── Hero Bottom Strip (Figma: frosted bar at bottom) ── */
.hero-bottom-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}
.hero-bottom-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.01em;
}
.hero-bottom-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.5rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.9);
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s;
    background: rgba(255,255,255,0.08);
}
.hero-bottom-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.7); color: #fff; }

/* ══════════════════════════════════════════
   SECTION COMMON STYLES
══════════════════════════════════════════ */
.section-beige { background: #F5F2EB; }
.section-warm  { background: #EDE8DE; }
.section-white { background: #FAFAF8; }
.section-dark  { background: #2C2820; }
.section-olive { background: #4A4231; }

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 1.36rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #9C8560;
    margin-bottom: 0.75rem;
}

.section-title-en {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.25;
    margin-bottom: 0.4rem;
}
.section-title-en.light { color: #FAFAF8; }

.section-title-main-ar {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.7rem, 3.2vw, 2.6rem); /* Matches size of English .section-title-en but a bit larger for Arabic readability */
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    line-height: 1.25;
    margin-bottom: 0.4rem;
    direction: rtl;
}
.section-title-main-ar.light { color: #FAFAF8; }

.section-title-ar {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #6B6461;
    direction: rtl;
}
.section-title-ar.light { color: rgba(250,250,248,0.6); }

.gold-rule {
    width: 48px;
    height: 2px;
    background: linear-gradient(to right, #9C8560, #C9A84C);
    margin: 1rem 0 1.5rem;
    border-radius: 1px;
}
.gold-rule.centered { margin: 1rem auto 1.5rem; }

/* ══════════════════════════════════════════
   CEO / ABOUT — Split layout
══════════════════════════════════════════ */
.ceo-section {
    background: #F5F2EB;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.ceo-script-bg {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 700;
    color: rgba(156,133,96,0.06);
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: -0.5rem;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.ceo-portrait {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: block;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.ceo-text-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    line-height: 2.1;
    color: #5A5550;
}
.ceo-text-body-ar {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.08rem;
    line-height: 2.4;
    color: #5A5550;
    direction: rtl;
}

/* The dark overlay hero card inside CEO section (right side) */
.ceo-hero-inset {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/9;
    max-width: 400px;
    flex-shrink: 0;
}
.ceo-hero-inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-inset-card {
    position: absolute;
    inset: 0;
    background: rgba(20,17,12,0.72);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

/* ══════════════════════════════════════════
   INVESTMENT PHILOSOPHY — 4 pillars
══════════════════════════════════════════ */
.philosophy-section { background: #F5F2EB; }

.philosophy-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .philosophy-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.philosophy-item {
    background: linear-gradient(180deg, rgba(250,250,248,0.92) 0%, rgba(250,250,248,0.1) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(156,133,96,0.15);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.philosophy-item:hover {
    box-shadow: 0 16px 40px rgba(81,70,55,0.2);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(81,70,55,1) 0%, rgba(81,70,55,0.7) 100%);
}
.philosophy-item:hover .philosophy-num {
    color: rgba(250,250,248,0.6);
}
.philosophy-item:hover .philosophy-item-title {
    color: #FAFAF8;
}
.philosophy-item:hover .philosophy-item-desc {
    color: rgba(250,250,248,0.85);
}

/* Icon circle */
.philosophy-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(156,133,96,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.philosophy-icon svg {
    width: 26px;
    height: 26px;
    color: rgba(156,133,96,0.7);
}

/* Small dot indicator in top-right corner */
.philosophy-dot {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    font-size: 1.4rem;
    line-height: 1;
    color: rgba(156,133,96,0.25);
    pointer-events: none;
}

/* Featured variant — bolder text */
.philosophy-item--featured .philosophy-item-title { font-weight: 700; }
.philosophy-item--featured .philosophy-item-desc  { color: #3A3530; font-weight: 500; }

.philosophy-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: rgba(156,133,96,0.4);
    line-height: 1;
    margin-bottom: 1.5rem;
}
.philosophy-item-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.35rem);
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.philosophy-item-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 1.15rem);
    color: #6B6461;
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   INVESTMENT AREAS — 5-card grid
══════════════════════════════════════════ */
.inv-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 640px)  { .inv-cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .inv-cards-grid { grid-template-columns: repeat(5, 1fr); } }

.inv-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
    cursor: pointer;
    transition: background-size 0.5s ease;
}
.inv-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.inv-card:hover { background-size: 520% auto !important; }
.inv-card:hover img { transform: scale(1.06); }

.inv-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,8,4,0.85) 0%, rgba(10,8,4,0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 0.875rem;
}
.inv-card-bar {
    width: 24px;
    height: 2px;
    background: #C9A84C;
    margin-bottom: 0.5rem;
}
.inv-card-en {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #FAFAF8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}
.inv-card-ar {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.36rem;
    color: rgba(250,250,248,0.6);
    direction: rtl;
}

/* ══════════════════════════════════════════
   OUR AREAS — Partnership/Growth 2x2 grid
══════════════════════════════════════════ */
.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}
@media (max-width: 640px) { .areas-grid { grid-template-columns: 1fr; } }

.area-photo-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.area-photo-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.area-text-card {
    background: #EDE8DE;
    border-radius: 6px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.area-text-card-dark {
    background: #514637;
    border-radius: 6px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.area-card-title-en {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}
.area-card-title-en.light { color: #FAFAF8; }
.area-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #5A5550;
    line-height: 1.6;
}
.area-card-desc.light { color: rgba(250,250,248,0.65); }

/* ══════════════════════════════════════════
   TESTIMONIALS — Dark olive section
══════════════════════════════════════════ */
.testimonials-section { background: #514637; }

.testimonials-track-wrapper { overflow: hidden; }
.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 1.75rem;
}
@media (max-width: 1023px) { .testimonial-card { flex: 0 0 calc(50% - 0.75rem); } }
@media (max-width: 640px)  { .testimonial-card { flex: 0 0 auto; width: 100%; min-width: 100%; } }

.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.75;
    color: rgba(250,250,248,0.75);
    font-style: italic;
    margin-bottom: 1rem;
}
.testimonial-author-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #FAFAF8;
}
.testimonial-author-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(250,250,248,0.4);
    margin-top: 0.15rem;
}
.testimonial-metric {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FAFAF8;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.testimonial-metric-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.36rem;
    color: rgba(250,250,248,0.4);
    margin-top: 0.2rem;
    font-style: normal;
}

.slider-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(250,250,248,0.3);
    background: transparent;
    color: rgba(250,250,248,0.7);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
}
.slider-btn:hover {
    background: rgba(250,250,248,0.1);
    border-color: #FAFAF8;
    color: #FAFAF8;
}

/* ══════════════════════════════════════════
   LATEST NEWS
══════════════════════════════════════════ */
.news-section { background: #F5F2EB; }

/* Desktop: wrapper is transparent — slider only activates on mobile */
.news-slider-wrap { width: 100%; }

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px)  { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3,1fr); } }

.news-card {
    background: #FAFAF8;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(156,133,96,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}
.news-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.news-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.news-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.news-card-tag {
    font-family: 'Inter', sans-serif;
    font-size: 1.36rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9C8560;
    margin-bottom: 0.6rem;
}
.news-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.5;
    margin-bottom: 0.35rem;
}
.news-card-title-ar {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.82rem;
    color: #6B6461;
    direction: rtl;
    margin-bottom: 0.75rem;
}
.news-card-date {
    font-family: 'Inter', sans-serif;
    font-size: 1.36rem;
    color: #9C8560;
    letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════
   CAREER OPPORTUNITIES
══════════════════════════════════════════ */
.career-section {
    position: relative;
    overflow: hidden;
    background: #EDE8DE;
}
.career-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('PHOTOS/artistic and media production.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
}

.career-inner {
    position: relative;
    z-index: 1;
}

.career-title-en {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.2;
}
.career-title-ar {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    color: #6B6461;
    direction: rtl;
}

.career-cta-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.875rem 2rem;
    background: #9C8560;
    color: #FAFAF8;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s;
}
.career-cta-btn:hover { background: #7D6848; transform: translateY(-2px); }

/* ══════════════════════════════════════════
   PARTNERS — Honeycomb
══════════════════════════════════════════ */
.partners-section { background: #F5F2EB; }

/* Desktop: wrapper is transparent — slider only activates on mobile */
/* Partners honeycomb */
.partners-honeycomb {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}
.partner-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.partner-row-offset { margin-top: 0.25rem; }

.partner-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: floatBubble var(--float-dur, 4s) ease-in-out var(--float-delay, 0s) infinite alternate;
}
@keyframes floatBubble {
    from { transform: translateY(0); }
    to   { transform: translateY(-8px); }
}

.partner-bubble-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #FAFAF8;
    border: 1.5px solid rgba(156,133,96,0.18);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.partner-bubble-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.partner-logo-img {
    width: 80%; height: 80%;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter 0.3s;
}
.partner-bubble:hover .partner-logo-img { filter: none; }

.partner-bubble-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.62rem;
    color: #9C8560;
    text-align: center;
    max-width: 72px;
}

@media (min-width: 768px) {
    .partner-bubble-circle { width: 90px; height: 90px; }
    .partner-bubble-label { max-width: 90px; }
}

/* ── DESKTOP: 10 bubbles per row ── */
@media (min-width: 1024px) {
    .partners-honeycomb {
        display: grid !important;
        grid-template-columns: repeat(10, 1fr) !important;
        gap: 1.25rem !important;
        align-items: start !important;
        max-width: 1100px;
        margin: 0 auto;
    }
    /* Each partner-row becomes a flat grid content — unwrap rows */
    .partner-row,
    .partner-row.partner-row-offset {
        display: contents !important;  /* children become direct grid items */
    }
}

/* ══════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════ */
.contact-section { background: #EDE8DE; }

.contact-form-card {
    background: #FAFAF8;
    border: 1px solid rgba(156,133,96,0.12);
    border-radius: 8px;
    padding: 2.5rem 2.5rem 2.75rem;
}

.form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5A5550;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: #F5F2EB;
    border: 1px solid rgba(156,133,96,0.2);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #1A1A1A;
    outline: none;
    transition: border-color 0.25s;
}
.form-input:focus { border-color: #9C8560; }
.form-input::placeholder { color: #AAA098; }

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

.form-submit {
    width: 100%;
    background: #9C8560;
    color: #FAFAF8;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
}
.form-submit:hover:not(:disabled) { background: #7D6848; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Loading spinner (inside button) */
.form-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(250,250,248,0.3);
    border-top-color: #FAFAF8;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}
.form-spinner.hidden { display: none; }
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Input field error / valid indicator */
.form-input.input-error   { border-color: #c0392b !important; background: #fff8f7; }

/* ══════════════════════════════════════════
   CAREER MODAL — RTL FORM OVERRIDES
══════════════════════════════════════════ */
.career-modal-panel .form-label {
    font-family: 'Tajawal', 'Noto Kufi Arabic', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    display: block;
    color: #3a3530;
}
.career-modal-panel .form-input {
    font-family: 'Tajawal', 'Noto Kufi Arabic', sans-serif;
    text-align: right;
    direction: rtl;
}
.career-modal-panel input[type="date"],
.career-modal-panel input[type="tel"] {
    direction: ltr;
    text-align: left;
}
.career-modal-panel select.form-input {
    direction: rtl;
    text-align: right;
}

/* ══════════════════════════════════════════
   LANGUAGE TOGGLE BUTTON
══════════════════════════════════════════ */
/* In mobile dropdown — match menu link style exactly */
.lang-toggle-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #514637;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 0 0.5rem;
}
.lang-toggle-btn:hover {
    color: #2C261E;
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}
/* Desktop navbar version — follows nav-link colors */
#navbar ul .lang-toggle-btn {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
    margin: 0;
    border-radius: 4px;
}
#navbar.scrolled ul .lang-toggle-btn {
    color: #3A3228;
}
#navbar ul .lang-toggle-btn:hover {
    color: #C9A84C;
    background: transparent;
    transform: none;
}

/* ══════════════════════════════════════════
   LANGUAGE SHOW/HIDE — comprehensive
══════════════════════════════════════════ */

/* In ENGLISH mode — hide all Arabic-only elements */
html[lang="en"] .ar-only,
html[lang="en"] .section-title-ar,
html[lang="en"] .ceo-text-body-ar,
html[lang="en"] .career-title-ar,
html[lang="en"] .news-card-title-ar { display: none !important; }

/* In ARABIC mode — hide all English-only elements */
html[lang="ar"] .en-only,
html[lang="ar"] .section-title-en,
html[lang="ar"] .ceo-text-body,
html[lang="ar"] .career-title-en,
html[lang="ar"] .news-card-title { display: none !important; }

html[lang="ar"] .gold-rule:not(.centered) { margin-right: 0; margin-left: auto; }
html[lang="ar"] .ceo-hero-inset { direction: rtl; }
html[lang="ar"] .contact-form-card { direction: rtl; }
html[lang="ar"] #career .career-inner { direction: rtl; }

/* ARABIC MODE — bolder headlines & body */
html[lang="ar"] .section-title-ar {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}
html[lang="ar"] .career-title-ar {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}
html[lang="ar"] .section-eyebrow {
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}
html[lang="ar"] .ceo-text-body-ar {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.9;
}
html[lang="ar"] .news-card-title-ar {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}
html[lang="ar"] .philosophy-item-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}
html[lang="ar"] .philosophy-item-desc {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    line-height: 1.85;
}
html[lang="ar"] .testimonial-quote {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

.form-input.input-valid   { border-color: #7D9B6A !important; }

/* Contact info items */
.contact-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(156,133,96,0.12);
    border: 1px solid rgba(156,133,96,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   SECTOR POSTER GRID (existing sectors page)
══════════════════════════════════════════ */
#sectors { background-color: #1A1A1A; }

.sectors-poster-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
@media (min-width: 768px)  { .sectors-poster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .sectors-poster-grid { grid-template-columns: repeat(6, 1fr); } }

.sector-poster-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
    cursor: default;
}
.sector-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    display: block;
}
.sector-poster-card:hover .sector-bg-img {
    transform: scale(1.07);
    filter: brightness(0.75);
}

.sector-poster-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,8,4,0.9) 0%, rgba(10,8,4,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1rem;
    transition: background 0.4s;
}
.sector-poster-card:hover .sector-poster-content {
    background: linear-gradient(to top, rgba(10,8,4,0.95) 0%, rgba(10,8,4,0.6) 60%, rgba(10,8,4,0.2) 100%);
}

.sector-poster-icon {
    display: none;
}
.sector-poster-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}
.sector-slash { color: #C9A84C; font-weight: 400; font-size: 1.2rem; }
.sector-poster-name {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 700;
    color: #FAFAF8;
    letter-spacing: 0;
}
.card-glass-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 5.5rem; /* Ensures all bars are exactly the same size even if 1 line */
    display: flex;
    align-items: center; /* Vertically center the text inside the bar */
    padding: 1rem 1.5rem;
    background: rgba(90, 90, 90, 0.25); /* even lighter grey tint */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 12px 12px;
    color: #FAFAF8;
    z-index: 10;
}
.card-glass-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
}
html[dir="rtl"] .card-glass-title,
.card-glass-title.ar-only {
    font-family: 'Tajawal', sans-serif;
}
.investment-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transition: transform 0.3s ease-in-out;
    aspect-ratio: 4 / 5; /* Makes the images less vertical/tall and consistently sized */
}
.investment-card:hover {
    transform: scale(1.03);
}
.investment-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sector-poster-en {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(250,250,248,0.6);
    letter-spacing: 0.04em;
}
.sector-hover-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: #C9A84C;
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}
.sector-poster-card:hover .sector-hover-line { transform: scaleX(1); }

/* ══════════════════════════════════════════
   SECTOR MODAL
══════════════════════════════════════════ */
#sector-modal.modal-visible .modal-panel {
    opacity: 1;
    transform: translateY(0);
}
.modal-panel {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ══════════════════════════════════════════
   FOOTER — Custom Color
══════════════════════════════════════════ */
.site-footer {
    background: #7D7057;
    color: rgba(250,248,240,0.8);
    padding: 4rem 0 2rem;
}

/* Footer main layout — nav cols on one side, logo on the other */
.footer-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-nav-group {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
}
.footer-nav-col {
    display: flex;
    flex-direction: column;
    min-width: 110px;
}
.footer-logo-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .footer-main-row {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        width: 100%;
    }
    .footer-nav-group {
        gap: 0;
        justify-content: space-between;
        width: 100%;
    }
    .footer-nav-col {
        flex: 1;
    }
    .footer-logo-col {
        justify-content: center;
        width: 100%;
    }
}

.footer-logo-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #FAFAF8;
}
.footer-logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(250,248,240,0.35);
    text-transform: uppercase;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.36rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FAFAF8;
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(250,248,240,0.5);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.footer-link:hover { color: #FAFAF8; }

.footer-link-ar {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(250,248,240,0.06);
    margin: 2rem 0 1.5rem;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(250,248,240,0.25);
}

/* Newsletter input in footer */
.footer-input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #FAFAF8;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    padding: 0.6rem 0.875rem;
    border-radius: 3px 0 0 3px;
    outline: none;
    flex: 1;
    min-width: 0;
    transition: border-color 0.25s;
}
.footer-input:focus { border-color: rgba(250,248,240,0.5); }
.footer-input::placeholder { color: rgba(250,248,240,0.3); }

.footer-input-btn {
    background: #5A503C;
    color: #FAFAF8;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 0 3px 3px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s;
    white-space: nowrap;
    flex-shrink: 0;
}
.footer-input-btn:hover { background: #453D2D; }

/* ══════════════════════════════════════════
   GOLD DIVIDER
══════════════════════════════════════════ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 2rem;
}
.section-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(156,133,96,0.25), transparent);
    max-width: 200px;
}
.section-divider-diamond {
    width: 6px; height: 6px;
    background: #9C8560;
    transform: rotate(45deg);
    flex-shrink: 0;
    opacity: 0.6;
}

/* ══════════════════════════════════════════
   AOS ANIMATIONS
══════════════════════════════════════════ */
[data-aos] { will-change: opacity, transform; }

/* ══════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════ */
#mobile-menu {
    background: rgba(250, 248, 244, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(81, 70, 55, 0.12);
    border-radius: 16px;
    padding: 0.5rem 0;
    margin-top: 0.75rem;
}
#mobile-menu a,
#mobile-menu .lang-toggle-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #514637;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: none; /* Minimalist: removed hard dividers */
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
    width: calc(100% - 1rem); /* Make button full width minus margins */
    background: transparent;
    border: none;
    cursor: pointer;
    justify-content: flex-start; /* left align in English, right in Arabic */
}
#mobile-menu .lang-toggle-btn { gap: 0.5rem; }
#mobile-menu a:hover,
#mobile-menu a.nav-active,
#mobile-menu .lang-toggle-btn:hover { 
    color: #2C261E; /* Darkish brown */
    background: rgba(255, 255, 255, 0.6); 
    transform: translateX(6px); /* fluid interaction */
}
html[dir="rtl"] #mobile-menu a:hover,
html[dir="rtl"] #mobile-menu a.nav-active,
html[dir="rtl"] #mobile-menu .lang-toggle-btn:hover { 
    transform: translateX(-6px); /* fluid interaction in RTL */
}

/* ══════════════════════════════════════════
   UTILITIES & NAVBAR BRAND SCROLL SYNC
══════════════════════════════════════════ */
.container { max-width: 1280px; margin: 0 auto; }

.text-tan       { color: #9C8560; }
.text-gold      { color: #C9A84C; }
.text-charcoal  { color: #1A1A1A; }
.text-mid-gray  { color: #6B6461; }
.bg-beige       { background: #F5F2EB; }

/* Navbar brand text logic - white at top, original gold when scrolled */
.nav-brand-title {
    color: #FAFAF8;
    transition: color 0.4s ease;
}
.nav-brand-sub {
    color: rgba(250,250,248,0.85);
    transition: color 0.4s ease;
}

#navbar.scrolled .nav-brand-title {
    color: #756651; /* Brighter version of #514637 (no yellow) */
}
#navbar.scrolled .nav-brand-sub {
    color: rgba(117,102,81,0.85);
}


/* ══════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .sectors-poster-grid { grid-template-columns: repeat(3, 1fr); }
    .inv-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .areas-grid { grid-template-columns: 1fr 1fr; }
    .philosophy-grid-4 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-honeycomb { gap: 1rem; }
    .partner-bubble-circle { width: 80px; height: 80px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── GLOBAL ── */
    html, body { overflow-x: hidden; }
    .container { padding-left: 1rem; padding-right: 1rem; }

    /* ── NAVBAR ── */
    #navbar > .container { padding: 0.5rem 1rem; }

    /* ── HERO ── */
    .hero-section {
        min-height: 100svh;
        align-items: flex-end;
        padding-bottom: 4.5rem;
    }
    .hero-section > .relative.z-10 { width: 100%; padding: 0; }
    .hero-section > .relative.z-10 > .container { padding: 0 1rem; }

    /* Hero card — full width, compact */
    .hero-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
    }
    .hero-card > svg { border-radius: 20px !important; }
    .hero-card > div[style] {
        padding: 1.4rem 1.25rem !important;
        border-radius: 20px !important;
        backdrop-filter: blur(8px) !important;
    }

    /* Hero title — reduced for mobile */
    .hero-title { font-size: 1.6rem !important; line-height: 1.2; margin-bottom: 0.3rem; }
    .hero-sub   { font-size: 0.79rem !important; line-height: 1.6; margin-bottom: 1rem !important; }

    /* Hero buttons — stack vertically, each full-width */
    .hero-card .flex.flex-wrap.gap-3 {
        flex-direction: column !important;
        gap: 0.6rem !important;
    }
    .hero-btn-outline {
        width: 100% !important;
        text-align: center !important;
        padding: 0.65rem 1rem !important;
        font-size: 0.74rem !important;
    }

    /* Bottom strip — keep tagline, smaller text */
    .hero-bottom-inner { padding: 0.6rem 0; }
    .hero-bottom-tagline { font-size: 0.72rem; }

    /* ── CEO / ABOUT ── */
    .ceo-section { padding: 2.25rem 0; }
    .ceo-section .grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
    }
    .ceo-portrait {
        max-width: 100%;
        border-radius: 14px;
        aspect-ratio: 4/5;
        object-position: top center;
    }
    .ceo-hero-inset { display: none; } /* too cramped on mobile */
    .ceo-script-bg { font-size: 4rem; top: 1rem; opacity: 0.04; }
    .ceo-text-body    { font-size: 0.82rem; }
    .ceo-text-body-ar { font-size: 0.8rem; }

    /* ── SECTION HEADINGS (global) ── */
    .section-title-en { font-size: 1.55rem !important; }
    .section-title-ar { font-size: 1.25rem !important; }
    .section-eyebrow  { font-size: 1.16rem; letter-spacing: 0.1em; }
    .gold-rule        { margin-bottom: 0.75rem; }
    .gold-rule.centered { margin-left: auto; margin-right: auto; }

    /* ── PHILOSOPHY — 3-col Z-pattern grid (matches design code) ── */
    .philosophy-section { padding: 2rem 0; }
    .philosophy-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;  /* override 1024px tablet rule */
        grid-template-rows: auto auto;
        grid-auto-rows: auto;
        gap: 0.55rem !important;
        align-items: stretch;
    }
    /* Z-pattern: 01=1col, 02=2cols, 03=2cols, 04=1col */
    .philosophy-grid-4 > .philosophy-item:nth-child(1) { grid-column: span 1 !important; }
    .philosophy-grid-4 > .philosophy-item:nth-child(2) { grid-column: span 2 !important; }
    .philosophy-grid-4 > .philosophy-item:nth-child(3) { grid-column: span 2 !important; }
    .philosophy-grid-4 > .philosophy-item:nth-child(4) { grid-column: span 1 !important; }
    /* Glass card style */
    .philosophy-item {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-radius: 16px;
        background: rgba(255,255,255,0.45);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(232,225,213,0.55);
        margin-bottom: 0 !important;
        transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s;
        overflow: hidden;
        position: relative;
    }
    .philosophy-item:hover,
    .philosophy-item:active {
        transform: scale(1.02) translateY(-3px);
        box-shadow: 0 16px 40px rgba(81,70,55,0.2);
        background: linear-gradient(180deg, rgba(81,70,55,1) 0%, rgba(81,70,55,0.7) 100%);
        border-color: transparent;
    }
    .philosophy-item:hover .philosophy-item-title,
    .philosophy-item:active .philosophy-item-title {
        color: #FAFAF8 !important;
    }
    .philosophy-item:hover .philosophy-item-desc,
    .philosophy-item:active .philosophy-item-desc {
        color: rgba(250,250,248,0.85) !important;
    }
    /* Small cards: 01, 04 */
    .philosophy-item:nth-child(1),
    .philosophy-item:nth-child(4) { padding: 0.9rem 0.85rem; }
    /* Large cards: 02, 03 */
    .philosophy-item:nth-child(2),
    .philosophy-item:nth-child(3) { padding: 1.25rem; }
    /* Remove any pseudo arrows */
    .philosophy-item::after { display: none !important; }
    /* Corner dot accent */
    .philosophy-dot {
        position: absolute;
        top: 0.6rem;
        right: 0.6rem;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(184,165,146,0.22);
        font-size: 0; /* hide the · character */
        transition: background 0.4s;
    }
    .philosophy-item:hover .philosophy-dot { background: rgba(184,165,146,0.45); }
    /* Icon circle */
    .philosophy-icon {
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(184,165,146,0.12) 0%, rgba(184,165,146,0.05) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.85rem;
        flex-shrink: 0;
        transition: background 0.4s, transform 0.4s;
    }
    .philosophy-item:hover .philosophy-icon {
        background: linear-gradient(135deg, rgba(184,165,146,0.22) 0%, rgba(184,165,146,0.1) 100%);
    }
    /* Small icon (cards 01 & 04) */
    .philosophy-item:nth-child(1) .philosophy-icon,
    .philosophy-item:nth-child(4) .philosophy-icon { width: 36px; height: 36px; }
    .philosophy-item:nth-child(1) .philosophy-icon svg,
    .philosophy-item:nth-child(4) .philosophy-icon svg { width: 15px; height: 15px; }
    /* Large icon (cards 02 & 03) */
    .philosophy-item:nth-child(2) .philosophy-icon,
    .philosophy-item:nth-child(3) .philosophy-icon { width: 48px; height: 48px; }
    .philosophy-item:nth-child(2) .philosophy-icon svg,
    .philosophy-item:nth-child(3) .philosophy-icon svg { width: 22px; height: 22px; }
    /* No number on mobile */
    .philosophy-num { display: none !important; }
    /* Title sizes */
    .philosophy-item:nth-child(1) .philosophy-item-title,
    .philosophy-item:nth-child(4) .philosophy-item-title { font-size: 0.65rem; margin-bottom: 0.3rem; }
    .philosophy-item:nth-child(2) .philosophy-item-title,
    .philosophy-item:nth-child(3) .philosophy-item-title { font-size: 0.82rem; margin-bottom: 0.45rem; font-weight: 700; }
    /* Desc sizes */
    .philosophy-item:nth-child(1) .philosophy-item-desc,
    .philosophy-item:nth-child(4) .philosophy-item-desc { font-size: 0.67rem; line-height: 1.55; }
    .philosophy-item:nth-child(2) .philosophy-item-desc,
    .philosophy-item:nth-child(3) .philosophy-item-desc { font-size: 0.82rem; line-height: 1.6; color: #3A3530; font-weight: 500; }

    /* ── INVESTMENT AREAS CARD GRID — 4 per row compact ── */
    .inv-cards-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.3rem;
    }
    .inv-card {
        border-radius: 8px;
        aspect-ratio: 3/5 !important;  /* taller than square but not too tall */
    }
    .inv-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .inv-card-en        { display: none !important; }
    .inv-card-ar        { font-size: 0.55rem; line-height: 1.2; }
    .inv-card-overlay   { padding: 0.4rem; }
    .inv-card-bar       { width: 14px; height: 1.5px; margin-bottom: 0.25rem; }

    /* ── AREAS 2×2 (Partnership / Growth) ── */
    .areas-grid {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    .area-photo-card {
        height: 200px;
        border-radius: 0;
        aspect-ratio: unset !important;
    }
    .area-text-card,
    .area-text-card-dark { padding: 1.5rem 1.1rem; border-radius: 0; }
    .area-card-title-en  { font-size: 1.25rem; }
    .area-card-desc      { font-size: 0.78rem; }

    /* ── TESTIMONIALS ── */
    .testimonials-section        { padding: 2.25rem 0; }
    .testimonials-track-wrapper  { padding: 0 0.75rem; }
    .testimonial-card            { padding: 1.25rem; border-radius: 14px; }
    .testimonial-quote           { font-size: 0.8rem; }
    .testimonial-metric          { font-size: 1.75rem; }
    .testimonial-metric-desc     { font-size: 0.65rem; }

    /* ── LATEST NEWS — horizontal scroll-snap slider ── */
    .news-section { padding: 2.25rem 0; }
    .news-slider-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;          /* Firefox */
        padding-bottom: 0.5rem;
        /* negative margin to bleed to screen edge */
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .news-slider-wrap::-webkit-scrollbar { display: none; }
    .news-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
        width: max-content;
    }
    .news-card {
        flex: 0 0 78vw !important;
        max-width: 78vw !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .news-card-img  { height: 160px; aspect-ratio: unset; }
    .news-card-title    { font-size: 0.85rem; }
    .news-card-title-ar { font-size: 0.78rem; }


    /* ── CAREER ── */
    .career-section  { padding: 2.75rem 0; }
    .career-title-en { font-size: 1.6rem !important; }
    .career-title-ar { font-size: 1rem !important; }
    .career-cta-btn  { width: 100%; text-align: center; }

    /* ── SECTOR POSTER GRID — 4 compact columns ── */
    .sectors-poster-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.35rem !important;
    }
    .sector-poster-card    { height: 110px; aspect-ratio: unset !important; }
    .sector-poster-en      { display: none !important; }
    .sector-poster-name    { font-size: 0.85rem; line-height: 1.3; }
    .sector-poster-icon    { width: 22px; height: 22px; border-radius: 4px; }
    .sector-poster-icon svg { width: 12px; height: 12px; }
    .sector-poster-content { padding: 0.45rem 0.4rem; gap: 0.25rem; }


    /* ── PARTNERS ── */
    .partners-honeycomb    { gap: 0.5rem; }
    .partner-row           { gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
    .partner-row-offset    { margin-left: 0 !important; }
    .partner-bubble        { min-width: 60px; }
    .partner-bubble-circle { width: 58px !important; height: 58px !important; }
    .partner-logo-img      { padding: 6px !important; }
    .partner-bubble-label  { font-size: 0.5rem !important; }

    /* ── CONTACT FORM ── */
    .contact-section       { padding: 2.25rem 0; }
    .contact-form-card     { padding: 1.25rem; border-radius: 14px; }
    .contact-form-card .grid { grid-template-columns: 1fr !important; }
    .form-submit           { width: 100%; }
    .form-input            { min-height: 44px; }
    .contact-icon-wrap     { width: 36px; height: 36px; }

    /* ── FOOTER ── */
    .site-footer { padding: 2rem 0 1.25rem; }
    .site-footer .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.25rem;
    }
    .site-footer .col-span-2 { grid-column: span 2 / span 2; }
    .footer-heading  { font-size: 0.63rem; margin-bottom: 0.5rem; }
    .footer-link     { font-size: 0.73rem; }
    .footer-input    { font-size: 0.7rem; }
    .footer-copy     { font-size: 0.63rem; text-align: center; }
    .footer-divider  { margin: 1rem 0; }
    .site-footer .flex.flex-col { gap: 0.3rem; }

    /* ── MODALS ── */
    .modal-panel { margin: 1rem; border-radius: 16px; }

    /* ── MISC ── */
    [data-aos] { transition-duration: 350ms !important; }
}




/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
    .hero-title { font-size: 1.45rem !important; }
    .hero-section { padding-bottom: 3.5rem; }

    /* Investment cards: stack to 1 column on very small phones */
    .inv-cards-grid { grid-template-columns: 1fr !important; }
    .inv-card img { height: 160px; }

    /* Sectors: stack to 1 column */
    .sectors-poster-grid { grid-template-columns: 1fr !important; }
    .sector-poster-card { height: 200px; }

    /* Partners: very tight — show fewer per row */
    .partner-bubble-circle { width: 50px !important; height: 50px !important; }
    .partner-bubble-label { display: none; } /* hide labels on tiny screens */

    /* Philosophy */
    .philosophy-grid-4 { grid-template-columns: 1fr !important; }

    /* Footer: single column */
    .site-footer .grid { grid-template-columns: 1fr !important; }
    .site-footer .col-span-2 { grid-column: span 1 / span 1; }

    .contact-form-card .grid { grid-template-columns: 1fr !important; }
    .section-title-en { font-size: 1.35rem !important; }
}

/* ══════════════════════════════════════════
   MOBILE MENU SHOW/HIDE HELPER
══════════════════════════════════════════ */
@media (min-width: 769px) {
    #mobile-menu { display: none !important; }
}


/* ══════════════════════════════════════════
   PHILOSOPHY Z-GRID — FINAL OVERRIDE (last rule wins)
   True Z-pattern: Row1=narrow|wide, Row2=wide|narrow
══════════════════════════════════════════ */
@media screen and (max-width: 768px) {
    .philosophy-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 0.5rem !important;
        align-items: start !important;
    }
    /* Explicit grid-line placement — 33/67 Z-pattern */
    .philosophy-grid-4 > .philosophy-item:nth-child(1) {
        grid-column: 1 / 2 !important;   /* narrow: 1/3 */
        grid-row: 1 !important;
    }
    .philosophy-grid-4 > .philosophy-item:nth-child(2) {
        grid-column: 2 / 4 !important;   /* wide: 2/3 */
        grid-row: 1 !important;
    }
    .philosophy-grid-4 > .philosophy-item:nth-child(3) {
        grid-column: 1 / 3 !important;   /* wide: 2/3 */
        grid-row: 2 !important;
    }
    .philosophy-grid-4 > .philosophy-item:nth-child(4) {
        grid-column: 3 / 4 !important;   /* narrow: 1/3 */
        grid-row: 2 !important;
    }
    /* Prevent text overflow and fix excessive height */
    .philosophy-grid-4 > .philosophy-item {
        min-width: 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        min-height: auto !important;
        height: 100% !important;
    }
    /* Adjust smaller font inside narrow cards (01 and 04) for layout */
    .philosophy-grid-4 > .philosophy-item:nth-child(1) .philosophy-num,
    .philosophy-grid-4 > .philosophy-item:nth-child(4) .philosophy-num { 
        font-size: 1.5rem !important; 
        margin-bottom: 0.5rem !important;
    }
    .philosophy-grid-4 > .philosophy-item:nth-child(1) h3,
    .philosophy-grid-4 > .philosophy-item:nth-child(4) h3 {
        font-size: 0.6rem !important;
        letter-spacing: 0.06em !important;
        line-height: 1.3 !important;
        margin-bottom: 0.35rem !important;
    }
    .philosophy-grid-4 > .philosophy-item:nth-child(1) p,
    .philosophy-grid-4 > .philosophy-item:nth-child(4) p {
        font-size: 0.62rem !important;
        line-height: 1.45 !important;
    }
    /* Prevent text overflow in narrow cards */
    .philosophy-grid-4 > .philosophy-item {
        min-width: 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        min-height: auto !important;
        height: 100% !important;
    }
}

/* ══════════════════════════════════════════
   HORIZONTAL SCROLL MODIFIERS
══════════════════════════════════════════ */
.hide-scroll::-webkit-scrollbar {
    display: none;
}
.hide-scroll {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;    /* Firefox */
}
/* ══════════════════════════════════════════
   KARLA FONT OVERRIDES (CEO + PHILOSOPHY + INVESTMENTS + NEWS + BOTTOM SECTIONS)
══════════════════════════════════════════ */
.ceo-section, .ceo-section *:not(.font-arabic):not(.section-title-ar):not(.ceo-text-body-ar):not(.font-serif-d),
.philosophy-section, .philosophy-section *:not(.font-arabic):not(.section-title-ar):not(.philosophy-num),
#investment-areas, #investment-areas *:not(.font-arabic):not(.section-title-ar),
#news, #news *:not(.font-arabic):not(.section-title-ar),
#career, #career *:not(.font-arabic):not(.section-title-ar),
#sector-modal, #sector-modal *:not(.font-arabic):not(.section-title-ar),
#sectors, #sectors *:not(.font-arabic):not(.section-title-ar),
#partners, #partners *:not(.font-arabic):not(.section-title-ar),
#contact, #contact *:not(.font-arabic):not(.section-title-ar),
.site-footer, .site-footer *:not(.font-arabic) {
    font-family: 'Karla', sans-serif !important;
}

/* ══════════════════════════════════════════
   INTER FONT OVERRIDES (TESTIMONIALS)
══════════════════════════════════════════ */
.testimonials-section, .testimonials-section *:not(.font-arabic):not(.section-title-ar) {
    font-family: 'Inter', sans-serif !important;
}
/* ══════════════════════════════════════════
   CAREER GLASS BUTTONS
══════════════════════════════════════════ */
.career-glass-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 148px;
    padding: 1.5rem 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1A1A1A;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.25s, box-shadow 0.3s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    text-align: center;
}
.career-glass-btn:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(201, 168, 76, 0.18);
}
.career-glass-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A84C;
    transition: background 0.3s;
}
.career-glass-btn:hover .career-glass-icon {
    background: rgba(201, 168, 76, 0.22);
}
/* Contact Us glass button override — link element */
a.career-contact-btn {
    text-decoration: none;
}
a.career-contact-btn:hover {
    color: #1A1A1A;
}

/* ══════════════════════════════════════════
   CAREER MODAL
══════════════════════════════════════════ */
.career-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.career-modal-overlay.hidden { display: none; }

.career-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 4, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.career-modal-panel {
    position: relative;
    z-index: 1;
    background: #FAFAF8;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.career-modal-overlay:not(.hidden) .career-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.career-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(156, 133, 96, 0.15);
    background: #F5F2EB;
    border-radius: 12px 12px 0 0;
}

.career-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(156, 133, 96, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    color: #5A5550;
    flex-shrink: 0;
    margin-top: 2px;
}
.career-modal-close:hover { background: rgba(156, 133, 96, 0.22); }

.career-modal-body {
    padding: 1.75rem;
}

/* CV file upload */
.career-file-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px dashed rgba(156,133,96,0.4);
    border-radius: 8px;
    background: rgba(156,133,96,0.04);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    color: #7D7057;
}
.career-file-label:hover {
    border-color: rgba(201,168,76,0.7);
    background: rgba(201,168,76,0.06);
}
.career-file-label.has-file {
    border-color: rgba(125,160,106,0.6);
    background: rgba(125,160,106,0.06);
    color: #4A7A3A;
}
.career-file-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    line-height: 1.4;
}

/* ====================================================
   FORM DIRECTION OVERRIDES — LTR (English) / RTL (Arabic)
   ==================================================== */

/* Career modal: follows dir attribute set by JS */
.career-modal-panel[dir="ltr"] .career-modal-header,
.career-modal-panel[dir="ltr"] .career-modal-body,
.career-modal-panel[dir="ltr"] .form-label,
.career-modal-panel[dir="ltr"] .form-input,
.career-modal-panel[dir="ltr"] .career-file-label {
    direction: ltr;
    text-align: left;
}
.career-modal-panel[dir="rtl"] .career-modal-header,
.career-modal-panel[dir="rtl"] .career-modal-body,
.career-modal-panel[dir="rtl"] .form-label,
.career-modal-panel[dir="rtl"] .form-input,
.career-modal-panel[dir="rtl"] .career-file-label {
    direction: rtl;
    text-align: right;
}

/* Contact form: follows html dir */
html[dir="ltr"] #contact-form,
html[dir="ltr"] #contact-form .form-label,
html[dir="ltr"] #contact-form .form-input,
html[dir="ltr"] #contact-form .form-submit {
    direction: ltr;
    text-align: left;
}
html[dir="rtl"] #contact-form,
html[dir="rtl"] #contact-form .form-label,
html[dir="rtl"] #contact-form .form-input,
html[dir="rtl"] #contact-form .form-submit {
    direction: rtl;
    text-align: right;
}
