/* ============================================================
   assets/css/style.css
   EduPortal Nigeria – Complete Design System
   Fonts: Playfair Display (headings) | DM Sans (body)
   ============================================================ */

/* ── CSS Custom Properties (Design Tokens) ────────────────── */
:root {
  --primary:      #1E90FF;      /* Dodger Blue – links, highlights   */
  --primary-dark: #1270CC;      /* Hover state for primary           */
  --secondary:    #FF6347;      /* Tomato – CTAs, submission buttons */
  --secondary-dark:#D94F39;     /* Hover for secondary               */
  --bg:           #F9F9F9;      /* Page background                   */
  --surface:      #FFFFFF;      /* Card / panel background           */
  --text:         #333333;      /* Body copy                         */
  --text-muted:   #6B7280;      /* Secondary text                    */
  --border:       #E5E7EB;      /* Dividers, card borders            */
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.14);
  --radius-sm:    6px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --transition:   .25s ease;
  --nav-height:   72px;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul  { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }

/* ── Utility Classes ──────────────────────────────────────── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center{ text-align: center; }
.text-muted { color: var(--text-muted); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 { margin-bottom: .5rem; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }

/* Decorative underline for section headings */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: .6rem auto 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30,144,255,.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,99,71,.35);
  transform: translateY(-2px);
}

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

.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.3rem;
  font-family: var(--font-head);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.nav-logo:hover { color: var(--primary); }
.logo-icon { color: var(--primary); font-size: 1.5rem; }
.logo-text strong { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(30,144,255,.08);
  color: var(--primary);
}

/* Nav CTA button */
.btn-nav-cta {
  background: var(--secondary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: .5rem 1.2rem !important;
}
.btn-nav-cta:hover {
  background: var(--secondary-dark) !important;
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: .5rem; }
.mobile-menu a {
  display: block;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition);
}
.mobile-menu a:hover { background: var(--bg); color: var(--primary); }
.btn-mobile-cta {
  background: var(--secondary);
  color: #fff !important;
  text-align: center;
  margin-top: .5rem;
}
.btn-mobile-cta:hover { background: var(--secondary-dark) !important; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0d2750 50%, #1a3a6e 100%);
  padding-top: var(--nav-height);
}

/* Subtle animated grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,144,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,144,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: heroGrid 20s linear infinite;
}
@keyframes heroGrid {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* Glowing orb decorations */
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(30,144,255,.15);
  border: 1px solid rgba(30,144,255,.3);
  color: #6db8ff;
  padding: .35rem .85rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--primary); }
.hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 1.5rem 20px;
  gap: 1rem;
}
.hero-stat { color: #fff; }
.hero-stat .stat-num { font-size: 1.8rem; font-weight: 700; font-family: var(--font-head); }
.hero-stat .stat-label{ font-size: .82rem; color: rgba(255,255,255,.65); margin-top: .1rem; }

/* ── SEARCH BAR ───────────────────────────────────────────── */
.search-bar-section {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 3;
}
.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  padding: 2rem 0;
}
.search-form .form-group { margin: 0; }
.search-form label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.search-form select,
.search-form input[type="text"] {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}
.search-form select:focus,
.search-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── SCHOOL CARDS ─────────────────────────────────────────── */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.school-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.school-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.school-card:hover .card-image-wrap img { transform: scale(1.06); }

.card-type-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(30,144,255,.9);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 50px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-private      { background: rgba(255,99,71,.9); }
.badge-international{ background: rgba(16,185,129,.9); }
.badge-montessori   { background: rgba(139,92,246,.9); }
.badge-charter      { background: rgba(245,158,11,.9); }

