/* ===== WIZO NAHALAL – GLOBAL STYLESHEET ===== */

/* ---------- Google Font import handled in HTML ---------- */

/* ---------- CSS Variables ---------- */
:root {
  --green:       #4daa47;
  --navy:        #1b2537;
  --mid-green:   #347e59;
  --light-green: #9ec76a;
  --forest:      #164a32;
  --white:       #ffffff;
  --off-white:   #f5f8f2;
  --text:        #1e2832;
  --text-muted:  #5a6572;
  --border:      #dde8d8;

  --radius:  10px;
  --radius-lg: 20px;
  --shadow:  0 4px 24px rgba(27,37,55,.10);
  --shadow-md: 0 8px 40px rgba(27,37,55,.15);

  --topbar-h: 36px;
  --nav-inner-h: 80px;
  --nav-h: 116px;
  --section-pad: 90px 0;
  --container: 1180px;

  --font: 'Heebo', sans-serif;
  --transition: .3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p  { font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}

.section-title {
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-pad); }
section.alt-bg { background: var(--off-white); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--mid-green); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(77,170,71,.35); }

.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--light-green); color: var(--forest); }

.btn-nav {
  background: var(--green);
  color: var(--white);
  padding: .6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
}
.btn-nav:hover { background: var(--light-green); color: var(--navy); }

/* ---------- TOP BAR ---------- */
.top-bar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1001;
  height: var(--topbar-h);
  background: var(--green);
  display: flex;
  align-items: center;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  font-size: .83rem;
  color: var(--white);
}
.top-bar-inner a { color: var(--white); }
.top-bar-inner span { color: rgba(255,255,255,.9); }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: var(--topbar-h); right: 0; left: 0;
  z-index: 1000;
  height: var(--nav-inner-h);
  background: var(--white);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  gap: 1rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 52px; width: auto; }

.logo-link-blue { display: flex; align-items: center; flex-shrink: 0; }
.logo-link-blue img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .2rem; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--navy);
  font-size: .95rem;
  font-weight: 500;
  padding: .5rem .8rem;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--green); background: rgba(77,170,71,.08); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); right: 0; left: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: .5rem; }
.mobile-nav a {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--light-green); }
.mobile-nav .btn-nav { align-self: flex-start; margin-top: 1rem; }

/* ---------- PAGE HERO ---------- */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1.04); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,74,50,.85) 0%, rgba(27,37,55,.5) 60%, transparent 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 24px 3.5rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.page-hero-content h1 { color: var(--white); margin-bottom: .8rem; }
.page-hero-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 560px;
}

/* ---------- HOME HERO / SWIPER ---------- */
.hero-swiper-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-swiper { width: 100%; height: 100%; }
.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(22,74,50,.75) 0%, rgba(27,37,55,.4) 60%, transparent 100%);
}

.hero-text {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 580px;
  color: var(--white);
}
.hero-text .tagline {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: 1rem;
}
.hero-text h1 { color: var(--white); margin-bottom: 1.2rem; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-text .btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.swiper-pagination-bullet { background: var(--white); opacity: .5; }
.swiper-pagination-bullet-active { background: var(--light-green); opacity: 1; }
.swiper-button-next,
.swiper-button-prev { color: var(--white); }

/* First section after home hero: remove excess top padding */
.hero-swiper-wrap + section { padding-top: 2rem; }

/* ---------- PILLARS SECTION ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-card img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 1.5rem; }
.pillar-card h3 { color: var(--navy); margin-bottom: .6rem; }
.pillar-card p { color: var(--text-muted); }

/* ---------- PROGRAMS GRID ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.program-card:hover img { transform: scale(1.06); }
.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,74,50,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}
.program-card-overlay h3 { color: var(--white); margin-bottom: .3rem; }
.program-card-overlay p { color: rgba(255,255,255,.8); font-size: .95rem; }
.program-card-overlay .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--light-green);
  font-weight: 700;
  margin-top: .8rem;
  font-size: .95rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.65); }

.testimonial-slide {
  padding: 1.5rem;
  text-align: center;
}
.testimonial-slide .quote-text {
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-slide .quote-mark {
  font-size: 4rem;
  color: var(--light-green);
  line-height: 1;
  margin-bottom: .5rem;
}
.testimonial-slide .author {
  color: var(--light-green);
  font-weight: 700;
  font-size: .95rem;
}

/* ---------- SINCE 1923 ---------- */
.since-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
.since-image { border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; max-height: 480px; }
.since-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.since-stat { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stat-box { flex: 1; min-width: 120px; }
.stat-box .num { font-size: 2.5rem; font-weight: 800; color: var(--green); }
.stat-box .label { color: var(--text-muted); font-size: .9rem; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--forest) 0%, var(--mid-green) 100%);
  padding: 80px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- CARDS (generic) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }

.card-body { padding: 1.8rem; }
.card-body .icon {
  width: 56px; height: 56px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
}
.card-body h3 { color: var(--navy); margin-bottom: .6rem; }
.card-body p { color: var(--text-muted); font-size: .97rem; }
.card-body .card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--green);
  font-weight: 700;
  margin-top: 1.2rem;
  font-size: .95rem;
  transition: gap var(--transition);
}
.card-body .card-link:hover { gap: .7rem; }

