/* ==========================================================================
   NEWSLETTER EDITORIAL PORTFOLIO STYLES
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-navy: #091A2E;          /* Rich Deep Navy */
  --bg-navy-light: #0D223B;    /* Lighter Navy for cards/headers */
  --bg-cream: #FAF7F0;         /* Premium Sand/Cream for editorial feel */
  --bg-card: #FFFFFF;          /* Pure White for cards */
  --text-dark: #0F172A;        /* Slate-900 for dark text */
  --text-gray: #475569;        /* Slate-600 for body copy */
  --text-muted: #64748B;       /* Slate-500 for minor details */
  --text-light: #F8FAFC;       /* Off-White for dark panels */
  --text-beige: #E2D9C8;       /* Warm light beige for subheadings on dark panels */
  --accent: #EAB308;           /* Amber/Gold-500 */
  --accent-hover: #CA8A04;     /* Gold-600 */
  --border-cream: #E6DFD3;     /* Elegant warm border for cards */
  --border-navy: #1E2E44;      /* Border for navy elements */
  
  /* Fonts */
  --font-serif-title: 'Playfair Display', Georgia, serif;
  --font-serif-body: 'Lora', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
}

/* Base Styles & Editorial Settings */
body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-title);
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  text-align: justify;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Prevent any element from causing horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

section {
  padding: 60px 0;
  border-bottom: none;
  box-sizing: border-box;
}

/* 1.1 Desktop Scroll Snapping (One section at a time) */
@media (min-width: 1025px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }

  section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 70px; /* Offset for sticky header */
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0; /* Reduced padding inside snapped section */
  }
}

/* Sections with specific backgrounds */
.section-cream {
  background-color: var(--bg-cream);
}

.section-navy {
  background-color: var(--bg-navy);
  color: var(--text-light);
  border-bottom: none;
}

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

.section-navy p {
  color: var(--text-beige);
}

/* Section Headings */
.section-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  margin-bottom: 24px;
}

.section-subtext {
  font-size: clamp(16px, 1.8vw, 18px);
  font-family: var(--font-serif-body);
  max-width: 800px;
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-navy);
  border: 1px solid var(--accent);
}

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

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(234, 179, 8, 0.05);
}

/* ==========================================================================
   1. SITE HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--accent);
  border-bottom: 1px solid rgba(9, 26, 46, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, height 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-logo {
  font-family: var(--font-serif-title);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--bg-navy);
  text-decoration: none;
}

.header-logo span {
  color: var(--bg-navy);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  color: rgba(9, 26, 46, 0.85);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--bg-navy);
  text-decoration: underline;
}

.btn-connect-header {
  padding: 8px 18px;
  font-size: 13.5px;
  border-radius: 4px;
  border: 1px solid var(--bg-navy);
  color: var(--bg-navy);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-connect-header:hover,
.btn-connect-header:active {
  background-color: rgba(9, 26, 46, 0.08) !important;
  color: var(--bg-navy) !important;
  border-color: var(--bg-navy) !important;
}

/* Burger Menu Button (for tablet view fallback) */
.burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--bg-navy);
  transition: all 0.3s ease;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
#home {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-navy);
  color: var(--text-light);
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  border-bottom: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-name {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  font-family: var(--font-serif-body);
  color: var(--text-beige);
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 400;
  border-bottom: 1px solid var(--border-navy);
  padding-bottom: 20px;
  width: 100%;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Portrait Styling */
.hero-image-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-wrapper {
  position: relative;
  width: 320px;
  height: 400px;
}

.profile-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-navy);
  position: relative;
  z-index: 5;
  background-color: var(--bg-navy-light);
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gold Frame Offset in Mock-up */
.profile-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  z-index: 1;
  pointer-events: none;
}

/* Hero Social Icons & Connect Button Modifications */
.profile-image-wrapper-with-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  z-index: 10;
}

/* ── Hero social icon circles ───────────────────────────────────────────── */
/* SVGs use fill:currentColor so we control everything via the `color` prop,
   which browsers allow to change in :visited (unlike `fill` directly).    */
