@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════
   SKION EDUCARE FOUNDATION — "DEEPWATER GLASS" Design System
   Dark ocean ambient · frosted glass · water-reactive surface
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Aqua / ocean scale */
  --aqua-950: #031c24;
  --aqua-900: #032933;
  --aqua-800: #043847;
  --aqua-700: #06485a;
  --aqua-600: #0a5f74;
  --aqua-500: #0e7f96;
  --aqua-400: #2ba2b8;
  --aqua-300: #5cc3d6;
  --aqua-200: #93dde9;
  --aqua-100: #c6eef4;
  --aqua-50:  #e6f8fb;

  /* Warm accents */
  --coral:   #ff7a59;
  --coral-400: #ff946f;
  --gold:    #f2b84b;
  --gold-400: #f6c96e;
  --gold-50: #fdf4dd;

  /* Neutrals (content lives on frosted glass) */
  --ink:   #04222c;
  --text:  #0b3a46;
  --muted: #4f7079;
  --muted-2: #7d9aa2;

  /* Dark ambient */
  --bg:        #03202a;
  --bg-2:      #042b36;
  --surface:   rgba(255, 255, 255, .72);
  --border:    rgba(255, 255, 255, .55);

  /* Legacy aliases (used by inline styles / page CSS) */
  --white:  rgba(255, 255, 255, .78);
  --cream:  #eaf7f9;
  --cream2: rgba(234, 247, 249, .5);
  --dark:   #043847;
  --gp:     #93dde9;      /* pale aqua for light-on-dark labels */
  --gl:     #2ba2b8;
  --green:  #0e7f96;      /* --green name kept for legacy refs */
  --green-950: #031c24;
  --green-900: #032933;
  --green-800: #043847;
  --green-600: #0a5f74;
  --green-500: #0e7f96;
  --green-400: #2ba2b8;
  --green-300: #5cc3d6;
  --green-200: #93dde9;
  --green-100: #c6eef4;
  --green-50:  #e6f8fb;
  --green-pale: #93dde9;
  --green-light: #5cc3d6;
  --gold2: #f2b84b;
  --gold-light: #f6c96e;

  /* Geometry */
  --r: 18px;
  --r2: 12px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows — deep aqua tint */
  --shadow: 0 2px 6px rgba(2, 20, 26, .18), 0 14px 30px -12px rgba(2, 20, 26, .3);
  --shadow-lg: 0 4px 10px rgba(2, 20, 26, .16), 0 30px 60px -22px rgba(2, 20, 26, .42);
  --shadow-xl: 0 8px 20px rgba(2, 20, 26, .2), 0 50px 90px -28px rgba(2, 20, 26, .55);
  --sh: 0 8px 40px rgba(8, 90, 110, .28);
  --shl: 0 20px 60px rgba(8, 90, 110, .38);

  /* Typography */
  --fh: 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --fb: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --header-h: 72px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  color: #d9f3f6;
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  overflow-wrap: break-word;
}

