/* ============================================================
   NPC-IFC — Nairobi Pesa City International Financial Centre
   Stylesheet: styles.css
   Prepared by StrategiCrest | Crafted for npc-ifc.com
   ============================================================

   TABLE OF CONTENTS
   ------------------
   01. CSS Custom Properties (Design Tokens)
   02. Reset & Base Styles
   03. Typography
   04. Utility Classes
   05. Navigation / Header
   06. Hero Section
   07. About Section
   08. Our Proposition Section
   09. Products & Services Section
   10. NPC Financial Centre at GTC Section
   11. InvestSouq Section
   12. Ecosystem Section
   13. Events & Calendar Section
   14. Insights & Research Section
   15. Location Section
   16. CTA Banner Section
   17. Footer
   18. Scroll Animations
   19. Responsive Breakpoints
   ============================================================ */


/* ============================================================
   01. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   Change these variables to retheme the entire site instantly.
   ============================================================ */
:root {
  /* === Brand Colours === */
  --clr-navy:        #0d1b2e;        /* Primary background — deep navy */
  --clr-navy-mid:    #112240;        /* Section variant — medium navy */
  --clr-navy-light:  #1a3358;        /* Cards, elevated surfaces */
  --clr-gold:        #c9a84c;        /* Primary accent — NPC gold */
  --clr-gold-light:  #e4c97e;        /* Hover / lighter gold variant */
  --clr-gold-dim:    #8a6e2f;        /* Muted gold for subtle use */
  --clr-white:       #ffffff;
  --clr-off-white:   #f0ece3;        /* Warm off-white for body text on dark */
  --clr-muted:       #8fa8c8;        /* Muted text / captions */
  --clr-border:      rgba(201, 168, 76, 0.2); /* Gold-tinted border */
  --clr-card-bg:     rgba(17, 34, 64, 0.8);   /* Card glass effect */

  /* === Typography === */
  --font-display:    'Cormorant Garamond', Georgia, serif;  /* Hero headings — editorial luxury */
  --font-heading:    'Libre Baskerville', Georgia, serif;   /* Section headings */
  --font-body:       'DM Sans', 'Helvetica Neue', sans-serif; /* Body copy — clean readable */
  --font-label:      'DM Mono', 'Courier New', monospace;   /* Eyebrows, labels, tags */

  /* === Font Sizes (fluid scale) === */
  --fs-hero:         clamp(2.8rem, 6vw, 5.5rem);
  --fs-h1:           clamp(2rem, 4vw, 3.5rem);
  --fs-h2:           clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3:           clamp(1.1rem, 2vw, 1.4rem);
  --fs-body:         1rem;
  --fs-small:        0.875rem;
  --fs-label:        0.72rem;

  /* === Spacing === */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-2xl:  10rem;

  /* === Layout === */
  --container-max:   1280px;
  --container-pad:   clamp(1.25rem, 5vw, 4rem);
  --radius-sm:       4px;
  --radius-md:       8px;
  --radius-lg:       16px;

  /* === Motion === */
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   200ms;
  --duration-mid:    400ms;
  --duration-slow:   700ms;

  /* === Shadows === */
  --shadow-card:     0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow:     0 0 40px rgba(201, 168, 76, 0.15);
}


/* ============================================================
   02. RESET & BASE STYLES
   Normalise browser defaults and set a clean foundation.
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--clr-off-white);
  background-color: var(--clr-navy);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-navy); }
::-webkit-scrollbar-thumb { background: var(--clr-gold-dim); border-radius: 3px; }


/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--clr-white);
}

.display-heading {
  /* Used for the hero main headline */
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.display-heading em,
.display-heading .gold {
  /* Italic / gold highlight in hero headline */
  color: var(--clr-gold);
  font-style: italic;
}

.section-label {
  /* Eyebrow labels — small ALL-CAPS monospace tag above headings */
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label::before {
  /* Decorative gold line before the eyebrow label */
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--clr-gold);
  flex-shrink: 0;
}