.hero-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  border: 1.5px solid var(--accent);
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  color: var(--accent); /* drives fill via currentColor */
}

.hero-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
  pointer-events: none;
}

/* All non-interactive states — keep yellow icon */
.hero-social-link:link,
.hero-social-link:visited {
  color: var(--accent) !important;
  background-color: transparent !important;
}

/* Hover / focus / active — solid yellow circle, navy icon */
.hero-social-link:hover,
.hero-social-link:focus,
.hero-social-link:active {
  background-color: var(--accent) !important;
  color: var(--bg-navy) !important;
  transform: translateY(-3px);
  outline: none;
}

/* ── LinkedIn CTA button icon ────────────────────────────────────────────── */
.btn-linkedin-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* White by default (matches btn-secondary white text),
   switches to navy when button turns yellow on hover   */
.btn-linkedin-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: fill 0.25s ease;
}

.btn-secondary.btn-linkedin-hero {
  color: #FFFFFF !important;
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
}

.btn-secondary.btn-linkedin-hero:hover,
.btn-secondary.btn-linkedin-hero:focus,
.btn-secondary.btn-linkedin-hero:active {
  color: var(--bg-navy) !important;
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* ==========================================================================
   3. STATS BOARD
   ========================================================================== */
.hero-stats-bar {
  background-color: var(--bg-navy-light);
  border-top: 2px solid var(--accent);
  border-bottom: none;
  padding: 40px 0;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  border-right: 1px solid var(--border-navy);
  padding-right: 20px;
}

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

.stat-value {
  font-family: var(--font-serif-title);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
  white-space: nowrap;
}

.stat-label {
  font-size: 14px;
  color: var(--text-beige);
  line-height: 1.5;
  display: block;
  margin-bottom: 10px;
}

.country-flags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 4px;
}

.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 6px;
  padding: 4px 10px;
  transition: all 0.2s ease;
}

.flag-chip:hover {
  background-color: rgba(234, 179, 8, 0.08);
  border-color: var(--accent);
}

.flag-emoji {
  font-size: 16px;
  line-height: 1;
}

.flag-img {
  display: block;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.flag-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-beige);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   4. THE LEADER (ABOUT)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: flex-start;
}

.about-bio {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-gray);
}

.about-bio p {
  margin-bottom: 24px;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

.quote-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.leader-quote-block {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 0;
}

.leader-quote {
  font-family: var(--font-serif-body);
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.5;
  font-style: italic;
  color: var(--bg-navy);
  margin-bottom: 0;
}

.leader-philosophy-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leader-philosophy {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray);
  margin: 0;
}

/* ==========================================================================
   5. SIGNATURE INITIATIVES
   ========================================================================== */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.initiative-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.015);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.initiative-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.initiative-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.init-number {
  font-family: var(--font-serif-title);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.init-title {
  font-family: var(--font-serif-title);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  margin-bottom: 0;
  color: var(--bg-navy);
}

.init-desc {
  font-size: 14.5px;
  color: var(--text-gray);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ==========================================================================
   6. LEADERSHIP JOURNEY (TIMELINE)
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 100%;
  margin: 40px 0 0 0;
}

/* Vertical line through timeline */
.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 260px;
  width: 1px;
  background-color: var(--border-cream);
}

/* Dynamic scroll progress line */
.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 260px;
  width: 2px;
  background-color: var(--accent);
  height: 0; /* Animated dynamically by scroll listener */
  z-index: 2;
  transition: height 0.1s ease-out;
}

.timeline-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline dot */
.timeline-dot {
  position: absolute;
  left: 256px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--border-cream);
  border: 2px solid var(--border-cream);
  z-index: 5;
  transition: all 0.3s ease;
}

.timeline-dot.active {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: scale(1.4);
}

/* Organization Logo Container Styles */
.timeline-header-with-logo {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.timeline-org-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 4px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-cream);
  padding: 4px;
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-header-text {
  display: flex;
  flex-direction: column;
}

