/* ============================================
   BUSY BEES ENGLISH MEDIUM SCHOOL - STYLESHEET
   Colorful, Playful, Mobile-Friendly
   ============================================ */

/* ---------- Flash Announcement Banner ---------- */
.flash-banner {
  background: linear-gradient(90deg, #1b5e20, #2e7d32, #43a047, #2e7d32, #1b5e20);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.flash-banner-track {
  display: inline-block;
  animation: flashScroll 18s linear infinite;
}
.flash-banner-text {
  display: inline-block;
  padding-right: 60px;
}
@keyframes flashScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}
.flash-banner-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.3s;
}
.flash-banner-close:hover {
  background: rgba(255,255,255,0.4);
}

/* ---------- CSS Variables ---------- */
:root {
  --bee-yellow: #FFD700;
  --bee-orange: #FF8C00;
  --bee-red: #FF4757;
  --bee-pink: #FF6B9D;
  --bee-purple: #A855F7;
  --bee-blue: #3B82F6;
  --bee-sky: #38BDF8;
  --bee-green: #22C55E;
  --bee-lime: #84CC16;
  --bee-dark: #1E293B;
  --bee-gray: #64748B;
  --bee-light: #F8FAFC;
  --bee-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--bee-dark);
  background: var(--bee-light);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--bee-yellow), var(--bee-orange));
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--bee-gray);
  margin-top: 18px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Floating School Supplies Background ---------- */
.floating-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.floating-bg .item {
  position: absolute;
  font-size: 2rem;
  opacity: 0.07;
  animation: floatItem 20s ease-in-out infinite;
}
.floating-bg .item:nth-child(odd) { animation-direction: reverse; }
@keyframes floatItem {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(10deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
  75% { transform: translateY(-40px) rotate(8deg); }
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: linear-gradient(135deg, var(--bee-blue), var(--bee-purple));
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: white; opacity: 0.9; transition: var(--transition); }
.top-bar a:hover { opacity: 1; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-social { display: flex; align-items: center; gap: 12px; }
.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  opacity: 1;
  transition: var(--transition);
}
.top-bar-social a:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.15);
}

/* ---------- Navbar ---------- */
.navbar {
  background: var(--bee-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 6px;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
}
.nav-logo .logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--bee-yellow), var(--bee-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  animation: buzzing 2s ease-in-out infinite;
}
@keyframes buzzing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg) scale(1.05); }
  75% { transform: rotate(-5deg) scale(1.05); }
}
.nav-logo span { color: var(--bee-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  border-top: 1px solid #eee;
  padding: 6px 10px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(135deg, var(--bee-yellow), var(--bee-orange));
  color: var(--bee-dark);
  transform: translateY(-2px);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background: var(--bee-orange);
  border-radius: 10px;
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--bee-dark);
  border-radius: 10px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ---------- Hero Section ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 30%, #DBEAFE 60%, #EDE9FE 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bee-orange);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--bee-yellow), var(--bee-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--bee-gray);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

/* Hero Decorative Elements */
.hero-decoration {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 650px;
  z-index: 1;
}
.hero-circle {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bee-yellow), var(--bee-orange), var(--bee-pink));
  opacity: 0.15;
  position: relative;
}
.hero-animals {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-animals .animal {
  position: absolute;
  font-size: 3.5rem;
  animation: bounce 3s ease-in-out infinite;
}
.hero-animals .animal:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.hero-animals .animal:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.5s; }
.hero-animals .animal:nth-child(3) { bottom: 25%; left: 15%; animation-delay: 1s; }
.hero-animals .animal:nth-child(4) { bottom: 15%; right: 20%; animation-delay: 1.5s; }
.hero-animals .animal:nth-child(5) { top: 45%; left: 45%; animation-delay: 0.8s; font-size: 4.5rem; }
.hero-animals .animal:nth-child(6) { top: 5%; left: 50%; animation-delay: 1.2s; }
.hero-animals .animal:nth-child(7) { bottom: 5%; left: 45%; animation-delay: 0.3s; }

