/* =========================================================
   Perfect Mauritania — Premium Investment Website
   ========================================================= */
:root {
    --green-900: #052017;
    --green-800: #07301f;
    --green-700: #0b4530;
    --green-600: #0f5a3d;
    --green-500: #157a52;
    --gold: #c9a227;
    --gold-light: #e6c766;
    --gold-dark: #a07d18;
    --cream: #f6f2e7;
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(233, 240, 235, 0.62);
    --line: rgba(201, 162, 39, 0.28);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.09);
    --radius: 18px;
    --container: 1240px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --shadow-gold: 0 18px 50px -18px rgba(201, 162, 39, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--green-900);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.is-rtl { font-family: 'Tajawal', 'Cairo', var(--font-body); }
body.is-rtl .section-title,
body.is-rtl .hero-title { font-family: 'Cairo', var(--font-head); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: 0.01em; }

/* ---------- Page loader ---------- */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(circle at 50% 40%, var(--green-700), var(--green-900));
    display: grid; place-items: center;
    transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-mark { width: 118px; height: 118px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden;
    box-shadow: 0 20px 50px -16px rgba(0,0,0,0.6), 0 0 0 2px rgba(201,162,39,0.7), 0 0 60px rgba(201,162,39,0.25);
    animation: loaderPulse 1.6s ease-in-out infinite; }
.loader-mark img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
@keyframes loaderPulse { 0%,100% { transform: scale(0.92); opacity: 0.6; } 50% { transform: scale(1.05); opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
    --btn-pad: 16px 30px;
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: var(--btn-pad); border-radius: 50px; font-weight: 600; font-size: 0.84rem;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; border: none;
    overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    will-change: transform;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn-sm { --btn-pad: 11px 22px; font-size: 0.72rem; }
.btn.full { width: 100%; justify-content: center; }

.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: #1c1402; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -18px rgba(201, 162, 39, 0.7); }
.btn-gold:hover svg { transform: translateX(4px); }
body.is-rtl .btn-gold:hover svg { transform: translateX(-4px) scaleX(-1); }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); background: rgba(201, 162, 39, 0.06); }