.advisory-header-with-logo {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.advisory-org-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 4px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-cream);
  padding: 4px;
  flex-shrink: 0;
}

.advisory-header-with-logo .advisory-org {
  margin-bottom: 0;
}

.timeline-meta {
  text-align: right;
  padding-right: 32px;
}

.timeline-period {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.timeline-duration {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 4px;
}

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  padding: 30px 40px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.timeline-role {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 6px;
  font-family: var(--font-serif-title);
}

.timeline-org {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.timeline-bullets {
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-gray);
}

.timeline-bullets li {
  margin-bottom: 10px;
}

.timeline-bullets li:last-child {
  margin-bottom: 0;
}

/* Accordion Chevrons (desktop hidden) */
.timeline-chevron, .impact-chevron {
  display: none;
}

/* ==========================================================================
   7. PROGRAM & CURRICULUM LEADERSHIP
   ========================================================================== */
.programs-wrapper {
  max-width: 100%;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.program-pillar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border-color: var(--accent);
}

.pillar-title {
  font-family: var(--font-serif-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-navy);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-list li {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-gray);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(9, 26, 46, 0.05);
  transition: all 0.2s ease;
}

.pillar-list li:hover {
  color: var(--accent);
  padding-left: 4px;
}

.toolchain-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 260px 1px 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.toolchain-title {
  font-family: var(--font-serif-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.toolchain-divider {
  width: 1px;
  height: 50px;
  background-color: var(--accent);
}

.toolchain-text {
  font-size: 14.5px;
  color: var(--text-gray);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ==========================================================================
   8. EXECUTIVE EDUCATION & GLOBAL ADVISORY
   ========================================================================== */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.exec-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  border-top: 3px solid var(--accent);
  padding: 30px 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.exec-category {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hover);
  margin-bottom: 12px;
}

.exec-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-navy);
  line-height: 1.4;
  margin-bottom: 12px;
  font-family: var(--font-serif-title);
}

.exec-desc {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Advisory Layout (Newspaper column columns) */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advisory-col {
  border-top: 3px solid var(--accent);
  padding-top: 20px;
}

.advisory-org {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.advisory-role {
  font-size: 17px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 12px;
  line-height: 1.35;
  font-family: var(--font-serif-title);
}

.advisory-desc {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   9. DOMAINS OF IMPACT
   ========================================================================== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(9, 26, 46, 0.08);
  padding: 24px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px -1px rgba(9, 26, 46, 0.02), 0 2px 4px -1px rgba(9, 26, 46, 0.006);
}

.impact-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(9, 26, 46, 0.08);
}

.impact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.impact-icon-box {
  width: 34px;
  height: 34px;
  background-color: var(--bg-navy);
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.impact-icon-box i {
  font-size: 15px;
  line-height: 1;
  color: var(--accent);
}

.impact-icon-box svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.impact-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 0;
  font-family: var(--font-sans);
}

.impact-desc {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   10. RECOGNITION & SCHOLARSHIP
   ========================================================================== */
.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.rec-column-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  font-family: var(--font-serif-title);
}

.rec-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  padding: 28px;
  margin-bottom: 24px;
  border-radius: 4px;
}

.rec-item:last-child {
  margin-bottom: 0;
}

.rec-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 8px;
  line-height: 1.45;
  font-family: var(--font-serif-title);
}

.rec-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.rec-item-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-hover);
  text-decoration: none;
}

.rec-item-link:hover {
  text-decoration: underline;
}

.rec-list {
  padding-left: 20px;
  list-style: none;
}

.rec-list li {
  position: relative;
  font-size: 14.5px;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.rec-list li::before {
  content: "▸";
  position: absolute;
  left: -20px;
  color: var(--accent);
}

/* ==========================================================================
   11. RECENT PUBLICATIONS (INTERACTIVE LIST)
   ========================================================================== */
.pub-filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.pub-search-wrapper {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.pub-search-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  font-size: 14px;
  background-color: var(--bg-card);
  color: var(--text-dark);
}

.pub-search-wrapper input:focus {
  border-color: var(--accent);
  outline: none;
}

.pub-search-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  color: var(--text-gray);
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background-color: var(--accent);
  color: var(--bg-navy);
  border-color: var(--accent);
}

