@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Colors */
  --primary: #00bfff;                 /* Deep Blue */
  --primary-light: #4B6BC9;
  --primary-dark: #122252;
  --primary-rgb: 30, 58, 138;
  
  --accent: #2BAE9A;                  /* Teal */
  --accent-light: #4DD3BF;
  --accent-dark: #1E7E6E;
  --accent-rgb: 43, 174, 154;
  
  --clay: #2BAE9A;                    /* Teal */
  --dawn: #00bfff;                    /* Deep Blue */
  --sage: #B6E6FA;                    /* Light Blue */
  --sage-light: #E0F5FE;              /* Extra Light Blue */
  
  --bg-light: #FFFFFF;                /* White */
  --bg-alt: #F4FBFF;                  /* Off-white with light blue tint */
  --bg-dark: #000000;                 /* Black */
  --bg-header: rgba(255, 255, 255, 0.95);
  
  --text-dark: #000000;               /* Black */
  --text-muted: #4B5563;
  --text-light: #FFFFFF;              /* White */
  --text-light-muted: #D1D5DB;
  
  --border-light: rgba(30, 58, 138, 0.15);
  --border-dark: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-light);
}

/* Layout Utilities */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: var(--text-light-muted);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  font-family: var(--font-body);
}

.table-wrap thead tr {
  background-color: rgba(198, 138, 68, 0.15);
  border-bottom: 2px solid var(--accent);
}

.table-wrap thead th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.table-wrap tbody tr {
  border-bottom: 1px solid rgba(246, 244, 240, 0.08);
  transition: background-color 0.2s;
}

.table-wrap tbody tr:last-child {
  border-bottom: none;
}

.table-wrap tbody tr:hover {
  background-color: rgba(246, 244, 240, 0.04);
}

.table-wrap tbody td {
  padding: 1.1rem 1.5rem;
  vertical-align: top;
  line-height: 1.6;
  color: var(--text-light);
}

.table-wrap tbody td:first-child {
  font-weight: 700;
  color: var(--accent-light);
  white-space: nowrap;
  width: 30%;
  font-family: var(--font-display);
  font-size: 1rem;
}

.table-wrap tbody td:last-child {
  color: hsl(40, 20%, 88%);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Section Headings */
.section-head {
  max-width: 72ch;
  margin-bottom: 3.5rem;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.center .eyebrow {
  justify-content: center;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 138, 68, 0.25);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 36, 29, 0.15);
}

.btn-on-dark {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(246, 244, 240, 0.3);
}

.btn-on-dark:hover {
  background-color: var(--text-light);
  color: var(--primary-dark);
  border-color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
}

.brand-logo {
  height: 65px; /* Increased for clarity */
  width: auto;
  max-width: 350px;
}

.footer-logo {
  height: 60px; /* Increased for clarity */
  width: auto;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.nav-links a.active {
  color: var(--accent-dark);
  font-weight: 600;
}

/* Dropdown Menu Styles */
.nav-links .dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-md);
  min-width: 190px;
  border-radius: 8px;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 1002;
  border: 1px solid var(--border-light);
  margin-top: 10px;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

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

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: var(--bg-alt);
  color: var(--accent-dark);
}

.dropdown-menu a::after {
  display: none; /* No underline effect for dropdown items */
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-light);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 120px 2.5rem 2.5rem;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--border-light);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta .btn {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 1rem 0 0 1rem;
    min-width: 100%;
    margin-top: 0;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 4rem;
  background-color: var(--primary-dark);
  color: var(--text-light);
  text-align: left;
  position: relative;
  background-image: linear-gradient(
      to right,
      rgba(30, 58, 138, 0.95) 10%,
      rgba(30, 58, 138, 0.75) 50%,
      rgba(43, 174, 154, 0.4) 100%
    ),
    url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  color: #fff;
  max-width: 18ch;
  line-height: 1.15;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero p.lead {
  color: var(--text-light-muted);
  max-width: 58ch;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards;
  opacity: 0;
}

.hero .btn-row {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
  opacity: 0;
}

.hero .eyebrow {
  color: var(--sage);
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Page Specific Hero */
.page-hero {
  min-height: auto;
  height: auto;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 140px;
  padding-bottom: 5.5rem;
  background-image: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    hsl(154, 25%, 15%) 100%
  );
  background-size: cover;
  background-position: center;
  text-align: left;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 25ch;
  color: #fff;
}

.page-hero p.lead {
  max-width: 68ch;
  color: var(--text-light-muted);
  margin-bottom: 0;
}

.riftline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.hero .riftline {
  height: 120px;
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 2.2rem;
}

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

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

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

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding-top: 120px;
    padding-bottom: 4.5rem;
  }
  .riftline {
    height: 50px;
  }
  .hero .riftline {
    height: 70px;
  }
}