/* Ripple */
.ripple .ripple-wave {
    position: absolute; border-radius: 50%; transform: scale(0);
    background: rgba(255, 255, 255, 0.4); pointer-events: none; animation: ripple 0.7s var(--ease);
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* spinner */
.btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(28,20,2,0.3); border-top-color: #1c1402; border-radius: 50%; display: none; }
.btn.is-loading .btn-spinner { display: inline-block; animation: spin 0.7s linear infinite; }
.btn.is-loading .btn-label { opacity: 0.5; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; inset-inline: 0; z-index: 1000;
    padding: 20px 0; transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
    padding: 12px 0; background: rgba(5, 32, 23, 0.82);
    backdrop-filter: blur(18px); box-shadow: 0 10px 40px -20px rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(201,162,39,0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
    flex: 0 0 auto; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
    background: radial-gradient(circle at 50% 42%, rgba(255,255,255,0.96), rgba(246,242,231,0.9));
    box-shadow: 0 8px 22px -8px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,39,0.5);
    position: relative; overflow: hidden;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.brand-mark { width: 56px; height: 56px; object-fit: contain; display: block; }
.site-header.scrolled .brand-logo { width: 56px; height: 56px; }
.site-header.scrolled .brand-mark { width: 48px; height: 48px; }
.brand:hover .brand-logo { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 30px -10px rgba(201,162,39,0.7), 0 0 0 1px var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; color: var(--cream); letter-spacing: 0.05em; text-transform: uppercase; }
.brand-sub { font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-light); margin-top: 1px; }
body.is-rtl .brand-name { letter-spacing: 0; }
/* When header sits over a light section, keep the wordmark readable */
.site-header.scrolled .brand-name { color: var(--cream); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; padding: 8px 14px; font-size: 0.82rem; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: 2px; inset-inline-start: 14px; width: 0; height: 1.5px; background: var(--gold); transition: width 0.35s var(--ease); }
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { width: calc(100% - 28px); }

.header-actions { display: flex; align-items: center; gap: 14px; }
/* Segmented language toggle — both languages always visible, active one highlighted */
.lang-switch {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 4px 4px 4px 9px; border: 1px solid var(--line); border-radius: 50px;
    background: rgba(255,255,255,0.03); position: relative;
}
.lang-switch .lang-globe { color: var(--gold-light); margin-inline-end: 4px; flex: 0 0 auto; }
.lang-opt {
    display: inline-flex; align-items: center; justify-content: center; min-width: 30px;
    padding: 6px 12px; border-radius: 50px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
    color: var(--muted); transition: color 0.3s var(--ease), background 0.35s var(--ease), transform 0.2s var(--ease);
}
.lang-opt:hover { color: var(--cream); }
.lang-opt:active { transform: scale(0.94); }
.lang-opt.is-active {
    color: var(--green-900);
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
    box-shadow: 0 6px 16px -8px rgba(201,162,39,0.8);
}
.lang-switch-mobile { margin-top: 22px; align-self: flex-start; }
.lang-switch-mobile .lang-opt { padding: 9px 16px; font-size: 0.82rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: 0.35s var(--ease); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed; top: 0; inset-inline-end: 0; height: 100vh; width: min(82vw, 340px);
    background: linear-gradient(160deg, var(--green-700), var(--green-900));
    transform: translateX(110%); transition: transform 0.5s var(--ease);
    display: flex; flex-direction: column; gap: 6px; padding: 100px 30px 40px; z-index: 999;
    box-shadow: -30px 0 80px -30px rgba(0,0,0,0.7);
}
body.is-rtl .mobile-nav { transform: translateX(-110%); }
.mobile-nav.open,
body.is-rtl .mobile-nav.open { transform: translateX(0); }
.mobile-nav-link { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--text); }
.mobile-cta { margin-top: 20px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 150px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 120% at 80% 10%, var(--green-600) 0%, var(--green-800) 38%, var(--green-900) 100%); }
/* Real photographic backdrop */
.hero-photo {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0.55; transform: scale(1.08); filter: saturate(1.05) contrast(1.02);
    animation: heroKenBurns 20s ease-out infinite alternate;
}
@keyframes heroKenBurns { from { transform: scale(1.08) translate(0,0); } to { transform: scale(1.18) translate(-2%, -2%); } }
.hero-scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(5,32,23,0.94) 0%, rgba(5,32,23,0.78) 38%, rgba(5,32,23,0.35) 70%, rgba(5,32,23,0.6) 100%),
        linear-gradient(180deg, rgba(5,32,23,0.5) 0%, transparent 30%, rgba(5,32,23,0.85) 100%);
}
body.is-rtl .hero-scrim { background:
        linear-gradient(270deg, rgba(5,32,23,0.94) 0%, rgba(5,32,23,0.78) 38%, rgba(5,32,23,0.35) 70%, rgba(5,32,23,0.6) 100%),
        linear-gradient(180deg, rgba(5,32,23,0.5) 0%, transparent 30%, rgba(5,32,23,0.85) 100%); }

/* Prominent hero logo medallion */
.hero-emblem { width: 128px; height: 128px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 50%;
    background: #fff; overflow: hidden; position: relative;
    box-shadow: 0 26px 70px -20px rgba(0,0,0,0.78), 0 0 0 2px rgba(201,162,39,0.85), 0 0 0 11px rgba(201,162,39,0.10), 0 0 70px rgba(201,162,39,0.28);
    animation: emblemFloat 6.5s ease-in-out infinite;
}
.hero-emblem img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
@keyframes emblemFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mesh-gradient {
    position: absolute; inset: -20%;
    background:
        radial-gradient(40% 40% at 20% 30%, rgba(201,162,39,0.16), transparent 60%),
        radial-gradient(35% 45% at 80% 20%, rgba(21,122,82,0.5), transparent 65%),
        radial-gradient(45% 45% at 70% 80%, rgba(201,162,39,0.1), transparent 60%);
    animation: meshMove 18s ease-in-out infinite alternate; filter: blur(20px);
}
@keyframes meshMove { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-4%, 3%) scale(1.08); } }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%); }
.hero-globe { position: absolute; inset-inline-end: -10%; top: 50%; transform: translateY(-50%); width: 70vh; height: 70vh; max-width: 760px; max-height: 760px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(201,162,39,0.08), transparent 50%); opacity: 0.5; animation: spin 60s linear infinite; }
.hero-globe::before, .hero-globe::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201,162,39,0.15); }
.hero-globe::after { inset: 14%; border-color: rgba(255,255,255,0.06); }

