/* =====================================================================
   HEED — main site stylesheet
   Extracted from inline <style> block in index.html so the HTML payload
   stays lean and the stylesheet is cacheable across visits. Identical
   content; any edit here applies site-wide.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #0A0A0A;
    background: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

:root {
    --red: #EE3524;
    --red-dark: #C42818;
    --black: #231F20;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-mid: #E0E0E0;
    --gray-text: #666666;
    --search-orange: #C7620A;
    --digital-purple: #7B3FBE;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
a { color: inherit; }

/* === GLOBAL JUSTIFICATION for long-form prose ===
   Applied uniformly across the 3 sites: bios, descriptions, intro paragraphs,
   and section subtitles get justified for a clean editorial right edge.
   Hyphenation is DISABLED (hyphens:none + word-break:normal) so words never
   break with a hyphen across lines — important on mobile where narrow columns
   previously produced lots of split words. overflow-wrap:break-word keeps
   extreme outliers (very long URLs / unbreakable strings) from overflowing. */
.hero-subtitle,
.section-header p,
.about-text p,
.entity-desc,
.leader-bio,
.spirit-text,
.testimonial-text,
.contact-info .lead {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
}
/* On narrow viewports, justify can produce ugly word-spacing rivers when the
   column is too tight — fall back to left-align below 600px so mobile copy
   reads naturally without hyphens or wide gaps. */
@media (max-width: 600px) {
    .hero-subtitle,
    .section-header p,
    .about-text p,
    .entity-desc,
    .leader-bio,
    .spirit-text,
    .testimonial-text,
    .contact-info .lead {
        text-align: left;
    }
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section { padding: 110px 0; }

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: block;
}

.red-bar {
    display: block;
    width: 4px;
    height: 44px;
    background: var(--red);
    flex-shrink: 0;
    margin-right: 24px;
}

.section-header { display: flex; align-items: flex-start; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-header p { font-size: 16px; color: var(--gray-text); line-height: 1.75; max-width: 640px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.2px;
    border: none;
}
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; color: white; }
.btn-group { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(35,31,32,0.96);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    transition: padding 0.3s, box-shadow 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-cta {
    background: var(--red) !important;
    color: white !important;
    padding: 9px 22px;
    border-radius: 2px;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: var(--black);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(238,53,36,0.09) 0%, transparent 55%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 920px; }
/* Award badge — UPPER-RIGHT placement
   Sits in the upper-right corner of the hero, just below the nav so it lines
   up visually under the "Get in Touch" CTA. Width scales with the viewport
   (18% capped between 70px and 130px). On mobile, the nav links collapse
   but the brand row is still ~80px tall — the badge sits clear of it at
   top: 96px and shrinks to 64px so it doesn't overlap the header. */
.hero-award {
    position: absolute;
    top: 110px;           /* clears the fixed nav (nav padding 20 + logo 58 + breath ~32) */
    right: 6%;
    width: 18%;
    max-width: 130px;
    min-width: 70px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 8px 28px rgba(0,0,0,0.35));
}
.hero-award img { width: 100%; height: auto; display: block; }
/* Tablet — slightly tighter offset, still upper-right */
@media (max-width: 1100px) {
    .hero-award { top: 104px; right: 24px; width: 110px; }
}
/* Mobile — small badge in the upper-right corner; offset is large enough
   that the nav (collapsed brand row) never clips the badge's top edge. */
@media (max-width: 768px) {
    .hero-award {
        top: 130px;
        right: 16px;
        width: 64px;
        min-width: 0;
        max-width: none;
        filter: drop-shadow(0 5px 14px rgba(0,0,0,0.35));
    }
}
/* Very narrow phones — keep the badge readable but minimal */
@media (max-width: 380px) {
    .hero-award { top: 122px; right: 12px; width: 56px; }
}
.hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 28px;
}
.hero-title {
    font-size: clamp(46px, 6vw, 80px);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 32px;
}
.hero-title .accent { color: var(--red); }
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 44px;
    font-weight: 400;
}
.hero-subtitle strong { color: white; font-weight: 600; }
.hero-stats {
    display: flex;
    gap: 56px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 48px;
    flex-wrap: wrap;
}
.hero-stat-num { font-size: 38px; font-weight: 800; color: white; line-height: 1; letter-spacing: -1px; }
.hero-stat-num span { color: var(--red); }
.hero-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    margin-top: 7px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ===== RECOGNITION STRIP ===== */
.recognition-strip { background: var(--red); padding: 18px 0; }
.recognition-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}
.recognition-strip p {
    color: rgba(255,255,255,0.94);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}
