/* ============================================================
   VIVANTIS ADVISORY — Main Stylesheet
   vivantisadvisory.com
   ============================================================ */

/* ── FONTS (DECLARED PROXIMA NOVA VARIANTS) ── */
/* Regular (400) */
@font-face {
  font-family: 'Proxima Nova';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/ProximaNova-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Proxima Nova';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('../assets/fonts/ProximaNova-Italic.woff2') format('woff2');
}

/* Semibold (600) */
@font-face {
  font-family: 'Proxima Nova';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/ProximaNova-Semibold.woff2') format('woff2');
}

/* Bold (700) */
@font-face {
  font-family: 'Proxima Nova';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/ProximaNova-Bold.woff2') format('woff2');
}

/* Extrabold (800) */
@font-face {
  font-family: 'Proxima Nova';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../assets/fonts/ProximaNova-Extrabold.woff2') format('woff2');
}

/* ── TOKENS ── */
:root {
  --navy:   #005684;
  --navy-rgb: 0, 86, 132;
  --navy2:  #003d60;
  --deep-navy: #001b2a;
  --green:  #05ae72;
  --green2: #03804c;
  --green-light: #07c885;
  --white:  #ffffff;
  --off:    #f5f9fc;
  --text:   #1a2e3b;
  --muted:  #4a6274;
  --border: #ccdde8;

  /* Layout variables for responsive scaling */
  --nav-links-gap: 36px;
  --nav-cta-padding: 11px 26px;
  --nav-cta-font-size: 19px;
  --hero-title-size: 64px;
  --h-stat-flex: none;
  --h-stat-min-width: 280px;
  --h-stat-padding: 28px 36px;
  --founder-img-max-width: 400px;
  --founder-quote-size: 24px;
  --founder-quote-padding: 28px;
  --founder-quote-margin: 32px;
  --founder-bio-size: 17px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: 'Proxima Nova', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Prevent horizontal scroll safety */
}

/* Centering Container layout */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Base Heading Resets */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Proxima Nova', Arial, sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

/* Default styling for lists (bullet & decimal support) */
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 8px;
}
li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(204, 221, 232, 0.5);
  padding: 0 64px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 86, 132, 0.08);
  border-bottom-color: rgba(204, 221, 232, 0.8);
}
.nav-logo { line-height: 0; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: var(--nav-links-gap, 36px); }
.nav-links a:not(.nav-cta) {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--green2); /* Underline matches hover color */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active {
  color: var(--green2); /* Darker green for WCAG AA contrast compliance */
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: var(--green) !important;
  color: var(--deep-navy) !important;
  padding: var(--nav-cta-padding, 11px 26px);
  border-radius: 7px;
  font-size: var(--nav-cta-font-size, 19px); /* Increased from 15px to qualify as WCAG Large Bold text */
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(5, 174, 114, 0.15);
  text-decoration: none;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important, 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important, 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-cta:hover {
  background: var(--green2) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 16px rgba(5, 174, 114, 0.28) !important;
}

.nav-cta:active {
  transform: translateY(-1px) scale(0.99) !important;
  box-shadow: 0 2px 6px rgba(5, 174, 114, 0.12) !important;
}

.nav-toggle {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: radial-gradient(circle at 80% 20%, #004d75 0%, var(--navy2) 50%, #002236 100%);
  display: flex;
  align-items: center;
  padding: 120px 64px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 174, 114, 0.14) 0%, rgba(5, 174, 114, 0) 70%);
  right: 15%;
  top: 15%;
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
}
.hero-wm {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.07;
  pointer-events: none;
}
.hero-left {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--green);
}
.hero-main-title {
  font-size: var(--hero-title-size, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero-main-title .text-highlight { color: var(--green); }
.hero-sub {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-green {
  display: inline-block;
  background: var(--green);
  color: var(--deep-navy);
  font-family: 'Proxima Nova', Arial, sans-serif;
  font-size: 19px; /* Increased from 16px to qualify as WCAG Large Bold text */
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(5, 174, 114, 0.15);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-green:hover {
  background: var(--green2);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(5, 174, 114, 0.3);
}

.btn-green:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 2px 6px rgba(5, 174, 114, 0.15);
}

.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-family: 'Proxima Nova', Arial, sans-serif;
  font-size: 19px; /* Increased from 16px to qualify as WCAG Large Bold text */
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08);
}

.btn-ghost:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: none;
}