.section-heading {
  /* Standard section H2 */
  font-size: var(--fs-h2);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.body-copy {
  /* Standard paragraph styling */
  color: var(--clr-muted);
  max-width: 62ch;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.body-copy + .body-copy {
  margin-top: var(--space-sm);
}


/* ============================================================
   04. UTILITY CLASSES
   Reusable helpers used throughout the layout.
   ============================================================ */

/* Container: centred content wrapper with responsive padding */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Section wrapper: controls top/bottom whitespace between sections */
.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  /* Alternate background for visual rhythm between sections */
  background-color: var(--clr-navy-mid);
}

/* Gold rule divider */
.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--clr-gold);
  margin-bottom: var(--space-md);
}

/* Primary CTA Button — gold fill */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-gold);
  color: var(--clr-navy);
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--clr-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--clr-gold);
  border: 1px solid var(--clr-gold);
}

.btn--outline-gold:hover {
  background: var(--clr-gold);
  color: var(--clr-navy);
}

/* Arrow link — text + arrow used for card CTAs */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  transition: gap var(--duration-fast) var(--ease-out);
}

.arrow-link:hover {
  gap: 0.8rem;
}

.arrow-link::after {
  content: '→';
  font-style: normal;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

/* Stat number display */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-top: 0.3rem;
}

/* Text align helpers */
.text-center { text-align: center; }
.text-gold    { color: var(--clr-gold); }


/* ============================================================
   05. NAVIGATION / HEADER
   Sticky top navigation bar matching mock-up spec.
   ============================================================ */
#navbar {
  /* Fixed header: starts transparent, gains solid bg on scroll */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  transition: background var(--duration-mid) var(--ease-out),
              box-shadow var(--duration-mid) var(--ease-out);
  background: transparent;
}

#navbar.scrolled {
  /* Applied via JS when user scrolls past threshold */
  background: rgba(13, 27, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--clr-border);
}

.nav-container {
  /* Full-width flex row for logo + links + CTA */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* === Logo === */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo__mark {
  /* NPC monogram badge */
  width: 38px;
  height: 38px;
  background: var(--clr-gold);
  color: var(--clr-navy);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo__name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.04em;
}

.nav-logo__sub {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
}

/* === Primary nav links === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-links a::after {
  /* Underline hover indicator */
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav-links a:hover {
  color: var(--clr-white);
}

.nav-links a:hover::after {
  width: 100%;
}

/* === Nav CTA Button — persistent across all pages === */
.nav-cta {
  margin-left: var(--space-sm);
}

/* === Mobile hamburger toggle (hidden on desktop) === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-out),
              opacity var(--duration-fast);
}


/* ============================================================
   06. HERO SECTION
   Full-viewport hero with headline, stats bar.
   ============================================================ */
#hero {
  /* Full-height hero section */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px; /* offset for fixed nav */
}

/* === Hero background: dark navy gradient with grain texture === */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(26, 51, 88, 0.6) 0%, transparent 60%),
    linear-gradient(160deg, #0d1b2e 0%, #091525 50%, #0a1a30 100%);
  z-index: 0;
}

/* Geometric grid overlay — subtle financial-district aesthetic */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

/* Noise/grain texture overlay for depth */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
  z-index: 2;
}

.hero-content {
  /* Main text content area — centred vertically in viewport */
  position: relative;
  z-index: 10;
  padding: var(--space-xl) 0 var(--space-lg);
  max-width: 820px;
}

.hero-eyebrow {
  /* "Africa's premier financial centre" tag */
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--clr-gold);
}

.hero-headline {
  /* Main hero headline with gold italic highlight */
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--clr-white);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.4s forwards;
}

.hero-headline .gold {
  color: var(--clr-gold);
  font-style: italic;
}

.hero-subheadline {
  /* Supporting body paragraph below headline */
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 54ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.6s forwards;
}

.hero-ctas {
  /* CTA button row */
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.8s forwards;
}

/* === Hero Stats Bar === */
.hero-stats {
  /* KPI strip at bottom of hero viewport */
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--clr-border);
  background: rgba(13, 27, 46, 0.6);
  backdrop-filter: blur(8px);
  padding: 2rem 0;
}

.hero-stats .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-stat-item {
  text-align: center;
  flex: 1;
  padding: 0 1rem;
  border-right: 1px solid var(--clr-border);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 1.1s forwards;
}

