/* ==========================================================================
   DE LA SALLE JOHN BOSCO COLLEGE — DESIGN SYSTEM
   Tokens: Green #006B3F / Dark Green #004D2C / Accent Green #2E9A63
   Palette retheme: white + green (accent replaces the original gold)
   Type: Montserrat (display) + Inter (body)
   Signature motif: the "Bosco Shield" — a hexagonal laurel badge used for
   milestones, mission pillars, and admission categories.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* ---- Color tokens ---- */
  --green:        #006B3F;
  --green-dark:   #004D2C;
  --green-deeper: #00311b;
  --gold:         #2E9A63;
  --gold-soft:    #9BDDBC;
  --white:        #FFFFFF;
  --gray-50:      #FAFAF8;
  --gray-100:     #F1F0EA;
  --gray-200:     #E4E2D9;
  --ink:          #10201A;
  --ink-soft:     #3C4A44;
  --muted:        #6E7A73;

  /* ---- Elevation ---- */
  --shadow-sm: 0 1px 3px rgba(16,32,26,.06), 0 1px 2px rgba(16,32,26,.05);
  --shadow-md: 0 8px 24px rgba(16,32,26,.09), 0 2px 6px rgba(16,32,26,.06);
  --shadow-lg: 0 24px 60px rgba(16,32,26,.16), 0 6px 16px rgba(16,32,26,.08);
  --shadow-gold: 0 10px 30px rgba(46,154,99,.28);

  /* ---- Radius ---- */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* ---- Type scale ---- */
  --font-display: 'Montserrat', 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---- Reset ---- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; cursor:pointer; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; color: var(--green-dark); line-height:1.15; }
p{ margin:0; }
input, textarea, select{ font-family: inherit; font-size: inherit; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* Visible focus states everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--green-dark); color:#fff;
  padding:12px 20px; z-index:999; border-radius:0 0 8px 0; font-weight:600;
}
.skip-link:focus{ left:0; }

