/* ============================================
   CTRCET - Brand Palette (official)
   CORE
   --teal      #0B5859  Trust, leadership, headings (primary)
   --teal-mid  #347273  Subheads, lines, icons (secondary)
   --purple    #6633FF  Highlights, CTAs, key data (accent)
   --teal-tint #DCE7E6  Panels, backgrounds, subtle fills
   --purple-tint #EEE9FF Accent panels, pull quotes
   --ivory     #F7F3EA  Warm alternative to white
   SUPPORTING (use sparingly)
   --charcoal  #263234  Body text
   --slate     #6D7A7B  Secondary text
   --sand      #E9E0D1  Warm panels
   --gold      #D8A63D  Celebration / emphasis
   --coral     #C96A67  Warnings / human moments
   Rule of thumb: 70% neutrals / 20% teal / 10% purple + accents
   ============================================ */

:root {
  /* Core teal scale */
  --teal:      #0B5859;   /* primary */
  --teal-dark: #08403f;   /* darker shade for gradients/depth */
  --teal-mid:  #347273;   /* secondary */
  --teal-lt:   #5a9192;   /* lighter teal */
  /* Aqua kept as alias -> maps to secondary/light teal for accents */
  --aqua:      #347273;
  --aqua-lt:   #7fb0b0;
  /* Purple accent */
  --purple:    #6633FF;
  --purple-lt: #8a63ff;
  /* Tints & neutrals */
  --teal-tint: #DCE7E6;
  --purple-tint:#EEE9FF;
  --lavender:  #c9d6d5;   /* legacy alias -> muted teal tint */
  --lav-lt:    #DCE7E6;   /* legacy alias -> teal tint */
  --white:     #ffffff;
  --ivory:     #F7F3EA;
  --off-white: #F7F3EA;   /* warm ivory as the light surface */
  --light:     #DCE7E6;
  /* Supporting accents */
  --sand:      #E9E0D1;
  --gold:      #D8A63D;
  --coral:     #C96A67;
  --slate:     #6D7A7B;
  --charcoal:  #263234;
  --grey:      #6D7A7B;   /* secondary text -> slate */
  --dark:      #263234;   /* body text -> charcoal */
  /* Legacy aliases -> mapped to new palette so older inline styles stay on-brand */
  --navy:      #0B5859;   /* was deep navy -> teal primary */
  --blue:      #347273;   /* was blue -> teal secondary */
  --font-body: 'Open Sans', sans-serif;
  --font-head: 'Montserrat', sans-serif;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(11,88,89,0.10);
  --shadow-lg: 0 16px 48px rgba(11,88,89,0.16);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }
img, svg, iframe { max-width: 100%; }
/* Prevent long words / URLs forcing horizontal scroll */
p, h1, h2, h3, h4, li, a, span, address, blockquote { overflow-wrap: break-word; word-wrap: break-word; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.bg-light { background: var(--off-white); }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--teal-dark); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
p  { color: var(--grey); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--dark); font-weight: 400; }
em { font-style: italic; color: var(--aqua); }