.hero-stat-item:last-child {
  border-right: none;
}


/* ============================================================
   07. ABOUT SECTION
   Two-column layout: text left, KPI panel right.
   ============================================================ */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Left column — narrative text */
.about-text .body-copy {
  margin-bottom: 1rem;
}

/* Right column — KPI panel card */
.kpi-panel {
  background: var(--clr-navy-light);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.kpi-panel__label {
  /* "NPC-IFC AT A GLANCE" header inside panel */
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-md);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--clr-border);
}

.kpi-grid {
  /* 2×2 grid of KPI stats */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.kpi-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.kpi-panel__footer {
  /* Supporting text under KPI grid */
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--clr-border);
  font-size: var(--fs-small);
  color: var(--clr-muted);
  font-style: italic;
}


/* ============================================================
   08. OUR PROPOSITION SECTION
   6-card numbered grid of differentiators.
   ============================================================ */
#proposition .prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;               /* Creates the hairline-border grid effect */
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.prop-card {
  /* Individual proposition card */
  background: var(--clr-navy);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--duration-fast);
}

.prop-card:hover {
  background: var(--clr-navy-light);
}

.prop-number {
  /* Large muted number (01, 02…) */
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
  user-select: none;
  transition: color var(--duration-fast);
}

.prop-card:hover .prop-number {
  color: rgba(201, 168, 76, 0.25);
}

.prop-card h3 {
  /* Proposition title */
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--clr-white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.prop-card p {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  line-height: 1.7;
}


/* ============================================================
   09. PRODUCTS & SERVICES SECTION
   Two-column card grid, 3 rows.
   ============================================================ */
#products .products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-card {
  /* Individual service tile */
  background: var(--clr-navy-mid);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--duration-fast);
  position: relative;
}

.product-card:hover {
  background: var(--clr-navy-light);
}

.product-card__icon {
  /* SVG icon container */
  width: 44px;
  height: 44px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.product-card:hover .product-card__icon {
  border-color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.08);
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin: 0;
}

.product-card p {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  line-height: 1.7;
  flex: 1;
}


/* ============================================================
   10. NPC FINANCIAL CENTRE AT GTC SECTION
   Two-column: amenities list left, feature card right.
   ============================================================ */
#gtc .gtc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.amenities-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amenity-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.amenity-item:hover {
  border-left-color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.04);
}

.amenity-item__icon {
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.amenity-item h4 {
  font-size: 0.9rem;
  color: var(--clr-white);
  margin-bottom: 0.25rem;
}

.amenity-item p {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  line-height: 1.6;
}

/* Right side GTC feature card */
.gtc-feature-card {
  background: var(--clr-navy-light);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.gtc-feature-card__header {
  /* Live badge strip */
  background: var(--clr-gold);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--clr-navy);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.gtc-feature-card__header span {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-navy);
  font-weight: 700;
}

.gtc-quote {
  /* Pull-quote displayed in the card */
  padding: 2rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--clr-white);
  line-height: 1.5;
  border-bottom: 1px solid var(--clr-border);
}

.gtc-stats-mini {
  /* Mini KPI grid inside the GTC card */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--clr-border);
}

.gtc-stat {
  background: var(--clr-navy-light);
  padding: 1.25rem 1.5rem;
}

.gtc-stat .stat-number {
  font-size: 1.6rem;
}


/* ============================================================
   11. INVESTSOUQ SECTION
   Badge, headline, features list left; capabilities panel right.
   ============================================================ */
#investsouq {
  background: var(--clr-navy-mid);
  position: relative;
  overflow: hidden;
}

/* Decorative gold gradient orb behind section */
#investsouq::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

#investsouq .investsouq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.platform-badge {
  /* "DIGITAL PLATFORM · LIVE" pill tag */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}

.platform-badge .live-dot {
  background: var(--clr-gold);
  width: 6px;
  height: 6px;
}

.platform-features {
  /* Bullet list of platform features */
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.platform-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-small);
  color: var(--clr-muted);
}

.platform-features li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--clr-gold);
  flex-shrink: 0;
}