.pub-scroll-container {
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  background-color: var(--bg-card);
  padding: 10px;
}

.pub-list {
  list-style: none;
}

.pub-item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--bg-cream);
  align-items: center;
  transition: background-color 0.2s ease;
}

.pub-item:last-child {
  border-bottom: none;
}

.pub-item:hover {
  background-color: rgba(249, 246, 240, 0.5);
}

.pub-item.hidden {
  display: none !important;
}

.pub-num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.pub-details h5 {
  font-family: var(--font-serif-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 6px;
}

.pub-authors {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.pub-venue {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.pub-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pub-badge {
  font-size: 11px;
  background-color: rgba(9, 26, 46, 0.05);
  color: var(--bg-navy);
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 500;
}

.pub-action a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-hover);
  text-decoration: none;
  border: 1px solid var(--border-cream);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
  background-color: var(--bg-card);
}

.pub-action a:hover {
  background-color: var(--accent);
  color: var(--bg-navy);
  border-color: var(--accent);
}

.pub-action a svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   12. EDUCATION
   ========================================================================== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.edu-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  padding: 30px;
  border-radius: 4px;
  position: relative;
}

.edu-year {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 12px;
  font-weight: 700;
  background-color: rgba(234, 179, 8, 0.1);
  color: var(--accent-hover);
  padding: 4px 10px;
  border-radius: 20px;
}

.edu-degree {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 8px;
  margin-top: 10px;
  font-family: var(--font-serif-title);
  max-width: calc(100% - 70px);
}

.edu-university {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==========================================================================
   13. EVENT GALLERY
   ========================================================================== */
.gallery-folders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.folder-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cream);
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.folder-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.folder-preview-stack {
  position: relative;
  height: 220px;
  background-color: var(--bg-cream);
  overflow: hidden;
  border-bottom: 1px solid var(--border-cream);
}

.folder-cover {
  width: 100%;
  height: 100%;
  position: relative;
}

.folder-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.folder-card:hover .folder-cover img {
  transform: scale(1.05);
}

.folder-overlay-info {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: rgba(9, 26, 46, 0.85);
  color: #FFFFFF;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
}

.folder-info {
  padding: 24px;
}

.folder-info h3 {
  font-family: var(--font-serif-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 6px;
}

.folder-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Dynamic album layout styling */
.gallery-photos-container.hidden {
  display: none;
}

.gallery-photos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.back-to-albums-btn {
  background: transparent;
  border: 1px solid var(--border-cream);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  color: var(--text-gray);
  transition: all 0.25s ease;
}

.back-to-albums-btn:hover {
  background-color: var(--accent);
  color: var(--bg-navy);
  border-color: var(--accent);
}

.active-album-title {
  font-family: var(--font-serif-title);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--bg-navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border-cream);
}

.gallery-item.hidden {
  display: none !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(9, 26, 46, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  color: #FFFFFF;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 12px;
}

.gallery-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.g-album-tag {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.g-caption {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

/* Lightbox Modal Styling */
.lightbox {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(9, 26, 46, 0.95);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000000;
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 32px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: background-color 0.2s ease;
}

.lightbox-nav:hover {
  background-color: var(--accent);
  color: var(--bg-navy);
}

.prev-lightbox {
  left: -60px;
}

.next-lightbox {
  right: -60px;
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 20px;
  font-size: 14.5px;
  font-family: var(--font-serif-body);
  text-align: center;
  max-width: 600px;
}

/* ==========================================================================
   14. GET IN TOUCH / FOOTER
   ========================================================================== */
#contact {
  background-color: var(--bg-navy) !important;
  color: #FFFFFF !important;
  border-bottom: none;
  padding: 80px 0;
}

#contact h2.section-title {
  color: #FFFFFF !important;
}

#contact p.section-subtext {
  color: var(--text-beige) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 50px;
}

