/* ================================================================
   ALFA CAPITAL GROUP — Design System
   ================================================================
   Scalable CSS foundation. Link this file on any page.
   All tokens in :root. Override per-page via body classes.
   ================================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
    /* ---- PIF Palette ---- */
    --charcoal: #404040;
    --charcoal-deep: #2E2E2E;
    --charcoal-rich: #1A1A1A;
    --charcoal-soft: #555555;
    --gold: #C4984F;
    --gold-hover: #B38840;
    --gold-muted: #A88542;
    --gold-light: rgba(196, 152, 79, 0.10);
    --gold-glow: rgba(196, 152, 79, 0.28);
    --gold-border: rgba(196, 152, 79, 0.20);
    --green: #1B6B42;
    --green-light: rgba(27, 107, 66, 0.08);
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --warm-gray: #F3F2EE;
    --ivory: #EBE9E3;
    --text-primary: #2A2A2A;
    --text-secondary: #5A5A5A;
    --text-muted: #8C8C8C;
    --text-on-dark: #C8C6C0;
    --text-on-dark-bright: #E8E6E2;
    --border: #DEDAD2;
    --border-subtle: rgba(196, 152, 79, 0.12);
    --border-dark: rgba(255, 255, 255, 0.06);

    /* ---- Typography ---- */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', 'Sakkal Majalla', serif;

    /* ---- Spacing ---- */
    --section-py: 140px;
    --container-max: 1160px;
    --gap: 32px;

    /* ---- Motion ---- */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --duration: 0.5s;

    /* ---- Radius ---- */
    --radius: 10px;
    --radius-sm: 6px;
    --radius-xs: 3px;

    /* ---- Shadows ---- */
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.04);
    --shadow-lift: 0 24px 64px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 12px 40px rgba(196, 152, 79, 0.20);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Arabic Override ---- */
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] div,
[dir="rtl"] li,
[dir="rtl"] a,
[dir="rtl"] button {
    font-family: var(--font-arabic), var(--font-body);
    direction: rtl;
    text-align: right;
}

/* Flip directional icons */
[dir="rtl"] .icon {
    transform: scaleX(-1);
}

/* Don't flip symmetric icons or text-based icons if any - optional refinement */
/* [dir="rtl"] .icon-box .icon { transform: none; } */

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
    font-family: var(--font-arabic);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

::selection {
    background: var(--gold);
    color: var(--white);
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Section Eyebrow ---- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

[dir="rtl"] .section-label {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.section-label::before {
    content: '';
    width: 52px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}



/* ---- Section Heading ---- */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.95;
}

/* ---- Gold Thin Divider ---- */
.divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 48px 0;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

[dir="rtl"] .btn {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    font-size: 0.9rem;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-outline-light:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-charcoal {
    background: var(--charcoal);
    color: var(--white);
}

.btn-charcoal:hover {
    background: var(--charcoal-deep);
    transform: translateY(-2px);
}

/* ================================================================
   ICON SYSTEM (SVG)
   ================================================================ */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.icon-box {
    width: 54px;
    height: 54px;
    background: var(--gold-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease);
    color: var(--gold);
    border: 1px solid var(--border-subtle);
}

.icon-box .icon {
    width: 26px;
    height: 26px;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 1px 0 rgba(196, 152, 79, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-mark {
    /* width: 38px; REMOVED FIXED WIDTH */
    /* height: 38px; REMOVED FIXED HEIGHT */
    /* border: 1.5px solid var(--gold); REMOVED BOX */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-3px);
    /* Raise logo slightly for alignment */
}

.logo-mark span {
    font-family: 'Inter', sans-serif;
    /* User requested Inter */
    /* Match About Logo font */
    font-weight: 700;
    font-size: 1.8rem;
    /* Increased size since box is gone */
    color: var(--gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text .name {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    /* Ensure uppercase if needed */
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.8px;
}

[dir="rtl"] .logo-text .name {
    font-family: var(--font-arabic);
    font-size: 1.15rem;
    letter-spacing: 0;
}

.logo-text .sub {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-muted);
}

[dir="rtl"] .logo-text .sub {
    letter-spacing: 0;
    font-size: 0.72rem;
    font-family: var(--font-arabic);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 0;
    transition: color var(--duration) var(--ease);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--duration) var(--ease);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
    transform-origin: right;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-xs);
    overflow: hidden;
    margin-left: 8px;
}

[dir="rtl"] .lang-toggle {
    margin-left: 0;
    margin-right: 8px;
}

.lang-toggle button {
    padding: 6px 15px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    background: transparent;
    color: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    letter-spacing: 0.5px;
}

.lang-toggle button.active {
    background: var(--gold);
    color: var(--charcoal-rich);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 20px;
    height: 1px;
    background: var(--white);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    background-image: url('assets/images/hero-main.jpg');
    background-size: cover;
    background-position: center;
}

/* Gradient overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 12, 0.96) 0%, rgba(12, 12, 12, 0.8) 50%, rgba(12, 12, 12, 0.5) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Restore visual column */
.hero-visual {
    display: flex !important;
    position: relative;
    height: 520px;
    align-items: center;
    justify-content: center;
}




/* Hide existing overlays */
.hero::after {
    display: none;
}

.hero-content {
    padding: 40px 0;
}

.hero-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}

[dir="rtl"] .hero-label {
    letter-spacing: 0;
    font-size: 0.88rem;
    font-family: var(--font-arabic);
    font-weight: 700;
}

.hero-label::before {
    content: '';
    width: 52px;
    height: 1px;
    background: var(--gold);
}



.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

[dir="rtl"] .hero-title {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    line-height: 1.4;
}

.hero-title .accent {
    color: var(--gold);
}

.hero-description {
    font-size: 0.98rem;
    color: var(--text-on-dark);
    line-height: 2;
    margin-bottom: 48px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---- Hero Emblem ---- */
.hero-visual {
    position: relative;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(196, 152, 79, 0.25);
    box-shadow: 0 0 20px rgba(196, 152, 79, 0.05);
}

.emblem-ring:nth-child(1) {
    width: 440px;
    height: 440px;
    animation: spin 60s linear infinite;
}

.emblem-ring:nth-child(2) {
    width: 330px;
    height: 330px;
    border-color: rgba(196, 152, 79, 0.35);
    animation: spin 80s linear infinite reverse;
}

.emblem-ring:nth-child(3) {
    width: 220px;
    height: 220px;
    border-color: rgba(196, 152, 79, 0.45);
    animation: spin 50s linear infinite;
}

/* Small gold dot on the outermost ring */
.emblem-ring:nth-child(1)::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transform: translateX(-50%);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.emblem-core {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    border: 1.5px solid var(--gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 152, 79, 0.03);
    box-shadow:
        0 0 80px rgba(196, 152, 79, 0.08),
        inset 0 0 40px rgba(196, 152, 79, 0.03);
}

.emblem-core::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(196, 152, 79, 0.2);
    border-radius: 10px;
}

.emblem-core span {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    /* Increased size for impact */
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: block;
    transform: translateY(-4px);
    /* Vertical alignment fix */
}


/* Corner accents */
.hero-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 1;
}