/* LABEL PILL — hidden globally */
.label, .light-label { display: none !important; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,0.7); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-primary:hover { background: var(--purple-lt); border-color: var(--purple-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,63,160,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-dark:hover { background: var(--teal); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-mid); border-color: var(--teal-mid); transform: translateY(-2px); }
.btn-sm-outline { display: inline-block; padding: 10px 20px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); font-size: 0.85rem; font-weight: 600; margin-top: 16px; transition: var(--transition); }
.btn-sm-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background 0.3s, box-shadow 0.3s; }
.navbar.scrolled { background: var(--teal-dark); box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { display: flex; align-items: center; gap: 14px; color: var(--white); }

/* SVG logo mark in nav */
.nav-logo-svg { width: 44px; height: 44px; flex-shrink: 0; }

.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: 0.01em; }
.logo-sub { font-size: 0.6rem; color: rgba(255,255,255,0.65); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-cta { background: var(--purple) !important; color: var(--white) !important; border-radius: 6px !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--purple-lt) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center;
  background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-mid) 100%);
  overflow: hidden;
}
/* Decorative wave shapes from logo */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(107,63,160,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(61,189,189,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 50%, rgba(184,196,224,0.07) 0%, transparent 60%);
}
/* Big sunburst / cross watermark */
.hero::after {
  content: '✝'; position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 400px; color: rgba(255,255,255,0.04); font-family: var(--font-head); line-height: 1; pointer-events: none;
}
.hero-wave {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%; pointer-events: none; opacity: 0.12;
  background: radial-gradient(ellipse at top right, var(--purple) 0%, transparent 60%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 140px 48px 60px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(107,63,160,0.25); border: 1px solid rgba(184,196,224,0.4);
  color: var(--lavender); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 8px 18px; border-radius: 99px; margin-bottom: 28px;
}
.hero h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 580px; margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2; display: flex; align-items: center;
  padding: 28px 48px; background: rgba(0,0,0,0.15);
  backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.1); margin-top: auto;
}
.stat { display: flex; flex-direction: column; padding: 0 36px; }
.stat:first-child { padding-left: 0; }
.stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--aqua-lt); line-height: 1; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* QUOTE STRIP */
.quote-strip { background: var(--purple); padding: 48px 0; position: relative; overflow: hidden; }
.quote-strip::before { content: ''; position: absolute; right: -100px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.quote-inner { display: flex; align-items: center; gap: 24px; max-width: 860px; margin: 0 auto; text-align: center; flex-direction: column; position: relative; z-index: 1; }
.quote-cross { font-size: 2rem; color: var(--aqua-lt); display: block; }
.quote-inner p { font-family: var(--font-head); font-size: 1.3rem; font-style: italic; color: rgba(255,255,255,0.95); line-height: 1.7; margin: 0; }
.quote-attr { font-size: 0.85rem; color: var(--lavender); font-weight: 600; letter-spacing: 0.05em; }

/* TWO-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* IMAGE BLOCK */
.col-image { position: relative; }
.image-block {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-mid) 100%);
  border-radius: 16px; overflow: hidden; display: flex; align-items: center;
  justify-content: center; box-shadow: var(--shadow-lg);
}
.image-decor { text-align: center; }
.cross-big { font-size: 8rem; line-height: 1; color: rgba(61,189,189,0.35); }
.story-mark { width: 140px; height: 140px; display: block; margin: 0 auto 12px; }
.image-decor p { font-family: var(--font-head); font-size: 1.4rem; color: rgba(255,255,255,0.4); margin: 0; }
.image-tag { position: absolute; bottom: -20px; right: -20px; background: var(--purple); color: var(--white); padding: 20px 24px; border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.image-tag strong { font-size: 1.4rem; font-family: var(--font-head); line-height: 1; }
.image-tag span { font-size: 0.75rem; font-weight: 600; margin-top: 2px; opacity: 0.85; }

/* FEATURES */
.feature-list { margin: 32px 0; display: flex; flex-direction: column; gap: 16px; }
.feat { display: flex; align-items: flex-start; gap: 16px; padding: 16px; background: var(--off-white); border-radius: 10px; border-left: 3px solid var(--aqua); }
.feat-icon { font-size: 1.4rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); flex-shrink: 0; }
.feat div { display: flex; flex-direction: column; gap: 2px; }
.feat strong { font-size: 0.95rem; color: var(--teal-dark); font-weight: 600; }
.feat span { font-size: 0.85rem; color: var(--grey); }

/* SCHOOLS GRID */
.schools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.school-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; border: 2px solid transparent; }
.school-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--aqua); }
.sc-top { padding: 32px; display: flex; align-items: center; justify-content: center; }
.sc-init { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: rgba(255,255,255,0.9); }