.hero-right {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.h-stat {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 5px solid var(--green);
  border-radius: 16px;
  padding: var(--h-stat-padding, 28px 36px);
  min-width: var(--h-stat-min-width, 280px);
  flex: var(--h-stat-flex, none);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s, 
              border-color 0.3s, 
              box-shadow 0.3s;
}
.h-stat:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  border-left-color: var(--green);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22), 0 0 20px rgba(5, 174, 114, 0.15);
}
.h-stat-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.h-stat-lbl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.sec { padding: 88px 64px; }
.sec-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.sec-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}
.green-bar {
  width: 44px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 22px 0 50px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: linear-gradient(135deg, #f5f9fc 0%, #eef5f9 100%);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-copy p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65; /* Unified from 1.78 */
  margin-bottom: 18px;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-card {
  background: radial-gradient(circle at 100% 100%, #004d75 0%, var(--navy2) 80%);
  border-radius: 18px;
  padding: 44px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 61, 96, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.about-card-wm {
  position: absolute;
  bottom: -20px;
  right: -20px;
  opacity: 0.07;
}
.pillars {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 2;
}
.pillar { display: flex; align-items: flex-start; gap: 16px; }
.pillar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 8px;
}
.pillar-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.pillar-txt {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

/* ── CLIENTS (WHO WE WORK WITH - HUB LAYOUT) ── */
.clients {
  background: var(--off);
  position: relative;
  overflow: hidden;
}
.www-layout {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

/* Center Hub Styling */
.www-center-hub {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  position: relative;
}
.www-hub-circle {
  width: 240px;
  height: 240px;
  background: var(--white);
  border: 4px solid var(--green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 86, 132, 0.12),
              0 0 0 10px rgba(5, 174, 114, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.www-hub-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 24px 60px rgba(5, 174, 114, 0.2),
              0 0 0 16px rgba(5, 174, 114, 0.08);
}
.www-hub-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 86, 132, 0.06);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.4s;
}
.www-hub-circle:hover .www-hub-icon {
  transform: scale(1.08) rotate(4deg);
}
.www-hub-text {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

/* Columns containing cards */
.www-left-col,
.www-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2;
}

/* Individual Cards */
.www-card {
  background: var(--white);
  border: 1px solid rgba(204, 221, 232, 0.6);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(0, 86, 132, 0.015);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.www-card:hover {
  border-color: rgba(5, 174, 114, 0.3);
  box-shadow: 0 16px 32px rgba(0, 86, 132, 0.06);
}

/* Hover directions depending on side */
.www-left-col .www-card:hover {
  transform: translateX(-6px);
}
.www-right-col .www-card:hover {
  transform: translateX(6px);
}

.www-card-icon {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex-shrink: 0;
  background: rgba(5, 174, 114, 0.06);
  color: var(--green);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s, color 0.4s, transform 0.4s;
}
.www-card:hover .www-card-icon {
  background: var(--green);
  color: var(--white);
  transform: scale(1.05);
}
.www-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.www-card-content {
  flex-grow: 1;
}
.www-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.www-card-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  line-height: 1.6;
}

/* ── BRAND GROWTH FRAMEWORK (FLAGSHIP) ── */
.framework {
  background: radial-gradient(circle at 80% 20%, #002e48 0%, var(--deep-navy) 70%);
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 96px 0;
}
.framework::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 174, 114, 0.06) 0%, rgba(5, 174, 114, 0) 70%);
  right: -10%;
  top: -10%;
  z-index: 1;
  pointer-events: none;
  filter: blur(60px);
}
.tag-light {
  color: var(--green-light);
  border-color: rgba(7, 200, 133, 0.3) !important;
}
.text-white {
  color: var(--white) !important;
}

/* Philosophy Banner */
.philosophy-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 64px;
}
.phil-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 36px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.phil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
}
.phil-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.phil-highlight {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.phil-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
}