.featured-star {
  position: absolute;
  top: 12px; right: 12px;
  color: #f59e0b;
  font-size: .9rem;
  background: rgba(0,0,0,.4);
  padding: .25rem .45rem;
  border-radius: 50px;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: .4rem;
  font-family: var(--font-head);
}
.card-meta {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--text-muted);
  font-size: .83rem;
  margin-bottom: .08rem;
  line-height: 1.3;
}
.card-meta i { color: var(--primary); font-size: .8rem; }
.card-body p {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: .45rem 0 .9rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── FEATURED SCHOOLS SECTION ─────────────────────────────── */
.featured-section { background: var(--bg); }

/* ── STATS / INFO STRIP ───────────────────────────────────── */
.info-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.info-strip-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
  gap: 1rem;
  padding: 60px 20px;
}
.info-item .num {
  font-size: 2.5rem;
  font-family: var(--font-head);
  font-weight: 700;
}
.info-item .label {
  font-size: .9rem;
  opacity: .8;
  margin-top: .25rem;
}

/* ── HOW IT WORKS SECTION ─────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-4px); }
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-head);
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 16px rgba(30,144,255,.3);
}
.step-card h3 { margin-bottom: .5rem; }
.step-card p  { color: var(--text-muted); font-size: .9rem; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  position: relative;
}
.quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: .2;
  line-height: 1;
  margin-bottom: .5rem;
  font-family: Georgia, serif;
}
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.author-name  { font-weight: 600; font-size: .9rem; }
.author-role  { font-size: .8rem; color: var(--text-muted); }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, #0a1628, #1E90FF);
  padding: 140px 0 80px;
  text-align: center;
  color: #fff;
}
.about-hero h1 { color: #fff; margin-bottom: .75rem; }
.about-hero p  { color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto; }

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image-wrap img { width: 100%; }
.about-image-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--primary);
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.mvv-card {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--primary);
}
.mvv-icon {
  width: 50px; height: 50px;
  background: rgba(30,144,255,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.mvv-card h3 { margin-bottom: .5rem; }
.mvv-card p  { color: var(--text-muted); font-size: .9rem; }

/* ── SCHOOLS LISTING PAGE ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a1628, #1270CC);
  padding: 120px 0 60px;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.breadcrumb { color: rgba(255,255,255,.65); font-size: .88rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); margin: 0 .4rem; }

.listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar filters */
.sidebar {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.sidebar h3 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 1.5rem; }
.filter-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .5rem;
}
.filter-group select,
.filter-group input {
  width: 100%;
  padding: .6rem .85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Listing top bar */
.listing-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.listing-count { color: var(--text-muted); font-size: .9rem; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.pagination a {
  border: 2px solid var(--border);
  color: var(--text);
}
.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pagination span.current {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.pagination span.dots { border: none; width: auto; }

/* ── SCHOOL DETAIL PAGE ───────────────────────────────────── */
.detail-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
}
.detail-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  color: #fff;
}
.detail-hero-content h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.8rem); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding: 3rem 0;
}

.detail-section { margin-bottom: 2.5rem; }
.detail-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--border);
}

.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.info-list li:last-child { border-bottom: none; }
.info-list i {
  color: var(--primary);
  font-size: .95rem;
  margin-top: .15rem;
  width: 18px;
  flex-shrink: 0;
}

/* Sticky sidebar card */
.detail-sidebar-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.sidebar-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 1.5rem;
}
.sidebar-card-header h3 { color: #fff; margin-bottom: .25rem; }
.sidebar-card-header p  { color: rgba(255,255,255,.8); font-size: .85rem; }
.sidebar-card-body { padding: 1.5rem; }
.sidebar-card-body .btn { width: 100%; justify-content: center; margin-bottom: .75rem; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-grid img {
  width: 100%; height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), filter var(--transition);
  cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.04); filter: brightness(1.1); }

/* ── FORMS (Admission + Contact) ──────────────────────────── */
.form-page-hero {
  background: linear-gradient(135deg, #FF6347, #D94F39);
  padding: 120px 0 60px;
  text-align: center;
  color: #fff;
}
.form-page-hero h1 { color: #fff; }
.form-page-hero p  { color: rgba(255,255,255,.85); }

.form-container {
  max-width: 760px;
  margin: -40px auto 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 3rem;
  position: relative;
  z-index: 5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .45rem;
  color: var(--text);
}
.form-group .required-star { color: var(--secondary); }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,144,255,.12);
}
.form-control.is-invalid {
  border-color: #ef4444;
}
.invalid-feedback {
  color: #ef4444;
  font-size: .8rem;
  margin-top: .3rem;
  display: block;
}
textarea.form-control { resize: vertical; min-height: 120px; }