.contact-info-col,
.contact-links-col,
.contact-interactive-col {
  display: flex;
  flex-direction: column;
}

.contact-logo {
  font-family: var(--font-serif-title);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent) !important;
  margin-bottom: 12px;
  text-decoration: none;
  display: inline-block;
}

.contact-logo span {
  color: var(--accent) !important;
  font-weight: 700;
}

.contact-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.7) !important;
  margin-bottom: 24px;
  max-width: 460px;
}

.contact-col-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFFFFF !important;
  margin-bottom: 20px;
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 8px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link-item {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-beige) !important;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  width: fit-content;
}

.contact-link-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.contact-link-item:hover {
  color: #FFFFFF !important;
}

.contact-link-item:hover::after {
  width: 100%;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon-circle {
  width: 42px;
  height: 42px;
  background-color: rgba(234, 179, 8, 0.08) !important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-icon-circle svg {
  width: 18px;
  height: 18px;
  color: var(--accent) !important;
  stroke: var(--accent) !important;
  stroke-width: 2;
  fill: none;
}

.contact-text-area {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-value-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value-link:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

.contact-social-icons {
  display: flex;
  gap: 12px;
}

.contact-social-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-beige) !important;
  transition: all 0.25s ease;
}

.contact-social-link:hover {
  background-color: var(--accent) !important;
  color: var(--bg-navy) !important;
  border-color: var(--accent) !important;
  transform: translateY(-2px);
}

.contact-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Map & Contact Form Column */
.contact-interactive-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-map-block {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px;
  padding: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.contact-form-block {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 36px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-form-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 24px;
  font-family: var(--font-serif-title);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  padding: 8px 0 !important;
  font-size: 14.5px;
  border-radius: 0 !important;
  width: 100%;
  font-family: var(--font-sans);
  transition: border-color 0.25s ease !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent) !important;
  outline: none;
}

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

/* Footer Bottom styles */
.footer-bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(248, 250, 252, 0.7);
  margin-top: 60px;
}