.recognition-strip strong { font-weight: 700; color: white; }

/* ===== ABOUT (intro / who we are) ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.14;
}
.about-text p {
    font-size: 15.5px;
    line-height: 1.85;
    color: #4a4a4a;
    margin-bottom: 18px;
}
.about-text strong { color: var(--black); font-weight: 700; }

.stats-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--gray-mid);
}
.stat-box { background: white; padding: 36px 30px; }
.stat-box.dark { background: var(--black); }
.stat-box.dark .stat-num { color: white; }
.stat-box.dark .stat-num span { color: var(--red); }
.stat-box.dark .stat-lbl { color: rgba(255,255,255,0.55); }
.stat-box.dark .stat-sub { color: rgba(255,255,255,0.32); }
.stat-num { font-size: 50px; font-weight: 800; color: var(--black); line-height: 1; letter-spacing: -1.5px; }
.stat-num span { color: var(--red); }
.stat-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--black); margin-top: 10px; }
.stat-sub { font-size: 12px; color: var(--gray-text); margin-top: 4px; line-height: 1.5; }

/* ===== ENTITIES (the heart of the home page) ===== */
.entities-bg { background: var(--gray-light); }
.entities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.entity-card {
    background: white;
    padding: 0;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border: 1px solid var(--gray-mid);
}
.entity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.12);
    z-index: 1;
}
/* Equal-alignment grid: every card has matching slots so logos, taglines,
   titles, and descriptions all line up on the same horizontal baselines
   across the 3 cards — even when titles wrap to 3 lines. */
.entity-card .entity-top {
    padding: 48px 40px 32px;
    border-top: 4px solid var(--red);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.entity-card.search .entity-top { border-top-color: var(--search-orange); }
.entity-card.digital .entity-top { border-top-color: var(--digital-purple); background: var(--black); }

.entity-logo-wrap {
    min-height: 60px;
    flex: 0 0 60px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
}
.entity-logo-wrap img { height: 48px; width: auto; max-width: 100%; }

.entity-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    flex: 0 0 16px;
    margin-bottom: 14px;
}
.entity-card.search .entity-tagline { color: var(--search-orange); }
.entity-card.digital .entity-tagline { color: var(--digital-purple); }

/* Title slot reserved for up to 3 wrapped lines (22px × 1.2 ≈ 26.4px each)
   so descriptions all begin on the same horizontal line, regardless of title length. */
.entity-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 88px;
    flex: 0 0 88px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}
.entity-card.digital .entity-title { color: white; }
.entity-card.digital .entity-desc { color: rgba(255,255,255,0.6); }
.entity-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--gray-text);
    flex: 1;
    margin-bottom: 0;
}

.entity-cta-bar {
    padding: 20px 40px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.entity-card.consulting .entity-cta-bar { color: var(--red); }
.entity-card.search .entity-cta-bar { color: var(--search-orange); }
.entity-card.digital .entity-cta-bar { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.06); }
.entity-card.consulting:hover .entity-cta-bar { background: var(--red); color: white; }
.entity-card.search:hover .entity-cta-bar { background: var(--search-orange); color: white; }
.entity-cta-bar .arrow { transition: transform 0.2s; }
.entity-card:hover .entity-cta-bar .arrow { transform: translateX(6px); }

/* Sits in the same slot as .entity-tagline (16px tall) so the title
   below it lines up across the 3 cards. */
.coming-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    background: rgba(123,63,190,0.18);
    border: 1px solid rgba(123,63,190,0.4);
    color: rgba(255,255,255,0.85);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    flex: 0 0 16px;
    margin-bottom: 14px;
}
.coming-dot {
    width: 6px; height: 6px;
    background: var(--digital-purple);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.6); }
}