.hero-corner::before,
.hero-corner::after {
    content: '';
    position: absolute;
    background: var(--gold);
    opacity: 0.08;
}

.hero-corner--tl {
    top: 48px;
    left: 48px;
}

.hero-corner--tl::before {
    top: 0;
    left: 0;
    width: 60px;
    height: 1px;
}

.hero-corner--tl::after {
    top: 0;
    left: 0;
    width: 1px;
    height: 60px;
}

.hero-corner--br {
    bottom: 48px;
    right: 48px;
}

.hero-corner--br::before {
    bottom: 0;
    right: 0;
    width: 60px;
    height: 1px;
}

.hero-corner--br::after {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 60px;
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.scroll-cue span {
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
}

.scroll-cue-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.15;
    }
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
    padding: var(--section-py) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

.about-text p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 14px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 52px;
}

.stat-card {
    text-align: center;
    padding: 34px 16px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
    box-shadow: var(--shadow-card);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
    border-color: var(--gold-border);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

[dir="rtl"] .stat-number {
    font-family: var(--font-arabic);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* About accent panel */

.about-visual {
    position: relative;
    height: 460px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 152, 79, 0.06);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.about-visual:hover img {
    transform: scale(1.05);
}

.about-visual-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.4);
    /* Overlay for text readability */
    backdrop-filter: blur(2px);
}

.about-visual-inner .emblem {
    font-family: 'Inter', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    opacity: 0.9;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-visual-inner p {
    font-family: 'Inter', sans-serif;
    /* Added Inter font */
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 16px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ================================================================
   SECTORS
   ================================================================ */
.sectors {
    padding: var(--section-py) 0;
    background: var(--off-white);
    position: relative;
}

/* Top gold line accent */
.sectors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.sectors-header {
    text-align: center;
    margin-bottom: 72px;
}

[dir="rtl"] .sectors-header,
[dir="rtl"] .sectors-header p {
    text-align: center;
}

.sectors-header .section-label {
    justify-content: center;
}

.sectors-header .section-label::before {
    display: none;
}

.sectors-header .section-subtitle {
    margin: 0 auto;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.sector-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 32px 40px;
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-muted));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

[dir="rtl"] .sector-card::before {
    transform-origin: right;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: var(--gold-border);
}

.sector-card:hover::before {
    transform: scaleX(1);
}

.sector-card:hover .icon-box {
    background: var(--gold);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 24px var(--gold-glow);
}

.sector-card .icon-box {
    margin-bottom: 28px;
}

.sector-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

[dir="rtl"] .sector-card h3 {
    font-family: var(--font-arabic);
    font-size: 1.3rem;
    letter-spacing: 0;
}

.sector-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================================================
   WHY SECTION
   ================================================================ */
.why {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
    background-image: url('assets/images/why-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Dark overlay for readability */
.why::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.92);
    z-index: 1;
}

/* Fine line accent */
.why::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gold-muted);
    opacity: 0.5;
    z-index: 2;
}