.form-submit-wrap {
  text-align: center;
  margin-top: 1.5rem;
}
.form-submit-wrap .btn { min-width: 200px; font-size: 1rem; }

/* Alert messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
}
.alert-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.alert i { margin-top: .1rem; }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, #0a1628, #1E90FF);
  padding: 120px 0 60px;
  text-align: center;
  color: #fff;
}
.contact-hero h1 { color: #fff; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  align-items: start;
}
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.contact-info-card h2 { margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  background: rgba(30,144,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-icon-detail h4 { margin-bottom: .15rem; font-size: .95rem; }
.contact-icon-detail p  { color: var(--text-muted); font-size: .88rem; margin: 0; }

.map-frame {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ── ADMIN PAGES ──────────────────────────────────────────── */
.admin-body {
  background: #f0f2f5;
  min-height: 100vh;
  font-family: var(--font-body);
}
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628, #1E90FF);
}
.admin-login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.admin-login-logo i {
  font-size: 2.5rem;
  color: var(--primary);
}
.admin-login-logo h2 { font-size: 1.4rem; margin-top: .5rem; }

/* Sidebar nav */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: #0f172a;
  color: #cbd5e1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
}
.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.admin-sidebar-header i { color: var(--primary); }
.admin-nav-section {
  padding: 1.25rem 1rem .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #475569;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1.25rem;
  color: #94a3b8;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  margin: .15rem .5rem;
  transition: background var(--transition), color var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(30,144,255,.12);
  color: #fff;
}
.admin-nav a i { width: 18px; text-align: center; }

.admin-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.admin-topbar h1 { font-size: 1.15rem; font-family: var(--font-body); color: var(--text); }
.admin-content { padding: 2rem; flex: 1; }