.footer-bottom a {
  color: rgba(248, 250, 252, 0.7);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    align-items: center;
    order: 2;
  }

  .hero-image-area {
    order: 1;
    margin-bottom: 24px;
  }

  .hero-cta {
    justify-content: center;
  }

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

  .stat-item {
    border-right: none;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

  .rec-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  #home {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 50px;
  }

  .hero-name {
    font-size: clamp(24px, 7vw, 36px) !important;
    white-space: nowrap !important;
  }

  .hero-cta {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 420px !important;
  }

  .hero-cta .btn {
    padding: 12px 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  /* Reduce wrap padding on mobile for more content space */
  .wrap {
    padding: 0 16px !important;
  }

  .profile-image-wrapper {
    width: 240px !important;
    height: 300px !important;
    margin: 24px auto 0 auto !important;
  }

  /* Hide decorative gold offset frame on mobile to prevent overflow */
  .profile-image-wrapper::after {
    display: none !important;
  }

  /* Section padding reduced on mobile */
  section {
    padding: 50px 0 !important;
  }

  /* Navigation overrides for Mobile */
  .nav-menu {
    display: none;
  }

  .site-header {
    height: 60px;
    justify-content: center;
  }

  .header-container {
    justify-content: center;
  }

  /* Body adjustments for bottom navigation */
  body {
    padding-bottom: 70px;
  }

  /* Stats Board: 1x1 grid on mobile */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .stat-value {
    font-size: clamp(17px, 4vw, 21px) !important;
    white-space: normal !important;
    word-break: break-word;
  }

  .stat-item {
    text-align: left;
    border-right: none;
    padding-right: 0;
  }

  /* Flag chips: allow wrap on mobile */
  .country-flags {
    flex-wrap: wrap !important;
    gap: 4px;
  }
  .flag-chip {
    padding: 3px 7px !important;
    gap: 4px;
  }
  .flag-name {
    font-size: 10px !important;
    letter-spacing: 0.02em;
  }
  .flag-img {
    width: 16px !important;
    height: 12px !important;
  }

  /* Timeline: fix progress line position and content layout */
  .timeline-container::before {
    left: 16px;
  }

  .timeline-progress-line {
    left: 16px !important;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 36px;
  }

  .timeline-dot {
    left: 12px;
  }

  .timeline-meta {
    text-align: left;
    padding-right: 0;
  }

  .timeline-content {
    padding: 20px 18px !important;
    cursor: pointer;
    position: relative;
    padding-right: 40px !important;
  }

  .timeline-chevron {
    display: block !important;
    position: absolute;
    top: 24px;
    right: 16px;
    font-size: 16px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
  }

  .timeline-content.expanded .timeline-chevron {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .timeline-bullets {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
  }

  .timeline-content.expanded .timeline-bullets {
    max-height: 800px;
    opacity: 1;
    margin-top: 16px;
  }

  /* Content grids: 1-column matrix on mobile */
  .initiatives-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .initiative-card {
    padding: 18px 14px !important;
  }

  .exec-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .programs-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .toolchain-box {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .toolchain-divider {
    display: none;
  }

  .advisory-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .impact-card {
    padding: 14px 12px !important;
    cursor: pointer;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .impact-card-header {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .impact-chevron {
    display: block !important;
    position: absolute;
    top: 14px;
    right: 12px;
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
  }

  .impact-card.expanded .impact-chevron {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .impact-title {
    font-size: 13px !important;
    text-align: center !important;
  }

  .impact-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    font-size: 12px !important;
    line-height: 1.5;
    text-align: center !important;
  }

  .impact-card.expanded .impact-desc {
    max-height: 150px;
    opacity: 1;
    margin-top: 8px;
  }

  .pub-item {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .pub-num {
    display: none;
  }

  .pub-action {
    justify-self: flex-start;
  }

  .edu-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .edu-card {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 120px !important;
  }

  .edu-year {
    position: static !important;
    align-self: flex-start !important;
    margin-bottom: 6px !important;
  }

  .edu-degree {
    max-width: 100% !important;
    font-size: 14px !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }

  .edu-university {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  .gallery-folders-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .prev-lightbox, .next-lightbox {
    display: none !important;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-nav {
    display: none;
  }

  /* Sticky Mobile Bottom Navigation (White Background) */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(9, 26, 46, 0.1) !important;
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
  }

  .mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray) !important;
    text-decoration: none;
    font-size: 9px;
    font-weight: 500;
    gap: 4px;
    flex: 1;
    height: 100%;
    transition: color 0.2s ease;
  }

  .mobile-bottom-nav-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
  }

  .mobile-bottom-nav-item.active {
    color: var(--accent-hover) !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
    padding-bottom: 10px !important;
  }

  /* Contact / Footer section mobile */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .contact-form-block {
    padding: 24px 20px !important;
  }

  .contact-map-block {
    display: none; /* Hide map on mobile to save space */
  }

  .contact-info-item {
    gap: 12px;
  }

  .contact-social-link {
    width: 34px !important;
    height: 34px !important;
  }

  /* Section general padding */
  #contact {
    padding-top: 60px !important;
    padding-bottom: 30px !important;
  }
}

/* Mobile Menu Overlay Fallback */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-navy);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
}

.mobile-nav-links li {
  margin-bottom: 24px;
}

.mobile-nav-links a {
  font-family: var(--font-serif-title);
  font-size: 24px;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

.mobile-menu-footer {
  position: absolute;
  bottom: 40px;
  text-align: center;
  color: var(--text-beige);
  font-size: 12px;
}

.mobile-menu-footer span {
  display: block;
  margin-bottom: 4px;
}

/* Burger Animation states */
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Footer Overrides for Desktop Scroll Snapping ───────────────────────── */
@media (min-width: 1025px) {
  #contact {
    min-height: auto !important;
    display: block !important;
    scroll-snap-align: end !important;
    padding: 60px 0 !important;
  }
}

.footer-bottom {
  flex-wrap: wrap !important;
  gap: 15px !important;
}