/* ===== SPIRIT / VALUES ===== */
.spirit-section { background: var(--black); color: white; }
.spirit-section .section-header h2 { color: white; }
.spirit-section .section-header p { color: rgba(255,255,255,0.55); }
.spirit-section .section-header p strong { color: white; font-weight: 600; }
.spirit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.08);
}
/* Spirit cards align in lockstep: number / title / text each occupy a fixed slot
   so 4 cards with different title lengths still have descriptions starting on the
   same horizontal line. */
.spirit-card {
    background: var(--black);
    padding: 38px 30px;
    display: flex;
    flex-direction: column;
}
.spirit-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--red);
    flex: 0 0 14px;
    margin-bottom: 14px;
}
.spirit-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    min-height: 48px;       /* fits up to 2 lines */
    flex: 0 0 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}
.spirit-text {
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    flex: 1;
}

/* ===== LEADERSHIP =====
   Layout matches company-profile slide 7: square portrait at the top of
   each card, then affiliation/name/title/bio. Portraits use object-fit:cover
   so any source aspect ratio centers cleanly. */
.leadership-bg { background: var(--gray-light); }
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.leader-card {
    background: white;
    border-top: 4px solid var(--red);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.leader-card.search-leader { border-top-color: var(--search-orange); }
/* Portrait = full-width of card, fixed 1:1 aspect, deck-style square crop. */
.leader-portrait {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 25%;  /* favours the face */
    background: var(--gray-mid);
    display: block;
}
/* Initials fallback if no portrait file exists — same shape, same size. */
.leader-portrait.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: white;
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
}
/* Reserved-slot layout: affiliation / name / title each have a fixed height,
   so the bio paragraphs across all 3 leader cards start on the exact same line. */
.leader-card-body {
    padding: 32px 32px 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.leader-affiliation {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    flex: 0 0 14px;
    margin-bottom: 14px;
}
.leader-card.search-leader .leader-affiliation { color: var(--search-orange); }
.leader-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.5px;
    min-height: 30px;
    flex: 0 0 30px;
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
}
.leader-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gray-text);
    line-height: 1.45;
    min-height: 32px;        /* allows 2-line role labels */
    flex: 0 0 32px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-mid);
    display: flex;
    align-items: flex-start;
}
.leader-bio {
    font-size: 13.5px;
    line-height: 1.78;
    color: #4a4a4a;
    flex: 1;
}

/* ===== CLIENT LOGOS — auto-scrolling marquee =====
   The track element holds the list of logos duplicated twice (visible in HTML
   below). The animation translates the whole track left by exactly -50% of its
   width — i.e. one full duplicate set — over 35s, then loops. Because the
   second half is an identical copy, the loop is seamless: the moment the first
   set finishes, the second set is exactly where the first started.

   To add a logo:
     1. Drop the file into main/assets/client_logos/ (PNG or JPG, transparent
        background preferred, max ~200KB).
     2. Add ONE <div class="logo-item"> entry inside the track AND duplicate it
        in the second half — see the HTML below for the pattern.

   Slot is fixed at 160px × 80px; logos scale to fit (object-fit:contain) so
   odd aspect ratios still center cleanly without distorting the row. */
.logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 24px 0;
    background: var(--gray-light);
    border-top: 1px solid var(--gray-mid);
    border-bottom: 1px solid var(--gray-mid);
    margin-bottom: 48px;
}
.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee::before { left: 0;  background: linear-gradient(to right, var(--gray-light) 0%, transparent 100%); }
.logo-marquee::after  { right: 0; background: linear-gradient(to left,  var(--gray-light) 0%, transparent 100%); }
.logo-track {
    display: flex;
    gap: 56px;
    align-items: center;
    width: max-content;
    animation: logo-scroll 35s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item {
    flex: 0 0 auto;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}
.logo-item:hover img { filter: grayscale(0%); opacity: 1; }
@keyframes logo-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; }
}

