/* =================================================================
   Life College — "Molding Champions, Shaping Futures"
   Design system & global styles
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  color-scheme: light; /* opt out of the phone/browser "forced dark mode" so our colors render as designed */
  /* Brand palette (drawn from the Life College logo + campus) */
  --green:        #0B7A3D;
  --green-dark:   #07512A;
  --green-deep:   #042416;
  --green-soft:   #E7F3EC;
  --gold:         #F4B400;
  --gold-light:   #FFD466;
  --gold-deep:    #D89000;
  --teal:         #16A8A0;
  --teal-light:   #D9F3F1;
  --cream:        #FBF8F0;
  --paper:        #FFFFFF;
  --ink:          #15251B;
  --muted:        #5A6B61;
  --line:         #E4E9E5;

  --brand-grad:   linear-gradient(135deg, #0B7A3D 0%, #16A8A0 100%);
  --gold-grad:    linear-gradient(135deg, #F4B400 0%, #FF8A00 100%);
  --green-grad:   linear-gradient(160deg, #0B7A3D 0%, #07512A 100%);

  /* Type */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Shape */
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Shadow */
  --shadow-sm: 0 4px 14px rgba(7, 81, 42, .08);
  --shadow:    0 18px 40px -18px rgba(7, 81, 42, .35);
  --shadow-lg: 0 40px 80px -30px rgba(7, 81, 42, .45);

  --container: 1200px;
  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gold);
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gold);
}
.text-grad {
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.gold-grad {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; font-size: 1.08rem; }
.bg-cream { background: var(--cream); }
.bg-green-soft { background: var(--green-soft); }
.grid { display: grid; gap: 1.6rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px){ .two-col { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .9rem 1.7rem; border-radius: 100px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(11,122,61,.7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(11,122,61,.8); }
.btn-gold { background: var(--gold-grad); color: #3a2700; box-shadow: 0 14px 30px -12px rgba(244,180,0,.7); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(244,180,0,.8); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--green-dark); transform: translateY(-3px); }
.btn-outline { border: 1.5px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--green-dark); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav.scrolled {
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,.4); height: 70px;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand__logo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: #fff; letter-spacing: -.01em; transition: color .3s ease; }
.brand__name.on-dark { color: #fff; }
.nav.scrolled .brand__name { color: var(--ink); }
.brand__tag { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-top: 3px; transition: color .3s ease; }
.brand__tag.on-dark { color: var(--gold-light); }
.nav.scrolled .brand__tag { color: var(--gold-deep); }
/* Guarantee the brand text is readable over the dark hero (transparent navbar) */
.nav:not(.scrolled) .brand__name,
.nav:not(.scrolled) .brand__tag { text-shadow: 0 2px 10px rgba(0,0,0,.55); }

.nav__links { display: flex; align-items: center; gap: .4rem; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: #fff;
  padding: .55rem .95rem; border-radius: 100px; position: relative; transition: color .2s;
}
@media (min-width: 981px){ .nav.scrolled .nav__links a { color: var(--ink); } }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 3px; background: var(--gold); transition: width .25s;
}
.nav__links a:hover::after, .nav__links a.active::after { width: 22px; }
.nav__links a.active { color: var(--gold-light); }
@media (min-width: 981px){ .nav.scrolled .nav__links a.active { color: var(--green); } }

.nav__cta { display: flex; align-items: center; gap: .8rem; }
.nav__cta .btn { padding: .7rem 1.3rem; font-size: .92rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2){ opacity: 0; }
.nav__toggle.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px){
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #042416;
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
    padding: 1rem 0 2rem; transform: translateY(-130%); transition: transform .4s ease;
    height: auto; border-bottom: 4px solid var(--gold);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { color: #fff; width: 90%; margin-inline: auto; padding: 1rem 1.2rem; font-size: 1.05rem; border-radius: 12px; }
  .nav__links a::after { display: none; }
  .nav__links a:hover, .nav__links a.active { background: rgba(255,255,255,.08); color: var(--gold-light); }
  .nav__cta .btn:not(.nav__toggle) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); color: #fff; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/campus-1.jpg") center/cover no-repeat;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(4,36,22,.92) 0%, rgba(7,81,42,.78) 38%, rgba(11,122,61,.45) 70%, rgba(4,36,22,.55) 100%),
    linear-gradient(0deg, rgba(4,36,22,.85), transparent 40%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: .55; }
.hero__glow.g1 { width: 380px; height: 380px; background: var(--gold); top: 18%; right: -6%; opacity: .28; }
.hero__glow.g2 { width: 460px; height: 460px; background: var(--teal); bottom: -10%; left: -8%; opacity: .3; }

.hero__content { max-width: 760px; padding: 2rem 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .5rem 1rem .5rem .5rem; border-radius: 100px; backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 500;
}
.hero__badge .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; font-size: .8rem; color: #fff; }
.hero__badge .dot svg { display: block; width: 14px; height: 14px; }
a.hero__badge { color: #fff; cursor: pointer; transition: background .25s ease, transform .25s ease, border-color .25s ease; }
a.hero__badge:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); transform: translateY(-2px); }
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero h1 .gold-grad { display: inline-block; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.4rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.2); max-width: 620px;
}
.hero__stat .num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff; line-height: 1; }
.hero__stat .num .plus { color: var(--gold-light); }
.hero__stat .lbl { font-size: .82rem; color: rgba(255,255,255,.75); margin-top: .35rem; letter-spacing: .03em; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content:""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 4px; height: 7px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:1; top:8px;} 70%{opacity:0;} 100%{opacity:0; top:20px;} }