.investsouq-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Right: capabilities panel */
.capabilities-panel {
  background: var(--clr-navy);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.capabilities-panel__label {
  /* "PLATFORM CAPABILITIES" header */
  background: rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid var(--clr-border);
  padding: 1rem 1.5rem;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
}

.capability-row {
  /* Individual capability row in the panel */
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
  align-items: flex-start;
  transition: background var(--duration-fast);
}

.capability-row:last-child {
  border-bottom: none;
}

.capability-row:hover {
  background: rgba(201, 168, 76, 0.03);
}

.capability-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.capability-row h4 {
  font-size: 0.85rem;
  color: var(--clr-white);
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.capability-row p {
  font-size: 0.8rem;
  color: var(--clr-muted);
  line-height: 1.5;
}


/* ============================================================
   12. ECOSYSTEM SECTION
   Centred intro + 3×2 sector icon grid, then partner logos.
   ============================================================ */
#ecosystem {
  text-align: center;
}

#ecosystem .section-label {
  justify-content: center;
}

#ecosystem .section-label::before {
  display: none; /* Remove left-side line in centred layout */
}

.ecosystem-intro {
  max-width: 58ch;
  margin: 0 auto var(--space-lg);
  color: var(--clr-muted);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
  text-align: left;
}

.sector-card {
  background: var(--clr-navy-mid);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: border-color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}

.sector-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.sector-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

.sector-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.sector-card p {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  line-height: 1.65;
}

/* Partners logo strip */
.partners-strip {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-lg);
}

.partners-label {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 2rem;
}

.partners-logos {
  /* Horizontal scrolling row of partner badges */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.partner-badge {
  background: var(--clr-navy-light);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: border-color var(--duration-fast), color var(--duration-fast);
}

.partner-badge:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}


/* ============================================================
   13. EVENTS & CALENDAR SECTION
   Three-column event card grid.
   ============================================================ */
#events .events-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: var(--clr-navy-mid);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}

.event-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.event-card__date-bar {
  /* Coloured date header strip */
  background: var(--clr-navy-light);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  border-bottom: 1px solid var(--clr-border);
}

.event-day {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--clr-gold);
  line-height: 1;
  font-weight: 700;
}

.event-month-year {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.event-card__body {
  padding: 1.5rem;
}

.event-category {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.6rem;
}

.event-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.event-card p {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  line-height: 1.65;
}

.event-role {
  /* "NPC Role: Co-host" tag */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  text-transform: uppercase;
}

.event-role::before {
  content: '◈';
  color: var(--clr-gold);
}


/* ============================================================
   14. INSIGHTS & RESEARCH SECTION
   Featured article cards — one hero + two smaller.
   ============================================================ */
#insights .insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}

.insights-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.insight-card {
  background: var(--clr-navy-mid);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast);
}

.insight-card:hover {
  border-color: var(--clr-gold);
}

.insight-card--featured {
  /* Taller hero card takes left column */
  display: flex;
  flex-direction: column;
}

.insight-card__type-bar {
  /* "WHITEPAPER / COMMENTARY / RESEARCH NOTE" badge */
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.type-badge {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
}

.insight-date {
  font-family: var(--font-label);
  font-size: 0.65rem;
  color: var(--clr-muted);
}

.insight-card__body {
  padding: 2rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.insight-card h3 {
  font-size: var(--fs-h3);
  line-height: 1.35;
  color: var(--clr-white);
}

.insight-card p {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  line-height: 1.7;
  flex: 1;
}

/* Right column: stacked smaller cards */
.insights-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.insight-card--small .insight-card__body {
  padding: 1.5rem;
}

.insight-card--small h3 {
  font-size: 0.95rem;
}


/* ============================================================
   15. LOCATION SECTION
   Two-column: text left, map placeholder + info card right.
   ============================================================ */
#location .location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.location-details {
  /* 2×2 KPI-style grid of location facts */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-md);
}

.location-detail-item {
  background: var(--clr-navy-mid);
  padding: 1.25rem 1.5rem;
}

.location-detail-item .label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.3rem;
}

.location-detail-item .value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
}