/* Stepped Timeline */
.timeline-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0;
}
.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, 
    rgba(5, 174, 114, 0.05) 0%, 
    rgba(5, 174, 114, 0.35) 15%, 
    rgba(5, 174, 114, 0.35) 85%, 
    rgba(5, 174, 114, 0.05) 100%
  );
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 48px;
  display: flex;
  justify-content: flex-end;
}
.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}
.timeline-node {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--deep-navy);
  border: 3px solid rgba(5, 174, 114, 0.6);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(5, 174, 114, 0.3);
  transition: border-color 0.4s, transform 0.4s;
}
.node-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}
.timeline-item:hover .timeline-node {
  border-color: var(--green-light);
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 18px rgba(7, 200, 133, 0.5);
}
.timeline-card {
  position: relative;
  width: calc(50% - 40px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.timeline-card:hover {
  border-color: rgba(5, 174, 114, 0.35);
  background: rgba(255, 255, 255, 0.03);
}
.timeline-item:nth-child(odd) .timeline-card:hover {
  transform: translateX(-4px) translateY(-2px);
}
.timeline-item:nth-child(even) .timeline-card:hover {
  transform: translateX(4px) translateY(-2px);
}
.card-bg-num {
  position: absolute;
  right: 24px;
  top: 16px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(5, 174, 114, 0.025);
  font-family: Arial, sans-serif;
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s;
}
.timeline-card:hover .card-bg-num {
  color: rgba(7, 200, 133, 0.05);
}
.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.timeline-card-icon {
  width: 42px;
  height: 42px;
  background: rgba(5, 174, 114, 0.08);
  color: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s, color 0.4s;
}
.timeline-card:hover .timeline-card-icon {
  background: var(--green-light);
  color: var(--deep-navy);
}
.timeline-card-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.timeline-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timeline-card-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}
.timeline-card-outcome {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.outcome-pill-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.outcome-pill-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ── SERVICES (OUR ADVISORY PRACTICE) ── */
.services {
  background: linear-gradient(180deg, var(--white) 0%, #f4f8fa 50%, var(--white) 100%);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.svc-card {
  background: var(--white);
  border: 1px solid rgba(0, 86, 132, 0.16);
  border-top: 4px solid var(--navy);
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0, 86, 132, 0.015);
  transition: border-top-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  border-top-color: var(--green);
  border-color: rgba(5, 174, 114, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 86, 132, 0.07);
}
.svc-icon {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex-shrink: 0;
  background: rgba(0, 86, 132, 0.08);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 20px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s, color 0.4s, transform 0.4s;
}
.svc-card:hover .svc-icon {
  background: var(--green);
  color: var(--white);
  transform: scale(1.05);
}
.svc-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.svc-card:hover .svc-icon svg {
  transform: rotate(2deg);
}
.svc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.svc-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.svc-subtitle {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 16px;
}
.svc-bullet-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  margin-top: auto; /* Push lists to align at the bottom */
  border-top: 1px dashed rgba(0, 86, 132, 0.16);
  padding-top: 16px;
}
.svc-bullet-list li {
  font-size: 15px;
  color: #283e4e;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}
.svc-bullet-list li::before {
  content: "•";
  color: var(--green);
  position: absolute;
  left: 2px;
  top: -1px;
  font-size: 16px;
}
.svc-bullet-list li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   WHY VIVANTIS
   ============================================================ */
.why { 
  background: radial-gradient(circle at 20% 80%, #00466b 0%, var(--navy2) 60%, #00253b 100%);
  position: relative; 
  overflow: hidden; 
}
.why::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(5, 174, 114, 0.11) 0%, rgba(5, 174, 114, 0) 70%);
  left: 5%;
  bottom: 10%;
  z-index: 1;
  pointer-events: none;
  filter: blur(45px);
}
.why-wm {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  pointer-events: none;
}
.why .sec-title { color: var(--white); }
.why .green-bar { margin-bottom: 52px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.why-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: background 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover { 
  background: rgba(255, 255, 255, 0.07); 
  border-color: rgba(5, 174, 114, 0.25);
  transform: translateY(-3px);
}
.why-check {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-check svg {
  stroke: var(--navy2);
}
.why-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 5px;
}
.why-txt { font-size: 17px; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: radial-gradient(circle at 50% 50%, #00466b 0%, var(--navy2) 80%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 88px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(5, 174, 114, 0.08) 0%, rgba(5, 174, 114, 0) 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  filter: blur(30px);
}
.cta-band h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.cta-band p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}



/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy2); padding: 56px 64px 36px; }
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 28px;
}
.foot-brand-logo { height: 52px; width: auto; display: block; margin-bottom: 18px; }
.foot-brand p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65; /* Unified from 1.7 */
}
.foot-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 18px;
}
.foot-col a,
.foot-col span {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--white); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.foot-bottom p,
.foot-bottom a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.foot-bottom a:hover { color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.22s; }