/* ── Deepwater ambient backdrop ── */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
body::before {
  background:
    radial-gradient(900px 560px at 78% -6%, rgba(43, 162, 184, .30), transparent 60%),
    radial-gradient(760px 520px at 8% 16%, rgba(242, 184, 75, .13), transparent 62%),
    radial-gradient(900px 620px at 92% 78%, rgba(255, 122, 89, .10), transparent 60%),
    radial-gradient(700px 520px at 12% 88%, rgba(43, 162, 184, .20), transparent 62%),
    linear-gradient(165deg, #031c24 0%, #04303b 48%, #053542 100%);
}
body::after {
  background-image:
    radial-gradient(rgba(147, 221, 233, .10) 1px, transparent 1.4px),
    linear-gradient(115deg, transparent 46%, rgba(147, 221, 233, .06) 47%, transparent 48%, transparent 73%, rgba(242, 184, 75, .05) 74%, transparent 75%);
  background-size: 26px 26px, 100% 100%;
  opacity: .5;
}

/* ── Water interaction layer (canvas injected by shared.js) ── */
.water-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.water-layer.on { opacity: 1; }

/* Water sensitivity widget (desktop only, injected by shared.js) */
.water-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 860;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-direction: column;
}
.water-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #d9f3f6;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(2, 20, 26, .4);
  transition: transform .2s, background .2s;
}
.water-toggle:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.water-panel {
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(6, 40, 50, .72);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(2, 20, 26, .5);
  transition: max-width .3s ease, max-height .3s ease, opacity .3s ease;
}
.water-widget.open .water-panel {
  max-width: 260px;
  max-height: 90px;
  opacity: 1;
  padding: 12px 16px;
}
.water-label { display: block; font-size: .72rem; color: #b7e6ee; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.water-range { width: 180px; accent-color: #2ba2b8; cursor: pointer; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
p { margin: 0; }

::selection { background: #2ba2b8; color: #fff; }

:focus-visible { outline: 3px solid #5cc3d6; outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .water-layer { display: none; }
}

/* ── ACCESSIBILITY SKIP LINK ── */
.skip { position: absolute; top: -60px; left: 16px; background: #0e7f96; color: #fff; padding: 10px 20px; border-radius: 0 0 12px 12px; font-size: .85rem; font-weight: 600; text-decoration: none; z-index: 9999; transition: top .2s; }
.skip:focus { top: 0; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION — frosted glass
   ═══════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(20px, 4vw, 52px);
  max-width: 100%;
  background: rgba(8, 44, 56, .38);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: box-shadow .3s ease, background .3s ease;
}
nav.scrolled {
  background: rgba(7, 38, 48, .66);
  box-shadow: 0 14px 40px -18px rgba(2, 20, 26, .6);
}

.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo .logo-icon {
  height: 46px; width: 46px;
  border-radius: 50%;
  border: 2px solid rgba(147, 221, 233, .6);
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(43, 162, 184, .45);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.logo-name { font-family: var(--fh); font-size: 1.05rem; font-weight: 800; color: #f0fbff; line-height: 1.15; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-sub { font-size: .58rem; color: #8ec4d2; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-drop > a {
  text-decoration: none;
  color: #d9f3f6;
  font-size: .87rem;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-drop > a:hover,
.nav-links > a.active, .nav-drop > a.active { background: rgba(255, 255, 255, .14); color: #a8e7f0; }

.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop > a .caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; opacity: .7; }
.nav-drop:hover > a .caret, .nav-drop:focus-within > a .caret { transform: rotate(225deg) translateY(-1px); }

.drop {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: rgba(8, 44, 56, .6);
  -webkit-backdrop-filter: saturate(170%) blur(24px);
  backdrop-filter: saturate(170%) blur(24px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 30px 60px -18px rgba(2, 20, 26, .7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 500;
  color: #d9f3f6;
  transition: background .2s, color .2s;
}
.drop a:hover { background: rgba(255, 255, 255, .12); color: #a8e7f0; }
.di { font-size: 1.05rem; width: 22px; text-align: center; }

.nav-cta {
  margin-left: 8px;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: linear-gradient(120deg, #0e7f96, #2ba2b8);
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 26px -10px rgba(43, 162, 184, .8);
}
.nav-cta:hover { background: linear-gradient(120deg, #2ba2b8, #5cc3d6); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span { display: block; height: 2px; width: 100%; background: #d9f3f6; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile scrim + drawer — dark glass */
.mob-scrim {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(2, 16, 22, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mob-scrim.show { opacity: 1; visibility: visible; }
.mob {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 950;
  width: min(330px, 88vw);
  overflow-y: auto;
  padding: 88px 22px 30px;
  background: rgba(5, 34, 44, .88);
  -webkit-backdrop-filter: saturate(160%) blur(26px);
  backdrop-filter: saturate(160%) blur(26px);
  border-left: 1px solid rgba(255, 255, 255, .16);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), visibility .35s;
}
.mob.open { transform: translateX(0); visibility: visible; }
.mob a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: #d9f3f6;
  transition: background .2s;
}
.mob a:hover { background: rgba(255, 255, 255, .1); }
.mob-sec { display: block; font-size: .7rem; color: #8ec4d2; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 20px 14px 8px; }
.mob-cta { margin-top: 14px; background: linear-gradient(120deg, #0e7f96, #2ba2b8); color: #fff !important; font-weight: 700; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 480px;
  padding: 64px clamp(20px, 6vw, 80px) 76px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(560px 360px at 82% 18%, rgba(43, 162, 184, .30), transparent 65%),
    radial-gradient(420px 320px at 12% 88%, rgba(242, 184, 75, .12), transparent 65%),
    linear-gradient(135deg, #032933 0%, #064a5a 58%, #0a6b7c 100%);
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 80px rgba(147, 221, 233, .08);
}
.hero-in { position: relative; max-width: var(--container); margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #d9f3f6;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.hero-tag::before { content: ''; width: 7px; height: 7px; background: #5cc3d6; border-radius: 50%; box-shadow: 0 0 0 4px rgba(92, 195, 214, .3); }
.hero h1 { font-family: var(--fh); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; color: #f0fbff; line-height: 1.06; letter-spacing: -.01em; }
.hero h1 em, .hero h1 span { color: var(--gold); font-style: normal; }
.hero p { color: rgba(217, 243, 246, .82); font-size: clamp(1rem, 1.4vw, 1.13rem); margin-top: 18px; max-width: 620px; line-height: 1.78; }
.hero-stats-container { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-stat { position: relative; padding-right: 36px; }
.hero-stat::after { content: ''; position: absolute; right: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .16); }
.hero-stat:last-child { padding-right: 0; }
.hero-stat:last-child::after { display: none; }
.hero-stat-n { font-family: var(--fh); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 900; color: #f0fbff; line-height: 1; }
.hero-stat-n em { color: var(--gold); font-style: normal; }
.hero-stat-l { font-size: .78rem; color: #9fc9d5; margin-top: 6px; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  padding: clamp(52px, 8vw, 92px) clamp(20px, 4vw, 52px) clamp(44px, 6vw, 68px);
  background:
    radial-gradient(520px 340px at 88% 0%, rgba(43, 162, 184, .28), transparent 65%),
    radial-gradient(380px 300px at 4% 92%, rgba(242, 184, 75, .1), transparent 65%),
    linear-gradient(160deg, #04303b 0%, #064a5a 60%, #052c38 100%);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
}
.page-hero .container { position: relative; }
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8e7f0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: var(--fh);
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 900;
  color: #f0fbff;
  line-height: 1.12;
  max-width: 760px;
}
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: rgba(217, 243, 246, .72); font-size: clamp(.98rem, 1.3vw, 1.08rem); max-width: 620px; line-height: 1.7; margin-top: 14px; }
.page-hero[style*="background"] { border-bottom: none; }
.page-hero[style*="background"]::after { opacity: .9; }
.page-hero[style*="background"] h1, .page-hero[style*="background"] p { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT & SECTIONS
   ═══════════════════════════════════════════════════════════ */
.sec, .section { padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 52px); position: relative; }
.sec-alt, .section-alt { background: rgba(255, 255, 255, .035); border-top: 1px solid rgba(255, 255, 255, .07); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.sec-dark { background: rgba(2, 20, 26, .35); color: #fff; }
.con, .container { max-width: var(--container); margin: 0 auto; width: 100%; }
.sec-dark .lbl, .sec-dark .section-label { color: #93dde9; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.grid-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS — light on dark
   ═══════════════════════════════════════════════════════════ */
.lbl, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #93dde9;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lbl::before, .section-label::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-dark .lbl, .sec-dark .section-label { color: #93dde9; }

.h2, .section-title {
  font-family: var(--fh);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.14;
  color: #f0fbff;
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.sec-dark .h2, .sec-dark .section-title { color: #f0fbff; }
.h2 em, .section-title em { color: var(--gold); font-style: normal; position: relative; }
.sec-dark .h2 em, .sec-dark .section-title em { color: var(--gold); }

.desc, .section-desc { color: #9fc9d5; font-size: 1rem; max-width: 620px; line-height: 1.78; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--fb);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 135%; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary { background: linear-gradient(120deg, #0e7f96, #2ba2b8); color: #fff !important; box-shadow: 0 12px 30px -12px rgba(43, 162, 184, .8); }
.btn-primary:hover { box-shadow: 0 18px 44px -14px rgba(43, 162, 184, .95); }
.btn-gold { background: linear-gradient(120deg, #d99a24, #f2b84b); color: #1d2c10 !important; box-shadow: 0 12px 30px -12px rgba(242, 184, 75, .8); }
.btn-gold:hover { box-shadow: 0 18px 44px -14px rgba(242, 184, 75, .95); }
.btn-white, .btn-w { background: #f0fbff; color: #0b3a46 !important; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }
.btn-white:hover, .btn-w:hover { box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .5); }
.btn-outline, .btn-o {
  background: transparent;
  color: #f0fbff !important;
  border: 1.5px solid rgba(255, 255, 255, .45);
}
.btn-outline:hover, .btn-o:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }

/* ═══════════════════════════════════════════════════════════
   FROSTED GLASS SURFACES
   ═══════════════════════════════════════════════════════════ */
.card, .sc, .rc {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .65);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(255, 255, 255, .18),
    0 24px 50px -24px rgba(2, 20, 26, .6);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover, .sc:hover, .rc:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, .2),
    0 40px 80px -30px rgba(2, 20, 26, .7),
    0 0 40px -18px rgba(43, 162, 184, .5);
}

/* 3D top-edge light */
.card::after, .sc::after, .rc::after {
  content: '';
  position: absolute;
  top: 0; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  pointer-events: none;
}

.card { border-radius: var(--radius-lg); padding: 34px; overflow: hidden; }
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0e7f96, #2ba2b8, #f2b84b);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover::before { transform: scaleX(1); }

.sg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sc { border-radius: var(--radius-lg); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; }
.sc-top { padding: 30px 28px 14px; }
.sc-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #e0f6f9, #b9e9f1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.sc h3 { font-family: var(--fh); font-size: 1.06rem; font-weight: 800; color: var(--text); margin-bottom: 9px; }
.sc p { font-size: .86rem; color: var(--muted); line-height: 1.72; }
.sc-tags { padding: 12px 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .66rem;
  background: rgba(14, 127, 150, .1);
  color: #0a5f74;
  border: 1px solid rgba(14, 127, 150, .16);
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .02em;
}
.sc-foot, .sc-bottom { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px 18px; border-top: 1px solid rgba(11, 58, 70, .12); font-size: .82rem; color: #0e7f96; font-weight: 600; margin-top: auto; }

/* ═══════════════════════════════════════════════════════════
   STATS & STEPS & CHECKLIST
   ═══════════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #053542, #0a6b7c);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, .18);
}
.stat { padding: clamp(26px, 4vw, 38px) 22px; border-right: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--fh); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: #f0fbff; line-height: 1; }
.stat-l { font-size: .78rem; color: #9fc9d5; margin-top: 8px; letter-spacing: .06em; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; gap: 20px; }
.steps::before { content: ''; position: absolute; top: 27px; left: 13%; right: 13%; height: 2px; background: rgba(147, 221, 233, .25); }
.step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.step-n {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #0e7f96, #2ba2b8);
  color: #fff;
  border-radius: 50%;
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 10px 24px -8px rgba(43, 162, 184, .7);
  border: 4px solid rgba(147, 221, 233, .4);
}
.step-t { font-weight: 700; font-size: .9rem; color: #f0fbff; margin-bottom: 5px; }
.step-d { font-size: .81rem; color: #9fc9d5; line-height: 1.6; }

.cl { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.cl li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--text); line-height: 1.65; }
.cl li::before {
  content: '✓';
  color: #fff;
  background: #0e7f96;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.cta {
  background:
    radial-gradient(420px 300px at 88% 0%, rgba(43, 162, 184, .4), transparent 65%),
    radial-gradient(360px 280px at 6% 100%, rgba(242, 184, 75, .25), transparent 65%),
    linear-gradient(120deg, #053542, #0a6b7c);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 58px) clamp(28px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
}
.cta::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 2px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.cta::after { content: ''; position: absolute; right: 10px; bottom: -90px; width: 200px; height: 200px; border: 2px solid rgba(242, 184, 75, .18); border-radius: 50%; }
.cta > * { position: relative; }
.cta h3 { font-family: var(--fh); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: #f0fbff; margin-bottom: 10px; }
.cta p { color: rgba(217, 243, 246, .78); font-size: .96rem; max-width: 520px; }

/* ═══════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════ */
.rg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rc { border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.stars { color: var(--gold); font-size: .96rem; letter-spacing: 3px; margin-bottom: 12px; }
.rt { font-size: .89rem; color: var(--text); font-style: italic; line-height: 1.78; flex: 1; margin-bottom: 18px; }
.ra { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(11, 58, 70, .12); }
.rav {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e7f96, #2ba2b8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--fh); font-size: 1rem; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(43, 162, 184, .7);
}
.ran { font-weight: 700; font-size: .88rem; color: var(--text); }
.rar { font-size: .76rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   FORMS — frosted
   ═══════════════════════════════════════════════════════════ */
.fg { margin-bottom: 20px; }
.fg label { display: block; font-size: .84rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.fg input, .fg textarea, .fg select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .7);
  border: 1.5px solid rgba(11, 58, 70, .18);
  border-radius: 12px;
  font-family: var(--fb);
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: #0e7f96; box-shadow: 0 0 0 4px rgba(43, 162, 184, .18); }
.fg textarea { resize: vertical; min-height: 130px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER — dark glass
   ═══════════════════════════════════════════════════════════ */
footer {
  background: rgba(3, 24, 32, .72);
  -webkit-backdrop-filter: saturate(150%) blur(22px);
  backdrop-filter: saturate(150%) blur(22px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 52px) 26px;
  position: relative;
}
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #0e7f96, #2ba2b8, #f2b84b); }
.fg2 { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); margin-bottom: 44px; }
.fl { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fl .fl-i { height: 44px; width: 44px; border-radius: 50%; border: 2px solid rgba(147, 221, 233, .5); object-fit: cover; }
.fl-n { font-family: var(--fh); font-size: 1rem; font-weight: 800; color: #f0fbff; line-height: 1.2; }
.fl-s { font-size: .6rem; color: rgba(159, 201, 213, .8); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.fb p { color: rgba(217, 243, 246, .6); font-size: .86rem; line-height: 1.8; }
.fc h4 { font-family: var(--fh); font-size: .92rem; font-weight: 800; color: #f0fbff; margin-bottom: 16px; }
.fc a {
  display: block;
  color: rgba(217, 243, 246, .6);
  text-decoration: none;
  font-size: .84rem;
  margin-bottom: 10px;
  transition: color .2s, transform .2s;
}
.fc a:hover { color: #a8e7f0; transform: translateX(3px); }
.fc p { color: rgba(217, 243, 246, .6); font-size: .84rem; line-height: 1.8; margin-bottom: 7px; }
.fbot {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.fbot p { color: rgba(217, 243, 246, .42); font-size: .79rem; }
.fbl { display: flex; gap: 20px; flex-wrap: wrap; }
.fbl a { color: rgba(217, 243, 246, .42); text-decoration: none; font-size: .79rem; transition: color .2s; }
.fbl a:hover { color: #a8e7f0; }

/* ═══════════════════════════════════════════════════════════
   CURSOR GLARE ON GLASS + TILT
   ═══════════════════════════════════════════════════════════ */
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity .25s ease;
  background: radial-gradient(460px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .55), transparent 45%);
}
.tilting { transition: transform .1s ease-out !important; }

/* Floating glass shard in the hero */
.hero::after {
  content: '';
  position: absolute;
  width: 230px; height: 230px;
  right: 7%; top: 16%;
  border-radius: 34px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotate(16deg);
  animation: glassFloat 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes glassFloat {
  0%, 100% { transform: rotate(16deg) translateY(0); }
  50% { transform: rotate(11deg) translateY(-22px); }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.anim { opacity: 0; animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) forwards; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; }
.anim-d1 { animation-delay: .08s; }
.anim-d2 { animation-delay: .16s; }
.anim-d3 { animation-delay: .24s; }
.anim-d4 { animation-delay: .32s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .sg { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::before { display: none; }
  .rg { grid-template-columns: repeat(2, 1fr); }
  .fg2 { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-split { grid-template-columns: 1fr; gap: 36px; }
  .sec, .section { padding: 56px 20px; }
  .page-hero { padding: 44px 20px 40px; }
  .hero { min-height: 400px; padding: 48px 20px 64px; }
  .hero-stats-container { gap: 26px; }
  .hero-stat { padding-right: 26px; }
  .cta { flex-direction: column; text-align: center; }
  .cta .btn-group { justify-content: center; }
  footer { padding-top: 44px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  nav { gap: 8px; padding: 0 14px; }
  .logo { gap: 9px; }
  .logo-name { font-size: .92rem; max-width: 52vw; }
  .sg, .rg, .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .fg2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-n { font-size: 2.2rem; }
  .hero-stats-container { gap: 18px; }
  .hero-stat::after { display: none; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .btn-group { gap: 10px; }
  .drop { position: static; box-shadow: none; border: none; background: rgba(6, 40, 50, .85); border-radius: 12px; margin-top: 4px; transform: none; }
  .nav-drop:hover .drop, .nav-drop:focus-within .drop { transform: none; }
  .hero::after { width: 130px; height: 130px; right: 4%; top: 20%; border-radius: 24px; }
  .water-widget { right: 12px; bottom: 12px; }
}

@media (max-width: 480px) {
  nav { padding: 0 12px; }
  .logo-name { max-width: 46vw; font-size: .85rem; }
  .logo .logo-icon { height: 38px; width: 38px; }
  .logo-sub { display: none; }
}

@media (max-width: 400px) {
  .logo-sub { display: none; }
  .logo-name { max-width: 42vw; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE-LEVEL GLASS SURFACES (applied to per-page components)
   ═══════════════════════════════════════════════════════════ */
body .value-card, body .comp-card, body .service-card, body .scheme-card,
body .feature-card, body .lic-card, body .ip-card, body .instant-card,
body .cert-card, body .ngo-card, body .project-card, body .career-card,
body .sitemap-card, body .info-card, body .why-card, body .impact-item,
body .involve-card, body .sub-card, body .review-card, body .highlight-box,
body .timeline-item, body .process-step, body .approach-step, body .proc-step,
body .eligibility-box, body .bank-box, body .benefits-note, body .amount-btn,
body .elig-item, body .work-card, body .req-box, body .map-placeholder,
body .toc, body .legal-body, body .contact-form-card, body .contact-legal,
body .salary-box, body .modal-content, body .penalty-box, body .meta-bar {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 24px 50px -26px rgba(2, 20, 26, .6);
}
body .work-card-top, body .ngo-card-top, body .ip-top { background: linear-gradient(135deg, #d9f0f4, #bde4ea); }
body .impact-item, body .elig-item { box-shadow: none; }

/* Page-level content sitting directly on the dark ambient — force light text */
body .timeline-year, body .timeline-title, body .proc-title, body .step-title,
body .tl-label, body .tl-sub { color: #f0fbff; }
body .timeline-desc, body .proc-desc, body .step-desc { color: #9fc9d5; }
body .approach-step { border-bottom-color: rgba(255, 255, 255, .12); }
body .meta-item { color: #9fc9d5; }
body .meta-item strong { color: #f0fbff; }
body .toc a { color: #9fc9d5; }
body .toc a:hover { color: #a8e7f0; }
body .toc h4 { color: #f0fbff; border-bottom-color: rgba(255, 255, 255, .16); }

@media (max-width: 900px) {
  body .value-card, body .comp-card, body .service-card, body .scheme-card,
  body .feature-card, body .lic-card, body .ip-card, body .instant-card,
  body .cert-card, body .ngo-card, body .project-card, body .career-card,
  body .sitemap-card, body .info-card, body .why-card, body .impact-item,
  body .involve-card, body .sub-card, body .review-card, body .highlight-box,
  body .timeline-item, body .process-step, body .approach-step, body .proc-step,
  body .eligibility-box, body .bank-box, body .benefits-note, body .amount-btn,
  body .elig-item, body .work-card, body .req-box, body .map-placeholder,
  body .toc, body .legal-body, body .contact-form-card, body .contact-legal,
  body .salary-box, body .modal-content, body .penalty-box, body .meta-bar {
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE POLISH
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-stats-container { gap: 14px; }
  .hero-stat { padding-right: 20px; }
  .stat-n { font-size: 1.9rem; }
  .bank-value, .job-location-sub, .bengali-text { overflow-wrap: anywhere; }
  .water-range { width: 150px; }
  .mob { padding-top: 78px; }
  .page-hero { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 480px) {
  .hero-stats-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .hero-stat { padding-right: 0; }
  .hero-stat::after { display: none; }
  .water-widget { right: 10px; bottom: 10px; }
}