/* Map / location card on right */
.location-card {
  background: var(--clr-navy-light);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.location-map-placeholder {
  /* Placeholder for an embedded map */
  height: 240px;
  background:
    linear-gradient(rgba(13, 27, 46, 0.5), rgba(13, 27, 46, 0.8)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-pin {
  /* Pin marker in map placeholder */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.map-pin__icon {
  width: 48px;
  height: 48px;
  background: var(--clr-gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.5);
}

.map-pin__icon svg {
  transform: rotate(45deg);
  color: var(--clr-navy);
  width: 20px;
  height: 20px;
}

.map-pin__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--clr-white);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.map-pin__sub {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  text-align: center;
}

/* Flight connections strip */
.connections-bar {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.connections-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-right: 0.25rem;
  white-space: nowrap;
}

.connection-tag {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  text-transform: uppercase;
}


/* ============================================================
   16. CTA BANNER SECTION
   Full-width gold background call-to-action strip.
   ============================================================ */
#cta-banner {
  background: var(--clr-gold);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle wave/noise texture on gold background */
#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.06) 0%, transparent 50%);
  pointer-events: none;
}

#cta-banner .container {
  position: relative;
  z-index: 1;
}

#cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  color: var(--clr-navy);
  margin-bottom: 1rem;
}

#cta-banner p {
  color: rgba(13, 27, 46, 0.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* CTA buttons on gold background — reversed colour scheme */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn--dark {
  background: var(--clr-navy);
  color: var(--clr-gold);
  font-weight: 700;
}

.btn--dark:hover {
  background: #091525;
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--clr-navy);
  border: 2px solid rgba(13, 27, 46, 0.4);
}

.btn--outline-dark:hover {
  background: rgba(13, 27, 46, 0.08);
  border-color: var(--clr-navy);
}


/* ============================================================
   17. FOOTER
   Dark navy footer with 4 navigation columns + brand copy.
   ============================================================ */
#footer {
  background: #070f1c;
  border-top: 1px solid var(--clr-border);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Footer brand block */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 30ch;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: 0.8rem;
  transition: border-color var(--duration-fast), color var(--duration-fast);
}

.social-link:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

/* Footer nav columns */
.footer-nav-col h4 {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col ul a {
  font-size: var(--fs-small);
  color: var(--clr-muted);
  transition: color var(--duration-fast);
}

.footer-nav-col ul a:hover {
  color: var(--clr-white);
}

/* Footer bottom bar */
.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(143, 168, 200, 0.5);
}

.footer-credit {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(143, 168, 200, 0.4);
}

.footer-credit a {
  color: var(--clr-gold-dim);
  transition: color var(--duration-fast);
}

.footer-credit a:hover {
  color: var(--clr-gold);
}


/* ============================================================
   18. SCROLL ANIMATIONS
   Elements fade/slide in as they enter the viewport.
   Applied via JS IntersectionObserver (see main.js).
   ============================================================ */
.reveal {
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  /* Triggered state — element is in view */
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Keyframe animations */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

@keyframes shimmer {
  /* Gold number counter shimmer effect */
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}


/* ============================================================
   20. INVESTOR PAGES — MODAL & FORMS
   Investor information page, application form, and related styles
   ============================================================ */

/* === Modal Overlay & Container === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-sm);
  opacity: 1;
  transition: opacity var(--duration-mid) var(--ease-in-out);
}

.modal-overlay.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-content {
  background: var(--clr-navy);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  max-width: 95vw;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-card);
  animation: modalSlideIn var(--duration-mid) var(--ease-out);
}

.modal-content--form {
  max-width: 95vw;
  width: 95vw;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--clr-gold);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--clr-gold-light);
}


/* === Investor Info Page === */
.investor-info-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investor-company-section {
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--space-lg);
}

.investor-company-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--clr-navy);
  margin: 0 auto var(--space-sm) auto;
}

