/* ============================================================
   RAWAJ ALAAMAL — MAIN STYLESHEET
   style.css
   ============================================================
   Sections:
   1. Design System (CSS Variables)
   2. Reset & Base
   3. Typography
   4. Container & Buttons
   5. Sections
   6. Navbar
   7. Home — Hero
   8. Home — Trust Strip
   9. Home — Benefits
   10. Home — Services Preview
   11. Home — Stats
   12. Home — About Preview
   13. Home — Categories
   14. Home — Testimonials
   15. Home — CTA Band
   16. Footer
   17. Inner Page Hero
   18. About Page
   19. Services Page
   20. Opportunities Page
   21. Contact Page
   22. Financing Page
   23. Research Page
   24. News & Events Page
   25. Advisors Page
   26. Animations & Scroll Reveal
   27. Bilingual System (EN / AR)
   28. Responsive Breakpoints
   ============================================================ */


/* ============================================================
   1. DESIGN SYSTEM — CSS Custom Properties
   ============================================================ */
:root {
  /* Brand Colors */
  --navy:        #0B1F3A;
  --navy-dark:   #071426;
  --navy-mid:    #0F2847;
  --gold:        #C8A96E;
  --gold-light:  #D9BC8A;
  --gold-dark:   #A88940;
  --gold-pale:   #F5EDD9;

  /* Neutral Colors */
  --charcoal:    #2D3748;
  --white:       #FFFFFF;
  --off-white:   #F8F6F2;
  --sand:        #EDE8DF;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-600:    #4B5563;

  /* Text Colors */
  --text-dark:   #111827;
  --text-mid:    #374151;
  --text-light:  #6B7280;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07);
  --shadow-md:  0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 72px rgba(0,0,0,.16);

  /* Border Radii */
  --r-sm:  6px;
  --r-md:  14px;
  --r-lg:  24px;

  /* Transition */
  --ease:  all .3s ease;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }


/* ── PAGE SYSTEM (SPA) ── */
/* Each page is hidden by default; JS adds .active to show it */
.page { display: none; }
.page.active { display: block; }


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
}
/* Uppercase label tag above section headings */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 50px);
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-sub {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 580px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }


/* ============================================================
   4. CONTAINER & BUTTONS
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: var(--ease);
  border: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,169,110,.35);
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(7,20,38,.3);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }


/* ============================================================
   5. SECTIONS
   ============================================================ */
.section       { padding: 100px 0; }
.section-sm    { padding: 70px 0; }
.section-alt   { background: var(--off-white); }
.section-sand  { background: var(--sand); }
.section-dark  { background: var(--navy); }
.section-header { margin-bottom: 56px; }


/* ============================================================
   6. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all .4s ease;
}
/* Scrolled state — JS toggles .scrolled class */
.navbar.scrolled {
  background: rgba(7,20,38,.96);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 2px 40px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
/* Logo */
.logo { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.logo-ar { font-size: 12px; color: var(--gold); font-weight: 500; letter-spacing: 1.5px; }

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px !important; /* Reduced gap for 9+ items */
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 12px !important; /* Slightly smaller for 9+ items */
  font-weight: 500;
  letter-spacing: .3px;
  transition: var(--ease);
  position: relative;
  padding-bottom: 2px;
}
/* Underline hover effect */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* CTA button inside nav */
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--ease);
}

/* ── Mobile Overlay Menu ── */
/* JS toggles .open class to show/hide */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  transition: var(--ease);
}
.mob-menu a:hover { color: var(--gold); }
.mob-close {
  position: absolute;
  top: 26px; right: 28px;
  background: none; border: none;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}


/* ============================================================
   7. HOME — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Background image — replace URL to swap hero image */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1800&q=80') center/cover no-repeat;
  animation: hZoom 10s ease-out forwards;
}
@keyframes hZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(7,20,38,.93) 0%, rgba(7,20,38,.72) 55%, rgba(7,20,38,.38) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }

/* Hero pill badge */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(200,169,110,.12);
  border: 1px solid rgba(200,169,110,.3);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.hero-h1 {
  font-size: clamp(40px, 6vw, 74px);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero-h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 42px;
  font-family: 'Inter', sans-serif;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.scroll-bar {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrl 2.2s ease infinite;
}
@keyframes scrl {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}


/* ============================================================
   8. HOME — TRUST STRIP
   ============================================================ */
.trust { background: var(--navy); padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.09);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 44px; height: 44px;
  background: rgba(200,169,110,.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.trust-label strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.trust-label span { font-size: 11.5px; color: rgba(255,255,255,.48); }


/* ============================================================
   9. HOME — BENEFITS
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.benefit-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 42px 36px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--ease);
}
/* Gold top bar revealed on hover */
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.benefit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  color: var(--gray-200);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
}
.benefit-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.benefit-card p  { font-size: 14.5px; color: var(--text-light); line-height: 1.75; }


/* ============================================================
   10. HOME — SERVICES PREVIEW
   ============================================================ */
.svc-grid-home { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.svc-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 34px 26px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--ease);
}
.svc-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.svc-card:hover .svc-icon { background: rgba(200,169,110,.18); color: var(--gold); }
.svc-card:hover .svc-name { color: var(--white); }
.svc-card:hover .svc-desc { color: rgba(255,255,255,.58); }
.svc-icon {
  width: 56px; height: 56px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  transition: var(--ease);
}
.svc-name  { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.svc-desc  { font-size: 13px; color: var(--text-light); line-height: 1.6; }


/* ============================================================
   11. HOME — STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 72px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 54px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: 1.5px; text-transform: uppercase; }


/* ============================================================
   12. HOME — ABOUT PREVIEW
   ============================================================ */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.img-stack { position: relative; height: 520px; }
/* Main/secondary stacked images — replace src to update visuals */
.img-main {
  position: absolute;
  top: 0; left: 0;
  width: 74%; height: 86%;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
}
.img-sec {
  position: absolute;
  bottom: 0; right: 0;
  width: 54%; height: 56%;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  border: 5px solid var(--white);
}
.ksa-badge {
  position: absolute;
  bottom: 30%; left: 58%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 18px 24px;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.ksa-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.ksa-badge span { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: .75; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 34px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.5;
}
/* Gold checkmark bullet */
.check-item::before {
  content: '✓';
  min-width: 22px; height: 22px;
  background: rgba(200,169,110,.14);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}


/* ============================================================
   13. HOME — CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cat-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  height: 264px;
  cursor: pointer;
}
/* Image — replace src to update category images */
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,20,38,.88) 0%, rgba(7,20,38,.15) 100%);
}
.cat-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 28px; }
.cat-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 9px;
}
.cat-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--white); font-weight: 600; }
.cat-sub   { font-size: 12px; color: rgba(255,255,255,.58); margin-top: 3px; }


/* ============================================================
   14. HOME — TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.testi-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
}
.quote-mark {
  font-size: 54px;
  color: var(--gold);
  line-height: .6;
  font-family: Georgia, serif;
  margin-bottom: 14px;
  display: block;
}
.testi-text {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 13px; }
.testi-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.testi-role { font-size: 12px; color: var(--text-light); margin-top: 1px; }


/* ============================================================
   15. HOME — FINAL CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Decorative blobs */
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before { top: -40%; right: -8%; width: 560px; height: 560px; background: rgba(200,169,110,.04); }
.cta-band::after  { bottom: -40%; left: -5%; width: 400px; height: 400px; background: rgba(200,169,110,.03); }
.cta-inner    { position: relative; z-index: 2; }
.cta-title    { font-size: clamp(28px,4vw,48px); color: var(--white); margin-bottom: 18px; }
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  margin-bottom: 38px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  font-family: 'Inter', sans-serif;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ============================================================
   16. FOOTER
   ============================================================ */
.footer { background: var(--navy-dark); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.78;
  max-width: 270px;
  margin: 18px 0 26px;
}
/* Social icons */
.socials { display: flex; gap: 10px; }
.social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: var(--ease);
  font-size: 13px;
  font-weight: 700;
}
.social:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 {
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.45); font-size: 13.5px; transition: var(--ease); }
.footer-links a:hover { color: var(--gold); }
.fcontact {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  align-items: flex-start;
}
.fcontact strong { color: var(--gold); flex-shrink: 0; font-size: 15px; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }


/* ============================================================
   17. INNER PAGE HERO (reused on About, Services, etc.)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
/* Subtle background texture image */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 45%; height: 100%;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=700&q=80') center/cover no-repeat;
  opacity: .06;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}
.breadcrumb a { color: var(--gold); }
.page-hero-h1 {
  font-size: clamp(34px, 5vw, 60px);
  color: var(--white);
  max-width: 600px;
  margin-bottom: 18px;
}
.page-hero-sub {
  font-size: 16.5px;
  color: rgba(255,255,255,.62);
  max-width: 520px;
  line-height: 1.72;
  font-family: 'Inter', sans-serif;
}