/* ---------- Wave divider ---------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave svg { width: 100%; height: 70px; display: block; }
.wave.flip svg { transform: scaleY(-1); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }

.icon-badge {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 1.3rem;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.gold { background: #FFF4D6; color: var(--gold-deep); }
.icon-badge.teal { background: var(--teal-light); color: var(--teal); }
.icon-badge.grad { background: var(--brand-grad); color: #fff; }

/* Program / level cards */
.level-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 1024px){ .level-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .level-grid { grid-template-columns: 1fr; } }

.level-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm); transition: transform .4s ease, box-shadow .4s ease;
  isolation: isolate;
}
.level-card::before {
  content:""; position: absolute; inset: 0; z-index: -1;
  background: var(--green-grad);
}
.level-card::after {
  content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(4,36,22,.85));
}
.level-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.level-card__body { padding: 1.8rem; color: #fff; width: 100%; }
.level-card__num { font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: rgba(255,255,255,.22); line-height: 1; }
.level-card__title { font-size: 1.35rem; margin: .4rem 0 .5rem; color: #fff; }
.level-card__desc { font-size: .92rem; color: rgba(255,255,255,.82); }
.level-card__tag {
  position: absolute; top: 1.2rem; left: 1.2rem; z-index: 1;
  background: var(--gold-grad); color: #3a2700; font-weight: 700; font-size: .72rem;
  padding: .35rem .8rem; border-radius: 100px; letter-spacing: .04em;
}
.level-card .deco {
  position: absolute; top: -30px; right: -30px; width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255,255,255,.06); z-index: -1;
}
.level-card:nth-child(2)::before { background: linear-gradient(160deg,#16A8A0,#0a5c52); }
.level-card:nth-child(3)::before { background: linear-gradient(160deg,#D89000,#a85f00); }
.level-card:nth-child(4)::before { background: linear-gradient(160deg,#07512A,#042416); }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px){ .feature-grid { grid-template-columns: 1fr; } }

/* Strand pills (SHS) */
.strands { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.strand {
  flex: 1 1 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: .3s;
}
.strand:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.strand__code { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--green); }
.strand h4 { font-size: 1.05rem; margin: .2rem 0 .5rem; }
.strand p { font-size: .9rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--green-grad); color: #fff; position: relative; overflow: hidden; }
.stats-band .glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .25; }
.stats-band .glow.a { width: 360px; height: 360px; background: var(--gold); top: -40%; left: 8%; }
.stats-band .glow.b { width: 300px; height: 300px; background: var(--teal); bottom: -40%; right: 6%; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
@media (max-width: 760px){ .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item { text-align: center; padding: 1rem; }
.stat-item .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.stat-item .num .plus { color: var(--gold-light); }
.stat-item .lbl { margin-top: .6rem; color: rgba(255,255,255,.85); font-size: .95rem; }

/* ---------- Image / media frame ---------- */
.media-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.media-frame:hover img { transform: scale(1.05); }
.media-frame.tall img { aspect-ratio: 4/5; }
.floating-card {
  position: absolute; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .9rem; z-index: 2;
}
.floating-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-grad); display: grid; place-items: center; color: #3a2700; }
.floating-card .t { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.1; }
.floating-card .s { font-size: .8rem; color: var(--muted); }
.floating-card.fc-1 { bottom: 26px; left: -26px; }
.floating-card.fc-2 { top: 26px; right: -26px; }
@media (max-width: 880px){ .floating-card { display: none; } }

/* checklist */
.checklist { display: grid; gap: .9rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); }
.checklist .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-top: 2px; }
.checklist .ck svg { width: 15px; height: 15px; }
.checklist strong { color: var(--ink); font-weight: 600; }

/* ---------- Values / pillars ---------- */
.value-card { text-align: center; padding: 2.2rem 1.6rem; }
.value-card .icon-badge { margin-inline: auto; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before { content:""; position: absolute; left: 24px; top: 0; bottom: 0; width: 3px; background: var(--green-soft); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 2.2rem 70px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 12px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--green-soft); }
.tl-item h4 { margin-bottom: .35rem; }
.tl-item .meta { font-size: .82rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .05em; text-transform: uppercase; margin-bottom: .3rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 900px){ .testi-grid { grid-template-columns: 1fr; } }
.testi { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.testi .stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 2px; }
.testi p { color: var(--ink); font-size: 1rem; }
.testi__who { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.testi__who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.testi__who .nm { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.2; }
.testi__who .rl { font-size: .82rem; color: var(--muted); }
.testi .quote { position: absolute; top: 1rem; right: 1.4rem; font-family: var(--font-head); font-size: 3.5rem; color: var(--green-soft); line-height: 1; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--green-grad); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before { content:""; position: absolute; inset:0; background: url("../img/campus-2.jpg") center/cover; opacity: .14; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; max-width: 560px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-top: .8rem; max-width: 520px; }
.cta-banner .glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--gold); filter: blur(90px); opacity: .3; top: -40%; right: 8%; }

/* ---------- Process steps (admissions) ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr; } }
.step { background:#fff; border-radius: var(--radius-lg); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.step__n { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--green-soft); line-height: 1; }
.step h4 { margin: .5rem 0 .5rem; }
.step p { font-size: .93rem; }
.step .arrow { position: absolute; top: 50%; right: -20px; transform: translateY(-50%); color: var(--gold); z-index: 2; }
@media (max-width: 900px){ .step .arrow { display: none; } }

/* ---------- Accordion (FAQ) ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item.open { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq__q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; transition: .3s; }
.faq__item.open .faq__q .pm { background: var(--brand-grad); color: #fff; transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq__a p { padding: 0 1.6rem 1.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.info-item .lbl { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.info-item .val { font-family: var(--font-head); font-weight: 600; color: var(--ink); }

.form-card { background:#fff; border-radius: var(--radius-xl); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: .45rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: .96rem; color: var(--ink); background: var(--cream); transition: .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--green-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.form-status { min-height: 1.3em; font-size: .9rem; font-weight: 600; margin-top: .9rem; text-align: center; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c0392b; }
.btn[disabled] { opacity: .8; cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255,255,255,.7); padding-top: clamp(3.5rem,6vw,5rem); position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px){ .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .footer__top { grid-template-columns: 1fr; } }
.footer .brand__name { color: #fff; }
.footer h5 { color: #fff; font-size: 1.02rem; margin-bottom: 1.2rem; letter-spacing: .02em; }
.footer ul { display: grid; gap: .7rem; }
.footer ul a { color: rgba(255,255,255,.7); font-size: .94rem; transition: .2s; }
.footer ul a:hover { color: var(--gold-light); padding-left: 5px; }
.footer__about p { color: rgba(255,255,255,.65); margin: 1.1rem 0 1.4rem; font-size: .94rem; max-width: 320px; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .3s; }
.socials a:hover { background: var(--gold-grad); color: #3a2700; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: .9rem; }
.footer__contact svg { flex: none; width: 18px; height: 18px; color: var(--gold-light); margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.8rem 0; font-size: .85rem; }
.footer__bottom .links { display: flex; gap: 1.4rem; }
.footer__bottom a:hover { color: var(--gold-light); }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; background: rgba(255,255,255,.08); padding: .4rem; border-radius: 100px; }
.newsletter input { flex: 1; background: transparent; border: none; color: #fff; padding: .5rem 1rem; font-family: inherit; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; }
.newsletter button { background: var(--gold-grad); color: #3a2700; border-radius: 100px; padding: .6rem 1.2rem; font-family: var(--font-head); font-weight: 600; display: grid; place-items: center; }
.newsletter button svg { width: 18px; height: 18px; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 3.5rem) 0 4rem; color: #fff; overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--green-grad); }
.page-hero__bg::after { content:""; position: absolute; inset:0; background: url("../img/campus-2.jpg") center/cover; opacity: .12; }
.page-hero__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--gold); filter: blur(110px); opacity: .2; top: -30%; right: 2%; z-index: -1; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { opacity: .5; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 620px; margin-top: 1rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.d { animation-delay: 1.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaty { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.full { width: 100%; }
.badge-soft { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 600; font-size: .8rem; padding: .35rem .9rem; border-radius: 100px; }
.divider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; vertical-align: middle; margin: 0 .6rem; }
.note-box { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: 12px; padding: 1.2rem 1.4rem; }
.note-box .t { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.note-box p { color: #0a5c52; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: .35rem .9rem; font-size: .82rem; font-weight: 500; color: var(--green); }

/* =================================================================
   Auth / Login page
   ================================================================= */
.auth {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--cream); position: relative;
}
.auth__brand {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(2.2rem, 4vw, 3.4rem);
  display: flex; flex-direction: column; gap: 2rem;
  background: var(--green-grad);
}
.auth__brand::before { content:""; position:absolute; inset:0; background:url("../img/campus-1.jpg") center/cover; opacity:.16; z-index:0; }
.auth__brand::after  { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(4,36,22,.35), rgba(4,36,22,.65)); z-index:0; }
.auth__brand > * { position: relative; z-index: 1; }
.auth__glow { position:absolute; border-radius:50%; filter:blur(90px); opacity:.3; z-index:0; }
.auth__glow.a { width:300px; height:300px; background:var(--gold); top:-10%; right:-10%; }
.auth__glow.b { width:260px; height:260px; background:var(--teal); bottom:-12%; left:-8%; }
.auth__top { display:flex; align-items:center; gap:.7rem; }
.auth__top .brand__logo { width:68px; height:68px; }
.auth__top .brand__name { color:#fff; }
.auth__hero { margin-top:auto; }
.auth__hero h2 { color:#fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: .8rem; }
.auth__hero p { color: rgba(255,255,255,.85); margin-top:.8rem; max-width: 420px; }
.auth__quote {
  margin-top:2rem; padding:1.3rem 1.4rem;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); backdrop-filter: blur(6px);
}
.auth__quote p { color:#fff; font-size:.95rem; font-style: italic; }
.auth__quote .who { margin-top:.6rem; font-size:.8rem; color:var(--gold-light); font-weight:600; letter-spacing:.04em; font-style:normal; }

.auth__form-wrap { display:flex; align-items:center; justify-content:center; padding: clamp(2rem, 5vw, 3rem); }
.auth__card { width:100%; max-width: 410px; }
.auth__back {
  display:inline-flex; align-items:center; gap:.45rem;
  font-family:var(--font-head); font-weight:600; font-size:.9rem; color:var(--green);
  margin-bottom:1.8rem; transition: gap .2s, color .2s;
}
.auth__back:hover { color:var(--green-dark); gap:.7rem; }
.auth__back svg { width:18px; height:18px; }
.auth__card h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.auth__card .sub { color:var(--muted); margin-top:.5rem; margin-bottom:2rem; }

.field-pw { position: relative; }
.field-pw .toggle {
  position:absolute; right:8px; top:30px; color:var(--muted);
  padding:7px; display:grid; place-items:center; border-radius:10px; transition:.2s;
}
.field-pw .toggle:hover { color:var(--green); background:var(--green-soft); }
.field-pw .toggle svg { width:20px; height:20px; }
.field-pw .toggle .hide { display:none; }
.field-pw input { padding-right:46px; }

.auth__row { display:flex; align-items:center; justify-content:space-between; margin: 1.2rem 0 1.6rem; font-size:.9rem; }
.check { display:flex; align-items:center; gap:.5rem; color:var(--ink); cursor:pointer; user-select:none; }
.check input { width:17px; height:17px; accent-color: var(--green); }
.auth__row a { color:var(--green); font-weight:600; }
.auth__row a:hover { text-decoration: underline; }

.divider { display:flex; align-items:center; gap:1rem; color:var(--muted); font-size:.85rem; margin:1.6rem 0; }
.divider::before, .divider::after { content:""; flex:1; height:1px; background:var(--line); }

.portal-link {
  display:flex; align-items:center; justify-content:center; gap:.5rem; width:100%;
  padding:.9rem; border-radius:100px; border:1.5px solid var(--line);
  color:var(--ink); font-family:var(--font-head); font-weight:600; font-size:.95rem; transition:.25s;
}
.portal-link:hover { border-color:var(--green); color:var(--green); background:var(--green-soft); }
.portal-link svg { width:18px; height:18px; }

.auth__note { text-align:center; font-size:.82rem; color:var(--muted); margin-top:1.6rem; line-height:1.5; }
.auth__note strong { color:var(--ink); }

@media (max-width: 880px){
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth__brand { padding: 1.6rem 1.5rem; }
  .auth__hero { margin-top:1rem; }
  .auth__quote { display:none; }
}
@media (max-width: 480px){
  .auth__hero p { display:none; }
}