/* ── Watermark Float Animation ── */
@keyframes floatWatermark {
  0% { transform: translateY(-50%) translate(0, 0) rotate(0deg); }
  50% { transform: translateY(-50%) translate(8px, -12px) rotate(0.7deg); }
  100% { transform: translateY(-50%) translate(0, 0) rotate(0deg); }
}

.hero-wm,
.why-wm {
  animation: floatWatermark 16s ease-in-out infinite;
  will-change: transform;
}

/* ============================================================
   FOUNDER PROFILE
   ============================================================ */
.founder-profile {
  margin-top: 96px;
  background: radial-gradient(circle at 0% 0%, #004d75 0%, var(--navy2) 80%);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 30px 60px rgba(0, 37, 59, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}

.founder-left-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.founder-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  aspect-ratio: 2 / 3;
  max-width: var(--founder-img-max-width, 400px);
  margin: 0 auto;
}

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

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

.founder-bio-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-bio-text {
  font-size: var(--founder-bio-size, 16.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.founder-right-col {
  color: rgba(255, 255, 255, 0.9);
}

.founder-right-col .sec-tag {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.founder-name {
  font-size: 36px;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1.15;
}

.founder-title {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  margin-bottom: 20px;
}

.founder-divider {
  width: 40px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 24px;
}

.founder-quote {
  font-size: var(--founder-quote-size, 22px);
  line-height: 1.5;
  color: var(--white);
  font-style: italic;
  font-weight: 600;
  margin-bottom: var(--founder-quote-margin, 32px);
  position: relative;
  padding-left: var(--founder-quote-padding, 28px);
  border-left: 4px solid var(--green);
}

.founder-focus-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin: 32px 0 12px;
}

.founder-focus-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.focus-tag {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.3s;
}

.focus-tag:hover {
  background: rgba(5, 174, 114, 0.12);
  border-color: var(--green);
  color: var(--white);
}

.founder-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.founder-linkedin,
.founder-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--deep-navy) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(5, 174, 114, 0.2);
  transition: all 0.3s;
}

.founder-linkedin:hover,
.founder-instagram:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 174, 114, 0.3);
}

.founder-linkedin .li-icon,
.founder-instagram .ig-icon {
  width: 16px;
  height: 16px;
  stroke: var(--deep-navy);
}

/* ============================================================
   SUCCESS STORIES
   ============================================================ */
.stories {
  background: var(--white);
  position: relative;
}

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

.story-card {
  background: var(--white);
  border: 1px solid rgba(204, 221, 232, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 86, 132, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 86, 132, 0.08);
  border-color: rgba(5, 174, 114, 0.25);
}

.story-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.4;
  background: var(--off);
  border-bottom: 1px solid rgba(204, 221, 232, 0.4);
}

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

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

.story-content {
  padding: 28px 24px;
}

.story-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green2);
  margin-bottom: 8px;
}

.story-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}



.story-section {
  margin-top: 18px;
}

.story-sec-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 6px;
}

.story-sec-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}