@media (max-width: 550px) {
  .nav {
    padding: 0 1.25rem;
    height: 75px;
  }
  .brand-logo {
    height: 52px;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .page-hero {
    padding-top: 105px;
    padding-bottom: 3.5rem;
  }
}

/* Card design */
.card, .value-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.6s ease;
  position: relative;
  overflow: hidden;
}

/* Modern Vision & Mission Image-Blur Cards */
.vision-mission-card {
  position: relative;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(198, 138, 68, 0.25);
  box-shadow: var(--shadow-md);
  background-color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 !important;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.vision-mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(20, 36, 29, 0.25);
  border-color: var(--accent);
}

.vision-mission-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(0.85) blur(0px);
  transform: scale(1.02);
}

.vision-mission-card:hover .card-bg {
  filter: brightness(0.7) blur(6px);
  transform: scale(1.08);
}

.vision-mission-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(20, 30, 40, 0.5) 0%,
    rgba(20, 30, 40, 0.75) 45%,
    rgba(20, 30, 40, 0.95) 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
}

.vision-mission-card:hover .card-overlay {
  background: linear-gradient(
    180deg,
    rgba(20, 30, 40, 0.65) 0%,
    rgba(20, 30, 40, 0.85) 45%,
    rgba(20, 30, 40, 0.98) 100%
  );
}

.vision-mission-card .card-body {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vision-mission-card .eyebrow-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: rgba(198, 138, 68, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  backdrop-filter: blur(4px);
}

.vision-mission-card h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

.vision-mission-card p {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
  transition: color 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.vision-mission-card:hover p {
  color: #fff;
}

/* Modern Team Role Cards — unified look with .card / .value-card */
.team-role-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.6s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.team-role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-role-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 36, 29, 0.12);
}

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

.role-icon-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  background: rgba(20, 36, 29, 0.08);
  border: 1px solid rgba(20, 36, 29, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  overflow: hidden;
  transition: background 0.6s ease, transform 0.6s ease;
}

.role-icon-badge svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
  stroke: var(--primary-dark);
}

.team-role-card:hover .role-icon-badge,
.value-card:hover .role-icon-badge {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: scale(1.08);
}

.team-role-card:hover .role-icon-badge svg,
.value-card:hover .role-icon-badge svg {
  stroke: #fff;
}

.team-role-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.team-role-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Modern Team Notice Banner */
.team-notice-banner {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  background: rgba(20, 36, 29, 0.04);
  border: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.team-notice-banner .notice-icon {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.card::before, .value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover, .value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 36, 29, 0.12);
}

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

.value-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.value-card .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(198, 138, 68, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  border: 1px solid rgba(198, 138, 68, 0.25);
  margin-bottom: 0;
}

.card h4, .value-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.card p, .value-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Value card modifications */
.value-card {
  padding: 2rem;
}

/* Pathway/Timelines */
.path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.path-step {
  position: relative;
  background-color: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(20, 36, 29, 0.06);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}

/* When path-body is present, reset the outer padding so images flush to edges */
.path-step:has(.path-img) {
  padding: 0;
}

.path-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(20, 36, 29, 0.14);
  border-color: rgba(198, 138, 68, 0.3);
}

/* Image container */
.path-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.path-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

.path-step:hover .path-img img {
  transform: scale(1.07);
}

/* Gradient overlay on image */
.path-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 36, 29, 0.05) 0%,
    rgba(20, 36, 29, 0.35) 100%
  );
  pointer-events: none;
}

/* Stage badge on image */
.stage-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
}

/* Card body */
.path-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, var(--accent), var(--clay));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 0 0 20px 20px;
}

.path-step:hover .path-body {
  background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, var(--accent), var(--clay));
}

.path-body h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.path-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Legacy stage-label (keep for other pages) */
.stage-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clay);
  margin-bottom: 1rem;
}

.path-step h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  padding: 0;
}

.path-step > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 0;
  margin-bottom: 0;
}

/* Override inside section-dark */
.section-dark .path-step {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-dark .path-step:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: none;
}

.section-dark .stage-label {
  color: var(--dawn);
}