/* School colours - teal/purple variants */
.c-teal    { background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid)); }
.c-purple  { background: linear-gradient(135deg, var(--purple), var(--purple-lt)); }
.c-aqua    { background: linear-gradient(135deg, var(--teal-mid), var(--teal-lt)); }
.c-teal2   { background: linear-gradient(135deg, var(--teal), var(--teal-mid)); }
.c-purple2 { background: linear-gradient(135deg, #4a1fd6, var(--purple)); }
.c-mix     { background: linear-gradient(135deg, var(--teal-dark), var(--purple)); }

.sc-body { padding: 20px 24px; flex: 1; }
.sc-body h3 { font-size: 1.05rem; color: var(--teal-dark); margin-bottom: 2px; }
.sc-body p  { font-size: 0.82rem; color: var(--grey); margin: 0 0 8px; }
.sc-body span { font-size: 0.8rem; color: var(--grey); }
.sc-arrow { padding: 12px 24px; background: var(--off-white); text-align: right; color: var(--teal); font-size: 1.1rem; font-weight: 700; transition: var(--transition); }
.school-card:hover .sc-arrow { background: var(--purple); color: var(--white); }

/* JOINING BAR */
.joining-bar { background: var(--teal-dark); border-radius: var(--radius); padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.joining-left { display: flex; align-items: center; gap: 20px; }
.joining-year { background: var(--aqua); color: var(--teal-dark); font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; padding: 8px 16px; border-radius: 8px; line-height: 1; }
.joining-left div { display: flex; flex-direction: column; gap: 2px; }
.joining-left strong { color: var(--white); font-size: 1rem; }
.joining-left span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* VALUES */
.values-section { background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 60%, var(--purple) 100%); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.val-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: var(--transition); }
.val-card:hover { background: rgba(61,189,189,0.15); border-color: rgba(61,189,189,0.4); transform: translateY(-4px); }
.val-icon { font-size: 2.4rem; margin-bottom: 16px; }
.val-card h3 { color: var(--white); margin-bottom: 10px; }
.val-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

/* CEO */
.ceo-avatar { width: 240px; height: 240px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid)); display: flex; align-items: center; justify-content: center; margin: 0 auto; box-shadow: var(--shadow-lg); border: 6px solid var(--purple); }
.ceo-initials { font-family: var(--font-head); font-size: 4rem; font-weight: 700; color: rgba(255,255,255,0.9); }
blockquote { border-left: 4px solid var(--aqua); padding-left: 20px; margin: 24px 0; font-family: var(--font-head); font-size: 1.1rem; font-style: italic; color: var(--dark); line-height: 1.7; }
.sig { margin-top: 24px; }
.sig strong { display: block; font-size: 1rem; color: var(--teal-dark); }
.sig span { font-size: 0.85rem; color: var(--grey); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--purple) 0%, var(--teal-dark) 100%); padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; right: -100px; bottom: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(61,189,189,0.1); }
.cta-box { text-align: center; max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta-box h2 { color: var(--white); margin-bottom: 12px; }
.cta-box p  { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--teal-dark); color: rgba(255,255,255,0.7); padding: 72px 0 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--aqua), var(--purple), var(--aqua)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.co-num { font-size: 0.78rem; color: rgba(255,255,255,0.35) !important; margin-top: 8px; }
.footer-col h4 { font-family: var(--font-head); font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul a:hover { color: var(--aqua-lt); }
.footer-col address { font-size: 0.88rem; line-height: 1.8; margin-bottom: 4px; }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px; }

/* Developed by Next Gen Solutions credit */
.footer-credit {
  padding: 16px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.ngs-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ngs-logo:hover { color: #ffffff; }
.ngs-logo b { font-weight: 700; }
.ngs-logo span { font-weight: 300; }

/* Footer sitemap link */
.footer-sep { margin: 0 6px; opacity: 0.5; }
.footer-sitemap-link { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s ease; }
.footer-sitemap-link:hover { color: var(--aqua-lt); text-decoration: underline; }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-mid) 100%);
  padding: 160px 0 80px; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(ellipse, rgba(107,63,160,0.2) 0%, transparent 70%); }
.page-hero::after { content: '✝'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-size: 380px; color: rgba(255,255,255,0.03); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .label { display: inline-block; margin-bottom: 12px; background: rgba(107,63,160,0.3); border: 1px solid rgba(184,196,224,0.3); color: var(--lavender); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--aqua-lt); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* CONTACT FORM */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--teal-dark); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 2px solid var(--teal-tint); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--dark);
  outline: none; transition: border 0.2s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* CAREERS */
.job-card { background: var(--white); border: 2px solid var(--lav-lt); border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: var(--transition); margin-bottom: 16px; }
.job-card:hover { border-color: var(--aqua); box-shadow: var(--shadow); transform: translateX(4px); }
.job-info h3 { color: var(--teal-dark); font-size: 1.1rem; margin-bottom: 6px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--lav-lt); color: var(--teal-dark); }
.tag.type { background: rgba(61,189,189,0.12); color: var(--teal); }
.tag.school { background: rgba(107,63,160,0.1); color: var(--purple); }