.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 0.74rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 22px; }
.eyebrow.center { justify-content: center; width: 100%; }
.eyebrow-line { width: 42px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow.center .eyebrow-line:last-child { background: linear-gradient(90deg, transparent, var(--gold)); }

.hero-title { font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; margin-bottom: 26px; letter-spacing: -0.01em; text-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.hero-title .line { display: block; }
.hero-title .line-gold { background: linear-gradient(120deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 580px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* reveal animation */
/* .reveal is now a no-op marker; AOS (data-aos) drives reveal animations. */

.hero-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 70px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(12px); transition: transform 0.5s var(--ease), border-color 0.5s, background 0.5s; }
.feature-card:hover { transform: translateY(-8px); border-color: var(--line); background: rgba(201,162,39,0.06); }
.feature-icon { display: inline-flex; color: var(--gold-light); margin-bottom: 16px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--cream); }
.feature-card p { font-size: 0.88rem; color: var(--muted); }

.scroll-cue { position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.66rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.scroll-dot { width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 12px; position: relative; }
.scroll-dot::after { content: ''; position: absolute; top: 6px; inset-inline-start: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--gold); border-radius: 4px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Sections base ---------- */
.section { position: relative; padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; color: var(--cream); }
.section-sub { color: var(--muted); font-size: 1.04rem; }
.lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 30px; }

/* ---------- Stats ---------- */
.stats-section { padding: 50px 0; background: linear-gradient(180deg, var(--green-900), var(--green-800)); border-block: 1px solid rgba(201,162,39,0.12); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 14px; }
.stat-icon { display: inline-flex; color: var(--gold); margin-bottom: 12px; }
.stat-value { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; color: var(--cream); line-height: 1; }
.stat-suffix { color: var(--gold-light); }
.stat-label { display: block; margin-top: 8px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- About ---------- */
.about-section { background: var(--green-800); }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 70px; align-items: center; }
.about-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.about-visual img { width: 64%; position: relative; z-index: 2; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4)); }
/* About real photo */
.about-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(12,44,31,0.6); }
.about-photo > img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.about-photo:hover > img { transform: scale(1.05); }
.about-photo-accent { position: absolute; inset: 0; pointer-events: none; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25), inset 0 0 0 6px rgba(201,162,39,0.18); }
.about-photo-badge { position: absolute; inset-inline-end: -18px; bottom: -18px; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #fff, #f6f2e7); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,39,0.55); }
.about-photo-badge img { width: 84px; height: 84px; object-fit: contain; }
.about-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(201,162,39,0.4); animation: spin 40s linear infinite; }
.about-ring::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.07); }
.about-ring::after { content: ''; position: absolute; top: -4px; inset-inline-start: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 14px; }
.vm-card { background: var(--card-bg); border: 1px solid var(--card-border); border-inline-start: 3px solid var(--gold); border-radius: 14px; padding: 24px; transition: transform 0.4s var(--ease); }
.vm-card:hover { transform: translateY(-6px); }
.vm-card h4 { font-size: 1.3rem; color: var(--gold-light); margin-bottom: 8px; }
.vm-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Sectors ---------- */
.sectors-section { background: linear-gradient(180deg, var(--green-800), var(--green-900)); }
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sector-card { position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 36px 28px; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.5s; }
.sector-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.sector-card.has-media { padding: 0; }
.sector-media { display: block; position: relative; height: 190px; background-size: cover; background-position: center; }
.sector-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,32,23,0.55)), linear-gradient(0deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.sector-card.has-media:hover .sector-media { transform: none; }
.sector-media { transition: transform 0.7s var(--ease); }
.sector-card.has-media:hover .sector-media { transform: scale(1.06); }
.sector-media-icon { position: absolute; bottom: 14px; inset-inline-start: 18px; z-index: 2; display: inline-flex; padding: 11px; border-radius: 12px; background: rgba(5,32,23,0.6); color: #fff; backdrop-filter: blur(6px); }
.sector-body { display: block; }
.sector-card.has-media .sector-body { padding: 26px 28px 32px; }
.sector-icon { display: inline-flex; padding: 16px; border-radius: 14px; background: rgba(201,162,39,0.1); color: var(--accent); margin-bottom: 22px; transition: transform 0.5s var(--ease); }
.sector-card:hover .sector-icon { transform: rotate(-6deg) scale(1.08); }
.section--light .sector-card.has-media .sector-body h3 { color: var(--ink); }
.section--light .sector-card.has-media .sector-body p { color: var(--ink-soft); }
.sector-card h3 { font-size: 1.5rem; color: var(--cream); margin-bottom: 12px; }
.sector-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.sector-link { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.sector-link .arrow { transition: transform 0.4s var(--ease); }
.sector-card:hover .sector-link .arrow { transform: translateX(5px); }
body.is-rtl .sector-link .arrow { transform: scaleX(-1); }
.sector-glow { position: absolute; bottom: -60%; inset-inline-end: -30%; width: 70%; height: 100%; background: radial-gradient(circle, var(--accent), transparent 70%); opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.sector-card:hover .sector-glow { opacity: 0.18; }

/* ---------- Presence ---------- */
.presence-section { background: var(--green-900); }
.presence-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; }
.world-map { position: relative; width: 100%; aspect-ratio: 2 / 1; max-width: 1000px; margin: 0 auto; }
.world-svg { width: 100%; height: 100%; }
.map-pin { position: absolute; transform: translate(-50%, -50%); background: none; border: none; cursor: pointer; padding: 0; }
.pin-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); position: relative; z-index: 2; }
.map-pin.is-hq .pin-dot { background: var(--gold-light); width: 15px; height: 15px; }
.pin-pulse { position: absolute; top: 50%; inset-inline-start: 50%; transform: translate(-50%,-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--gold); animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { 0% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; } 100% { transform: translate(-50%,-50%) scale(4); opacity: 0; } }
.pin-tooltip { position: absolute; bottom: 150%; inset-inline-start: 50%; transform: translateX(-50%) translateY(8px); white-space: nowrap; background: rgba(5,32,23,0.95); border: 1px solid var(--line); color: var(--cream); font-size: 0.72rem; padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: 0.3s var(--ease); }
.map-pin:hover .pin-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.presence-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.presence-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; transition: 0.4s var(--ease); }
.presence-item:hover { border-color: var(--line); transform: translateY(-4px); }
.presence-flag { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1c1402; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.presence-item strong { display: block; color: var(--cream); }
.presence-item span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Projects ---------- */
.projects-section { background: linear-gradient(180deg, var(--green-900), var(--green-800)); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s; }
.project-card:hover { transform: translateY(-10px); border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.project-media { position: relative; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.project-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,32,23,0.6)); }
.project-card:hover .project-media { transform: scale(1.04); }
.project-media { transition: transform 0.7s var(--ease); }
.project-status { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 50px; font-weight: 600; backdrop-filter: blur(6px); }
.status-ongoing { background: rgba(201,162,39,0.85); color: #1c1402; }
.status-completed { background: rgba(21,122,82,0.85); color: #fff; }
.status-planned { background: rgba(255,255,255,0.12); color: var(--cream); border: 1px solid var(--line); }
.project-body { padding: 26px; }
.project-sector { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.project-body h3 { font-size: 1.4rem; margin: 8px 0 10px; color: var(--cream); }
.project-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.project-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }

/* ---------- Investors ---------- */
.investors-section { background: var(--green-800); overflow: hidden; }
.investors-bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(201,162,39,0.1), transparent 60%); }
.investors-inner { position: relative; text-align: center; margin: 0 auto; }
.investor-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 44px 0; }
.ipoint { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px 24px; text-align: start; transition: 0.4s var(--ease); }
.ipoint:hover { transform: translateY(-6px); border-color: var(--line); }
.ipoint-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 10px; }
.ipoint p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Partners ---------- */
.partners-section { background: linear-gradient(180deg, var(--green-800), var(--green-900)); }
.partners-carousel { position: relative; padding: 0 8px; }
.partners-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent); mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; will-change: transform; }
/* Carousel arrows */
.pc-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--green-700); border: 1px solid rgba(12,44,31,0.12); cursor: pointer;
    box-shadow: 0 14px 32px -14px rgba(0,0,0,0.45); transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.pc-arrow:hover { background: var(--gold); color: #fff; transform: translateY(-50%) scale(1.08); }
.pc-arrow svg { width: 22px; height: 22px; }
.pc-prev { left: -6px; }
.pc-next { right: -6px; }
body.is-rtl .pc-prev svg, body.is-rtl .pc-next svg { transform: scaleX(-1); }
@media (max-width: 620px) { .pc-arrow { width: 40px; height: 40px; } .pc-prev { left: -2px; } .pc-next { right: -2px; } }
.partner-chip { flex: 0 0 auto; min-width: 210px; height: 96px; display: flex; align-items: center; gap: 16px; padding: 0 28px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; font-family: var(--font-head); font-size: 1.1rem; color: var(--muted); text-decoration: none; transition: 0.4s var(--ease); }
.partner-chip:hover { color: var(--gold-light); border-color: var(--line); transform: translateY(-3px); }
.partner-logo { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: 0.4s; }
.partner-name { white-space: nowrap; }
.partner-chip:hover .partner-logo { background: rgba(201,162,39,0.12); border-color: rgba(201,162,39,0.35); }

/* ---------- Google Maps embed ---------- */
.map-embed { position: relative; width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-map { margin-top: 28px; }
.contact-map iframe { min-height: 260px; }
.map-tall iframe { min-height: 420px; }
.project-map-section { background: var(--green-900); }

/* ---------- Captcha ---------- */
.captcha-field { margin: 4px 0 18px; display: flex; justify-content: flex-start; }
body.is-rtl .captcha-field { justify-content: flex-end; }
.captcha-field .g-recaptcha { transform-origin: 0 0; }
body.is-rtl .captcha-field .g-recaptcha { transform-origin: 100% 0; }

/* ---------- Contact ---------- */
.contact-section { background: var(--green-900); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-meta { margin-top: 30px; display: grid; gap: 18px; }
.contact-meta li { display: flex; align-items: flex-start; gap: 14px; color: var(--muted); }
.cm-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(201,162,39,0.1); color: var(--gold-light); }
.contact-form-wrap { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 40px; backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--card-border); border-radius: 12px; padding: 18px 16px 8px; color: var(--cream); font-family: inherit; font-size: 0.95rem; transition: border-color 0.3s, background 0.3s; resize: vertical; }
.field textarea { padding-top: 22px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(201,162,39,0.05); }
.field label { position: absolute; top: 15px; inset-inline-start: 16px; color: var(--muted); font-size: 0.92rem; pointer-events: none; transition: 0.25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }
.form-feedback { margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.form-feedback.success { color: var(--gold-light); }
.form-feedback.error { color: #ff9a8a; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--green-900); padding-top: 80px; border-top: 1px solid rgba(201,162,39,0.12); overflow: hidden; }
.footer-glow { position: absolute; top: -50%; inset-inline-start: 50%; transform: translateX(-50%); width: 60%; height: 100%; background: radial-gradient(circle, rgba(201,162,39,0.08), transparent 70%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { width: 88px; height: 88px; margin-bottom: 18px; border-radius: 50%; background: #fff; object-fit: contain; padding: 7px; overflow: hidden;
    box-shadow: 0 12px 30px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,162,39,0.55); transition: transform 0.5s var(--ease); }
.footer-logo:hover { transform: rotate(6deg) scale(1.04); }
.footer-about { color: var(--muted); font-size: 0.9rem; max-width: 320px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 12px; }
.social-dot { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--card-border); color: var(--muted); transition: 0.4s var(--ease); }
.social-dot:hover { color: #1c1402; background: var(--gold); transform: translateY(-4px); border-color: var(--gold); }
.footer-heading { font-size: 1.05rem; color: var(--cream); margin-bottom: 20px; letter-spacing: 0.04em; }
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-links a, .footer-contact a { color: var(--muted); font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact li { color: var(--muted); font-size: 0.9rem; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--card-border); border-radius: 50px; padding: 12px 18px; color: var(--cream); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; font-size: 0.82rem; color: var(--muted); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-credit { display: inline-flex; align-items: center; gap: 6px; }
.footer-credit a { color: var(--gold-light); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.3px; transition: color 0.3s var(--ease); }
.footer-credit a:hover { color: #fff; }
@media (max-width: 620px) { .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; } }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; bottom: 28px; inset-inline-end: 28px; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #1c1402; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: 0.4s var(--ease); z-index: 900; box-shadow: var(--shadow-gold); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* =========================================================
   Motion layer — richer, choreographed animations
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
    position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
    z-index: 1100; box-shadow: 0 0 12px rgba(201,162,39,0.6);
    transition: width 0.1s linear;
}
body.is-rtl .scroll-progress { inset-inline-start: auto; inset-inline-end: 0; }

/* Hero: mouse/scroll parallax + breathing depth */
.hero-bg > * { will-change: transform; }
.hero-parallax { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }

/* Animated shimmer sweep across the gold hero line */
.hero-title .line-gold {
    background: linear-gradient(120deg, var(--gold-dark) 0%, var(--gold-light) 25%, #fff5d6 45%, var(--gold-light) 60%, var(--gold) 100%);
    background-size: 280% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: goldShimmer 7s ease-in-out infinite;
}
@keyframes goldShimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Floating hero feature cards (subtle idle motion) */
.hero-cards .feature-card { animation: floatY 7s ease-in-out infinite; }
.hero-cards .feature-card:nth-child(2) { animation-delay: 0.8s; }
.hero-cards .feature-card:nth-child(3) { animation-delay: 1.6s; }
.hero-cards .feature-card:nth-child(4) { animation-delay: 2.4s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-cards .feature-card:hover { animation-play-state: paused; }

/* 3D tilt cards */
.tilt { transform-style: preserve-3d; transition: transform 0.18s var(--ease); will-change: transform; }
.tilt .tilt-inner { transform: translateZ(28px); }
.tilt-glare {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.22), transparent 45%);
    transition: opacity 0.3s var(--ease);
}
.tilt:hover .tilt-glare { opacity: 1; }

/* Scroll-reveal animations are provided by the self-hosted AOS library (vendor/aos). */

/* Section titles get an underline draw-in */
.section-title { position: relative; }
.section-head .section-title::after {
    content: ''; display: block; width: 0; height: 3px; margin: 16px auto 0; border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width 0.9s var(--ease) 0.2s;
}
.section-head.in .section-title::after { width: 88px; }

/* Stat pop when counting */
.stat.in .stat-value { animation: statPop 0.7s var(--ease); }
@keyframes statPop { 0% { transform: scale(0.85); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* Glow pulse on primary CTA */
.btn-gold::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(201,162,39,0.55); animation: ctaPulse 2.8s ease-out infinite; pointer-events: none;
}
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(201,162,39,0.5); } 70%,100% { box-shadow: 0 0 0 18px rgba(201,162,39,0); } }

/* Nav link active-section highlight */
.nav-link.is-current { color: var(--cream); }
.nav-link.is-current::after { width: calc(100% - 28px); }

/* =========================================================
   Sub-pages (projects / sectors detail + index)
   ========================================================= */
a.sector-card, a.project-card { display: block; color: inherit; }

.page-hero {
    position: relative; padding: 200px 0 90px; overflow: hidden;
    background:
        radial-gradient(120% 120% at 80% 0%, var(--green-600) 0%, var(--green-800) 45%, var(--green-900) 100%);
}
.page-hero.has-media::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background-image: var(--hero-media); background-size: cover; background-position: center;
    opacity: 0.32; transform: scale(1.05); filter: saturate(1.05);
    animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1.12); } }