.section-dark .path-step h4 {
  color: #fff;
}

.section-dark .path-step p {
  color: var(--text-light-muted);
}

@media (max-width: 1024px) {
  .path {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .path {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* Quote blocks */
.quote-block {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--accent);
}

/* Founder Portrait & Layout */
.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.founder-portrait-container {
  position: relative;
  width: 280px;
  margin-top: 0.5rem;
}

.founder-portrait-container::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: 16px;
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.founder-portrait-container:hover::before {
  transform: translate(6px, -6px);
}

.founder-portrait {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 364px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-alt);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.founder-portrait:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.founder-portrait:hover img {
  transform: scale(1.04);
}

.founder h3 {
  margin-bottom: 0.25rem;
  font-size: var(--step-2, 1.75rem);
}

/* Statement lead and pillars */
.statement-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-dark);
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.statement-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.pillar-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0.75;
  transition: transform 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.pillar-card:hover::before {
  transform: scaleY(1.1);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: var(--step-1, 1.25rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
  opacity: 0.85;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-muted);
}

.statement-footer {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-top: 2rem;
  font-style: normal;
}

@media (max-width: 1024px) {
  .founder {
    grid-template-columns: 240px 1fr;
    gap: 3rem;
  }
  .founder-portrait-container,
  .founder-portrait {
    width: 240px;
    height: 312px;
  }
}

@media (max-width: 768px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .founder-portrait-container {
    margin: 0 auto;
    width: 240px;
  }
  .founder-portrait {
    margin: 0 auto;
    width: 240px;
  }
  .statement-pillars {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Modern Team Showcase (Editorial Sticky Layout) */
.team-showcase-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 8rem;
  padding-bottom: 8rem;
  border-bottom: 1px solid var(--border-dark);
}

.team-showcase-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.team-visual {
  position: relative;
}

.sticky-portrait {
  position: sticky;
  top: 120px;
}

.portrait-image-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.portrait-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.portrait-image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-showcase-row:hover .portrait-image-wrapper img {
  transform: scale(1.05);
}

.portrait-info-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: -2rem;
  margin-left: 2rem;
  margin-right: -2rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.portrait-info-card h3 {
  font-size: var(--step-1, 1.4rem);
  margin-bottom: 0.25rem;
}

.portrait-info-card .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.team-bio {
  padding-top: 1rem;
}

.team-bio p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.team-bio p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 2rem;
}

.team-bio h4 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.team-bio ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.team-bio ul li {
  margin-bottom: 0.5rem;
}

/* Bio Folding Logic */
.bio-foldable {
  overflow: hidden;
  max-height: 2000px; /* arbitrary large height for open state */
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

.bio-foldable.hidden {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
}

.bio-toggle-btn {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
}

/* Alternate Row Layout */
.team-showcase-row:nth-child(even) {
  grid-template-columns: 1fr 320px;
}

.team-showcase-row:nth-child(even) .team-visual {
  order: 2;
}

.team-showcase-row:nth-child(even) .team-bio {
  order: 1;
}

.team-showcase-row:nth-child(even) .portrait-info-card {
  margin-left: -2rem;
  margin-right: 2rem;
}

@media (max-width: 1024px) {
  .team-showcase-row,
  .team-showcase-row:nth-child(even) {
    grid-template-columns: 260px 1fr;
    gap: 3rem;
  }
  .team-showcase-row:nth-child(even) .team-visual {
    order: 1;
  }
  .team-showcase-row:nth-child(even) .team-bio {
    order: 2;
  }
  .portrait-info-card,
  .team-showcase-row:nth-child(even) .portrait-info-card {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 768px) {
  .team-showcase-row,
  .team-showcase-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
  }
  .sticky-portrait {
    position: relative;
    top: 0;
  }
  .portrait-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
  .portrait-info-card {
    max-width: 90%;
    margin: -2rem auto 0;
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat .figure {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat .label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light-muted);
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 500px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SMART STAT CARDS — "By the Numbers" Section
   ============================================ */
.stats-section {
  background-color: var(--bg-light);
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .stat-cards { grid-template-columns: 1fr; }
}

/* Card shell */
.stat-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(20, 36, 29, 0.05);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.25,1,0.5,1), transform 0.55s cubic-bezier(0.25,1,0.5,1);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.3);
}

/* Subtle accent shimmer on top */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 20px 20px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.stat-card:hover::before { transform: scaleX(1); }

/* Card top row */
.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.stat-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, hsl(154,28%,93%), hsl(154,25%,88%));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.stat-icon svg { width: 17px; height: 17px; }

