/* ============================================================
   MUSABE SCHOOLS — GLOBAL STYLES
   Lizza-inspired design system with Musabe green/red colors
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #1a1a1a;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

/* ---- LIZZA-STYLE SECTION DIVIDERS (Diagonal Clips) ---- */
.section-diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-bottom: 140px;
}
.section-diagonal-top {
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  padding-top: 100px;
  margin-top: -40px;
}

/* ---- LIZZA-STYLE CARDS ---- */
.card-lizza {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(26, 71, 49, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card-lizza:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 71, 49, 0.16);
}
.card-lizza .card-accent-bar {
  width: 4px;
  background: linear-gradient(to bottom, #28a745, #8b1a2e);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px 0 0 4px;
}

/* ---- LIZZA-STYLE BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #28a745;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid #28a745;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover {
  background: #1e7e34;
  border-color: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
  color: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
  color: #fff;
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8b1a2e;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid #8b1a2e;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-accent:hover {
  background: #c0392b;
  border-color: #c0392b;
  transform: translateY(-2px);
  color: #fff;
}

/* ---- SECTION LABELS (Lizza "eyebrow" style) ---- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #28a745;
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: #28a745;
  border-radius: 2px;
}
.section-eyebrow.accent { color: #8b1a2e; }
.section-eyebrow.accent::before { background: #8b1a2e; }

/* ---- DECORATIVE BACKGROUND NUMBER (Lizza feature) ---- */
.deco-number {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 160px;
  color: rgba(26, 71, 49, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---- ICON BOXES (Lizza feature section style) ---- */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #e8f5ee;
  color: #1a4731;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.icon-box.accent { background: #f5e6e9; color: #8b1a2e; }
.icon-box.secondary { background: #d4edda; color: #1e7e34; }
.card-lizza:hover .icon-box {
  background: #1a4731;
  color: #ffffff;
  transform: rotate(-5deg) scale(1.05);
}

/* ---- STAT COUNTER (Lizza animated stats) ---- */
.stat-counter {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: #ffffff;
  line-height: 1;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* ---- HERO ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.animate-fade-up   { animation: fadeInUp 0.7s ease forwards; }
.animate-fade-left { animation: fadeInLeft 0.7s ease forwards; }
.animate-float     { animation: floatBadge 3s ease-in-out infinite; }
.animate-delay-1   { animation-delay: 0.15s; }
.animate-delay-2   { animation-delay: 0.3s; }
.animate-delay-3   { animation-delay: 0.45s; }

/* ---- IMAGE HOVER ZOOM (Lizza image style) ---- */
.img-hover-zoom { overflow: hidden; }
.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-hover-zoom:hover img { transform: scale(1.08); }

/* ---- BADGE / TAG CHIPS ---- */
.badge-green {
  display: inline-block;
  background: #d4edda;
  color: #1a4731;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.badge-red {
  background: #f5e6e9;
  color: #8b1a2e;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.badge-primary {
  background: #1a4731;
  color: #ffffff;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ---- SECTION HEADING UNDERLINE DECORATION ---- */
.heading-decorated {
  position: relative;
  display: inline-block;
}
.heading-decorated::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #8b1a2e);
  border-radius: 4px;
}

/* ---- LIZZA TESTIMONIAL QUOTE STYLE ---- */
.quote-card {
  border-left: 5px solid #28a745;
  background: #e8f5ee;
  border-radius: 0 16px 16px 0;
  padding: 24px;
}
.quote-card::before {
  content: '"';
  font-size: 64px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #28a745;
  line-height: 0.6;
  display: block;
  margin-bottom: 12px;
}

/* ---- SCROLLBAR STYLE ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1a4731; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #28a745; }

/* ---- FORM INPUTS ---- */
.form-input {
  width: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease;
  outline: none;
  background: #fff;
}
.form-input:focus {
  border-color: #1a4731;
}

/* ---- RESPONSIVE HELPERS ---- */
@media (max-width: 768px) {
  .section-diagonal-bottom { padding-bottom: 100px; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .deco-number { font-size: 80px; }
  .stat-counter { font-size: 40px; }
}

/* ---- PAGE TRANSITIONS ---- */
.page-enter { opacity: 0; transform: translateY(10px); }
.page-enter-active { transition: opacity 0.3s, transform 0.3s; }