.story-sec-list {
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

.story-sec-list li {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  position: relative !important;
  padding-left: 18px !important;
  margin-bottom: 8px !important;
}

.story-sec-list li:last-child {
  margin-bottom: 0 !important;
}

.story-sec-list li::before {
  content: '•';
  color: var(--green);
  position: absolute;
  left: 4px;
  top: 0;
  font-weight: bold;
}

.story-impact-sec {
  background: #f3faf7;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 20px;
  border-left: 3px solid var(--green);
}

.story-impact-sec .story-sec-title {
  color: var(--green2);
  margin-bottom: 8px;
}

.story-sec-list.impact-list li::before {
  content: '✓';
  color: var(--green);
  left: 2px;
}

.story-sec-list.impact-list li {
  color: var(--text) !important;
  font-size: 14px !important;
}


/* ============================================================
   RESPONSIVE — TABLET (OVERRIDDEN)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --nav-links-gap: 20px;
    --nav-cta-padding: 9px 18px;
    --hero-title-size: 42px;
    --h-stat-flex: 1 1 200px;
    --h-stat-min-width: 180px;
    --h-stat-padding: 16px 20px;
    --founder-img-max-width: 280px;
    --founder-bio-size: 16px;
    --founder-quote-size: 20px;
    --founder-quote-padding: 20px;
  }

  nav { padding: 0 32px; }
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 32px 60px;
  }
  .hero-left {
    max-width: 100%;
    margin-bottom: 40px;
  }
  /* Show statistics block layout on tablet viewports */
  .hero-right {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
  }
  .sec { padding: 64px 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Responsive grid adjustments on tablet */
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-grid .svc-card:nth-child(5) {
    grid-column: auto;
  }
  .www-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .www-center-hub {
    grid-row: 1;
    margin-bottom: 16px;
  }
  .www-left-col,
  .www-right-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .www-left-col .www-card:hover,
  .www-right-col .www-card:hover {
    transform: translateY(-4px);
  }
  .philosophy-banner {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
  }
  .timeline-track {
    left: 20px;
    transform: none;
  }
  .timeline-item {
    justify-content: flex-start !important;
    padding-left: 48px;
    margin-bottom: 36px;
  }
  .timeline-node {
    left: 20px;
    transform: translateX(-50%);
  }
  .timeline-card {
    width: 100%;
    padding: 28px;
  }
  .timeline-item:nth-child(odd) .timeline-card:hover,
  .timeline-item:nth-child(even) .timeline-card:hover {
    transform: translateY(-3px);
  }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  /* Founder profile tablet overrides */
  .founder-profile {
    padding: 40px 32px;
    margin-top: 72px;
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-left-col {
    gap: 20px;
  }

  /* Stories tablet overrides */
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  /* Center the third card by spanning across both columns on tablet */
  .stories-grid .story-card:nth-child(3) {
    grid-column: span 2;
  }


}

/* ============================================================
   RESPONSIVE — MOBILE (OVERRIDDEN)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --nav-links-gap: 16px;
    --nav-cta-padding: 8px 16px;
    --nav-cta-font-size: 14px;
    --hero-title-size: 34px;
    --h-stat-min-width: 100%;
    --founder-img-max-width: 220px;
    --founder-bio-size: 15px;
    --founder-quote-size: 18px;
    --founder-quote-padding: 16px;
    --founder-quote-margin: 24px;
  }

  nav { padding: 0 20px; height: 64px; transition: background 0.3s; }
  .nav-logo img {
    height: 40px; /* Reduced to fit cleanly inside 64px header */
  }

  /* Prevent background scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Hamburger Toggle Button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 150;
    transition: transform 0.3s ease;
  }
  .nav-toggle .hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s ease;
  }
  
  /* Morphing hamburger lines into "X" */
  .nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Dropdown Panel */
  .nav-links {
    position: fixed;
    top: 64px; /* Align right under mobile nav */
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(204, 221, 232, 0.5);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px 24px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 140;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Make nav links visible inside mobile menu */
  .nav-links a:not(.nav-cta) {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    width: 100%;
    padding: 8px 0;
    transition: color 0.3s;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none; /* Disable desktop hover underline effect */
  }

  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta).active {
    color: var(--green);
  }

  /* Scale CTA button to fit width on mobile menu */
  .nav-links .nav-cta {
    width: 80%;
    max-width: 280px;
    text-align: center;
    box-sizing: border-box;
    margin-top: 16px;
    font-size: 17px;
    padding: 13px 24px;
  }
  .hero {
    padding: 100px 20px 48px;
    min-height: auto;
  }
  .hero-sub { font-size: 16px; }
  .hero-right {
    flex-direction: column; /* Stack statistics vertically on mobile */
  }
  .sec { padding: 52px 20px; }
  .sec-title { font-size: 30px; }
  /* Spacing and divider reductions */
  .green-bar {
    margin: 15px 0 32px;
  }
  /* Card paddings optimization to expand readable text width */
  .about-card {
    padding: 30px 20px; /* Prevents pillar squishing */
  }
  .pillar {
    gap: 12px;
  }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card {
    padding: 24px 20px;
  }
  /* Reset services fifth card column spanning on mobile */
  .svc-grid .svc-card:nth-child(5) {
    grid-column: auto;
  }
  .www-left-col,
  .www-right-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .www-hub-circle {
    width: 200px;
    height: 200px;
    padding: 16px;
  }
  .www-hub-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }
  .www-hub-text {
    font-size: 11px;
  }
  .philosophy-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }
  .timeline-track {
    left: 16px;
  }
  .timeline-item {
    padding-left: 36px;
    margin-bottom: 28px;
  }
  .timeline-node {
    left: 16px;
  }
  .timeline-card {
    padding: 20px;
  }
  .why-grid { grid-template-columns: 1fr; }
  .why-card {
    padding: 20px;
    gap: 14px;
  }
  .cta-band { padding: 52px 20px; }
  .cta-band h2 { font-size: 32px; }
  footer { padding: 40px 20px 28px; }
  /* Center footer columns cleanly on mobile layout */
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-brand,
  .foot-col {
    text-align: center;
  }
  .foot-brand-logo {
    margin: 0 auto 18px;
  }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Founder profile mobile overrides */
  .founder-profile {
    padding: 32px 20px;
    margin-top: 48px;
  }
  .founder-name {
    font-size: 28px;
  }

  /* Stories mobile overrides */
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .stories-grid .story-card:nth-child(3) {
    grid-column: auto;
  }
  .story-content {
    padding: 20px;
  }
  .story-title {
    font-size: 18px;
  }


}