.stat-source {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

/* Big figure */
.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-figure sup {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--accent);
}

/* Description */
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

/* Chart container */
.stat-chart {
  margin-top: 0.75rem;
  width: 100%;
}

/* ---- Bar Chart (Card 1) ---- */
.bar-chart { display: flex; flex-direction: column; gap: 0.6rem; }

.bar-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr 2.5rem;
  align-items: center;
  gap: 0.5rem;
}

.bar-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.bar-val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
}

.bar-track {
  background: var(--bg-alt);
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: var(--bar-color, var(--primary));
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---- Donut Chart (Card 2) ---- */
.donut-chart {
  display: flex;
  justify-content: center;
}

.donut-svg {
  width: 110px;
  height: 110px;
  transform: rotate(-90deg);
}

.donut-bg {
  stroke: var(--bg-alt);
}

.donut-ring {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.donut-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  fill: var(--primary-dark);
  transform: rotate(90deg);
  transform-origin: center;
}

.donut-sub {
  font-family: var(--font-body);
  font-size: 9px;
  fill: var(--text-muted);
  transform: rotate(90deg);
  transform-origin: center;
}

/* ---- Split Chart (Card 3) ---- */
.split-chart { display: flex; flex-direction: column; gap: 0.5rem; }

.split-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.split-label strong {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--primary-dark);
}

.split-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.split-dot.youth { background: var(--accent); }
.split-dot.adult { background: var(--primary-light); }

.split-track {
  display: flex;
  height: 14px;
  border-radius: 50px;
  overflow: hidden;
  background: var(--bg-alt);
}

.split-fill {
  height: 100%;
  width: 0;
  transition: width 1.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.youth-fill {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 50px 0 0 50px;
}

.adult-fill {
  background: var(--primary-light);
  border-radius: 0 50px 50px 0;
}

/* ---- Region Chart (Card 4) ---- */
.region-chart { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.25rem; }

.region-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.region-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
}

.region-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.region-name {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.region-bar-wrap {
  height: 5px;
  background: var(--bg-alt);
  border-radius: 50px;
  overflow: hidden;
}

.region-bar {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---- Card footer tag ---- */
.stat-card-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.stat-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}



/* FAQ / Accordion Details & Summary */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 800px;
  margin-top: 2rem;
}

.faq-item {
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 36, 29, 0.12);
}

.faq-item summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 2rem 1.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form Styling */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.field.full {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: span 1;
  }
}

.field label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(198, 138, 68, 0.15);
}

.checkbox-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 0.2rem;
  cursor: pointer;
}

/* Table Design */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 1.25rem 2rem;
}

th {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border-dark);
  color: var(--dawn);
}

td {
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light-muted);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Contact Details Table Specific Styles */
section table {
  margin-top: 1.5rem;
}

section th, section td {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
}

section th {
  background-color: transparent;
  color: var(--primary-dark);
  text-transform: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  width: 120px;
}

section td {
  color: var(--text-muted);
}

section tr:last-child th, section tr:last-child td {
  border-bottom: none;
}

/* CTA Band */
.cta-band {
  background-image: linear-gradient(
    135deg,
    rgba(51, 133, 198, 0.8) 0%,
    rgba(30, 40, 50, 0.9) 100%
  ), url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 6rem 0;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.2rem;
}

.cta-band p {
  color: var(--text-light-muted);
  font-size: 1.15rem;
}

.cta-band .btn {
  margin-top: 0.5rem;
}

/* Footer layout */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 5.5rem 0 3.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
}

.footer-grid h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-grid p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent-light);
  margin-top: 1.5rem;
  position: relative;
  padding-left: 0.8rem;
  border-left: 2px solid var(--accent);
}

.contact-icon {
  width: 1.1em;
  height: 1.1em;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.15em;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 0.85rem;
}

.footer-grid ul li a,
.footer-contact-item {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  transition: color 0.25s ease;
}

.footer-grid .contact-icon {
  margin-top: 0.15rem;
  stroke: var(--accent-light);
}

.footer-grid ul li a:hover {
  color: var(--accent-light);
}

.footer-grid ul li a:hover .contact-icon {
  stroke: #fff;
  transform: scale(1.15);
}

/* NACADA Helpline button in footer */
.footer-grid ul li.nacada-helpline-li {
  margin-top: 0.75rem;
}