.page-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(40% 50% at 15% 20%, rgba(201,162,39,0.14), transparent 60%),
        linear-gradient(180deg, rgba(5,32,23,0.55), rgba(5,32,23,0.9));
}
.page-hero-inner { position: relative; z-index: 2; max-width: 880px; }
.page-hero-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--cream); margin: 18px 0 18px; }
.page-hero-sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 640px; }
.hero-status { display: inline-flex; margin-bottom: 8px; }

.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--gold-light); transition: color 0.3s; }
.crumbs a:hover { color: var(--cream); }
.crumbs span { opacity: 0.5; }
.crumbs strong { color: var(--cream); font-weight: 600; }

.sector-hero .page-hero-overlay { background: radial-gradient(40% 50% at 15% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), linear-gradient(180deg, rgba(5,32,23,0.5), rgba(5,32,23,0.92)); }
.sector-hero-icon { display: inline-flex; padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }

.detail-section { background: var(--green-800); }
.detail-grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 56px; align-items: start; }
.detail-body .eyebrow { margin-bottom: 18px; }
.rich { color: var(--text); font-size: 1.02rem; line-height: 1.9; }
.rich p { margin-bottom: 18px; color: rgba(233,240,235,0.82); }
.rich h2, .rich h3 { color: var(--cream); margin: 28px 0 12px; }
.rich ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 18px; color: rgba(233,240,235,0.82); }
.rich li { margin-bottom: 8px; }
.rich a { color: var(--gold-light); text-decoration: underline; }
.rich img { border-radius: 14px; margin: 18px 0; }