/* ---------- DEPARTMENT CARDS (Farm) ---------- */
.dept-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-top: 4px solid var(--green);
}
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top-color: var(--mid-green); }
.dept-card .dept-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.dept-img img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.dept-card h3 { color: var(--navy); margin-bottom: .6rem; font-size: 1.2rem; }
.dept-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.65; }
.dept-card .manager {
  margin-top: 1.2rem;
  font-size: .87rem;
  color: var(--mid-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ---------- SPORT CARDS ---------- */
.sport-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.sport-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}
.sport-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); background: var(--navy); }
.sport-card:hover h3,
.sport-card:hover p { color: var(--white); }
.sport-card:hover .sport-icon { background: rgba(255,255,255,.1); }
.sport-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
  transition: all var(--transition);
}
.sport-card h3 { color: var(--navy); margin-bottom: .6rem; transition: color var(--transition); }
.sport-card p { color: var(--text-muted); font-size: .92rem; transition: color var(--transition); }
.sport-card .age-badge {
  display: inline-block;
  background: var(--off-white);
  color: var(--mid-green);
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .8rem;
  border-radius: 50px;
  margin-top: .8rem;
  transition: background var(--transition), color var(--transition);
}
.sport-card:hover .age-badge { background: var(--green); color: var(--white); }

/* ---------- TABS ---------- */
.tabs-wrap { margin-top: 3rem; }
.tab-buttons {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: .8rem 1.8rem;
  border-radius: 8px 8px 0 0;
  font-size: 1rem;
  font-weight: 700;
  background: none;
  color: var(--text-muted);
  border: 2px solid transparent;
  border-bottom: none;
  transition: all var(--transition);
  position: relative;
  bottom: -2px;
}
.tab-btn.active {
  background: var(--white);
  color: var(--green);
  border-color: var(--border);
  border-bottom-color: var(--white);
}
.tab-btn:hover:not(.active) { color: var(--green); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- SUBJECT GRID (School tracks) ---------- */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.track-category {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--border);
}
.track-category.stem     { background: #eaf6ff; border-color: #b3d9f7; }
.track-category.agri     { background: #edfbee; border-color: #b3e8b5; }
.track-category.humanities { background: #fef6e8; border-color: #f5d9a0; }
.track-category.arts     { background: #fdf0fb; border-color: #e8b3e6; }

.track-category h4 {
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.track-tag {
  display: inline-block;
  background: rgba(255,255,255,.7);
  border: 1px solid currentColor;
  border-radius: 50px;
  padding: .2rem .85rem;
  font-size: .85rem;
  font-weight: 600;
  margin: .25rem;
  color: var(--navy);
}
.stem .track-tag     { color: #1a6fa0; border-color: #1a6fa0; }
.agri .track-tag     { color: var(--forest); border-color: var(--forest); }
.humanities .track-tag { color: #9c6400; border-color: #9c6400; }
.arts .track-tag     { color: #8b1a8d; border-color: #8b1a8d; }

/* ---------- TIMELINE (Tech) ---------- */
.timeline { margin-top: 3rem; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  right: 32px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--green), var(--navy));
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-dot {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--off-white);
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  flex: 1;
}
.timeline-content h3 { color: var(--green); margin-bottom: .5rem; }
.timeline-content h4 { color: var(--navy); margin-bottom: .8rem; }
.timeline-content p  { color: var(--text-muted); font-size: .97rem; }

/* ---------- ACCORDION ---------- */
.accordion { margin-top: 2rem; }
.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.acc-header {
  width: 100%;
  background: var(--white);
  padding: 1.2rem 1.5rem;
  text-align: right;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.acc-header:hover { background: var(--off-white); }
.acc-header.open  { background: var(--navy); color: var(--white); }
.acc-arrow { transition: transform var(--transition); font-size: 1.2rem; }
.acc-header.open .acc-arrow { transform: rotate(180deg); }
.acc-body {
  display: none;
  padding: 1.5rem;
  background: var(--off-white);
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.acc-body.open { display: block; }
.acc-body ul { padding-right: 1.2rem; list-style: disc; }
.acc-body li { margin-bottom: .4rem; }

/* ---------- INFO BOXES ---------- */
.info-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border-right: 5px solid var(--green);
}
.info-box h3 { color: var(--navy); margin-bottom: 1rem; }
.info-box p  { color: var(--text-muted); }

/* ---------- CONTACT SECTION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-card .contact-icon {
  width: 48px; height: 48px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--green);
}
.contact-card h4 { color: var(--navy); margin-bottom: .3rem; }
.contact-card a { color: var(--green); font-weight: 600; word-break: break-all; }
.contact-card p { color: var(--text-muted); font-size: .95rem; }

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.process-step h4 { color: var(--navy); margin-bottom: .5rem; }
.process-step p  { color: var(--text-muted); font-size: .92rem; }

/* ---------- RESOURCE CARDS (Alumni) ---------- */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.resource-card .res-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.resource-card h4 { color: var(--navy); margin-bottom: .5rem; }
.resource-card p  { color: var(--text-muted); font-size: .92rem; margin-bottom: 1rem; }
.resource-card a {
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.resource-card a:hover { color: var(--mid-green); }

/* ---------- SOCIAL ICONS ---------- */
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-link {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: background var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--green); }

/* ---------- GALLERY / LIGHTBOX ---------- */
.gallery-swiper-wrap { margin-top: 3rem; }
.gallery-swiper .swiper-slide { height: 260px; }
.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
}
.gallery-swiper .swiper-slide img:hover { opacity: .88; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox > img { max-width: 80vw; max-height: 86vh; border-radius: 8px; }
.lightbox-close {
  position: fixed;
  top: 1.5rem; left: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10000;
  border: none;
  font-family: sans-serif;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { right: 1.5rem; }
.lightbox-next { left: 1.5rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo { height: 52px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .95rem; line-height: 1.8; max-width: 280px; color: rgba(255,255,255,.65); }

.footer-col h5 {
  color: var(--light-green);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  margin-bottom: .6rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--light-green); }

.footer-contact p { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.7); font-size: .93rem; margin-bottom: .6rem; white-space: nowrap; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--light-green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .88rem;
  color: rgba(255,255,255,.45);
}

/* ---------- HAMAADAMA BANNER ---------- */
.hamaadama-banner {
  background: linear-gradient(135deg, var(--forest) 0%, #0d3020 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hamaadama-banner h3 { color: var(--white); margin-bottom: .6rem; }
.hamaadama-banner p  { color: rgba(255,255,255,.75); max-width: 560px; }

/* ---------- ADMISSION BANNER ---------- */
.admission-strip {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  border: 1px solid var(--border);
}
.admission-strip h3 { color: var(--navy); margin-bottom: .5rem; }
.admission-strip p  { color: var(--text-muted); }

/* ---------- ABOUT: VALUES GRID ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.value-item .val-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-item h4 { color: var(--navy); margin-bottom: .5rem; }
.value-item p  { color: var(--text-muted); font-size: .93rem; }

/* ---------- TEAM GRID ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { color: var(--navy); margin-bottom: .3rem; }
.team-card .role { color: var(--green); font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.team-card a { color: var(--mid-green); font-size: .88rem; }

/* ---------- MEMORIAL SECTION ---------- */
.memorial-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1826 100%);
  color: var(--white);
  text-align: center;
}
.memorial-section h2 { color: var(--white); margin-bottom: 1rem; }
.memorial-section p  { color: rgba(255,255,255,.75); margin-bottom: 2rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dept-cards { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px 0;
    --nav-inner-h: 68px;
    --nav-h: 104px;
  }

  .main-nav { display: none; }
  .hamburger { display: flex; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero-text { right: 5%; left: 5%; max-width: 100%; }
  .hero-text h1 { font-size: 2rem; }

  .programs-grid { grid-template-columns: 1fr; }
  .special-tracks-grid { grid-template-columns: 1fr !important; }
  .pillars-grid  { grid-template-columns: 1fr; }
  .dept-cards    { grid-template-columns: 1fr; }
  .sport-cards   { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .since-section { grid-template-columns: 1fr; gap: 2rem; }
  .admission-strip { grid-template-columns: 1fr; }
  .hamaadama-banner { flex-direction: column; }
  .timeline::before { right: 28px; }
  .timeline-item { gap: 1rem; }
  .timeline-dot { width: 52px; height: 52px; font-size: 1.3rem; }

  .cta-buttons { flex-direction: column; }
  .btn-group   { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .tab-btn { padding: .6rem 1rem; font-size: .9rem; }
}

/* ---------- SCROLL ANIMATION ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- DIVIDER ---------- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 4px;
  margin: 1.2rem 0 2rem;
}
.text-center .divider { margin: 1.2rem auto 2rem; }

/* ---------- BADGE ---------- */
.badge {
  display: inline-block;
  padding: .3rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
}
.badge-green { background: rgba(77,170,71,.15); color: var(--forest); }
.badge-navy  { background: rgba(27,37,55,.1); color: var(--navy); }

/* ---------- HIGHLIGHT BOX ---------- */
.highlight-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--mid-green) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  margin-top: 2rem;
}
.highlight-box h3 { color: var(--white); margin-bottom: .8rem; }
.highlight-box p  { color: rgba(255,255,255,.85); }

/* ---------- ENROLLMENT STRIPS ---------- */
.enroll-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.enroll-option {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.enroll-option:hover { border-color: var(--green); transform: translateY(-4px); }
.enroll-option .enroll-icon { font-size: 3rem; margin-bottom: 1rem; }
.enroll-option h3 { color: var(--navy); margin-bottom: .6rem; }
.enroll-option p  { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.5rem; }

@media (max-width: 600px) {
  .enroll-options { grid-template-columns: 1fr; }
  .sport-cards { grid-template-columns: repeat(2, 1fr); }
  .resource-cards { grid-template-columns: 1fr; }
}
