@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --yellow: #FFD93D;
  --orange: #FF6B35;
  --green: #6BCB77;
  --blue: #4D96FF;
  --pink: #FF6B9D;
  --purple: #C77DFF;
  --cream: #FFF8F0;
  --dark: #2D2D2D;
  --white: #FFFFFF;
  --shadow: 4px 4px 0px rgba(0,0,0,0.15);
  --shadow-hover: 6px 6px 0px rgba(0,0,0,0.2);
}

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

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

/* ===== NAVBAR ===== */
nav {
  background: var(--white);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--dark);
  box-shadow: 0 3px 0 var(--dark);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 1rem 0;
}

.nav-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border-radius: 12px;
  border: 2.5px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
}

.nav-logo span {
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  color: var(--dark);
  line-height: 1.1;
}

.nav-logo span em {
  color: var(--orange);
  font-style: normal;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  border: 2px solid var(--dark) !important;
  box-shadow: var(--shadow) !important;
}

.nav-cta:hover {
  background: var(--dark) !important;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF0E0 100%);
}

.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 3px solid var(--dark);
  animation: float 4s ease-in-out infinite;
}

.shape-1 { width: 80px; height: 80px; background: var(--yellow); border-radius: 50%; top: 10%; right: 15%; animation-delay: 0s; }
.shape-2 { width: 60px; height: 60px; background: var(--green); border-radius: 12px; top: 60%; right: 25%; animation-delay: 1s; transform: rotate(30deg); }
.shape-3 { width: 50px; height: 50px; background: var(--pink); border-radius: 50%; bottom: 20%; right: 10%; animation-delay: 2s; }
.shape-4 { width: 90px; height: 90px; background: var(--blue); border-radius: 50% 12px 50% 12px; top: 25%; left: 5%; animation-delay: 0.5s; }
.shape-5 { width: 40px; height: 40px; background: var(--purple); border-radius: 50%; bottom: 30%; left: 10%; animation-delay: 1.5s; }

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

.shape-2 { animation: float2 5s ease-in-out infinite; }
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(30deg); }
  50% { transform: translateY(-15px) rotate(45deg); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-text h1 .highlight-yellow { background: var(--yellow); padding: 0 8px; border-radius: 6px; }
.hero-text h1 .highlight-green { background: var(--green); padding: 0 8px; border-radius: 6px; }

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2.5px solid var(--dark);
  box-shadow: var(--shadow);
  transition: all 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.school-card {
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 8px 8px 0 var(--dark);
  text-align: center;
  max-width: 340px;
  width: 100%;
}

.school-card .big-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.school-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--orange);
}

.school-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed #eee;
}

.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: var(--blue);
}
.stat span { font-size: 0.8rem; color: #888; font-weight: 700; }

/* ===== SECTIONS ===== */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--yellow);
  border: 2px solid var(--dark);
  border-radius: 30px;
  padding: 0.3rem 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: #666;
  font-weight: 600;
  max-width: 600px;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-section {
  background: var(--white);
  border-top: 3px solid var(--dark);
  border-bottom: 3px solid var(--dark);
  max-width: 100%;
  padding: 5rem 2rem;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--cream);
  border: 2.5px solid var(--dark);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===== EVENTS / NEWS CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  border: 2.5px solid var(--dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--dark);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.card-banner {
  height: 8px;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-date {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-item {
  border: 2.5px solid var(--dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 2rem;
  color: white;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  border: 3px solid white;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--white);
  border: 2px solid var(--dark);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 2px solid var(--dark);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-weight: 800; margin-bottom: 0.2rem; }
.contact-item span { font-size: 0.9rem; color: #555; }

.contact-form {
  background: var(--white);
  border: 2.5px solid var(--dark);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 6px 6px 0 var(--dark);
}

.contact-form h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--orange);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--dark);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  background: var(--cream);
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== ADMISSION ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border: 2.5px solid var(--dark);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.step-item:hover {
  transform: translateX(6px);
  box-shadow: 6px 4px 0 var(--dark);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--white);
}

.step-item h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.step-item p { font-size: 0.9rem; color: #666; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
  border-top: 3px solid var(--dark);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--yellow);
}

.footer-brand p { font-size: 0.9rem; color: #aaa; line-height: 1.6; }

.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: #aaa; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-col ul li span { color: #aaa; font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 3px solid var(--dark);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.03) 20px,
    rgba(255,255,255,0.03) 40px
  );
}

.page-header h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.page-header p {
  font-size: 1.05rem;
  color: #aaa;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* ===== PRINCIPAL MESSAGE ===== */
.principal-box {
  background: var(--white);
  border: 2.5px solid var(--dark);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 8px 8px 0 var(--orange);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.principal-avatar {
  width: 80px;
  height: 80px;
  background: var(--yellow);
  border-radius: 50%;
  border: 3px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.principal-box blockquote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  border-left: 4px solid var(--orange);
  padding-left: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.principal-box cite {
  font-weight: 800;
  font-style: normal;
  color: var(--orange);
}

/* ===== COLOR BANDS ===== */
.color-band {
  height: 8px;
  background: linear-gradient(to right, var(--yellow), var(--orange), var(--pink), var(--purple), var(--blue), var(--green));
}

/* ===== ADMISSION PAGE ===== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.doc-card {
  background: var(--white);
  border: 2px solid var(--dark);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.doc-card .doc-icon {
  font-size: 1.4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    border-bottom: 3px solid var(--dark);
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 10px; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1rem;
  }

  .hero-btns { justify-content: center; }
  .hero-illustration { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .principal-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .principal-box blockquote {
    border-left: none;
    border-top: 4px solid var(--orange);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Notice board style */
.notice-board {
  background: #FFF3CD;
  border: 3px solid var(--dark);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 6px 6px 0 var(--dark);
  position: relative;
  margin-bottom: 3rem;
}

.notice-board::before {
  content: '📌 NOTICE BOARD';
  position: absolute;
  top: -1.2rem;
  left: 1.5rem;
  background: var(--orange);
  color: white;
  border: 2px solid var(--dark);
  border-radius: 30px;
  padding: 0.25rem 1rem;
  font-weight: 800;
  font-size: 0.8rem;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #ccc;
  font-size: 0.95rem;
  font-weight: 600;
}

.notice-item:last-child { border-bottom: none; }

.notice-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Colorful separators */
.wavy-sep {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