.why .section-title {
    color: var(--white);
}

.why .section-subtitle {
    color: var(--text-on-dark);
}

.why-header {
    text-align: center;
    margin-bottom: 72px;
    position: relative;
    z-index: 2;
}

[dir="rtl"] .why-header,
[dir="rtl"] .why-header p {
    text-align: center;
}

.why-header .section-label::before {
    display: none;
}

.why-header .section-label {
    justify-content: center;
}

.why-header .section-subtitle {
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    position: relative;
    z-index: 2;
}

.why-card {
    padding: 40px;
    border-radius: var(--radius);
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-dark);
    transition: all var(--duration) var(--ease);
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(196, 152, 79, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.why-card .icon-box {
    background: rgba(196, 152, 79, 0.06);
    border-color: rgba(196, 152, 79, 0.10);
    color: var(--gold);
    flex-shrink: 0;
}

.why-card:hover .icon-box {
    background: rgba(196, 152, 79, 0.12);
    border-color: rgba(196, 152, 79, 0.18);
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-on-dark-bright);
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-on-dark);
    line-height: 1.85;
}

[dir="rtl"] .why-card {
    /* flex-direction: row-reverse; REMOVED to allow natural RTL (Icon Right) */
    text-align: right;
}

/* ================================================================
   CONTACT / CTA
   ================================================================ */
.contact {
    padding: var(--section-py) 0;
    background: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: stretch;
    /* Stretch to match height */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 44px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

[dir="rtl"] .contact-item {
    /* flex-direction: row-reverse; REMOVED */
    text-align: right;
}

.contact-item .icon-box {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.contact-item .icon-box .icon {
    width: 20px;
    height: 20px;
}

.contact-item h4 {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

[dir="rtl"] .contact-item h4 {
    letter-spacing: 0;
}

.contact-item p {
    font-size: 0.92rem;
    color: var(--text-primary);
}

.contact-cta {
    background: var(--charcoal-rich);
    background-image: url('assets/images/contact-bg-v2.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    padding: 80px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(196, 152, 79, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    /* Flex for vertical centering if stretched */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.contact-cta>* {
    position: relative;
    z-index: 2;
}

.contact-cta h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

[dir="rtl"] .contact-cta h3 {
    font-family: var(--font-arabic);
    font-size: 1.7rem;
    letter-spacing: 0;
}

.contact-cta p {
    color: var(--text-on-dark);
    margin-bottom: 40px;
    line-height: 2;
    font-size: 0.94rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--charcoal-rich);
    border-top: 1px solid rgba(196, 152, 79, 0.06);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-about p {
    color: var(--text-on-dark);
    font-size: 0.86rem;
    line-height: 2;
    margin-top: 20px;
    max-width: 280px;
}

.footer h4 {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
}

[dir="rtl"] .footer h4 {
    letter-spacing: 0;
    font-size: 0.85rem;
}

.footer-links a {
    display: block;
    font-size: 0.84rem;
    color: var(--text-on-dark);
    padding: 5px 0;
    transition: all 0.35s var(--ease);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 6px;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 6px;
}

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.74rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    transition: all 0.35s var(--ease);
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal-rich);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.social-links a .icon {
    width: 14px;
    height: 14px;
}

/* ================================================================
   BILINGUAL TOGGLE
   ================================================================ */
[data-lang="en"] [data-ar],
[data-lang="ar"] [data-en] {
    display: none !important;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-stagger>.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-stagger>.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-stagger>.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-stagger>.reveal:nth-child(5) {
    transition-delay: 0.15s;
}

.reveal-stagger>.reveal:nth-child(6) {
    transition-delay: 0.25s;
}

/* ================================================================
   ARABIC TYPOGRAPHY OVERRIDES
   ================================================================ */
[dir="rtl"] .hero-description {
    font-size: 1.15rem;
    /* +15% */
}

[dir="rtl"] .about-text p {
    font-size: 1.15rem;
}

[dir="rtl"] .sector-card p,
[dir="rtl"] .why-card p {
    font-size: 1rem;
}

[dir="rtl"] .contact-cta p {
    font-size: 1.05rem;
}

[dir="rtl"] .contact-item p {
    font-size: 1.05rem;
}

[dir="rtl"] .footer-about p {
    font-size: 0.95rem;
}

[dir="rtl"] .footer-links a {
    font-size: 0.95rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    :root {
        --section-py: 100px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-visual {
        height: 360px;
    }

    .hero-description {
        margin: 0 auto 44px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-label::before {
        display: none;
    }

    .hero-corner {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 80px;
        --gap: 18px;
    }

    .navbar .container {
        height: 64px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        /* Use charcoal-deep hex for better mobile nav contrast */
        background: #2E2E2E;
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        padding: 52px 32px;
        gap: 28px;
        z-index: 999;
    }

    .nav-links.open a {
        font-size: 1.1rem;
        color: var(--white);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-visual {
        height: 260px;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-cta {
        padding: 48px 24px;
    }

    .container {
        padding: 0 20px;
    }
}