/* ============================================================
   18. ABOUT PAGE
   ============================================================ */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
/* Replace src to update About page image */
.story-grid img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-xl); }
.story-text p  { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card { background: var(--white); border-radius: var(--r-md); padding: 48px 40px; border: 1px solid var(--gray-200); }
.mv-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 22px;
}
.mv-card h3 { font-size: 28px; color: var(--navy); margin-bottom: 14px; }
.mv-card p  { font-size: 15px; color: var(--text-mid); line-height: 1.78; }

/* "What makes us different" grid */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.diff-item { display: flex; gap: 18px; }
.diff-icon {
  width: 46px; height: 46px;
  background: rgba(200,169,110,.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.diff-text h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 7px; font-family: 'Inter', sans-serif; }
.diff-text p  { font-size: 13.5px; color: var(--text-light); line-height: 1.7; }


/* ============================================================
   19. SERVICES PAGE
   ============================================================ */
.svc-full-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.svc-full-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--ease);
}
.svc-full-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200,169,110,.4); transform: translateY(-4px); }
.svc-full-icon {
  width: 58px; height: 58px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: var(--ease);
}
.svc-full-card:hover .svc-full-icon { background: var(--navy); }
.svc-full-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.svc-full-card p  { font-size: 13.5px; color: var(--text-light); line-height: 1.72; }

/* How It Works */
.hiw-wrap {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  position: relative;
}
/* Connector line between steps */
.hiw-wrap::before {
  content: '';
  position: absolute;
  top: 35px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: .3;
}
.hiw-step { text-align: center; padding: 0 18px; }
.hiw-num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  position: relative; z-index: 1;
}
.hiw-step h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.hiw-step p  { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }

/* FAQ Accordion */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: var(--ease);
  gap: 16px;
}
.faq-q:hover { background: var(--off-white); }
/* JS toggles .open on .faq-q */
.faq-q.open { background: var(--navy); color: var(--white); }
.faq-icon { font-size: 20px; flex-shrink: 0; transition: transform .3s ease; line-height: 1; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 26px 20px;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.78;
  background: var(--off-white);
}
/* JS toggles .open on .faq-a */
.faq-a.open { display: block; }


/* ============================================================
   20. OPPORTUNITIES PAGE
   ============================================================ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--text-mid);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--ease);
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover,
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.opp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.opp-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--ease);
}
.opp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.opp-img { height: 210px; position: relative; overflow: hidden; }
/* Opportunity card images — replace src per card */
.opp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.opp-card:hover .opp-img img { transform: scale(1.05); }
.opp-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--navy);
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
}
.opp-body { padding: 24px 22px; }
.opp-type {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.opp-title  { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 7px; font-family: 'Inter', sans-serif; }
.opp-loc    { font-size: 12.5px; color: var(--text-light); margin-bottom: 12px; }
.opp-desc   { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; }
.opp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.opp-btn {
  background: var(--navy);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  transition: var(--ease);
  font-family: 'Inter', sans-serif;
}
.opp-btn:hover  { background: var(--gold); color: var(--navy); }
.opp-conf       { font-size: 11px; color: var(--text-light); font-style: italic; }

/* Confidentiality note banner */
.conf-note {
  background: rgba(200,169,110,.08);
  border: 1px solid rgba(200,169,110,.22);
  border-radius: var(--r-md);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
}
.conf-note .icon { font-size: 28px; color: var(--gold); flex-shrink: 0; }
.conf-note p     { font-size: 14.5px; color: var(--text-mid); line-height: 1.65; }
.conf-note strong { color: var(--navy); }


/* ============================================================
   21. CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.form-hd  { font-size: 28px; color: var(--navy); margin-bottom: 6px; }
.form-sub { font-size: 14.5px; color: var(--text-light); margin-bottom: 34px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 7px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--ease);
  font-family: 'Inter', sans-serif;
  outline: none;
}
.form-control:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11,31,58,.06);
}
textarea.form-control { resize: vertical; min-height: 126px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Contact info column */
.contact-info-col { padding-top: 10px; }
.contact-info-col h2  { font-size: 34px; color: var(--navy); margin-bottom: 14px; }
.contact-info-col > p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 36px; }
.cdetail-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 38px; }
.cdetail { display: flex; gap: 14px; }
.cdetail-icon {
  width: 46px; height: 46px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.cdetail strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.cdetail span   { font-size: 13.5px; color: var(--text-light); }

/* Map placeholder — replace with real iframe embed if available */
.map-ph {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-md);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-bottom: 26px;
}
.map-ph p { font-size: 13px; opacity: .5; margin-top: 8px; }