.investor-company-heading {
  font-size: var(--fs-h2);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.investor-company-description {
  color: var(--clr-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.investor-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  background: rgba(17, 34, 64, 0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.investor-detail-item {
  text-align: center;
}

.investor-detail-item h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  margin-bottom: 0.5rem;
}

.investor-detail-item p {
  font-size: 1rem;
  color: var(--clr-white);
  font-weight: 500;
}

.investor-overview {
  text-align: left;
  background: rgba(17, 34, 64, 0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.investor-overview h3 {
  font-size: 1.1rem;
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.investor-overview ul {
  columns: 2;
  gap: var(--space-md);
}

.investor-overview li {
  list-style: none;
  padding-left: 1.5rem;
  color: var(--clr-muted);
  margin-bottom: var(--space-xs);
  position: relative;
}

.investor-overview li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-gold);
  font-weight: 700;
}

.investor-social {
  text-align: center;
  margin-top: var(--space-md);
}

.investor-social h3 {
  font-size: 1.1rem;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.investor-social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-sm);
}

.social-link-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-gold);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
  gap: 0.5rem;
}

.social-link-box:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--clr-gold);
  transform: translateY(-2px);
}

.social-icon {
  font-weight: 700;
  font-size: 1.2rem;
}

.social-link-box span:last-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


.investor-cta-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.investor-cta-section h3 {
  font-size: 1.3rem;
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.investor-cta-section > p {
  color: var(--clr-muted);
  margin-bottom: var(--space-md);
}

.investor-choice-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.investor-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) !important;
  text-align: center;
  gap: 0.5rem;
}

.btn-label {
  font-weight: 600;
  display: block;
}

.btn-subtext {
  font-size: 0.75rem;
  opacity: 0.8;
  display: block;
}


/* === Investor Application Form === */
.investor-form-container {
  padding: var(--space-md) 0;
}

.investor-form-container h2 {
  font-size: var(--fs-h2);
  color: var(--clr-white);
  margin-bottom: var(--space-xs);
}

.form-subtitle {
  color: var(--clr-muted);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.investor-form {
  display: grid;
  gap: var(--space-lg);
}

.form-section {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: rgba(17, 34, 64, 0.5);
}

.form-section legend {
  font-weight: 600;
  color: var(--clr-gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  display: block;
}

.form-group {
  display: grid;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-weight: 500;
  color: var(--clr-white);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(13, 27, 46, 0.8);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--clr-off-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(143, 168, 200, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: rgba(13, 27, 46, 0.95);
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--clr-navy);
  color: var(--clr-off-white);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--clr-gold);
  flex-shrink: 0;
}

.form-checkbox label {
  color: var(--clr-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
  margin: 0;
}

.form-checkbox input[type="checkbox"]:checked + label {
  color: var(--clr-white);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-border);
}

.form-actions button {
  padding: var(--space-md) var(--space-lg) !important;
}


/* === Social Media Contact Page === */
.social-media-container {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

/* Company Information in Social Media Page */
.company-info-section {
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--space-lg);
}

.company-info-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--clr-navy);
  margin: 0 auto var(--space-sm) auto;
}