.hero-supplies {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.hero-supplies .supply {
  position: absolute;
  font-size: 2rem;
  opacity: 0.5;
  animation: floatSupply 6s ease-in-out infinite;
}
.hero-supplies .supply:nth-child(1) { top: 8%; right: 5%; animation-delay: 0s; }
.hero-supplies .supply:nth-child(2) { top: 30%; right: 2%; animation-delay: 1s; }
.hero-supplies .supply:nth-child(3) { bottom: 10%; right: 8%; animation-delay: 2s; }
.hero-supplies .supply:nth-child(4) { top: 60%; right: 0; animation-delay: 0.5s; }
.hero-supplies .supply:nth-child(5) { top: 15%; left: 5%; animation-delay: 1.5s; }

@keyframes floatSupply {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--bee-yellow), var(--bee-orange));
  color: var(--bee-dark);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.45);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--bee-dark);
  color: var(--bee-dark);
}
.btn-outline:hover {
  background: var(--bee-dark);
  color: white;
  transform: translateY(-3px);
}
.btn-white {
  background: white;
  color: var(--bee-dark);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--bee-white);
  padding: 40px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--bee-orange), var(--bee-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--bee-gray);
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Featured Images Slider ---------- */
.featured-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bee-light) 0%, #FEF9EE 100%);
}
.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  min-width: 100%;
  aspect-ratio: 16/7;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: white;
}
.slide-content h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.slide-content p { font-size: 1rem; opacity: 0.9; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover { transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dots .dot.active {
  background: var(--bee-orange);
  transform: scale(1.3);
}

/* ---------- Highlights / Features ---------- */
.highlights-section {
  padding: 80px 0;
  background: white;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.highlight-card {
  background: var(--bee-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.highlight-card:nth-child(1)::before { background: linear-gradient(90deg, var(--bee-yellow), var(--bee-orange)); }
.highlight-card:nth-child(2)::before { background: linear-gradient(90deg, var(--bee-blue), var(--bee-sky)); }
.highlight-card:nth-child(3)::before { background: linear-gradient(90deg, var(--bee-green), var(--bee-lime)); }
.highlight-card:nth-child(4)::before { background: linear-gradient(90deg, var(--bee-pink), var(--bee-red)); }
.highlight-card:nth-child(5)::before { background: linear-gradient(90deg, var(--bee-purple), var(--bee-blue)); }
.highlight-card:nth-child(6)::before { background: linear-gradient(90deg, var(--bee-orange), var(--bee-red)); }

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bee-yellow);
}
.highlight-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.highlight-card:nth-child(1) .highlight-icon { background: #FEF3C7; }
.highlight-card:nth-child(2) .highlight-icon { background: #DBEAFE; }
.highlight-card:nth-child(3) .highlight-icon { background: #DCFCE7; }
.highlight-card:nth-child(4) .highlight-icon { background: #FCE7F3; }
.highlight-card:nth-child(5) .highlight-icon { background: #EDE9FE; }
.highlight-card:nth-child(6) .highlight-icon { background: #FFF7ED; }
.highlight-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.highlight-card p { font-size: 0.95rem; color: var(--bee-gray); }

/* ---------- Schools Section ---------- */
.schools-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFF7ED 0%, #DBEAFE 50%, #EDE9FE 100%);
}
.schools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.school-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.school-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.school-card-header {
  padding: 30px;
  color: white;
  text-align: center;
}
.school-card:nth-child(1) .school-card-header { background: linear-gradient(135deg, var(--bee-green), #059669); }
.school-card:nth-child(2) .school-card-header { background: linear-gradient(135deg, var(--bee-blue), #2563EB); }
.school-card:nth-child(3) .school-card-header { background: linear-gradient(135deg, var(--bee-purple), #7C3AED); }
.school-card-header .school-emoji { font-size: 3rem; margin-bottom: 10px; display: block; }
.school-card-header h3 { font-size: 1.4rem; font-weight: 800; }
.school-card-header p { font-size: 0.9rem; opacity: 0.9; margin-top: 4px; }
.school-card-body {
  padding: 24px 30px;
}
.school-card-body .info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.95rem;
}
.school-card-body .info-row:last-child { border-bottom: none; }
.school-card-body .info-row .info-icon { font-size: 1.2rem; }
.school-card-body .info-row .info-label { color: var(--bee-gray); }
.school-card-body .info-row .info-value { font-weight: 700; margin-left: auto; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bee-orange), var(--bee-red), var(--bee-pink));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '🐝';
  position: absolute;
  font-size: 15rem;
  opacity: 0.08;
  top: -20px;
  right: -20px;
  animation: buzzing 3s ease-in-out infinite;
}
.cta-banner h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 16px; }
.cta-banner p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bee-dark);
  color: white;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer-about .footer-logo span { color: var(--bee-yellow); }
.footer-about p { color: #94A3B8; font-size: 0.95rem; line-height: 1.8; }
.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px;
  height: 3px;
  background: var(--bee-yellow);
  border-radius: 10px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #94A3B8;
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--bee-yellow); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid #334155;
  padding: 20px 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: #94A3B8; font-size: 0.85rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--bee-yellow);
  color: var(--bee-dark);
  transform: translateY(-3px);
}

/* ---------- Page Header (for inner pages) ---------- */
.page-header {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header.yellow-theme { background: linear-gradient(135deg, #FEF3C7, #FFF7ED, #FDE68A); }
.page-header.blue-theme { background: linear-gradient(135deg, #DBEAFE, #EFF6FF, #BFDBFE); }
.page-header.green-theme { background: linear-gradient(135deg, #DCFCE7, #F0FDF4, #BBF7D0); }
.page-header.pink-theme { background: linear-gradient(135deg, #FCE7F3, #FDF2F8, #FBCFE8); }
.page-header.purple-theme { background: linear-gradient(135deg, #EDE9FE, #F5F3FF, #DDD6FE); }
.page-header.orange-theme { background: linear-gradient(135deg, #FFF7ED, #FFEDD5, #FED7AA); }

.page-header-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 16px;
  animation: bounce 2s ease-in-out infinite;
}
.page-header h1 {
  font-size: 2.8rem;
  font-weight: 900;
}
.page-header .breadcrumb {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--bee-gray);
}
.page-header .breadcrumb a { color: var(--bee-orange); font-weight: 600; }

/* Header floating items */
.page-header .floating-emoji {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.15;
  animation: floatSupply 8s ease-in-out infinite;
}

/* ---------- Content Sections ---------- */
.content-section { padding: 60px 0; }
.content-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  transition: var(--transition);
}
.content-card:hover { box-shadow: var(--shadow-md); }
.content-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.content-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 20px 0 12px;
}

/* ---------- Tables ---------- */
.table-responsive { overflow-x: auto; }
.styled-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.styled-table thead {
  background: linear-gradient(135deg, var(--bee-blue), var(--bee-purple));
  color: white;
}
.styled-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.styled-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.95rem;
}
.styled-table tbody tr:hover { background: #F8FAFC; }
.styled-table tbody tr:nth-child(even) { background: #FAFBFD; }
.styled-table.orange-header thead { background: linear-gradient(135deg, var(--bee-orange), var(--bee-red)); }
.styled-table.green-header thead { background: linear-gradient(135deg, var(--bee-green), #059669); }
.styled-table.purple-header thead { background: linear-gradient(135deg, var(--bee-purple), #7C3AED); }

/* ---------- Staff Grid ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.staff-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.staff-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #CBD5E1;
  overflow: hidden;
  position: relative;
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-photo .placeholder-icon { font-size: 3.5rem; }
.staff-info {
  padding: 16px;
}
.staff-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bee-dark);
  margin-bottom: 4px;
}
.staff-info p {
  font-size: 0.85rem;
  color: var(--bee-gray);
  font-weight: 500;
}
.staff-category {
  margin-top: 50px;
}
.staff-category h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--bee-yellow);
  display: inline-block;
}

/* ---------- Calendar ---------- */
.calendar-month {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.calendar-month h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.calendar-event {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}
.calendar-event:last-child { border-bottom: none; }
.event-date {
  min-width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  color: white;
  flex-shrink: 0;
}
.event-date .month { font-size: 0.65rem; text-transform: uppercase; font-weight: 600; }
.event-date.yellow { background: linear-gradient(135deg, var(--bee-yellow), var(--bee-orange)); color: var(--bee-dark); }
.event-date.blue { background: linear-gradient(135deg, var(--bee-blue), var(--bee-sky)); }
.event-date.green { background: linear-gradient(135deg, var(--bee-green), var(--bee-lime)); }
.event-date.pink { background: linear-gradient(135deg, var(--bee-pink), var(--bee-red)); }
.event-date.purple { background: linear-gradient(135deg, var(--bee-purple), var(--bee-blue)); }
.event-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.event-info p { font-size: 0.9rem; color: var(--bee-gray); }

/* ---------- Uniform Colors ---------- */
.uniform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.uniform-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.uniform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.uniform-card-header {
  padding: 24px;
  color: white;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
}
.uniform-card-body { padding: 24px; }
.uniform-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.95rem;
}
.uniform-item:last-child { border-bottom: none; }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-icon.yellow { background: #FEF3C7; }
.contact-icon.blue { background: #DBEAFE; }
.contact-icon.green { background: #DCFCE7; }
.contact-icon.pink { background: #FCE7F3; }
.contact-detail h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.contact-detail p { font-size: 0.9rem; color: var(--bee-gray); }

.contact-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--bee-orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Map ---------- */
.map-section {
  padding: 60px 0;
}
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--bee-gray);
}

/* ---------- 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 fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  75% { transform: rotate(-3deg); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Rainbow divider */
.rainbow-divider {
  height: 5px;
  background: linear-gradient(90deg,
    var(--bee-red),
    var(--bee-orange),
    var(--bee-yellow),
    var(--bee-green),
    var(--bee-blue),
    var(--bee-purple),
    var(--bee-pink));
  border: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 10px; font-size: 0.78rem; }
  .nav-links { gap: 1px; }
}

@media (max-width: 992px) {
  .nav-top-row {
    justify-content: space-between;
  }
  /* Switch to hamburger menu at 992px for 10 nav items */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    align-items: flex-start;
    overflow-y: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-top: none;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
  }
  .nav-links a:last-child { border-bottom: none; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 2.5rem; }
  .hero-decoration { display: none; }
  .hero { min-height: auto; padding: 80px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .schools-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar-right { display: none; }

  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .page-header { padding: 80px 0 40px; }
  .page-header h1 { font-size: 2rem; }
  .content-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
  .cta-banner h2 { font-size: 1.8rem; }

  /* Tables scroll horizontally on mobile */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .styled-table { min-width: 500px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
  .container { padding: 0 16px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header h1 { font-size: 1.6rem; }
  .content-card { padding: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta-banner { padding: 40px 0; }
  .cta-banner h2 { font-size: 1.5rem; }
}

/* Overlay for mobile menu */
.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bee-yellow), var(--bee-orange));
  color: var(--bee-dark);
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px) scale(1.1); }

/* ---------- Real Logo Override ---------- */
.nav-logo .logo-icon {
  background: none;
  overflow: visible;
  padding: 0;
  width: 65px;
  height: 65px;
  border-radius: 0;
}
.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