/* ============================================================
   22. FINANCING PAGE
   ============================================================ */
.fin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.fin-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--ease);
  text-align: center;
}
.fin-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200,169,110,.4); transform: translateY(-4px); }
.fin-icon {
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.fin-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.fin-card p  { font-size: 13.5px; color: var(--text-light); line-height: 1.72; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 16.6%; right: 16.6%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: .3;
}
.process-step { text-align: center; padding: 0 16px; }
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  position: relative; z-index: 1;
}
.process-step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.process-step p  { font-size: 13.5px; color: var(--text-light); line-height: 1.7; }


/* ============================================================
   23. RESEARCH PAGE
   ============================================================ */
.research-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 60px; }
.rstat {
  background: var(--navy);
  border-radius: var(--r-md);
  padding: 36px 28px;
  text-align: center;
}
.rstat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.rstat-lbl { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: 1px; text-transform: uppercase; }

.report-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.report-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px 26px;
  border: 1px solid var(--gray-200);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report-card:hover { box-shadow: var(--shadow-md); border-color: rgba(200,169,110,.35); transform: translateY(-3px); }
.report-icon { font-size: 30px; }
.report-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); font-family: 'Inter', sans-serif; }
.report-card p  { font-size: 13px; color: var(--text-light); line-height: 1.65; flex: 1; }
.report-tag {
  display: inline-block;
  background: rgba(200,169,110,.12);
  color: var(--gold-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.region-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.region-card { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--gray-200); }
.region-img  { height: 180px; overflow: hidden; }
/* Region images — replace src to update */
.region-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.region-card:hover .region-img img { transform: scale(1.06); }
.region-body { padding: 24px 22px; }
.region-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; font-family: 'Inter', sans-serif; }
.region-metric {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
}
.region-metric:last-child { border-bottom: none; }
.region-metric strong { color: var(--navy); }


/* ============================================================
   24. NEWS & EVENTS PAGE
   ============================================================ */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.featured-img { border-radius: var(--r-md); overflow: hidden; height: 360px; }
/* Featured article image — replace src to update */
.featured-img img    { width: 100%; height: 100%; object-fit: cover; }
.featured-body .tag  { margin-bottom: 10px; }
.featured-body h2    { font-size: clamp(22px,3vw,32px); color: var(--navy); margin-bottom: 14px; line-height: 1.2; }
.featured-body p     { font-size: 14.5px; color: var(--text-mid); line-height: 1.78; margin-bottom: 22px; }

.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-bottom: 60px; }
.news-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--ease);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card-img { height: 180px; overflow: hidden; position: relative; }
/* News card images — replace src to update */
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }

/* Category badge on news card image */
.news-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(10, 25, 49, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.news-cat-market { background: rgba(37, 99, 235, 0.88); }
.news-cat-industry { background: rgba(217, 119, 6, 0.88); }
.news-cat-company { background: rgba(5, 150, 105, 0.88); }
.news-card-body { padding: 22px 20px; }
.news-date      { font-size: 11px; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.news-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  line-height: 1.35;
}
.news-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.65; }