.nacada-helpline-btn {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.3rem 0.8rem !important;
  border-radius: 50px !important;
  border: 1px solid var(--accent) !important;
  background: rgba(198, 138, 68, 0.1) !important;
  color: var(--accent-light) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, color 0.2s ease !important;
  text-decoration: none !important;
}

.nacada-helpline-btn:hover {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(198, 138, 68, 0.3) !important;
  transform: translateY(-1px) !important;
  border-color: var(--accent) !important;
}

.contact-table-link,
.contact-table-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}

.contact-table-link:hover {
  color: var(--accent-dark);
}

.contact-table-link:hover .contact-icon {
  transform: scale(1.15);
  stroke: var(--accent-dark);
}

/* Social Media Icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(246, 244, 240, 0.25);
  background: rgba(246, 244, 240, 0.08);
  color: rgba(246, 244, 240, 0.75);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.social-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  fill: currentColor;
  stroke: none;
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(198, 138, 68, 0.35);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   FLOATING BACKGROUND MUSIC PLAYER WIDGET
   ============================================= */
.nh-music-player {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 9999;
  font-family: var(--font-body);
  user-select: none;
  -webkit-user-select: none;
}

.nh-music-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 34, 82, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(77, 211, 191, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 0 12px rgba(43, 174, 154, 0.2);
  padding: 4px 8px 4px 5px;
  border-radius: 40px;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nh-music-pill:hover {
  border-color: rgba(77, 211, 191, 0.65);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(43, 174, 154, 0.3);
}

/* Play/Pause Button with explicit PLAY text */
.nh-music-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #00bfff 100%);
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 191, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
  position: relative;
}

.nh-play-btn-content {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nh-music-player.paused .nh-state-pause {
  display: none !important;
}

.nh-music-player.paused .nh-state-play {
  display: inline-flex !important;
}

.nh-music-player:not(.paused) .nh-state-play {
  display: none !important;
}

.nh-music-player:not(.paused) .nh-state-pause {
  display: inline-flex !important;
}

.nh-music-player.paused .nh-music-toggle-btn {
  background: linear-gradient(135deg, #00bfff 0%, var(--accent) 100%);
  animation: nhPlayPulse 2.5s infinite ease-in-out;
}

@keyframes nhPlayPulse {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(0, 191, 255, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 2px 18px rgba(43, 174, 154, 0.75);
    transform: scale(1.04);
  }
}

.nh-music-toggle-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 191, 255, 0.55);
}

.nh-music-toggle-btn:active {
  transform: scale(0.95);
}

/* Animated Equalizer Bars */
.nh-equalizer {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 11px;
  width: 11px;
}

.nh-equalizer .nh-bar {
  width: 1.8px;
  background: #ffffff;
  border-radius: 1px;
  height: 100%;
  transform-origin: bottom;
  animation: nhEqualize 1.2s infinite ease-in-out alternate;
}

.nh-equalizer .nh-bar-1 { animation-delay: 0.1s; height: 60%; }
.nh-equalizer .nh-bar-2 { animation-delay: 0.4s; height: 100%; }
.nh-equalizer .nh-bar-3 { animation-delay: 0.2s; height: 75%; }
.nh-equalizer .nh-bar-4 { animation-delay: 0.5s; height: 45%; }

.nh-music-player.paused .nh-equalizer .nh-bar {
  animation-play-state: paused;
  transform: scaleY(0.25);
  transition: transform 0.3s ease;
}

@keyframes nhEqualize {
  0% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.35); }
}

/* Controls */
.nh-music-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nh-ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0f2fe;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.nh-ctrl-btn svg {
  width: 11px;
  height: 11px;
}

.nh-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.nh-ctrl-btn:active {
  transform: scale(0.92);
}

/* Volume control */
.nh-volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nh-volume-slider {
  width: 38px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nh-volume-slider:hover {
  background: rgba(255, 255, 255, 0.45);
}

.nh-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-light);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.nh-volume-slider::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-light);
  cursor: pointer;
  border: none;
}

/* Notification badge / tooltip on start */
.nh-music-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(18, 34, 82, 0.95);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(77, 211, 191, 0.3);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.35s ease;
  z-index: 10001;
}

.nh-music-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .nh-music-player {
    bottom: 12px;
    right: 12px;
  }
  
  .nh-volume-slider {
    display: none;
  }
  
  .nh-music-pill {
    padding: 3px 6px 3px 4px;
    gap: 6px;
  }
}

