/* ============================================
   MATIWANE DIPLOMATIC CONSULTING
   Premium Glassmorphism Design System
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colour Palette */
  --gold-50:  #FFF9E6;
  --gold-100: #FFF0B3;
  --gold-200: #FFE680;
  --gold-300: #FFDB4D;
  --gold-400: #FFD11A;
  --gold-500: #F5A623;
  --gold-600: #D4920E;
  --gold-700: #A87000;
  --gold-800: #7D5300;
  --gold-900: #523700;

  --blue-300: #72D2EF;
  --blue-400: #43B9E1;
  --blue-500: #2389B8;
  --blue-600: #176C98;
  --blue-700: #104E73;

  --dark-900: #0A0A0F;
  --dark-800: #111118;
  --dark-700: #16161F;
  --dark-600: #1C1C28;
  --dark-500: #252533;
  --dark-400: #32324A;
  --dark-300: #4A4A6A;
  --dark-200: #7A7A99;
  --dark-100: #B0B0CC;

  --white:    #FFFFFF;
  --white-90: rgba(255,255,255,0.9);
  --white-80: rgba(255,255,255,0.8);
  --white-70: rgba(255,255,255,0.7);
  --white-60: rgba(255,255,255,0.6);
  --white-50: rgba(255,255,255,0.5);
  --white-30: rgba(255,255,255,0.3);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
  --white-05: rgba(255,255,255,0.05);

  /* Gradients */
  --gradient-dark: linear-gradient(180deg, var(--dark-900) 0%, var(--dark-800) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(17,17,24,0.85) 50%, rgba(22,22,31,0.78) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);

  /* Glass effects */
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: 20px;
  --glass-bg-strong: rgba(255,255,255,0.08);
  --glass-border-strong: rgba(255,255,255,0.15);

  /* Typography */
  --font-display: 'Sora', 'Manrope', system-ui, sans-serif;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 10px 34px rgba(35,137,184,0.16);
  --shadow-glass: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.2);
  --shadow-elevated: 0 12px 48px rgba(0,0,0,0.4);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --nav-height: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-900);
  color: var(--white-80);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- Branded page loader ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(32, 136, 183, 0.13), transparent 34%),
    var(--dark-900);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.site-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__content {
  width: min(340px, 74vw);
  text-align: center;
}

.site-loader__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5));
  animation: loaderLogo 1.6s ease-in-out infinite alternate;
}

.site-loader__line {
  width: 72%;
  height: 2px;
  margin: 1.4rem auto 0;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
}

.site-loader__line span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-400);
  box-shadow: 0 0 12px rgba(245,166,35,0.45);
  animation: loaderLine 1.15s ease-in-out infinite;
}

.site-loader p {
  margin-top: 1rem;
  color: var(--white-50);
  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes loaderLogo {
  from { opacity: 0.72; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes loaderLine {
  from { transform: translateX(-110%); }
  to { transform: translateX(245%); }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-300);
}

ul, ol {
  list-style: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-600);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(35,137,184,0.42);
  color: var(--white);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ---------- Typography ---------- */
.text-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.text-heading {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h5 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

.text-gold {
  color: var(--gold-400);
  -webkit-text-fill-color: currentColor;
}

.text-muted {
  color: var(--white-50);
}

.text-center { text-align: center; }

/* ---------- Section ---------- */
.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  position: relative;
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.section__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section__label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold-400);
  display: inline-block;
}

.section__title {
  font-family: var(--font-display);
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--white-60);
  max-width: 640px;
  line-height: 1.8;
}

/* ---------- Credentials & published insights ---------- */
.credentials {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(67,185,225,0.13);
  border-bottom: 1px solid rgba(67,185,225,0.13);
  background: rgba(35,137,184,0.055);
}

.credentials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.credential {
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--glass-border);
}

.credential:last-child { border-right: 0; }

.credential strong,
.credential span {
  display: block;
}

.credential strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.credential span {
  margin-top: 0.25rem;
  color: var(--white-50);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.insight-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  color: var(--white-80);
}

.insight-card:hover { color: var(--white); }

.insight-card__meta {
  color: var(--blue-400);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin-top: var(--space-lg);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.insight-card__link {
  margin-top: auto;
  padding-top: var(--space-xl);
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(67,185,225,0.28);
}

.glass-card:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(67,185,225,0.26);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass);
}

.glass-card--strong {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn--primary {
  background: var(--gold-400);
  color: var(--dark-900);
  box-shadow: 0 8px 24px rgba(245,166,35,0.24);
}

.btn--primary:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245,166,35,0.34);
  color: var(--dark-900);
}

.btn--primary::after {
  content: none;
}