/* ============================================================
   EVENTS PAGE STYLES
   ============================================================ */

/* Hero Section */
.events-hero {
  padding: 140px 24px 70px;
  background: linear-gradient(135deg, #001b2a 0%, #003d60 50%, #005684 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.events-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 174, 114, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.events-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.events-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(5, 174, 114, 0.2);
  border: 1px solid rgba(5, 174, 114, 0.4);
  color: var(--green-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 24px;
}

.events-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.events-hero .hero-subtext {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 800px;
  margin: 0 auto 36px;
}

/* Filter Bar */
.events-filter-bar {
  display: inline-flex;
  gap: 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
}

.filter-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--green);
  color: var(--white);
}

/* Events Catalog Grid */
.events-catalog-section {
  padding: 80px 24px 60px;
  background: var(--off);
}

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

.event-catalog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 86, 132, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 86, 132, 0.12);
}

.event-catalog-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.card-image-wrap {
  position: relative;
  min-height: 240px;
  background: #001b2a;
  overflow: hidden;
}

.event-catalog-card.featured .card-image-wrap {
  min-height: 100%;
}

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

.event-catalog-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.placeholder-bg {
  background: linear-gradient(135deg, #002e48 0%, #001b2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.event-status-badge.past {
  background: rgba(5, 174, 114, 0.95);
  color: var(--white);
}

.event-status-badge.upcoming {
  background: rgba(0, 86, 132, 0.9);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;

}

.meta-tag {
  color: var(--green2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-tag.upcoming-tag {
  color: var(--navy);
}

.meta-location {
  color: var(--muted);
}

.card-body h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.card-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

.btn-event-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-event-view:hover {
  background: var(--green2);
  transform: translateX(4px);
}

.btn-event-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-event-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Event Detail Section */
.event-detail-section {
  padding: 80px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}

.event-detail-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.detail-header-bar {
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
  margin-bottom: 40px;
}

.event-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(5, 174, 114, 0.1);
  color: var(--green2);
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 16px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.detail-header-bar h2 {
  font-size: 40px;
  color: var(--navy);
  margin-bottom: 14px;
}

.event-location-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.event-location-info .info-icon {
  display: inline-flex;
  align-items: center;
  color: var(--green);
}

.divider-dot {
  color: var(--border);
}

.event-description-block {
  margin-bottom: 50px;
}

.event-description-block h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 16px;
}

.event-description-block p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.event-description-block .lead-paragraph {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

/* Five Ideas Banner */
.five-ideas-section {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy2) 100%);
  border-radius: 24px;
  padding: 50px 36px;
  color: var(--white);
  margin-bottom: 60px;
}

.five-ideas-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.five-ideas-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(5, 174, 114, 0.2);
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.five-ideas-header h3 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 10px;
}