/* GOVERNANCE */
.persons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gov-card { background: var(--white); border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow); text-align: center; transition: var(--transition); border-bottom: 3px solid transparent; }
.gov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-bottom-color: var(--aqua); }
.gov-card .initials { width: 72px; height: 72px; border-radius: 50%; background: var(--teal); color: var(--white); font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.gov-card h3 { font-size: 1rem; color: var(--teal-dark); margin-bottom: 4px; }
.gov-card .role { font-size: 0.82rem; color: var(--purple); font-weight: 600; margin: 0; }

/* INFO BOXES */
.info-box { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-left: 4px solid var(--aqua); margin-bottom: 24px; }
.info-box h3 { color: var(--teal-dark); margin-bottom: 8px; }
.info-box p { margin: 0; }

/* POLICY CARDS */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.policy-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--teal); transition: var(--transition); }
.policy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--purple); }
.policy-icon { font-size: 2rem; margin-bottom: 14px; }
.policy-card h3 { color: var(--teal-dark); font-size: 1rem; margin-bottom: 8px; }
.policy-card p { font-size: 0.85rem; margin-bottom: 16px; }
.policy-link { font-size: 0.82rem; font-weight: 700; color: var(--teal); }
.policy-card:hover .policy-link { color: var(--purple); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .schools-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .persons-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse { direction: ltr; }
  .schools-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 120px 24px 40px; }
  .hero-stats { padding: 24px; flex-wrap: wrap; gap: 16px; }
  .stat { padding: 0 16px; }
  .stat-div { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .joining-bar { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .persons-grid { grid-template-columns: 1fr 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .persons-grid { grid-template-columns: 1fr; }
}

/* Shared btn-lg (also defined in home.css for homepage) */
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-ghost { background: rgba(255,255,255,0.08); color: white; border: 2px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }

/* CEO photo fills circular avatars */
.ceo-avatar { overflow: hidden; }
.ceo-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.initials-photo { overflow: hidden; padding: 0 !important; }
.initials-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ===== BOARD OF DIRECTORS CARDS ===== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.board-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.board-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua);
}
.board-card {
  text-align: center;
  align-items: center;
  padding-top: 32px;
}
.board-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lav-lt), var(--off-white));
  border: 4px solid var(--white);
  box-shadow: 0 6px 20px rgba(26,107,107,0.18);
  margin-bottom: 4px;
  position: relative;
}
.board-photo::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--aqua);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.board-card:hover .board-photo::after { opacity: 1; }
.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.board-body {
  padding: 20px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.board-body h3 {
  color: var(--teal-dark);
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.board-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(107,63,160,0.09);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.board-bio {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--grey);
  margin: 0;
  text-align: left;
}
.board-card { border-top: 3px solid transparent; }
.board-card:hover { border-top-color: var(--purple); }

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

/* ===== GOVERNANCE STRUCTURE TIERS ===== */
.gov-structure {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 72px;
}
.gov-tier {
  flex: 1;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gov-tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gov-tier-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.12;
  position: absolute;
  top: 12px;
  right: 18px;
}
.gov-tier-icon { font-size: 2.2rem; margin-bottom: 16px; position: relative; z-index: 1; }
.gov-tier h3 { margin-bottom: 10px; position: relative; z-index: 1; }
.gov-tier p { font-size: 0.9rem; line-height: 1.65; position: relative; z-index: 1; margin: 0; }

.gov-tier-teal {
  background: linear-gradient(150deg, var(--teal-dark), var(--teal-mid));
}
.gov-tier-teal h3 { color: var(--aqua-lt); }
.gov-tier-teal p { color: rgba(255,255,255,0.78); }
.gov-tier-teal .gov-tier-num { color: var(--white); }

.gov-tier-purple {
  background: linear-gradient(150deg, #4a1fd6, var(--purple));
}
.gov-tier-purple h3 { color: var(--white); }
.gov-tier-purple p { color: rgba(255,255,255,0.8); }
.gov-tier-purple .gov-tier-num { color: var(--white); }

.gov-tier-aqua {
  background: linear-gradient(150deg, var(--teal-mid), var(--aqua));
}
.gov-tier-aqua h3 { color: var(--white); }
.gov-tier-aqua p { color: rgba(255,255,255,0.85); }
.gov-tier-aqua .gov-tier-num { color: var(--white); }

.gov-tier-arrow {
  display: flex;
  align-items: center;
  color: var(--lavender);
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .gov-structure { flex-direction: column; }
  .gov-tier-arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }
}

/* =============================================================
   MOBILE HARDENING — complete small-screen compatibility
   ============================================================= */

/* Lock background scroll when the mobile menu is open */
body.menu-open { overflow: hidden; }

/* Hamburger -> X animation */
.hamburger span { transition: transform 0.3s ease, opacity 0.2s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tablets and below */
@media (max-width: 1024px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phones / small tablets */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }

  /* ===== Modern full-screen mobile menu ===== */
  .nav-links {
    /* Full-screen slide-in panel */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    position: fixed;
    top: 0; right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: #08403f;
    padding: 96px 0 32px;
    box-shadow: -12px 0 48px rgba(0,0,0,0.4);
    /* Hidden off-canvas by default */
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1200;
  }
  .nav-links.open { transform: translateX(0); }

  /* Each item is a full-width, left-aligned, tappable row */
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 28px;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border-radius: 0;
    border-left: 3px solid transparent;
    background: transparent;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255,255,255,0.06);
    border-left-color: var(--purple-lt);
    color: #fff;
  }
  /* Divider lines between rows */
  .nav-links li:not(:last-child) a { border-bottom: 1px solid rgba(255,255,255,0.07); }

  /* Contact CTA becomes a full-width button pinned at the bottom */
  .nav-links .nav-cta {
    margin: 24px 24px 0;
    width: calc(100% - 48px);
    justify-content: center;
    border-radius: 10px !important;
    padding: 16px !important;
    font-size: 1.05rem !important;
    border-left: none;
  }
  .nav-links .nav-cta:hover { background: var(--purple-lt) !important; border-left: none; }

  /* The hamburger sits above the panel; keep it visible & tappable */
  .hamburger { display: flex; position: relative; z-index: 1300; }

  /* Dark blurred scrim over the PAGE (panel stays crisp & clickable above it) */
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(8, 32, 32, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1150;      /* below the panel (1200) */
  }
  .nav-scrim.show { opacity: 1; visibility: visible; }

  /* When menu is open, lift the whole navbar (and its panel) above the scrim
     so links are clickable */
  body.menu-open .navbar { z-index: 1250; }

  /* Section headings: tighter and never clipped */
  .section-header { margin-bottom: 40px; }
  h2 { font-size: clamp(1.6rem, 6vw, 2rem); }

  /* Board / directions / policies / values single-or-double column */
  .board-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .persons-grid { grid-template-columns: 1fr; }

  /* Governance tiers stack with rotated arrows */
  .gov-structure { flex-direction: column; }
  .gov-tier-arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }

  /* Buttons: comfortable full-width tap targets in stacked CTAs */
  .cta-btns .btn,
  .cta-v2-actions .btn,
  .hero-v2-actions .btn { width: 100%; justify-content: center; }
  .btn { padding: 14px 24px; }

  /* Map + legend */
  .map-legend { padding: 20px; gap: 12px; }
  .ml-pin { flex: 1 1 100%; }

  /* Joining bar full width button */
  .joining-bar .btn { width: 100%; justify-content: center; }

  /* Two-column blocks stack (already handled) + kill RTL trick */
  .two-col.reverse { direction: ltr; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  h1 { font-size: 1.9rem; line-height: 1.15; }
  h2 { font-size: 1.5rem; }
  .lead { font-size: 1rem; }

  /* Logo text: keep readable, allow subline to wrap */
  .logo-title { font-size: 0.92rem; }
  .logo-sub { font-size: 0.56rem; }

  /* Cards: reduce inner padding so content isn't cramped */
  .board-body, .info-box, .val-card, .policy-card { padding: 22px; }
  .sfc-header { padding: 20px 20px 12px; gap: 14px; }
  .sfc-body, .sfc-footer { padding-left: 20px; padding-right: 20px; }

  /* Direction cards: stack the maps button under text if tight */
  .dir-card { padding: 14px; gap: 12px; }
  .dir-logo-wrap { width: 48px; height: 48px; }

  /* Footer contact address wraps cleanly */
  .footer-col address { font-size: 0.85rem; }
}