.btn--outline {
  background: transparent;
  color: var(--white-80);
  border: 1px solid var(--white-20);
}

.btn--outline:hover {
  background: var(--white-10);
  border-color: var(--blue-400);
  color: var(--blue-300);
  transform: translateY(-2px);
}

.btn--glass {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white-80);
  border: 1px solid var(--glass-border);
}

.btn--glass:hover {
  background: var(--white-10);
  border-color: var(--blue-400);
  color: var(--blue-300);
}

.btn__icon {
  font-size: 1.2em;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
  background: transparent;
}

.nav--scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(67,185,225,0.18);
  box-shadow: var(--shadow-glass);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: 1001;
}

.brand-logo {
  width: 118px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.34));
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.nav__logo:hover .brand-logo {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 6px 16px rgba(245, 166, 35, 0.2));
}

.brand-logo--nav {
  width: 116px;
  max-height: 74px;
}

.footer__brand .brand-logo {
  width: 190px;
  max-height: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-70);
  text-decoration: none;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width var(--transition-smooth);
}

.nav__link:hover,
.nav__link--active {
  color: var(--blue-300);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  margin-left: auto;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__toggle--active .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: var(--nav-height);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(35,137,184,0.13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(67,185,225,0.22);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: 0.035em;
  line-height: 1.5;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-400);
  box-shadow: 0 0 12px rgba(67,185,225,0.65);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__title em {
  font-style: normal;
}

.hero__title .text-gold {
  color: var(--gold-400);
  -webkit-text-fill-color: currentColor;
}

.hero__title span {
  display: block;
}

.hero__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--white-60);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--blue-400);
  animation: scrollLine 2s infinite;
}

.hero__scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--white-30);
  writing-mode: vertical-rl;
}

/* ---------- Service Cards Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(67,185,225,0.25);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35,137,184,0.08);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(67,185,225,0.38);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(35,137,184,0.1);
  border: 1px solid rgba(67,185,225,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card__icon {
  background: var(--gold-400);
  border-color: var(--gold-400);
  box-shadow: 0 0 18px rgba(245,166,35,0.24);
  color: var(--dark-900);
}

.icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--lg {
  width: 30px;
  height: 30px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  border: 1px solid rgba(67,185,225,0.25);
  border-radius: var(--radius-md);
  background: rgba(35,137,184,0.1);
  color: var(--blue-400);
  display: grid;
  place-items: center;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--white-50);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ---------- Director Section ---------- */
.director {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
}

.director__image-wrapper {
  position: relative;
}

.director__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-elevated);
}

.director__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.director__image:hover img {
  transform: scale(1.03);
}

.director__image-frame {
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: 12px;
  left: 12px;
  border: 2px solid var(--blue-400);
  box-shadow: 10px 10px 0 rgba(245,166,35,0.08);
  border-radius: var(--radius-xl);
  opacity: 0.4;
  pointer-events: none;
}

.director__content {
  position: relative;
}

.director__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.director__role {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2xl);
}

.director__bio {
  font-size: 1rem;
  color: var(--white-60);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
}

/* ---------- Goals Timeline ---------- */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.goals-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-400);
  opacity: 0.2;
}

.goal-card {
  text-align: center;
  position: relative;
}

.goal-card__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold-400);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.goal-card__term {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.goal-card__text {
  font-size: 0.95rem;
  color: var(--white-60);
  line-height: 1.7;
}

/* ---------- Value Proposition ---------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.value-card {
  padding: var(--space-2xl);
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.value-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.value-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 1rem;
  color: var(--white-70);
}

.value-card__item-icon {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.value-card__item-icon .icon {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

/* ---------- Target Market ---------- */
.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.target-card {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.target-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-400);
  opacity: 0.6;
  line-height: 1;
  flex-shrink: 0;
}

.target-card__text {
  font-size: 1rem;
  color: var(--white-70);
  line-height: 1.7;
  padding-top: var(--space-sm);
}

/* ---------- Impact Section ---------- */
.impact {
  position: relative;
  overflow: hidden;
}

.impact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.impact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.impact__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--dark-900) 0%, rgba(10,10,15,0.7) 50%, var(--dark-900) 100%);
  z-index: 1;
}

.impact__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.impact__text {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: normal;
  color: var(--white-80);
  line-height: 1.8;
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: rgba(35,137,184,0.1);
  border: 1px solid rgba(67,185,225,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  flex-shrink: 0;
}

.contact-item__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: var(--space-xs);
}

