/* ============================================
   CSP EXCELLENCE LEARNING SCHOOLS
   Global Stylesheet
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0a1f44;
  --navy-light:  #132952;
  --navy-dark:   #07162e;
  --orange:      #f57c00;
  --orange-light:#ff9800;
  --gold:        #ffc107;
  --white:       #ffffff;
  --off-white:   #f9f7f2;
  --gray:        #5a6378;
  --light-gray:  #eef1f8;
  --green:       #2e7d32;
  --purple:      #6a1b9a;
  --teal:        #1a5f7a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--navy);
  background: var(--off-white);
  overflow-x: hidden;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 8px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--orange-light); text-decoration: none; }
.topbar .sep { margin: 0 10px; opacity: 0.4; }

/* ===== NAV ===== */
nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(10,31,68,0.12);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-badge {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--orange);
  border: 2px solid var(--orange);
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.logo-text span { font-size: 0.68rem; color: var(--orange); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.85rem;
  padding: 8px 12px; border-radius: 8px; transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--light-gray); color: var(--orange); }
.nav-cta {
  background: var(--orange) !important; color: var(--white) !important;
  padding: 10px 18px !important; border-radius: 30px !important;
}
.nav-cta:hover { background: var(--orange-light) !important; transform: translateY(-1px); }

/* Language Switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  background: var(--light-gray); border-radius: 30px; padding: 4px;
  margin-left: 8px;
}
.lang-btn {
  text-decoration: none; font-size: 0.75rem; font-weight: 800;
  padding: 5px 12px; border-radius: 24px; transition: all 0.2s;
  color: var(--gray); display: flex; align-items: center; gap: 5px;
}
.lang-btn:hover { color: var(--orange); }
.lang-btn.active { background: var(--navy); color: white; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); margin: 5px 0; transition: all 0.3s;
}
.mobile-menu {
  display: none; background: var(--white); padding: 16px 24px 24px;
  border-top: 1px solid var(--light-gray); box-shadow: 0 8px 30px rgba(10,31,68,0.1);
}
.mobile-menu a {
  display: block; padding: 12px 0; color: var(--navy); text-decoration: none;
  font-weight: 700; border-bottom: 1px solid var(--light-gray); font-size: 0.95rem;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: block; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 60%, #0d2847 100%);
  padding: 70px 24px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,124,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.page-hero-breadcrumb a { color: var(--orange-light); text-decoration: none; }
.page-hero-breadcrumb a:hover { text-decoration: underline; }
.page-hero-label {
  display: inline-block; color: var(--orange); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  color: var(--white); line-height: 1.2; margin-bottom: 14px;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.7; max-width: 620px; }

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; color: var(--orange); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900;
  color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.section-title span { color: var(--orange); }
.section-subtitle { color: var(--gray); font-size: 0.97rem; line-height: 1.7; max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white; text-decoration: none; padding: 13px 28px; border-radius: 50px;
  font-weight: 800; font-size: 0.92rem; transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(245,124,0,0.35);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(245,124,0,0.45); }
.btn-outline-navy {
  border: 2px solid var(--navy); color: var(--navy); text-decoration: none;
  padding: 12px 26px; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-navy:hover { background: var(--navy); color: white; }
.btn-white {
  background: white; color: var(--orange); text-decoration: none; padding: 13px 28px;
  border-radius: 50px; font-weight: 800; font-size: 0.92rem; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* ===== CARDS ===== */
.card {
  background: var(--white); border-radius: 20px; padding: 28px 30px;
  box-shadow: 0 4px 25px rgba(10,31,68,0.07); transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 45px rgba(10,31,68,0.12); }

/* ===== ICON BOX ===== */
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.icon-orange { background: rgba(245,124,0,0.12); }
.icon-navy   { background: rgba(10,31,68,0.08); }
.icon-green  { background: rgba(46,125,50,0.1); }
.icon-gold   { background: rgba(255,193,7,0.12); }
.icon-teal   { background: rgba(26,95,122,0.1); }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--light-gray); margin: 28px 0; }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 30px; font-size: 0.75rem; font-weight: 700;
}
.badge-orange { background: rgba(245,124,0,0.1); color: var(--orange); border: 1px solid rgba(245,124,0,0.25); }
.badge-navy   { background: rgba(10,31,68,0.08); color: var(--navy); border: 1px solid rgba(10,31,68,0.12); }
.badge-gold   { background: rgba(255,193,7,0.12); color: #7a5e00; border: 1px solid rgba(255,193,7,0.3); }
.badge-green  { background: rgba(46,125,50,0.1); color: var(--green); border: 1px solid rgba(46,125,50,0.2); }

/* ===== LIST ===== */
.check-list { list-style: none; }
.check-list li {
  display: flex; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--light-gray); font-size: 0.88rem; color: var(--gray); line-height: 1.5;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; color: var(--orange); font-weight: 900; flex-shrink: 0; }

/* ===== INFO BOX ===== */
.info-box {
  border-radius: 14px; padding: 18px 22px; font-size: 0.88rem; line-height: 1.6;
}
.info-box-orange { background: rgba(245,124,0,0.07); border: 1px solid rgba(245,124,0,0.2); color: var(--orange); }
.info-box-navy   { background: rgba(10,31,68,0.05); border: 1px solid rgba(10,31,68,0.1); color: var(--navy); }
.info-box-gold   { background: rgba(255,193,7,0.1); border: 1px solid rgba(255,193,7,0.3); color: #7a5e00; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--orange), #e65100);
  padding: 60px 24px; text-align: center;
}
.cta-strip h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: white; margin-bottom: 12px; font-weight: 900;
}
.cta-strip p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 24px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 24px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 14px; }
.footer-col-title { font-weight: 800; color: white; font-size: 0.85rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-row { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 0.83rem; }
.footer-contact-row a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact-row a:hover { color: var(--orange); }
.footer-motto {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,124,0,0.15); border: 1px solid rgba(245,124,0,0.3);
  color: var(--orange-light); padding: 7px 16px; border-radius: 30px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; margin-top: 16px;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
.footer-bottom-decree { color: rgba(255,255,255,0.3); font-size: 0.72rem; max-width: 600px; }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 58px; height: 58px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  text-decoration: none; transition: all 0.3s; font-size: 1.6rem;
}
.whatsapp-fab:hover { transform: scale(1.12); box-shadow: 0 10px 35px rgba(37,211,102,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 50px 20px 60px; }
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 0.6s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