/* Stats cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.admin-stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-stat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.admin-stat-icon.blue   { background: rgba(30,144,255,.1); color: var(--primary); }
.admin-stat-icon.red    { background: rgba(255,99,71,.1);  color: var(--secondary); }
.admin-stat-icon.green  { background: rgba(16,185,129,.1); color: #10b981; }
.admin-stat-icon.purple { background: rgba(139,92,246,.1); color: #8b5cf6; }
.admin-stat-num   { font-size: 1.8rem; font-weight: 700; line-height: 1; font-family: var(--font-head); }
.admin-stat-label { font-size: .82rem; color: var(--text-muted); }

/* Data table */
.data-table-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.data-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.data-table-header h2 { font-size: 1rem; font-family: var(--font-body); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.data-table th {
  background: #f8fafc;
  padding: .75rem 1.25rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td     { background: #f8fafc; }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}
.status-new       { background: #dbeafe; color: #1d4ed8; }
.status-contacted { background: #fef3c7; color: #92400e; }
.status-enrolled  { background: #d1fae5; color: #065f46; }
.status-rejected  { background: #fee2e2; color: #991b1b; }

.action-btns { display: flex; gap: .4rem; }
.btn-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.btn-icon-view   { background: rgba(30,144,255,.1); color: var(--primary); }
.btn-icon-view:hover   { background: var(--primary); color: #fff; }
.btn-icon-delete { background: rgba(239,68,68,.1); color: #ef4444; }
.btn-icon-delete:hover { background: #ef4444; color: #fff; }

/* Filters bar (admin) */
.filter-bar {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filter-bar .form-group { margin: 0; }
.filter-bar select,
.filter-bar input {
  padding: .6rem .85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  min-width: 160px;
}
.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .listing-layout { grid-template-columns: 1fr; }
  .sidebar        { position: static; }
  .detail-layout  { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-two-col  { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .search-form { grid-template-columns: 1fr; }

  .schools-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

  .info-strip-inner { grid-template-columns: repeat(2, 1fr); }

  .mvv-grid    { grid-template-columns: 1fr; }
  .steps-grid  { grid-template-columns: repeat(2, 1fr); }

  .form-container { padding: 1.75rem 1.25rem; margin-top: -20px; }
  .form-row       { grid-template-columns: 1fr; }

  .admin-sidebar { display: none; }   /* simplified; real app needs slide-in */
  .admin-main    { margin-left: 0; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .data-table-wrap { overflow-x: auto; }
}

@media (max-width: 480px) {
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .info-strip-inner      { grid-template-columns: 1fr 1fr; }
  .steps-grid            { grid-template-columns: 1fr; }
  .admin-stats-grid      { grid-template-columns: 1fr; }
}

/* ── Scroll animations (JS-driven) ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── COURSE CARDS (upgrade addition) ─────────────────────── */
/* Section tab active underline on courses page */
.courses-tab-active {
  border-bottom: 3px solid var(--primary);
  color: var(--primary);
}

/* Quick-apply form on homepage — label + input consistency */
.quick-apply-form .form-control {
  background: #fff;
}

/* College section accent override */
.college-accent  { color: var(--secondary); }
.school-accent   { color: var(--primary); }


/* ══════════════════════════════════════════════════════════
   HERO SLIDER  (Orchids-style)
══════════════════════════════════════════════════════════ */
.hero-wrap { position:relative; margin-top:var(--nav-height); overflow:visible; }
.hero-slider { position:relative; width:100%; height:500px; overflow:hidden; background:#0a0a0a; }
.hs-slide { position:absolute; inset:0; opacity:0; transition:opacity .8s ease; }
.hs-slide.active { opacity:1; z-index:2; }
.hs-bg { position:absolute; inset:0; background-size:cover; background-position:center top; filter:brightness(.65); transform:scale(1.04); transition:transform 6s ease; }
.hs-slide.active .hs-bg { transform:scale(1); }
.hs-overlay { position:absolute; inset:0; background:linear-gradient(to right,rgba(0,0,0,.6) 0%,rgba(0,0,0,.25) 55%,rgba(0,0,0,.8) 100%); z-index:1; }
.hs-content { position:absolute; left:0; top:50%; transform:translateY(-50%); z-index:3; padding-left:max(20px,calc((100vw - 1200px)/2 + 20px)); max-width:560px; }
.hs-content h1 { font-size:clamp(2rem,4.5vw,3.4rem); color:#fff; font-family:var(--font-head); line-height:1.15; text-shadow:0 2px 12px rgba(0,0,0,.5); }
.hs-content p { color:rgba(255,255,255,.8); font-size:1.05rem; margin-top:.85rem; }
.hs-dots { position:absolute; bottom:18px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:10; }
.hs-dot { width:12px; height:12px; border-radius:50%; border:2px solid rgba(255,255,255,.7); background:transparent; cursor:pointer; transition:background .3s; padding:0; }
.hs-dot.active { background:#fff; border-color:#fff; }
.hs-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:10; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); color:#fff; font-size:.95rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; backdrop-filter:blur(6px); }
.hs-arrow:hover { background:rgba(255,255,255,.3); }
.hs-prev { left:16px; }
.hs-next { right:400px; }

/* FLOATING FORM */
.hero-form-card { position:absolute; top:50%; right:max(20px,calc((100vw - 1200px)/2 + 20px)); transform:translateY(-50%); z-index:20; width:370px; background:#fff; border-radius:10px; box-shadow:0 16px 60px rgba(0,0,0,.35); overflow:hidden; }
.hf-header { background:#fff; color:#c0392b; font-weight:700; font-size:.9rem; padding:.85rem 1rem; border-bottom:2px solid #fde8e8; text-align:center; }
.hf-header i { margin-right:.4rem; }
.hf-form { padding:.85rem 1rem 1rem; display:flex; flex-direction:column; gap:.5rem; }
.hf-row { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
.hf-group { display:flex; flex-direction:column; gap:.25rem; }
.hf-group label { font-size:.72rem; font-weight:600; color:#444; }
.req { color:#c0392b; }
.hf-input { padding:.5rem .65rem; border:1.5px solid #ddd; border-radius:5px; font-family:var(--font-body); font-size:.83rem; color:var(--text); background:#fafafa; width:100%; height:36px; transition:border-color .2s; }
.hf-input:focus { outline:none; border-color:#c0392b; background:#fff; }
select.hf-input { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23666' d='M5 7L0 0h10z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .55rem center; padding-right:1.5rem; }
.hf-phone { display:flex; gap:.3rem; }
.hf-prefix { width:60px; flex-shrink:0; padding:.5rem .3rem; border:1.5px solid #ddd; border-radius:5px; font-size:.78rem; height:36px; background:#fafafa; }
.hf-phone-input { flex:1; }
.hf-submit { width:100%; height:38px; background:#c0392b; color:#fff; border:none; border-radius:5px; font-family:var(--font-body); font-weight:700; font-size:.92rem; cursor:pointer; transition:background .2s,transform .15s; }
.hf-submit:hover { background:#a93226; transform:translateY(-1px); }
.hf-submit:active { transform:scale(.97); }
.need-help-tab { position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:999; background:#c0392b; color:#fff; padding:.85rem .5rem; border-radius:6px 0 0 6px; font-size:.72rem; font-weight:700; text-decoration:none; display:flex; flex-direction:column; align-items:center; gap:.35rem; box-shadow:-4px 0 16px rgba(0,0,0,.25); transition:background .2s; }
.need-help-tab:hover { background:#922b21; color:#fff; }
.need-help-tab span { writing-mode:vertical-rl; letter-spacing:.04em; }

/* SCHOOL / COLLEGE BIG CARDS */
.sc-section { background:#fff5f5; padding:40px 0; }
.sc-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.sc-card { display:flex; align-items:center; justify-content:space-between; padding:2rem 2.5rem; border-radius:var(--radius-md); text-decoration:none; position:relative; overflow:hidden; transition:transform .25s,box-shadow .25s; }
.sc-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.sc-school  { background:#8b0000; }
.sc-college { background:#6b0000; }
.sc-card h2 { color:#fff; font-size:1.5rem; margin-bottom:1rem; }
.sc-actions { display:flex; flex-direction:column; gap:.5rem; }
.sc-actions span { color:#f5c6c6; font-size:.9rem; font-weight:500; transition:color .2s; display:block; }
.sc-actions span:hover { color:#fff; }
.sc-bg-icon { font-size:5rem; color:rgba(255,255,255,.1); position:absolute; right:1.5rem; bottom:-.5rem; }

/* Responsive hero */
@media (max-width:1024px) { .hero-form-card{right:20px;width:330px;} .hs-next{right:360px;} }
@media (max-width:768px) {
  .hero-slider { height:340px; }
  .hs-content { max-width:55%; }
  .hs-content h1 { font-size:1.6rem; }
  .hero-form-card { position:static; transform:none; width:100%; border-radius:0; box-shadow:none; border-top:3px solid #c0392b; }
  .hs-next { right:60px; }
  .sc-grid { grid-template-columns:1fr; }
  .sc-card { padding:1.5rem; }
}

/* ============================================================
   FOOTER STYLES  ── Missing section, now added
   ============================================================ */
/* ============================================================
   FOOTER ENHANCEMENTS – Modern & Polished
   ============================================================ */

.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Footer grid – better spacing */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding: 60px 20px 50px;
}

/* Brand column */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.2rem;
  transition: opacity 0.2s;
}
.footer-logo i {
  color: var(--primary);
  font-size: 1.6rem;
}
.footer-logo strong {
  color: var(--primary);
}
.footer-logo:hover {
  opacity: 0.9;
  color: #fff;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

/* Social icons – modern style */
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Footer link headings */
.footer-links h3,
.footer-contact h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Link lists */
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin-bottom: 0.65rem;
}
.footer-links ul a,
.footer-contact ul a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.footer-links ul a i {
  font-size: 0.7rem;
  color: var(--primary);
  opacity: 0.7;
  transition: transform 0.2s;
}
.footer-links ul a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-links ul a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* Contact column – email only */
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #94a3b8;
  font-size: 0.88rem;
}
.footer-contact ul li i {
  color: var(--primary);
  font-size: 1rem;
  width: 20px;
}
.footer-contact ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact ul li a:hover {
  color: #fff;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 20px;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-bottom-inner p {
  color: #64748b;
  font-size: 0.82rem;
  margin: 0;
}
.footer-bottom-inner a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-inner a:hover {
  color: var(--primary);
}

/* Responsive footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 45px 20px 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }
  .footer-links h3::after,
  .footer-contact h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links ul a {
    justify-content: center;
  }
  .footer-contact ul li {
    justify-content: center;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   MOBILE RESPONSIVENESS — Complete overhaul
   Targets: 320px phones, 480px small phones, 768px tablets
   ============================================================ */

/* ── Base mobile resets ────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
img  { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* ── Mobile nav ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .mobile-menu.open { display: block; }
  .mobile-menu ul   { gap: .35rem; }
  .mobile-menu a    { padding: .8rem 1rem; font-size: .95rem; border-radius: 8px; }
}

/* ── Homepage hero slider ──────────────────────────────────── */
@media (max-width: 900px) {
  /* Stack slider above form on mobile */
  .hs-wrap {
    display: flex;
    flex-direction: column;
    height: auto !important;
  }
  .hs-slide {
    position: relative !important;
    height: 300px;
    display: none;
    flex-direction: column;
    justify-content: center;
  }
  .hs-slide.hs-active { display: flex; }

  .hs-text {
    padding: 0 1.25rem;
    max-width: 100%;
  }
  .hs-text h1       { font-size: 1.65rem; }
  .hs-text p        { font-size: .88rem; margin-bottom: 1.25rem; }
  .hs-btns          { flex-direction: column; gap: .6rem; }
  .hs-btns a        { width: 100%; justify-content: center; text-align: center; }
  .hs-badge         { font-size: .72rem; }

  /* Floating form goes below slider */
  .hf-card {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-top: 3px solid #9B1C1C;
  }
  .hf-row           { grid-template-columns: 1fr !important; gap: .55rem; }
  .hs-help-tab      { display: none; }
  .hs-arrow         { display: none; }
  .hs-dots          { bottom: 310px; }   /* position above form */
}

@media (max-width: 480px) {
  .hs-slide { height: 250px; }
  .hs-text h1 { font-size: 1.35rem; }
}

/* ── School type cards (below hero) ───────────────────────── */
@media (max-width: 900px) {
  .stype-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .stype-grid { grid-template-columns: 1fr !important; }
  .stype-card { min-height: 140px; padding: 1.25rem; }
  .stype-card h3 { font-size: 1rem; }
}

/* ── Search bar ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .search-form {
    grid-template-columns: 1fr !important;
    gap: .75rem;
  }
  .search-form .form-group { margin: 0; }
  .search-form button { width: 100%; }
}

/* ── School listing layout (sidebar + grid) ───────────────── */
@media (max-width: 900px) {
  .listing-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  .sidebar { position: static !important; }
}

/* ── School cards grid ─────────────────────────────────────── */
@media (max-width: 768px) {
  .schools-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .schools-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Stats strip ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .info-strip-inner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
    padding: 40px 20px;
  }
  .info-strip-inner .num   { font-size: 2rem; }
  .info-strip-inner .label { font-size: .8rem; }
}
@media (max-width: 360px) {
  .info-strip-inner { grid-template-columns: 1fr 1fr !important; }
}

/* ── How it works steps ────────────────────────────────────── */
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem; }
  .step-number { width: 48px; height: 48px; font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr !important; }
}

/* ── Testimonials ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr !important; }
}

/* ── School detail page ────────────────────────────────────── */
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr !important;
    padding: 1.5rem 0;
  }
  .detail-sidebar-card { position: static !important; }
  .detail-hero         { height: 260px; }
  .detail-hero-content h1 { font-size: 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .detail-hero { height: 200px; }
  .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: .5rem; }
  .gallery-grid img { height: 120px; }
}

/* ── About page ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-two-col { grid-template-columns: 1fr !important; gap: 2rem; }
  .mvv-grid      { grid-template-columns: 1fr !important; gap: 1rem; }
}

/* ── Contact page ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr !important; gap: 1.5rem; }
}

/* ── Forms ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .form-container { padding: 1.5rem 1rem !important; margin-top: 0 !important; }
  .form-row       { grid-template-columns: 1fr !important; gap: .75rem; }
}

/* ── Footer ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 1.5rem; padding: 40px 20px 30px; }
}
@media (max-width: 580px) {
  .footer-grid         { grid-template-columns: 1fr !important; }
  .footer-brand        { max-width: 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: .35rem; }
}

/* ── Admin: sidebar hidden on mobile ──────────────────────── */
@media (max-width: 900px) {
  .adm-sidebar {
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  .adm-sidebar.open { transform: translateX(0); }
  .adm-main    { margin-left: 0 !important; }
  .adm-hamburger { display: flex !important; }
  .stat-grid   { grid-template-columns: repeat(2,1fr) !important; }
  .adm-filter  { flex-direction: column; }
  .adm-filter select, .adm-filter input { min-width: unset; width: 100%; }
}
@media (max-width: 480px) {
  .stat-grid   { grid-template-columns: 1fr 1fr !important; }
  .adm-content { padding: 1rem !important; }
  .panel-head  { flex-direction: column; align-items: flex-start; }
  .adm-table th:nth-child(n+5),
  .adm-table td:nth-child(n+5) { display: none; }   /* hide extra cols on tiny screens */
}

/* ── Pagination mobile ─────────────────────────────────────── */
@media (max-width: 480px) {
  .pagination { flex-wrap: wrap; gap: .3rem; }
  .pagination a, .pagination span { width: 36px; height: 36px; font-size: .82rem; }
}

/* ── General content sections ──────────────────────────────── */
@media (max-width: 768px) {
  .section    { padding: 50px 0; }
  .section-sm { padding: 30px 0; }
  h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.25rem, 4vw, 1.8rem); }
  .section-header { margin-bottom: 30px; }
  .hero-buttons { flex-direction: column; gap: .75rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats .container { grid-template-columns: repeat(2,1fr) !important; }
  .hero-stat .stat-num { font-size: 1.5rem; }
}

/* ── Container padding on small screens ────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
}

/* ── 5-card full-width school type grid (PDF spec) ────────── */
.stype-grid-full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
}
.stype-card-fw {
  padding: 1.75rem 1.25rem 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 175px;
  transition: filter .25s;
}
.stype-card-fw:hover { filter: brightness(1.1); }
.stype-card-fw::before {
  content:''; position:absolute; top:-25px; right:-25px;
  width:100px;height:100px;border-radius:50%;
  background:rgba(255,255,255,.07);
}
.stc-icon-sm { font-size:1.5rem; opacity:.85; margin-bottom:.4rem; }
.stype-card-fw h3 { font-size:1rem; color:#fff; margin-bottom:.2rem; }
.stype-card-fw p  { color:rgba(255,255,255,.72); font-size:.8rem; margin:0 0 1rem; }

@media (max-width:900px)  { .stype-grid-full { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px)  { .stype-grid-full { grid-template-columns: 1fr; } }


/* Fixed banner slider */
.banner-strip {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #000;
}

.banner-strip-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.banner-strip-slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-strip-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-dot {
  transition: all 0.2s;
}