.contact-item__value {
  font-size: 0.95rem;
  color: var(--white-70);
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  position: relative;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-50);
  margin-bottom: var(--space-sm);
  display: block;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--white-80);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(35,137,184,0.14);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select option {
  background: var(--dark-800);
  color: var(--white-80);
}

.form-note {
  color: var(--white-30);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.form-botcheck {
  display: none !important;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status--success {
  color: var(--blue-300);
}

.form-status--error,
.form-status--error a {
  color: var(--gold-300);
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(67,185,225,0.18);
  padding: var(--space-4xl) 0 var(--space-xl);
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  color: var(--white-50);
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__link {
  font-size: 0.9rem;
  color: var(--white-50);
  transition: color var(--transition-fast);
}

.footer__link--icon {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer__link--icon .icon {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  flex: 0 0 auto;
  color: var(--blue-400);
}

.footer__link:hover {
  color: var(--blue-300);
}

.footer__bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--white-30);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-50);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer__social-link .icon {
  width: 19px;
  height: 19px;
}

.footer__social-link:hover {
  background: var(--blue-400);
  border-color: var(--blue-400);
  color: var(--dark-900);
  transform: translateY(-2px);
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.75) 50%, var(--dark-900) 100%);
}

.page-header__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--white-40);
  margin-bottom: var(--space-lg);
}

.page-header__breadcrumb a {
  color: var(--white-40);
  transition: color var(--transition-fast);
}

.page-header__breadcrumb a:hover {
  color: var(--blue-300);
}

.page-header__breadcrumb span {
  color: var(--gold-400);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(245,166,35,0.2); }
  50% { box-shadow: 0 0 40px rgba(245,166,35,0.4); }
}

/* Scroll-reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delay for children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(7) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(8) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(9) { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(10) { transition-delay: 1s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(11) { transition-delay: 1.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(12) { transition-delay: 1.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(13) { transition-delay: 1.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger--visible > *:nth-child(14) { transition-delay: 1.4s; opacity: 1; transform: translateY(0); }

/* Native lazy loading, with a restrained branded reveal once the file is decoded. */
img.lazy-media {
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  filter: blur(8px);
  transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
}

img.lazy-media.is-loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.footer__brand img.lazy-media.is-loaded {
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.34));
}

/* ---------- Particle dots background ---------- */
.particle {
  position: absolute;
  background: var(--blue-400);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(3n) {
  background: var(--gold-400);
}

/* ---------- Divider Line ---------- */
.divider {
  width: 80px;
  height: 3px;
  background: var(--gold-400);
  border-radius: var(--radius-full);
  margin: var(--space-2xl) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- BBBEE Badge ---------- */
.bbbee-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(35,137,184,0.13);
  border: 1px solid rgba(67,185,225,0.26);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.05em;
}

/* ---------- Why Work With Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.why__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.why__image:hover img {
  transform: scale(1.03);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .director {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .goals-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .goals-grid::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 999;
  }

  .nav__links--open { transform: translateX(0); }
  .nav__link { font-size: 1.2rem; }
  .nav__toggle { display: flex; }
  .nav__cta--desktop { display: none; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 76px;
  }

  .nav {
    background: rgba(10,10,15,0.94);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav__inner {
    height: 100%;
    padding: 0 var(--space-lg);
  }

  .nav__logo {
    height: 100%;
    min-width: 0;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 999;
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    flex-shrink: 0;
  }

  .nav__cta {
    margin-left: 0;
  }

  .nav__cta--desktop {
    display: none;
  }

  .brand-logo {
    width: 92px;
    height: 58px;
    max-height: none;
  }

  .brand-logo--nav {
    width: 92px;
    height: 58px;
    max-height: none;
    object-position: left center;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero__content {
    width: 100%;
    padding-top: calc(var(--nav-height) + var(--space-lg));
    padding-bottom: var(--space-3xl);
  }

  .hero__badge {
    width: 100%;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    font-size: 0.72rem;
    line-height: 1.55;
    margin-bottom: var(--space-xl);
  }

  .hero__badge-dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 0.35rem;
  }

  .hero__stats {
    flex-direction: row;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
  }

  .hero__stat {
    flex: 1;
    min-width: 0;
  }

  .hero__scroll {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .page-header {
    min-height: auto;
    align-items: flex-start;
  }

  .page-header__content {
    width: 100%;
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-3xl);
  }

  .page-header .section__title {
    max-width: 100%;
    font-size: clamp(2rem, 9.5vw, 2.6rem) !important;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

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

  .credentials__grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .credential {
    border-right: 0;
    border-bottom: 1px solid var(--glass-border);
  }

  .credential:last-child { border-bottom: 0; }

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding-inline: var(--space-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-stagger > *,
  img.lazy-media {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