/* ---- Layout helpers ---- */
.container{
  width:100%;
  max-width: 1220px;
  margin-inline:auto;
  padding-inline: 24px;
}
.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section--alt{ background: var(--gray-50); }
.section--dark{ background: var(--green-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3{ color:#fff; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 2px;
  background: var(--gold);
  display:inline-block;
}
.section--dark .eyebrow{ color: var(--gold-soft); }

.section-head{ max-width: 680px; margin-bottom: 48px; }
.section-head.center{ margin-inline:auto; text-align: left; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing:-.01em; }
.section-head p{ margin-top:14px; color: var(--muted); font-size: 17px; }
.section--dark .section-head p{ color: rgba(255,255,255,.78); }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .02em;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active{ transform: scale(.97); }
.btn-gold{
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover{ background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,77,44,.35); }

.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color:#fff; transform: translateY(-2px); }

.btn-outline-dark{
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}
.btn-outline-dark:hover{ background: var(--green); color:#fff; transform: translateY(-2px); }

.btn-solid{
  background: var(--green);
  color: #fff;
}
.btn-solid:hover{ background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm{ padding: 10px 20px; font-size: 13px; }

/* Ripple */
.btn .ripple{
  position:absolute; border-radius:50%; transform:scale(0);
  background: rgba(255,255,255,.55);
  animation: ripple .6s var(--ease-out);
  pointer-events:none;
}
@keyframes ripple{ to{ transform: scale(3.4); opacity:0; } }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 20px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.navbar.is-scrolled{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 6px 24px rgba(16,32,26,.08);
}
.navbar.is-scrolled .brand-name, .navbar.is-scrolled .nav-links a{ color: var(--ink); }
.navbar.is-scrolled .nav-links a.is-active{ color: var(--green); }
.navbar.is-scrolled .btn-outline{ border-color: var(--green); color: var(--green-dark); }
.navbar.is-scrolled .btn-outline:hover{ background: var(--green); color:#fff; }
.navbar.on-dark:not(.is-scrolled) .brand-name,
.navbar.on-dark:not(.is-scrolled) .nav-links a{ color:#fff; }

.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:44px; height:44px; flex-shrink:0;
  display:grid; place-items:center;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{
  font-family: var(--font-display); font-weight:800; font-size:15.5px;
  color: var(--ink); letter-spacing:.01em; transition: color .3s var(--ease);
}
.brand-sub{ font-size: 10.5px; letter-spacing:.14em; color: var(--gold); font-weight:700; text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-family: var(--font-display); font-weight:600; font-size:14px;
  color: var(--ink); position:relative; padding:6px 2px; transition: color .3s var(--ease);
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--gold);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after{ width:100%; }
.nav-links a.is-active{ color: var(--gold); }
.navbar.on-dark:not(.is-scrolled) .nav-links a.is-active{ color: var(--gold-soft); }

.nav-actions{ display:flex; align-items:center; gap:14px; }

.hamburger{
  display:none; width:44px; height:44px; border:none; background:none;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.hamburger span{
  width:24px; height:2px; background: currentColor; border-radius:2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.navbar.is-scrolled .hamburger, .navbar.is-scrolled .hamburger span{ color: var(--ink); }
.navbar.on-dark:not(.is-scrolled) .hamburger{ color:#fff; }
.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); }

.mobile-menu{
  position: fixed; inset:0; z-index:490;
  background: var(--green-dark);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  transform: translateY(-100%); opacity:0;
  transition: transform .45s var(--ease-out), opacity .35s var(--ease);
  pointer-events:none;
}
.mobile-menu.is-open{ transform: translateY(0); opacity:1; pointer-events:auto; }
.mobile-menu a{
  font-family: var(--font-display); font-size: 26px; font-weight:700; color:#fff;
  padding: 14px 0;
}
.mobile-menu a.is-active{ color: var(--gold); }
.mobile-menu .btn{ margin-top:18px; }

/* ==========================================================================
   SHIELD MOTIF (signature element)
   ========================================================================== */
.shield{
  --shield-size: 56px;
  width: var(--shield-size); height: var(--shield-size);
  position: relative;
  display:grid; place-items:center;
}
.shield svg{ width:100%; height:100%; }

/* Real school seal, cropped to a circle wherever the logo appears */
.logo-mark{
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: #fff;
}

/* ==========================================================================
   HERO SLIDESHOW
   ========================================================================== */
.hero{
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-slide{
  position:absolute; inset:0;
  opacity:0; transition: opacity 1.2s var(--ease);
  background-size: cover; background-position: center;
}
.hero-slide.is-active{ opacity:1; }
.hero-slide::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,49,27,.55) 0%, rgba(0,49,27,.35) 40%, rgba(0,20,12,.88) 100%);
}
.hero-slide .ph-fill{ position:absolute; inset:0; }

/* Real hero photos — drop files into assets/images/ using these exact
   names (hero-1.jpg, hero-2.jpg, hero-3.jpg). Nothing else needs to change:
   the <img> fills the slide automatically, and if a file is missing it
   simply hides itself, leaving the green gradient behind it visible. */
.hero-slide.slide-1{ background: linear-gradient(135deg,#00311b,#004D2C); }
.hero-slide.slide-2{ background: linear-gradient(135deg,#004D2C,#006B3F); }
.hero-slide.slide-3{ background: linear-gradient(135deg,#0b3a24,#00311b); }
.hero-slide img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content{
  position: relative; z-index:2;
  height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-bottom: 108px;
}
.hero-eyebrow{
  font-family: var(--font-display); font-weight:700; letter-spacing:.22em; font-size:12.5px;
  text-transform:uppercase; color: var(--gold-soft);
  display:flex; align-items:center; gap:12px;
  opacity:0; transform: translateY(16px);
  animation: heroUp .9s .2s var(--ease-out) forwards;
}
.hero-eyebrow::before{ content:""; width:34px; height:1.5px; background: var(--gold-soft); }
.hero h1{
  color:#fff; font-size: clamp(38px, 6vw, 74px); font-weight:800; letter-spacing:-.02em;
  max-width: 15ch; margin-top:18px;
  opacity:0; transform: translateY(20px);
  animation: heroUp .9s .35s var(--ease-out) forwards;
}
.hero h1 em{ font-style:normal; color: var(--gold-soft); }
.hero-tagline{
  margin-top:18px; font-size:18px; color: rgba(255,255,255,.86); max-width:52ch;
  opacity:0; transform: translateY(20px);
  animation: heroUp .9s .5s var(--ease-out) forwards;
}
.hero-cta{
  display:flex; gap:16px; margin-top:38px; flex-wrap:wrap;
  opacity:0; transform: translateY(20px);
  animation: heroUp .9s .65s var(--ease-out) forwards;
}
@keyframes heroUp{ to{ opacity:1; transform:none; } }

.hero-controls{
  position:absolute; z-index:3; bottom: 40px; left:0; right:0;
  display:flex; align-items:center; justify-content:space-between;
}
.hero-dots{ display:flex; gap:10px; }
.hero-dot{
  width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,.4); border:none; padding:0;
  transition: all .3s var(--ease);
}
.hero-dot.is-active{ background: var(--gold); width:26px; border-radius: var(--r-pill); }
.hero-arrows{ display:flex; gap:10px; }
.hero-arrow{
  width:46px; height:46px; border-radius:50%; border:1.5px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.06); color:#fff; display:grid; place-items:center;
  backdrop-filter: blur(6px);
  transition: all .3s var(--ease);
}
.hero-arrow:hover{ background: var(--gold); border-color: var(--gold); color: #fff; }

.scroll-cue{
  position:absolute; z-index:3; right: 40px; bottom: 46px;
  writing-mode: vertical-rl; letter-spacing:.2em; font-size:11px; font-weight:600;
  text-transform:uppercase; color: rgba(255,255,255,.7);
  display:flex; align-items:center; gap:10px;
}
.scroll-cue::after{ content:""; width:1px; height:50px; background: rgba(255,255,255,.5); }
@media (max-width: 900px){ .scroll-cue{ display:none; } }

/* ==========================================================================
   PLACEHOLDER IMAGE BLOCKS
   ========================================================================== */
.ph {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ph::before{
  content:"";
  position:absolute; inset:0;
}
.ph-content{ position:relative; z-index:1; text-align:center; padding: 20px; }
.ph-content svg{ width:38px; height:38px; margin-bottom:10px; opacity:.9; }
.ph-content span{ display:block; font-family: var(--font-display); font-weight:700; font-size:12px; letter-spacing:.1em; text-transform:uppercase; opacity:.85; }
.ph.tone-gold{ background: linear-gradient(135deg, #3E9469 0%, #2C7350 60%, #1F5940 100%); }
.ph.tone-light{ background: linear-gradient(135deg, var(--gray-200), var(--gray-100)); color: var(--green-dark); }
.ph.square{ aspect-ratio: 1/1; }
.ph.wide{ aspect-ratio: 16/10; }
.ph.tall{ aspect-ratio: 3/4; }

/* ==========================================================================
   INTRO / MISSION-VISION-VALUES
   ========================================================================== */
.intro-grid{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items:center; }
.intro-copy p + p{ margin-top:16px; }
.intro-copy p{ color: var(--ink-soft); font-size:16.5px; }
.intro-stats{ display:flex; gap:36px; margin-top:34px; flex-wrap:wrap; }
.stat b{ display:block; font-family: var(--font-display); font-size:34px; font-weight:800; color: var(--green); }
.stat span{ font-size:13px; color: var(--muted); font-weight:600; letter-spacing:.02em; }

.pillars{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; margin-top:56px; }
.pillar{
  background:#fff; border:1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 34px 28px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease);
}
.pillar:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar .shield{ margin-bottom:18px; }
.pillar h3{ font-size:19px; font-weight:700; margin-bottom:10px; }
.pillar p{ color: var(--muted); font-size:15px; }

/* ==========================================================================
   NEWS CARDS
   ========================================================================== */
.news-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card{
  background:#fff; border-radius: var(--r-lg); overflow:hidden;
  border: 1px solid var(--gray-200);
  cursor:pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  display:flex; flex-direction:column;
}
.news-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-thumb{ height:400px; position:relative; overflow:hidden; }
.news-thumb .ph{ height:100%; border-radius:0; transition: transform .6s var(--ease-out); }
.news-card:hover .news-thumb .ph{ transform: scale(1.06); }
.news-cat{
  position:absolute; top:14px; left:14px; z-index:2;
  background: rgba(255,255,255,.94); color: var(--green-dark);
  font-family: var(--font-display); font-weight:700; font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.news-body{ padding: 22px 24px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.news-date{ font-size:12.5px; color: var(--gold); font-weight:700; letter-spacing:.03em; text-transform:uppercase; }
.news-body h3{ font-size:17.5px; font-weight:700; line-height:1.35; }
.news-body p{ color: var(--muted); font-size:14.5px; flex:1; }
.news-more{
  margin-top:6px; font-family: var(--font-display); font-weight:700; font-size:13px; color: var(--green);
  display:inline-flex; align-items:center; gap:6px;
}
.news-more svg{ width:14px; height:14px; transition: transform .3s var(--ease); }
.news-card:hover .news-more svg{ transform: translateX(4px); }

/* ==========================================================================
   CALENDAR
   ========================================================================== */
.calendar-wrap{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items:flex-start; }
.cal-card{
  background:#fff; border-radius: var(--r-lg); border:1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  padding: 28px;
}
.cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.cal-head h3{ font-size:18px; font-weight:700; }
.cal-nav{ display:flex; gap:8px; }
.cal-nav button{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--gray-200); background:#fff;
  display:grid; place-items:center; transition: all .25s var(--ease);
}
.cal-nav button:hover{ background: var(--green); border-color: var(--green); color:#fff; }
.cal-grid{ display:grid; grid-template-columns: repeat(7, 1fr); gap:6px; text-align:center; }
.cal-dow{ font-size:11px; font-weight:700; color: var(--muted); text-transform:uppercase; padding-bottom:6px; letter-spacing:.04em; }
.cal-day{
  aspect-ratio:1; display:flex; align-items:center; justify-content:center; border-radius:10px;
  font-size:13.5px; color: var(--ink-soft); position:relative; cursor:default;
}
.cal-day.is-blank{ visibility:hidden; }
.cal-day.has-event{ font-weight:700; color: var(--green-dark); }
.cal-day.has-event::after{
  content:""; position:absolute; bottom:5px; width:5px; height:5px; border-radius:50%; background: var(--gold);
}
.cal-day.is-today{ background: var(--green); color:#fff; }
.cal-day.is-today::after{ background:#fff; }

.event-list{ display:flex; flex-direction:column; gap:14px; }
.event-item{
  display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--gray-200);
  border-radius: var(--r-md); padding:16px 18px; transition: all .3s var(--ease);
}
.event-item:hover{ box-shadow: var(--shadow-sm); transform: translateX(4px); }
.event-date{
  flex-shrink:0; width:54px; text-align:center; border-radius:10px; padding:8px 4px;
  font-family: var(--font-display); color:#fff;
}
.event-date b{ display:block; font-size:19px; font-weight:800; line-height:1; }
.event-date span{ display:block; font-size:10px; text-transform:uppercase; letter-spacing:.05em; margin-top:2px; }
.event-info h4{ font-size:14.5px; font-weight:700; color: var(--ink); margin-bottom:3px; }
.event-info p{ font-size:12.5px; color: var(--muted); }
.tag-enrollment{ background: var(--green); }
.tag-graduation{ background: var(--gold); }
.tag-recognition{ background:#0B5E38; }
.tag-foundation{ background:#5C7A52; }
.tag-exams{ background:#14483A; }
.tag-holiday{ background:#6B8F71; }

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */
.modal-overlay{
  position: fixed; inset:0; z-index:1000;
  background: rgba(9,20,15,.72);
  backdrop-filter: blur(4px);
  display:flex; align-items:center; justify-content:center; padding: 24px;
  opacity:0; pointer-events:none; transition: opacity .3s var(--ease);
}
.modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.modal-box{
  background:#fff; border-radius: var(--r-lg); max-width: 680px; width:100%;
  max-height: 88vh; overflow-y:auto; position:relative;
  transform: translateY(30px) scale(.97); transition: transform .35s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.is-open .modal-box{ transform: translateY(0) scale(1); }
.modal-close{
  position:absolute; top:16px; right:16px; z-index:5;
  width:38px; height:38px; border-radius:50%; border:none;
  background: rgba(16,32,26,.55); color:#fff; display:grid; place-items:center;
  transition: background .25s var(--ease);
}
.modal-close:hover{ background: var(--green-dark); }
.modal-media{ position:relative; cursor: zoom-in; }
.modal-media .ph{ border-radius: var(--r-lg) var(--r-lg) 0 0; height:280px; }
.modal-content{ padding: 28px 30px 32px; }
.modal-meta{ display:flex; align-items:center; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.modal-content h3{ font-size:22px; font-weight:800; margin-bottom:12px; }
.modal-content p{ color: var(--ink-soft); font-size:15.5px; }
.modal-footer{ display:flex; align-items:center; justify-content:space-between; margin-top:24px; padding-top:20px; border-top:1px solid var(--gray-200); flex-wrap:wrap; gap:12px; }
.fb-link{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-family: var(--font-display); font-size:13.5px; color:#1877F2; }

.lightbox{
  position:fixed; inset:0; z-index:1100; background: rgba(6,14,10,.94);
  display:flex; align-items:center; justify-content:center; padding:32px;
  opacity:0; pointer-events:none; transition: opacity .3s var(--ease);
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox .ph{ width:min(560px, 90vw); height:min(560px,70vh); border-radius: var(--r-lg); }
.lightbox-close{
  position:absolute; top:26px; right:30px; width:44px; height:44px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color:#fff; display:grid; place-items:center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--green-deeper); color: rgba(255,255,255,.82); padding: 72px 0 0; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand{ display:flex; gap:12px; margin-bottom:16px; }
.footer-brand .brand-name{ color:#fff; }
.footer-about p{ font-size:14px; line-height:1.7; color: rgba(255,255,255,.62); max-width:32ch; margin-top:14px; }
.footer-col h4{ color:#fff; font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col a{ font-size:14.5px; color: rgba(255,255,255,.68); transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--gold-soft); }
.footer-contact li{ display:flex; gap:10px; font-size:14px; color: rgba(255,255,255,.68); align-items:flex-start; }
.footer-contact svg{ width:16px; height:16px; flex-shrink:0; margin-top:3px; color: var(--gold-soft); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; transition: all .3s var(--ease);
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding: 24px 0; font-size:13px; color: rgba(255,255,255,.5); flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color: rgba(255,255,255,.5); }
.footer-bottom a:hover{ color:#fff; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero{
  position:relative; padding: 190px 0 100px; color:#fff; overflow:hidden;
  background: linear-gradient(160deg, var(--green-dark), var(--green-deeper));
}
.page-hero::before{
  content:""; position:absolute; inset:0; opacity:.5;
  background-image: radial-gradient(circle at 85% 20%, rgba(46,154,99,.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255,255,255,.06), transparent 40%);
}
.page-hero .container{ position:relative; z-index:1; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color: rgba(255,255,255,.6); margin-bottom:18px; font-weight:600; }
.breadcrumb a:hover{ color:#fff; }
.page-hero h1{ color:#fff; font-size: clamp(32px, 4.6vw, 52px); max-width: 18ch; }
.page-hero p{ margin-top:16px; color: rgba(255,255,255,.78); max-width:56ch; font-size:17px; }

/* ==========================================================================
   ADMISSIONS
   ========================================================================== */
.admissions-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.admit-card{
  background:#fff; border:1px solid var(--gray-200); border-radius: var(--r-lg);
  overflow:hidden; transition: all .35s var(--ease-out);
}
.admit-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color:transparent; }
.admit-head{ padding: 26px 26px 20px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color:#fff; position:relative; }
.admit-head .shield{ margin-bottom:14px; }
.admit-head h3{ color:#fff; font-size:18px; font-weight:700; }
.admit-head span{ font-size:12px; color: var(--gold-soft); font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.admit-list{ padding: 22px 26px 26px; }
.admit-list li{
  display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color: var(--ink-soft);
  padding: 9px 0; border-bottom: 1px dashed var(--gray-200);
}
.admit-list li:last-child{ border-bottom:none; }
.admit-list svg{ width:16px; height:16px; flex-shrink:0; margin-top:3px; color: var(--green); }

/* Stepper */
.stepper-tabs{ display:flex; gap:10px; margin-bottom:40px; flex-wrap:wrap; }
.stepper-tab{
  padding: 11px 22px; border-radius: var(--r-pill); border:1.5px solid var(--gray-200); background:#fff;
  font-family: var(--font-display); font-weight:700; font-size:13.5px; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.stepper-tab.is-active{ background: var(--green); border-color: var(--green); color:#fff; }
.stepper-panel{ display:none; }
.stepper-panel.is-active{ display:block; animation: fadeUp .5s var(--ease-out); }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(14px); } to{ opacity:1; transform:none; } }

.steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap:22px; counter-reset: step; }
.step-card{
  background:#fff; border:1px solid var(--gray-200); border-radius: var(--r-lg); padding: 28px 22px;
  position:relative; counter-increment: step;
}
.step-num{
  width:40px; height:40px; border-radius:50%; background: var(--green); color:#fff;
  display:grid; place-items:center; font-family: var(--font-display); font-weight:800; font-size:16px; margin-bottom:16px;
}
.step-card h4{ font-size:15.5px; font-weight:700; margin-bottom:8px; }
.step-card p{ font-size:13.5px; color: var(--muted); }
.step-card:not(:last-child)::after{
  content:""; position:absolute; top:48px; left:100%; width:22px; height:2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 10px);
  display:none;
}
@media (min-width: 901px){ .step-card:not(:last-child)::after{ display:block; } }

/* ==========================================================================
   ABOUT / TIMELINE
   ========================================================================== */

.timeline{ position:relative; max-width: 980px; margin-inline:auto; }
.timeline::before{
  content:""; position:absolute; left:50%; top:0; bottom:0; width:2px;
  background: linear-gradient(var(--gray-200), var(--gold), var(--gray-200));
  transform: translateX(-50%);
}
.tl-item{ position:relative; width:50%; padding: 0 52px 64px; }
.tl-item:nth-child(odd){ left:0; text-align:right; }
.tl-item:nth-child(even){ left:50%; text-align:left; }
.tl-year{
  position:absolute; top:0; width:64px; height:64px; border-radius:50%;
  background: var(--green); color:#fff; display:grid; place-items:center;
  font-family: var(--font-display); font-weight:800; font-size:13px; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--gray-200);
  z-index:2;
}
.tl-item:nth-child(odd) .tl-year{ right:-32px; }
.tl-item:nth-child(even) .tl-year{ left:-32px; }
.tl-card{ background:#fff; border:1px solid var(--gray-200); border-radius: var(--r-lg); padding:24px 26px; box-shadow: var(--shadow-sm); }
.tl-card h3{ font-size:16.5px; font-weight:700; margin-bottom:8px; }
.tl-card p{ font-size:14.5px; color: var(--ink-soft); }
.tl-item .ph{ margin-top:16px; height:150px; }

@media (max-width: 860px){
  .timeline::before{ left:26px; }
  .tl-item, .tl-item:nth-child(even){ width:100%; left:0 !important; text-align:left !important; padding-left:70px; padding-right:0; }
  .tl-item .tl-year{ left:0 !important; right:auto !important; width:52px; height:52px; font-size:11.5px; }
}

/* ==========================================================================
   ARTICLES
   ========================================================================== */
.articles-toolbar{ display:flex; flex-direction:column; gap:20px; margin-bottom:44px; }
.search-bar{ position:relative; max-width: 460px; }
.search-bar input{
  width:100%; padding:15px 20px 15px 46px; border-radius: var(--r-pill); border:1.5px solid var(--gray-200);
  font-size:14.5px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.search-bar input:focus{ border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,107,63,.12); outline:none; }
.search-bar svg{ position:absolute; left:18px; top:50%; transform: translateY(-50%); width:17px; height:17px; color: var(--muted); }
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; }
.filter-chip{
  padding: 10px 20px; border-radius: var(--r-pill); border:1.5px solid var(--gray-200); background:#fff;
  font-family: var(--font-display); font-weight:700; font-size:13px; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter-chip.is-active, .filter-chip:hover{ background: var(--green); border-color: var(--green); color:#fff; }

.pagination{ display:flex; justify-content:center; gap:8px; margin-top:52px; }
.page-btn{
  width:42px; height:42px; border-radius:50%; border:1.5px solid var(--gray-200); background:#fff;
  font-family: var(--font-display); font-weight:700; font-size:13.5px; color: var(--ink-soft);
  transition: all .25s var(--ease); display:grid; place-items:center;
}
.page-btn.is-active, .page-btn:hover{ background: var(--green); border-color: var(--green); color:#fff; }

.empty-state{ text-align:center; padding: 80px 20px; color: var(--muted); }
.empty-state svg{ width:52px; height:52px; margin-bottom:16px; color: var(--gray-200); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:start; }
.contact-form{ display:flex; flex-direction:column; gap:20px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field label{ display:block; font-family: var(--font-display); font-weight:700; font-size:12.5px; letter-spacing:.04em; text-transform:uppercase; color: var(--ink-soft); margin-bottom:8px; }
.field input, .field textarea{
  width:100%; padding: 14px 16px; border-radius: 12px; border:1.5px solid var(--gray-200);
  font-size:14.5px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus{ border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,107,63,.12); outline:none; }
.form-status{ font-size:13.5px; font-weight:600; padding:12px 16px; border-radius:10px; display:none; }
.form-status.is-visible{ display:block; }
.form-status.is-success{ background:#E4F5EC; color: var(--green-dark); }

.map-card{ border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-md); border:1px solid var(--gray-200); }
.map-card iframe{ width:100%; height:320px; border:0; display:block; }
.contact-info{ padding: 26px; background:#fff; }
.info-row{ display:flex; gap:16px; padding: 16px 0; border-bottom:1px solid var(--gray-200); }
.info-row:last-of-type{ border-bottom:none; }
.info-icon{
  width:44px; height:44px; border-radius:50%; background: var(--gray-50); display:grid; place-items:center;
  color: var(--green); flex-shrink:0;
}
.info-row h4{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--muted); margin-bottom:4px; }
.info-row p{ font-size:15px; color: var(--ink); font-weight:500; }
.contact-social{ display:flex; gap:10px; margin-top:18px; }
.contact-social a{ width:40px; height:40px; border-radius:50%; background: var(--green); color:#fff; display:grid; place-items:center; transition: all .3s var(--ease); }
.contact-social a:hover{ background: var(--gold); color: #fff; transform: translateY(-3px); }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-stagger.is-visible > *{ opacity:1; transform:none; }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay:.15s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay:.25s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay:.35s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay:.45s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay:.55s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay:.65s; }

/* Loading overlay */
.page-loader{
  position:fixed; inset:0; z-index:2000; background: var(--green-deeper);
  display:flex; align-items:center; justify-content:center; transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader.is-hidden{ opacity:0; visibility:hidden; }
.loader-shield{ width:64px; height:64px; animation: pulseShield 1.4s ease-in-out infinite; }
@keyframes pulseShield{ 0%,100%{ transform: scale(1); opacity:1; } 50%{ transform: scale(.86); opacity:.65; } }

/* Back to top */
.to-top{
  position: fixed; right: 24px; bottom: 24px; z-index:200;
  width:48px; height:48px; border-radius:50%; background: var(--green); color:#fff; border:none;
  display:grid; place-items:center; box-shadow: var(--shadow-md);
  opacity:0; pointer-events:none; transform: translateY(10px);
  transition: all .35s var(--ease-out);
}
.to-top.is-visible{ opacity:1; pointer-events:auto; transform:none; }
.to-top:hover{ background: var(--gold); color: #fff; }

/* Counters */
.counter-row{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; text-align:center; }
.counter-item b{ display:block; font-family: var(--font-display); font-size: clamp(30px,4vw,44px); font-weight:800; color: var(--gold-soft); }
.counter-item span{ font-size:13px; color: rgba(255,255,255,.7); font-weight:600; letter-spacing:.02em; }

/* ---- Inline icon sizing inside interactive controls ---- */
.hero-arrow svg, .modal-close svg, .lightbox-close svg, .to-top svg,
.cal-nav button svg, .footer-social a svg, .contact-social a svg,
.info-icon svg, .fb-link svg{ width:18px; height:18px; }
.footer-contact svg{ width:16px; height:16px; }
.search-bar svg{ width:17px; height:17px; }
.empty-state svg{ width:48px; height:48px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px){
  .news-grid{ grid-template-columns: repeat(2,1fr); }
  .admissions-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .steps{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .intro-grid{ grid-template-columns:1fr; gap:40px; }
  .pillars{ grid-template-columns:1fr; }
  .calendar-wrap{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .counter-row{ grid-template-columns: repeat(2,1fr); gap:32px; }
}
@media (max-width: 680px){
  .section{ padding: 64px 0; }
  .news-grid{ grid-template-columns:1fr; }
  .admissions-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .steps{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .hero-content{ padding-bottom:96px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}