.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.event-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px 26px;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--ease);
}
.event-card:hover { box-shadow: var(--shadow-md); border-color: rgba(200,169,110,.35); }
.event-date-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  text-align: center;
  flex-shrink: 0;
  min-width: 56px;
}
.event-date-box .month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.event-date-box .day { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; line-height: 1; }
.event-info h3  { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.event-info p   { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.event-type {
  display: inline-block;
  background: rgba(200,169,110,.12);
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Newsletter subscription band */
.newsletter-band {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}
.newsletter-band h3 { font-size: 26px; color: var(--white); margin-bottom: 8px; }
.newsletter-band p  { font-size: 14.5px; color: rgba(255,255,255,.58); max-width: 380px; }
.newsletter-form    { display: flex; gap: 12px; flex-shrink: 0; }
.newsletter-input {
  padding: 13px 18px;
  border-radius: var(--r-sm);
  border: none;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  width: 240px;
}


/* ============================================================
   25. ADVISORS PAGE
   ============================================================ */
.advisor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.advisor-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--ease);
}
.advisor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.advisor-img {
  height: 260px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Initial avatar — replace with real advisor photo by adding <img> inside .advisor-img */
.advisor-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(200,169,110,.2);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
}
.advisor-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.advisor-body { padding: 26px 24px; }
.advisor-name { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.advisor-role {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.advisor-body p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.advisor-tags   { display: flex; flex-wrap: wrap; gap: 7px; }
.advisor-tag {
  background: var(--off-white);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}


/* ============================================================
   26. ANIMATIONS & SCROLL REVEAL
   ============================================================ */
/* Elements gain .visible class via IntersectionObserver in script.js */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Staggered delays for sibling elements */
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* fadeIn keyframe used by filter animation (injected by JS) */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   27. BILINGUAL SYSTEM (English / Arabic)
   ============================================================ */
/* Arabic spans are hidden by default */
.t-ar { display: none; }

/* When <body> has .ar class (set by JS), flip visibility */
body.ar .t-en { display: none !important; }
body.ar .t-ar { display: revert; }

/* Arabic font overrides */
body.ar {
  font-family: 'Tajawal', sans-serif;
  letter-spacing: 0 !important;
}
body.ar h1, body.ar h2, body.ar h3, body.ar h4 { font-family: 'Tajawal', sans-serif; }
body.ar .serif  { font-family: 'Tajawal', sans-serif; }
body.ar .tag    { letter-spacing: 0; font-size: 13px; }
body.ar .logo-en { font-family: 'Tajawal', sans-serif; }

/* Language toggle button */
.lang-toggle {
  background: rgba(200,169,110,.1);
  border: 1.5px solid rgba(200,169,110,.35);
  color: var(--gold);
  padding: 7px 15px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--ease);
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.lang-toggle:hover { background: var(--gold); color: var(--navy); }

/* ── RTL Overrides ── */
[dir="rtl"] .nav-links a::after      { left: auto; right: 0; }
[dir="rtl"] .trust-item              { border-right: none; border-left: 1px solid rgba(255,255,255,.09); }
[dir="rtl"] .trust-item:last-child   { border-left: none; }
[dir="rtl"] .stat                    { border-right: none; border-left: 1px solid rgba(255,255,255,.1); }
[dir="rtl"] .stat:last-child         { border-left: none; }
[dir="rtl"] .hero-scroll             { left: auto; right: 50%; transform: translateX(50%); }
[dir="rtl"] .check-item              { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .diff-item               { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .cdetail                 { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .faq-q                   { flex-direction: row-reverse; }
[dir="rtl"] .footer-grid             { text-align: right; }
[dir="rtl"] .footer-links            { text-align: right; }
[dir="rtl"] .fcontact                { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .hiw-wrap::before        { display: none; }
[dir="rtl"] .advisor-grid            { direction: rtl; }


/* ============================================================
   28. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .svc-grid-home, .svc-full-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid, .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2)       { border-right: none; }
  .stat:nth-child(2)             { border-right: none; }
  .stat:nth-child(3)             { border-right: 1px solid rgba(255,255,255,.1); }
  .footer-grid                   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hiw-wrap                      { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .hiw-wrap::before              { display: none; }
  .about-preview,
  .story-grid,
  .contact-grid                  { grid-template-columns: 1fr; gap: 52px; }
  .img-stack                     { height: 380px; }
  .diff-grid                     { grid-template-columns: 1fr; }
  .fin-grid                      { grid-template-columns: repeat(2,1fr); }
  .research-stats                { grid-template-columns: repeat(2,1fr); }
  .report-grid, .region-grid     { grid-template-columns: repeat(2,1fr); }
  .news-grid, .events-grid       { grid-template-columns: repeat(2,1fr); }
  .advisor-grid                  { grid-template-columns: repeat(2,1fr); }
  .featured-article              { grid-template-columns: 1fr; gap: 36px; }
  .process-steps                 { grid-template-columns: 1fr; gap: 30px; }
  .process-steps::before         { display: none; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .hero-h1    { font-size: 38px; }
  .section    { padding: 68px 0; }

  .benefits-grid,
  .cat-grid,
  .testi-grid,
  .opp-grid,
  .mv-grid    { grid-template-columns: 1fr; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .svc-grid-home,
  .svc-full-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid   { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 22px; }
  .form-row      { grid-template-columns: 1fr; }
  .hiw-wrap      { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .fin-grid,
  .research-stats,
  .report-grid,
  .region-grid,
  .news-grid,
  .events-grid,
  .advisor-grid  { grid-template-columns: 1fr; }

  /* Newsletter responsive */
  .newsletter-band { flex-direction: column; text-align: center; padding: 40px 32px; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-input { width: 100%; }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .container  { padding: 0 16px; }
  .svc-grid-home, .svc-full-grid { grid-template-columns: 1fr; }
  .hero-btns, .cta-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   29. INTERACTIONS, POLISH & WORDPRESS-READY UTILITIES
   ─────────────────────────────────────────────────────────────
   Adds: page fade-in, focus-visible ring, form error state,
   card hover hints, cursor fixes, print/a11y media queries.
   ============================================================ */

/* ── Page Fade-In Transition ─────────────────────────────────
 * Fires every time showPage() adds .active to a .page.
 * WordPress: compatible with Elementor page transitions. */
.page.active {
  animation: pageFadeIn 0.28s ease both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Focus-Visible Ring ──────────────────────────────────────
 * Shows focus ring only during keyboard navigation.
 * Meets WCAG 2.1 AA requirements. */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* ── Form Field Error State ──────────────────────────────────
 * Applied by handleForm() in script.js to failing fields.
 * Auto-removed on the next input event. */
.form-control.field-error {
  border-color: #e53e3e !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(229,62,62,.1) !important;
}

/* ── Cursor Fixes for onclick= Links ────────────────────────
 * <a> without href= needs explicit pointer cursor. */
.breadcrumb a,
.footer-links a,
.logo,
.mob-menu a,
.nav-links a,
.footer a { cursor: pointer; }

/* ── GPU Hinting for Cards ───────────────────────────────────
 * Prevents paint during hover transitions on cards. */
.benefit-card:hover,
.svc-card:hover,
.svc-full-card:hover,
.opp-card:hover,
.report-card:hover,
.news-card:hover,
.event-card:hover,
.advisor-card:hover,
.fin-card:hover { will-change: transform; }

/* ── Image Loading Placeholder ───────────────────────────────
 * Prevents layout shift while lazy images load. */
img[loading="lazy"] { background: var(--gray-100); }

/* ── Reusable Section Class Reference (for WordPress) ────────
 * Assign as "Additional CSS Class" in Gutenberg / Elementor:
 *   .section        standard padding (100px 0)
 *   .section-sm     reduced padding  (70px 0)
 *   .section-alt    off-white background
 *   .section-sand   sand-tone background
 *   .section-dark   navy background
 *   .container      centred max-width wrapper
 *   .reveal         scroll-animated element
 *   .tag            gold label above headings
 */

/* ── Print Styles ────────────────────────────────────────────*/
@media print {
  .navbar, .mob-menu, .hero-scroll,
  .hamburger, .lang-toggle, .cta-band,
  footer { display: none !important; }
  .page  { display: block !important; }
  body   { font-size: 12pt; color: #000; }
  a      { color: #000; text-decoration: underline; }
}

/* ── High Contrast Mode ──────────────────────────────────────*/
@media (forced-colors: active) {
  .btn, .filter-btn, .opp-btn,
  .lang-toggle { forced-color-adjust: none; }
}

/* ── Reduced Motion ──────────────────────────────────────────
 * Disables all animations for users who prefer it.
 * Required for WCAG 2.1 success criterion 2.3.3. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:       0.01ms !important;
    animation-iteration-count: 1     !important;
    transition-duration:      0.01ms !important;
    scroll-behavior:          auto   !important;
  }
  .reveal     { opacity: 1 !important; transform: none !important; }
  .hero-bg    { animation: none !important; }
  .page.active { animation: none !important; }
}


/* ============================================================
   MULTI-PAGE FIXES
   ============================================================ */
body:not(.home) .navbar {
    background: #071426;
}
.navbar.scrolled {
    background: rgba(7,20,38,.98) !important;
    backdrop-filter: blur(20px) !important;
    padding: 14px 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* News Read More link */
.news-read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color .2s;
}
.news-read-more:hover { color: var(--navy); }

/* ============================================================
   FAILSAFE: Disable reveal animations to prevent blank pages on back navigation
   ============================================================ */
.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

/* BRAND LOGO STYLES */
.brand-logo { height: 65px; width: auto; object-fit: contain; max-width: 240px; }
@media (max-width: 768px) { .brand-logo { height: 45px; max-width: 180px; } }