.detail-aside { position: sticky; top: 110px; }
.facts-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px; backdrop-filter: blur(12px); }
.facts-title { font-size: 1.2rem; color: var(--cream); margin-bottom: 18px; }
.facts-list { display: grid; gap: 14px; margin-bottom: 26px; }
.facts-list li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--card-border); }
.facts-list span { color: var(--muted); font-size: 0.84rem; }
.facts-list strong { color: var(--cream); font-weight: 600; text-align: end; }

.related-section { background: var(--green-900); }
.other-sectors-section { background: linear-gradient(180deg, var(--green-900), var(--green-800)); }
.empty-note { text-align: center; color: var(--muted); font-size: 1rem; padding: 30px 0; }

.section-cta { text-align: center; margin-top: 50px; }

/* CTA band */
.cta-band { background: linear-gradient(180deg, var(--green-800), var(--green-900)); text-align: center; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% 0%, rgba(201,162,39,0.12), transparent 60%); }
.cta-band-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-band-inner .section-sub { margin-bottom: 30px; }

/* =========================================================
   Light sections — break up the dark palette
   ========================================================= */
.section--light {
    --ink: #0c2c1f;
    --ink-soft: #4c5f55;
    background: linear-gradient(180deg, #f7f5ec 0%, #eef2ec 100%);
    color: var(--ink);
}
.section--light .section-title,
.section--light h2, .section--light h3, .section--light h4 { color: var(--ink); }
.section--light .section-sub,
.section--light p, .section--light .lead { color: var(--ink-soft); }
.section--light .eyebrow { color: var(--gold-dark); }
.section--light .eyebrow-line { background: linear-gradient(90deg, var(--gold-dark), transparent); }
.section--light .eyebrow.center .eyebrow-line:last-child { background: linear-gradient(90deg, transparent, var(--gold-dark)); }
.section--light .section-head .section-title::after { background: linear-gradient(90deg, transparent, var(--gold-dark), transparent); }

/* Cards inside light sections */
.section--light .feature-card,
.section--light .vm-card,
.section--light .ipoint,
.section--light .office-card,
.section--light .partner-chip {
    background: #ffffff;
    border-color: rgba(12,44,31,0.10);
    box-shadow: 0 20px 44px -30px rgba(12,44,31,0.5);
}
.section--light .feature-card:hover,
.section--light .vm-card:hover,
.section--light .ipoint:hover,
.section--light .office-card:hover { border-color: rgba(201,162,39,0.55); }
.section--light .feature-card h3,
.section--light .vm-card h4,
.section--light .office-city { color: var(--ink); }
.section--light .feature-card p,
.section--light .vm-card p,
.section--light .ipoint p { color: var(--ink-soft); }
.section--light .feature-icon,
.section--light .vm-card h4 { color: var(--gold-dark); }
.section--light .partner-chip { color: var(--ink-soft); }
.section--light .partner-chip:hover { color: var(--gold-dark); }
.section--light .partner-logo { background: rgba(12,44,31,0.05); border-color: rgba(12,44,31,0.10); }
.section--light .partner-chip:hover .partner-logo { background: rgba(201,162,39,0.14); border-color: rgba(201,162,39,0.4); }

/* About visual ring tuned for light bg */
.section--light .about-ring { border-color: rgba(160,125,24,0.45); }

/* =========================================================
   Global footprint (presence redesign — no map)
   ========================================================= */
.footprint { display: grid; gap: 48px; }
.footprint-stats {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 38px;
    padding: 30px 24px; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(12,44,31,0.04), rgba(201,162,39,0.07));
    border: 1px solid rgba(12,44,31,0.08);
}
.fp-stat { text-align: center; min-width: 120px; }
.fp-num { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--gold-dark); display: block; line-height: 1; }
.fp-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #5a6b62; margin-top: 8px; display: block; }
.fp-divider { width: 1px; height: 46px; background: rgba(12,44,31,0.12); }