/* ===== TESTIMONIALS =====
   Layout strategy: every card is a flex column. The .testimonial-text grows
   to fill (flex:1), and the .testimonial-author-block has margin-top:auto —
   which pushes the portrait+name row to the BOTTOM of the card. Result:
   even when one quote is much longer than another, the portrait+name rows
   across the row stay perfectly aligned at the same horizontal line. */
/* Compact testimonials — ~30% less vertical space than the previous spec.
   4 testimonials read together as a row of voices, not 4 separate spreads. */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
}
.testimonial-card {
    background: var(--gray-light);
    padding: 22px 26px 24px;
    position: relative;
    border-left: 4px solid var(--red);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.testimonial-card .quote-mark {
    font-size: 36px;
    color: var(--red);
    font-weight: 800;
    line-height: 0.5;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 14px;
    line-height: 1.65;
    color: #2a2a2a;
    margin-bottom: 14px;
    font-style: italic;
    flex: 1;
}
/* Author block always sits at the bottom — margin-top:auto pushes it down. */
.testimonial-author-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}
.testimonial-portrait {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: var(--gray-mid);
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.testimonial-portrait.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: white;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}
.testimonial-author-text { flex: 1; min-width: 0; }
.testimonial-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
    line-height: 1.3;
}
.testimonial-company {
    font-size: 10.5px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    line-height: 1.35;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--black); padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}
.contact-info .lead {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 44px;
}
.office-block { margin-bottom: 22px; }
.office-city {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 5px;
}
.office-detail { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; }
.office-detail a { color: inherit; text-decoration: none; transition: color 0.2s; }
.office-detail a:hover { color: white; }

/* Offices group: UAE + Lebanon presented side-by-side under one shared label,
   visually distinct from the email rows that follow it. */
.offices-group { margin-bottom: 26px; }
.offices-header {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.offices-list { display: flex; flex-wrap: wrap; gap: 28px 36px; }
.office-row {
    display: flex;
    flex-direction: row;
    font-style: normal;          /* override the default italic for <address> */
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
}
.office-row .city { font-size: 14px; font-weight: 600; color: white; line-height: 1.4; }
.office-row .city-sep { color: rgba(255,255,255,0.55); margin: 0 2px; }
.office-row .country { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.contact-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 8px 0 26px; }

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    border-radius: 2px;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--red); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form textarea { height: 118px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Dropdown menu legibility — without these, the OS-rendered option list
   inherits the white text from the closed select and renders white-on-white
   until the user hovers an item. Force dark text on a white menu, dim the
   placeholder option, and dim the closed select while no value is picked. */
.contact-form select { color: white; }
.contact-form select:invalid { color: rgba(255,255,255,0.4); }
.contact-form select option { background: white; color: var(--black); padding: 10px; }
.contact-form select option[value=""] { color: #888; }

/* ===== FOOTER ===== */
footer { background: #0F0D0E; padding: 56px 0 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-blurb { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: white; }
/* 3-column bottom: copyright (left) | social icons (center) | locations (right) */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-locations {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-align: right;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-link:hover { background: var(--red); color: white; border-color: var(--red); }
.social-link svg { display: block; }

/* Arabic summary — sits quietly under footer-bottom, picked up by AR queries */
.footer-ar {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12.5px;
    line-height: 1.95;
    color: rgba(255,255,255,0.32);
    text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .entities-grid, .testimonials-grid, .leadership-grid { grid-template-columns: 1fr; }
    .spirit-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .section { padding: 72px 0; }
    .nav-links { display: none; }
    .stats-block { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { grid-template-columns: 1fr; gap: 18px; text-align: center; }
    .footer-copy, .footer-locations { text-align: center; }
    .spirit-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 32px; }
}

/* =====================================================================
   UTILITY CLASSES — replacements for the small inline style="" snippets
   that used to live in the HTML body. Keeping them named makes the markup
   readable and keeps SEOptimer's "remove inline styles" check happy.
   ===================================================================== */
.mt-32 { margin-top: 32px; }
.btn-block { width: 100%; justify-content: center; padding: 15px; }
.netlify-honeypot { display: none; }
.success-box {
    display: none;
    text-align: center;
    padding: 48px 0;
}
.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--red);
}
.success-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.success-msg {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    line-height: 1.7;
}