.five-ideas-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

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

.idea-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 26px 22px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.idea-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.idea-icon {
  width: 44px;
  height: 44px;
  background: rgba(5, 174, 114, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  margin-bottom: 16px;
}

.idea-card h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 8px;
}

.idea-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

/* Event Photos Section (Under Details) */
.event-photos-section {
  margin-top: 50px;
}

.photos-header {
  border-left: 4px solid var(--green);
  padding-left: 18px;
  margin-bottom: 32px;
}

.photos-header h3 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 6px;
}

.photos-header p {
  font-size: 16px;
  color: var(--muted);
}

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

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item.span-wide {
  grid-column: span 3;
  aspect-ratio: 21 / 9;
}

.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;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 27, 42, 0.85) 0%, rgba(0, 27, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-action {
  font-size: 12px;
  font-weight: 600;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Upcoming Hero Card Styling */
.upcoming-hero-bg {
  background: linear-gradient(135deg, #001b2a 0%, #003d60 60%, #05ae72 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  min-height: 320px;
}

.upcoming-badge-overlay {
  display: flex;
  justify-content: flex-start;
}

.upcoming-card-hero {
  color: var(--white);
  z-index: 2;
}

.upcoming-card-hero .hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.upcoming-card-hero h2 {
  font-size: 32px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.upcoming-card-hero .hero-tagline {
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.event-highlights-list {
  background: rgba(0, 86, 132, 0.04);
  border: 1px solid rgba(0, 86, 132, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.hl-item {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}

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

.hl-label {
  font-weight: 700;
  color: var(--navy);
}

/* Dedicated Event Detail Page Styles */
.page-event-detail {
  background: var(--white);
}

.event-page-hero {
  padding: 120px 24px 50px;
  background: linear-gradient(135deg, #001b2a 0%, #003d60 100%);
  color: var(--white);
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.breadcrumb-trail a {
  color: var(--green-light);
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  text-decoration: underline;
}

.breadcrumb-trail .current {
  color: var(--white);
}

.event-hero-header h1 {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 16px;
}

.event-hero-header .event-location-info {
  color: rgba(255, 255, 255, 0.85);
}

.event-detail-body {
  padding: 60px 24px 80px;
}

.event-narrative-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 86, 132, 0.05);
  margin-bottom: 60px;
}

.event-narrative-card h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 18px;
}

.event-narrative-card p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.event-narrative-card p.lead-text {
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
}

/* Lightbox Clickable Triggers */
.lightbox-trigger,
.gallery-item,
[data-lightbox-src] {
  cursor: pointer !important;
}

.gallery-overlay,
.gallery-action {
  cursor: pointer !important;
}

/* LIGHTBOX MODAL STYLING */
.lightbox-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 32, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-container {
  position: relative;
  z-index: 1001;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content {
  position: relative;
  max-width: 100%;
  max-height: 82vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: -10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: var(--green);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-prev { left: -68px; }
.lightbox-next { right: -68px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--green);
  border-color: var(--green);
}

/* RESPONSIVE BREAKPOINTS FOR EVENTS PAGE */
@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-catalog-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .ideas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.span-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .events-hero {
    padding: 110px 20px 40px;
  }
  .events-hero h1 {
    font-size: 34px;
  }
  .events-hero .hero-subtext {
    font-size: 16px;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .event-catalog-card.featured {
    grid-column: auto;
  }
  .detail-header-bar h2 {
    font-size: 28px;
  }
  .five-ideas-section {
    padding: 32px 20px;
  }
  .five-ideas-header h3 {
    font-size: 24px;
  }
  .ideas-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.span-wide {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