.offices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.office-card { position: relative; border: 1px solid; border-radius: var(--radius); padding: 26px; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s; }
.office-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px transparent; }
.office-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -28px rgba(12,44,31,0.55); }
.office-card.is-hq { border-color: var(--gold) !important; box-shadow: 0 22px 44px -28px rgba(201,162,39,0.6); }
.office-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.office-flag { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #1c1402; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.office-badge { font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--green-900); background: var(--gold-light); padding: 5px 11px; border-radius: 50px; }
.office-city { font-size: 1.35rem; margin-bottom: 2px; }
.office-country { font-size: 0.84rem; color: var(--gold-dark); font-weight: 600; }
.office-meta { margin-top: 18px; display: grid; gap: 11px; }
.office-meta li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; color: #5a6b62; }
.office-meta svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold-dark); }
.office-meta a { color: #5a6b62; transition: color 0.3s; }
.office-meta a:hover { color: var(--gold-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-cards, .stats-grid, .sectors-grid, .presence-list, .offices-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid, .investor-points { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .detail-aside { position: static; }
    .page-hero { padding: 160px 0 70px; }
    .about-media { max-width: 360px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .main-nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .section { padding: 80px 0; }
    .hero-cards { grid-template-columns: 1fr; }
    .hero-emblem { width: 104px; height: 104px; margin-bottom: 20px; }
    .stats-grid, .sectors-grid, .projects-grid, .investor-points, .presence-list, .offices-grid, .form-row, .vm-grid, .footer-grid { grid-template-columns: 1fr; }
    .footprint-stats { gap: 24px; }
    .fp-divider { display: none; }
    .container { padding: 0 20px; }
    .contact-form-wrap { padding: 26px; }
}

/* Board Section Styling */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.board-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.board-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.board-media {
    position: relative;
    width: 100%;
    padding-top: 110%; /* نسبة ارتفاع الصورة */
    overflow: hidden;
    background-color: #f4f4f4;
}

.board-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.board-card:hover .board-media img {
    transform: scale(1.05);
}

.board-body {
    padding: 20px 15px;
}

.board-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color, #111);
}

.board-role {
    font-size: 0.9rem;
    color: var(--gold-color, #c5a47e); /* لون الـ Accent الخاص بموقعك */
    font-weight: 500;
    display: block;
}

/* Note: motion is intentionally kept enabled (scroll animations + marquee) per design request. */