/* Ensure tap targets meet ~44px minimum on touch devices */
@media (hover: none) and (pointer: coarse) {
  .nav-links a, .btn, .footer-col ul a, .sfc-link, .dir-card { min-height: 44px; }
  .footer-col ul a { display: inline-flex; align-items: center; }
}

/* Reusable responsive grids (used across inner pages) */
.auto-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.auto-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .auto-grid-3 { grid-template-columns: 1fr; }
  .auto-grid-2 { grid-template-columns: 1fr; }
}

/* Hide oversized decorative hero art on mobile (was overlapping headings) */
@media (max-width: 768px) {
  .page-hero::before,
  .page-hero::after { display: none; }
  .page-hero { padding: 130px 0 56px; }
}


/* ===========================================================
   Document / policy download list
   Shared by the Policies page and the Governance Documents
   section. Supports four link types via tag/button variants:
     - PDF     (default purple)  → download icon
     - LINK    (teal)            → external-link icon
     - DOC     (green, Google)   → external-link icon
     - REQUEST (grey/slate)      → arrow icon, links to contact
   =========================================================== */
.policy-list { display:flex; flex-direction:column; gap:12px; }
.policy-row {
  display:flex; align-items:center; gap:20px;
  background:var(--white); border:1px solid var(--teal-tint);
  border-radius:14px; padding:18px 22px; color:inherit;
  transition:all 0.25s ease; position:relative; text-decoration:none;
}
.policy-row:hover {
  border-color:var(--teal-mid);
  box-shadow:0 8px 28px rgba(11,88,89,0.12);
  transform:translateY(-2px);
}
.pr-icon {
  width:48px; height:48px; flex-shrink:0;
  border-radius:12px; background:var(--teal-tint);
  color:var(--teal); display:flex; align-items:center; justify-content:center;
  transition:all 0.25s ease;
}
.pr-icon svg { width:26px; height:26px; }
.policy-row:hover .pr-icon { background:var(--teal); color:#fff; }
.pr-text { flex:1; display:flex; flex-direction:column; gap:3px; min-width:0; }
.pr-text strong { font-family:var(--font-head); font-size:1rem; color:var(--teal-dark); font-weight:700; }
.pr-text span { font-size:0.85rem; color:var(--slate); line-height:1.5; }
.pr-meta { display:flex; align-items:center; gap:14px; flex-shrink:0; }

/* Tag pill (default = PDF, purple) */
.pr-tag {
  font-size:0.68rem; font-weight:700; letter-spacing:0.06em;
  color:var(--purple); background:var(--purple-tint);
  padding:4px 9px; border-radius:6px; white-space:nowrap;
}
.pr-tag-link    { color:var(--teal);   background:var(--teal-tint); }
.pr-tag-doc     { color:#188038;       background:#e6f4ea; }
.pr-tag-request { color:var(--slate);  background:#e9edec; }

/* Action button (default = PDF, purple) */
.pr-dl {
  width:40px; height:40px; border-radius:10px;
  background:var(--purple-tint); color:var(--purple);
  display:flex; align-items:center; justify-content:center;
  transition:all 0.25s ease;
}
.pr-dl svg { width:20px; height:20px; }
.policy-row:hover .pr-dl { background:var(--purple); color:#fff; }

.pr-dl-link    { background:var(--teal-tint); color:var(--teal); }
.policy-row:hover .pr-dl-link { background:var(--teal); color:#fff; }
.pr-dl-doc     { background:#e6f4ea; color:#188038; }
.policy-row:hover .pr-dl-doc { background:#188038; color:#fff; }
.pr-dl-request { background:#e9edec; color:var(--slate); }
.policy-row:hover .pr-dl-request { background:var(--slate); color:#fff; }

@media(max-width:600px){
  .policy-row { flex-wrap:wrap; gap:14px; padding:16px 18px; }
  .pr-text { flex:1 1 calc(100% - 68px); }
  .pr-meta { width:100%; justify-content:space-between; }
}
