/* ============================================================
   KCGF V3 — Custom Stylesheet
   (Works alongside Tailwind CDN for content sections)
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a, button, select, input { cursor: pointer; }

/* ── CSS VARS ─────────────────────────────────────────────── */
:root {
  --teal: #3CB4B4;
  --tealD: #29a0a0;
  --navy: #0a1628;
  --grey: #969696;
  --silver: #F8FAFA;
}

/* ── V3 COMPONENT STYLES (moved from inline <style>) ─────── */
.hero-title { line-height: 0.93; letter-spacing: -0.04em; }

.bento-tile {
  --wc: #3CB4B4;
  background: #F8FAFA;
  border-radius: 24px;
  padding: 36px;
  transition: all 0.35s ease;
  border: 1px solid transparent;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento-tile:hover {
  background: #fff;
  border-color: var(--wc);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
.bento-tile .win-icon-wrap {
  background: color-mix(in srgb, var(--wc) 12%, white);
  color: var(--wc);
}
.bento-tile .win-num-label { color: color-mix(in srgb, var(--wc) 55%, #969696); }
.bento-tile .win-details-link { color: #0a1628; transition: color 0.2s, gap 0.2s; }
.bento-tile:hover .win-details-link { color: var(--wc); }
.bento-tile:hover .win-details-link { color: var(--wc); }

.bento-tile-accent {
  --wc: #55C6C4;
  border-radius: 24px;
  padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: all 0.35s ease;
  background: var(--wc);
  color: #fff;
}
.bento-tile-accent:hover { transform: translateY(-4px); filter: brightness(0.93); }

/* Window logo image in bento tile */
.win-logo-wrap {
  width: 80px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}
.win-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.scroll-line {
  width: 1px; height: 72px;
  background: rgba(0,0,0,0.1); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: #3CB4B4;
  animation: sLine 1.8s ease-in-out infinite;
}
@keyframes sLine { 0%{transform:translateY(-100%)} 100%{transform:translateY(280%)} }

.story-card {
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }

.news-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.visible    { opacity: 1 !important; transform: none !important; }

.stagger > .reveal:nth-child(1) { transition-delay: 0.00s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.10s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.20s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.30s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.40s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.50s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.60s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
#hero-left > * { animation: fadeUp 0.75s ease both; }
#hero-left > *:nth-child(1) { animation-delay: 0.08s; }
#hero-left > *:nth-child(2) { animation-delay: 0.18s; }
#hero-left > *:nth-child(3) { animation-delay: 0.28s; }
#hero-left > *:nth-child(4) { animation-delay: 0.38s; }
#hero-left > *:nth-child(5) { animation-delay: 0.48s; }
#hero-right { animation: fadeUp 0.9s 0.32s ease both; }

.img-dark  { background: linear-gradient(135deg, #0a1628 0%, #1a3a6a 100%); }
.img-teal  { background: linear-gradient(135deg, #29a0a0 0%, #3CB4B4 100%); }
.img-light { background: linear-gradient(135deg, #ddf0f0 0%, #b8e4e4 100%); }

/* ── NAV ─────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5% ;
  height: 76px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; display: block; }

/* Nav links list */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4B5563;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.dd-open > a { color: var(--teal); background: rgba(60,180,180,0.07); }
.nav-links > li > a .chevron { font-size: 9px; opacity: 0.5; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.14);
  border: 1px solid rgba(0,0,0,0.07);
  min-width: 230px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
}
.dropdown.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 420px;
}
.dropdown.align-left  { left: 0; transform: translateX(0) translateY(8px); }
.dropdown.align-right { left: auto; right: 0; transform: translateX(0) translateY(8px); }

/* Visible state (JS-driven) */
.nav-links > li.dd-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-links > li.dd-open .dropdown.align-left  { transform: translateX(0) translateY(0); }
.nav-links > li.dd-open .dropdown.align-right { transform: translateX(0) translateY(0); }
/* CSS :hover fallback */
.nav-links > li:hover .dropdown { opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0); }
.nav-links > li:hover .dropdown.align-left { transform:translateX(0) translateY(0); }
.nav-links > li:hover .dropdown.align-right { transform:translateX(0) translateY(0); }

.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.dropdown a:hover { background: rgba(60,180,180,0.09); color: var(--teal); }
.dropdown a.highlight { color: var(--teal); font-weight: 700; }
.dropdown a.highlight:hover { background: rgba(60,180,180,0.12); }

/* Nav right side */
.nav-r {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language switcher */
.lang { display: flex; gap: 2px; border-right: 1px solid #E5E7EB; padding-right: 14px; }
.lang button {
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9CA3AF;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s;
  cursor: pointer;
}
.lang button.on { color: var(--teal); }
.lang button:hover:not(.on) { color: var(--navy); }

/* CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--navy);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

/* ── HAMBURGER ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(0,0,0,0.05); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  overflow-y: auto;
  padding: 100px 28px 48px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Mobile menu section label */
.mob-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 14px 8px 6px;
  display: block;
}

/* Mobile direct link */
.mobile-direct-link {
  display: block;
  padding: 13px 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
  transition: color 0.2s;
}
.mobile-direct-link:hover { color: var(--teal); }

/* Mobile nav toggle (accordion trigger) */
.mobile-nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  background: none;
  border: none;
  border-bottom: 1px solid #F3F4F6;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-nav-toggle:hover { color: var(--teal); }
.mobile-nav-toggle .mob-chevron {
  font-size: 11px;
  transition: transform 0.3s ease;
  color: var(--grey);
}
.mobile-nav-toggle.expanded .mob-chevron { transform: rotate(180deg); }

/* Mobile subnav (accordion panel) */
.mobile-subnav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #F9FAFB;
  border-radius: 0 0 12px 12px;
  margin-bottom: 4px;
}
.mobile-subnav.open { max-height: 500px; }
.mobile-subnav a {
  display: block;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #4B5563;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-subnav a:hover,
.mobile-subnav a.highlight { color: var(--teal); }

/* Mobile CTA */
.mobile-cta-wrap {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-cta-primary {
  display: block;
  text-align: center;
  padding: 15px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 14px;
  transition: background 0.2s;
}
.mobile-cta-primary:hover { background: var(--tealD); }

/* ── INTERIOR PAGE STYLES ────────────────────────────────── */
.page-wrap { padding-top: 76px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 5%;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey);
  background: var(--silver);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.breadcrumb a { color: var(--grey); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { opacity: 0.4; font-size: 9px; }
.breadcrumb .current { color: var(--navy); font-weight: 700; }

/* Interior page hero */
.page-hero {
  background: var(--navy);
  padding: 80px 5% 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.page-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}
.page-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.65;
  font-weight: 400;
}

/* Interior page sections */
.interior-section {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.section-subtitle {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.65;
  max-width: 600px;
}

/* Mission page — quote block */
.mission-quote {
  background: var(--silver);
  border-left: 4px solid var(--teal);
  padding: 28px 32px;
  border-radius: 0 16px 16px 0;
  margin: 40px 0;
}
.mission-quote blockquote {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--navy);
  font-style: italic;
}

/* Values cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--silver);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.value-card:hover {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(60,180,180,0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.value-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-body {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.6;
}

/* Stats band (dark) */
.stats-band {
  background: var(--navy);
  padding: 72px 5%;
  position: relative;
  overflow: hidden;
}
.stats-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.stat-item-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* GROW window page */
.grow-hero-card {
  background: linear-gradient(135deg, #0a3d2e 0%, #145a3c 100%);
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}
.grow-logo-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.grow-logo-badge img { height: 56px; width: auto; }
.grow-characteristics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 40px 0;
}
.grow-char-card {
  background: var(--silver);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.grow-char-card:hover { border-color: #39ac5a; box-shadow: 0 8px 24px rgba(57,172,90,0.1); }
.grow-char-num {
  font-size: 36px;
  font-weight: 900;
  color: #39ac5a;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.grow-char-label {
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Eligibility table */
.elig-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.elig-table th {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}
.elig-table th:first-child { border-radius: 12px 0 0 0; }
.elig-table th:last-child  { border-radius: 0 12px 0 0; }
.elig-table td {
  padding: 14px 20px;
  font-size: 13.5px;
  color: #374151;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: top;
}
.elig-table tr:nth-child(even) td { background: #FAFBFC; }
.elig-table tr:hover td { background: rgba(60,180,180,0.04); }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
  position: relative;
}
.process-step {
  background: var(--silver);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.process-step:hover { background: #fff; border-color: var(--teal); transform: translateY(-3px); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-body  { font-size: 13px; color: #6B7280; line-height: 1.55; }

/* CTA band */
.cta-band {
  background: var(--navy);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.cta-band-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-band-sub { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 36px; }
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn-primary:hover { background: var(--tealD); transform: translateY(-2px); }

/* ── FOOTER LOGO ─────────────────────────────────────────── */
.footer-fkgk-logo { height: 44px; width: auto; }

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────────── */
@media (max-width: 1200px) {
  .nav-links > li > a { padding: 8px 10px; font-size: 10px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .lang { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
}
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
  .grow-characteristics { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .grow-characteristics { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .win-logo-wrap { width: 64px; height: 44px; }
}
