/* ===== CSS Variables & Reset ===== */
:root {
  --green-primary: #4CAF50;
  --green-light: #E8F5E9;
  --green-dark: #2E7D32;
  --orange: #FF6F00;
  --orange-light: #FFF3E0;
  --blue: #1976D2;
  --blue-light: #E3F2FD;
  --yellow: #FDD835;
  --yellow-light: #FFFDE7;
  --red: #E53935;
  --purple: #7B1FA2;
  --text-dark: #333;
  --text-medium: #555;
  --text-light: #777;
  --bg-white: #ffffff;
  --bg-cream: #FEFCF3;
  --bg-light: #f9f9f9;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--green-dark);
  color: white;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: white;
  transition: opacity var(--transition);
}

.top-bar a:hover { opacity: 0.8; }

.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar-right a {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Header / Navbar ===== */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 70px;
  width: auto;
  border-radius: 50%;
}

.logo-text h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  color: var(--green-dark);
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
  background: var(--green-light);
}

.nav-links .btn-enroll {
  background: var(--orange);
  color: white;
  padding: 10px 24px;
  font-weight: 700;
}

.nav-links .btn-enroll:hover {
  background: #e56500;
  color: white;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,125,50,0.7) 0%, rgba(255,111,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 650px;
}

.hero-content .badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-content h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-content p {
  color: rgba(255,255,255,0.95);
  font-size: 1.15rem;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover {
  background: #e56500;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--green-dark);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: white;
}

/* ===== Section Shared ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== Features / Why Us ===== */
.features {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.feature-card:hover {
  border-color: var(--green-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.feature-card:nth-child(1) .feature-icon { background: var(--green-light); }
.feature-card:nth-child(2) .feature-icon { background: var(--orange-light); }
.feature-card:nth-child(3) .feature-icon { background: var(--blue-light); }
.feature-card:nth-child(4) .feature-icon { background: var(--yellow-light); }

.feature-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ===== Programs Section ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.program-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.program-card:nth-child(1) .program-image { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.program-card:nth-child(2) .program-image { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.program-card:nth-child(3) .program-image { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.program-card:nth-child(4) .program-image { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }

.program-age {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
}

.program-info {
  padding: 24px;
}

.program-info h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.program-info p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.program-features span {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== About / Welcome Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--green-light), var(--yellow-light));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  font-size: 6rem;
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

.about-text h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.about-text .subtitle {
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.about-text p {
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.stat {
  text-align: center;
}

.stat .number {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  color: var(--green-dark);
  display: block;
  line-height: 1;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--green-primary);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.testimonial-card:nth-child(1) .author-avatar { background: var(--green-primary); }
.testimonial-card:nth-child(2) .author-avatar { background: var(--orange); }
.testimonial-card:nth-child(3) .author-avatar { background: var(--blue); }

.author-info strong {
  display: block;
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.stars {
  color: var(--yellow);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: white;
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  background: white;
}

.cta-banner::before {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -50px;
}

.cta-banner::after {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: -30px;
}

.cta-banner h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--orange);
}

.cta-banner .btn-primary:hover {
  background: white;
  color: var(--green-dark);
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card:nth-child(1) .contact-card-icon { background: var(--green-light); }
.contact-card:nth-child(2) .contact-card-icon { background: var(--blue-light); }
.contact-card:nth-child(3) .contact-card-icon { background: var(--orange-light); }
.contact-card:nth-child(4) .contact-card-icon { background: var(--yellow-light); }

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p, .contact-card a {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.contact-card a:hover {
  color: var(--green-dark);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--bg-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Google Map ===== */
.map-section {
  background: var(--bg-white);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Daily Schedule ===== */
.schedule-table {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-collapse: collapse;
}

.schedule-table th {
  background: var(--green-dark);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
}

.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}

.schedule-table tr:nth-child(even) {
  background: var(--bg-cream);
}

.schedule-table tr:hover {
  background: var(--green-light);
}

/* ===== About Page ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  color: white;
  text-align: center;
  padding: 60px 0;
}

.page-hero h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.team-card:nth-child(1) .team-photo { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.team-card:nth-child(2) .team-photo { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.team-card:nth-child(3) .team-photo { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }

.team-card-info {
  padding: 20px;
}

.team-card-info h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.15rem;
}

.team-card-info .role {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.team-card-info p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 80px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--green-primary);
  transform: translateY(-2px);
}

.footer h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--green-primary); }

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-contact .icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover { color: var(--green-primary); }

/* ===== Mobile Responsive ===== */
@media (max-width: 992px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h2 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hamburger { display: flex; }

  .hero { min-height: 400px; }
  .hero-content { padding: 50px 0; }
  .hero-content h2 { font-size: 2rem; }

  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.8rem; }

  .programs-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-stats {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-content h2 { font-size: 1.7rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .logo img { height: 50px; }
  .logo-text h1 { font-size: 1.2rem; }
}