.company-info-heading {
  font-size: var(--fs-h2);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.company-info-description {
  color: var(--clr-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.company-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  background: rgba(17, 34, 64, 0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.company-detail-item {
  text-align: center;
}

.company-detail-item h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  margin-bottom: 0.5rem;
}

.company-detail-item p {
  font-size: 1rem;
  color: var(--clr-white);
  font-weight: 500;
}

.company-overview {
  text-align: left;
  background: rgba(17, 34, 64, 0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.company-overview h3 {
  font-size: 1.1rem;
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.company-overview ul {
  columns: 2;
  gap: var(--space-md);
}

.company-overview li {
  list-style: none;
  padding-left: 1.5rem;
  color: var(--clr-muted);
  margin-bottom: var(--space-xs);
  position: relative;
}

.company-overview li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-gold);
  font-weight: 700;
}

.social-media-divider {
  height: 1px;
  background: var(--clr-border);
  margin: var(--space-lg) 0;
}

.social-media-header {
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--space-lg);
}

.social-media-header h2 {
  font-size: var(--fs-h2);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.social-media-header p {
  color: var(--clr-muted);
  font-size: 1rem;
}

.social-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.social-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: rgba(17, 34, 64, 0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-mid) var(--ease-out);
}

.social-card:hover {
  background: rgba(17, 34, 64, 0.8);
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.social-card:hover::before {
  transform: scaleX(1);
}

.social-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.social-card__icon.linkedin-icon {
  background: rgba(10, 102, 194, 0.2);
  color: #0a66c2;
}

.social-card__icon.twitter-icon {
  background: rgba(15, 23, 42, 0.2);
  color: #ffffff;
}

.social-card__icon.facebook-icon {
  background: rgba(59, 89, 152, 0.2);
  color: #3b5998;
}

.social-card__icon.instagram-icon {
  background: linear-gradient(135deg, rgba(250, 53, 98, 0.2), rgba(255, 154, 158, 0.2));
  color: #fa3562;
}

.social-card:hover .social-card__icon {
  transform: scale(1.1);
}

.social-card h3 {
  font-size: 1.2rem;
  color: var(--clr-white);
  margin-bottom: var(--space-xs);
}

.social-card p {
  color: var(--clr-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.social-card__cta {
  color: var(--clr-gold);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: all var(--duration-fast) var(--ease-out);
}

.social-card:hover .social-card__cta {
  color: var(--clr-gold-light);
  transform: translateX(4px);
}


.contact-section {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  background: rgba(17, 34, 64, 0.5);
}

.contact-section h3 {
  font-size: 1.1rem;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--clr-gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(13, 27, 46, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-item:hover {
  border-color: var(--clr-gold);
  background: rgba(13, 27, 46, 0.8);
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info h4 {
  font-size: 0.95rem;
  color: var(--clr-gold);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-info p {
  color: var(--clr-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.contact-info a {
  color: var(--clr-white);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
}

.contact-info a:hover {
  color: var(--clr-gold);
}


/* ============================================================
   19. RESPONSIVE BREAKPOINTS
   Mobile-first adjustments for tablet and smaller screens.
   ============================================================ */

/* --- Tablet: ≤ 1024px --- */
@media (max-width: 1024px) {
  :root {
    --space-xl: 5rem;
  }

  #about .about-grid         { grid-template-columns: 1fr; gap: var(--space-md); }
  #gtc .gtc-grid             { grid-template-columns: 1fr; }
  #investsouq .investsouq-grid { grid-template-columns: 1fr; }
  #location .location-grid   { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .prop-grid,
  #proposition .prop-grid  { grid-template-columns: repeat(2, 1fr); }

  .sector-grid             { grid-template-columns: repeat(2, 1fr); }
}

/* --- Mobile: ≤ 768px --- */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav open state (toggled by JS) */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--clr-navy);
    padding: 2rem var(--container-pad);
    gap: 2rem;
    z-index: 999;
    align-items: flex-start;
  }

  .nav-links.open a {
    font-size: 1.1rem;
  }

  /* Hero */
  .hero-stats .container { flex-wrap: wrap; gap: 1.5rem; }
  .hero-stat-item { border-right: none; border-bottom: 1px solid var(--clr-border); flex: 1 1 40%; }
  .hero-ctas { flex-direction: column; }

  /* Section grids */
  #proposition .prop-grid  { grid-template-columns: 1fr; }
  .product-grid            { grid-template-columns: 1fr; }
  .sector-grid             { grid-template-columns: 1fr; }
  .events-grid             { grid-template-columns: 1fr; }
  .insights-grid           { grid-template-columns: 1fr; }
  .insights-side           { display: none; } /* Hide side articles on smallest screens */
  .kpi-grid                { grid-template-columns: 1fr 1fr; }
  .footer-grid             { grid-template-columns: 1fr; }

  /* Events / Insights headers */
  #events .events-header,
  #insights .insights-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  #products .products-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Investor modals */
  .modal-content {
    max-width: 100vw;
    width: 100vw;
    max-height: 95vh;
    padding: var(--space-md);
    border-radius: 0;
  }

  .investor-choice-buttons {
    grid-template-columns: 1fr;
  }

  .investor-details-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  /* Social media page responsive */
  .social-media-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .company-details-grid {
    grid-template-columns: 1fr;
  }

  .company-overview ul {
    columns: 1;
  }
}

/* --- Small mobile: ≤ 480px --- */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
  .gtc-stats-mini { grid-template-columns: 1fr; }
  .location-details { grid-template-columns: 1fr; }
}
