/* ===================================================
   JITER SCHOOLS — SHARED STYLESHEET
   Brand: Cradle of Academic Excellence, Effurun
   =================================================== */

:root {
  --navy: #0B2A6B;
  --navy-deep: #08163D;
  --navy-light: #12388a;
  --sky: #4FC3F7;
  --sky-light: #B3E5FC;
  --red: #E63329;
  --red-hover: #C42920;
  --cream: #FFF3B0;
  --cream-soft: #FFF9E0;
  --off-white: #FAFAFA;
  --white: #FFFFFF;
  --gray-100: #F5F5F7;
  --gray-200: #E5E5E7;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-sm: 0 2px 8px rgba(11,42,107,0.06);
  --shadow-md: 0 4px 20px rgba(11,42,107,0.08);
  --shadow-lg: 0 20px 50px rgba(11,42,107,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-quote: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ SAMPLE BADGE ============ */
.sample-tag {
  display: inline-block;
  background: rgba(255, 193, 7, 0.2);
  color: #b8860b;
  border: 1px dashed #b8860b;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
}

/* ============ ANNOUNCEMENT BAR ============ */
.announcement-bar {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 10px 0;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
}
.announcement-track span { margin: 0 40px; }
.announcement-track i { color: var(--sky); margin-right: 8px; vertical-align: -2px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.3s ease;
  padding: 16px 0;
}
.navbar.scrolled,
.navbar.solid {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  top: 0;
  padding: 12px 0;
}
.navbar.has-announcement:not(.scrolled) { top: 34px; }
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s;
}
.navbar.scrolled .nav-logo,
.navbar.solid .nav-logo { color: var(--navy); }
.nav-logo img { width: 48px; height: 48px; border-radius: 50%; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-text .name { font-size: 15px; display: block; font-weight: 800; letter-spacing: -0.3px; }
.nav-logo-text .sub {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky);
}
.navbar.scrolled .nav-logo-text .sub,
.navbar.solid .nav-logo-text .sub { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 14.5px;
  position: relative;
  transition: color 0.3s;
}
.navbar.scrolled .nav-links a,
.navbar.solid .nav-links a { color: var(--gray-900); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230,51,41,0.35);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  color: var(--white);
  font-size: 28px;
  z-index: 200;
}
.navbar.scrolled .nav-toggle,
.navbar.solid .nav-toggle { color: var(--navy); }

/* ============ DESKTOP DROPDOWN ============ */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links .has-dropdown > a .caret {
  width: 14px; height: 14px;
  transition: transform 0.3s;
}
.nav-links .has-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(11,42,107,0.15);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  border: 1px solid var(--gray-200);
  margin-top: 14px;
  z-index: 10;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.dropdown::after {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  border-top: 1px solid var(--gray-200);
}
.nav-links .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gray-700) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.dropdown a::after { display: none !important; }
.dropdown a i { width: 16px; height: 16px; color: var(--gray-400); transition: color 0.2s; }
.dropdown a:hover {
  background: rgba(11,42,107,0.06);
  color: var(--navy) !important;
}
.dropdown a:hover i { color: var(--red); }

/* ============ MOBILE MENU (slide-in panel) ============ */
.mm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 61, 0.5);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.mm-backdrop.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  bottom: 0;
  width: 92%;
  max-width: 380px;
  background: var(--white);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(8, 22, 61, 0.2);
  overflow: hidden;
}
.mobile-menu.open { right: 0; }

.mm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.mm-logo { display: flex; align-items: center; gap: 10px; }
.mm-logo img { width: 40px; height: 40px; border-radius: 50%; }
.mm-logo .txt { line-height: 1.1; }
.mm-logo .name {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  font-size: 14px;
  letter-spacing: -0.2px;
  display: block;
}
.mm-logo .sub {
  color: var(--red);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.mobile-menu .close {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gray-100);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 20px;
}
.mobile-menu .close:hover { background: var(--red); color: var(--white); }

.mm-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mm-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: var(--gray-700);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.mm-nav a i {
  width: 18px; height: 18px;
  color: var(--gray-400);
  transition: color 0.2s;
  flex-shrink: 0;
}
.mm-nav a:hover,
.mm-nav a.active {
  background: rgba(11,42,107,0.06);
  color: var(--navy);
}
.mm-nav a:hover i,
.mm-nav a.active i { color: var(--red); }

.mm-cta {
  margin: 8px 16px 16px;
  background: var(--red);
  color: var(--white) !important;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.mm-cta:hover { background: var(--red-hover); }
.mm-cta i { width: 16px; height: 16px; }

.mm-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.mm-footer .label {
  font-size: 10px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.mm-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--gray-700);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.mm-footer a i { width: 15px; height: 15px; color: var(--red); }
.mm-footer a:hover { color: var(--navy); }

/* ============ BUTTONS ============ */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(230,51,41,0.35);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(230,51,41,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--red);
  padding: 18px 34px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ============ SECTION BASE ============ */
.section { padding: 100px 0; }
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 32px; height: 2px; background: var(--red);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 700px;
}
.section-title .italic {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.section-lead {
  color: var(--gray-500);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 60px;
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(79,195,247,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(230,51,41,0.12) 0%, transparent 45%);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero .breadcrumb {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-hero .breadcrumb a { color: var(--sky); }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.page-hero h1 .italic {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 500;
  color: var(--cream);
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #B8231A 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: -50px; bottom: -80px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 620px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.footer-brand .footer-logo img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand .footer-logo .name {
  font-family: var(--font-heading);
  font-weight: 800; color: var(--white); font-size: 17px;
  line-height: 1.2;
}
.footer-brand .footer-logo .sub {
  color: var(--sky); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
}
.footer-brand p { font-size: 14px; margin-bottom: 24px; }
.social {
  display: flex; gap: 12px;
}
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all 0.3s;
}
.social a:hover { background: var(--red); transform: translateY(-3px); }
.footer h5 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 15px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: 14px; transition: color 0.3s; }
.footer ul a:hover { color: var(--sky); }
.contact-info li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px;
}
.contact-info i { color: var(--sky); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 32px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .built { color: rgba(255,255,255,0.5); }
.footer-bottom .built a { color: var(--sky); font-weight: 500; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform 0.3s;
  animation: pulseWa 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { font-size: 28px; }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 8px 25px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.6); }
  50% { box-shadow: 0 8px 25px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0); }
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============ CARD BASE ============ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--red);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}
.card h3, .card h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 12px;
}
.card h3 { font-size: 22px; }
.card h4 { font-size: 18px; }
.card p { color: var(--gray-500); font-size: 14.5px; }

/* ============ FORMS ============ */
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
  background: var(--white);
  color: var(--gray-900);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(11,42,107,0.1);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 160px 0 80px; }
}
