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

:root {
  /* Color Palette */
  --clr-yellow: #FFD166;
  --clr-blue: #118AB2;
  --clr-green: #06D6A0;
  --clr-red: #EF476F;
  --clr-sky: #E0F7FA;
  --clr-dark: #073B4C;
  --clr-light: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Shadows & Borders */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.15);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--clr-dark);
  background-color: var(--clr-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-bg-sky {
  background-color: var(--clr-sky);
}

.section-bg-yellow {
  background-color: rgba(255, 209, 102, 0.15);
}

.text-center { text-align: center; }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--clr-blue);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background-color: var(--clr-yellow);
  border-radius: var(--radius-full);
}

/* Typography Utilities */
.text-primary { color: var(--clr-blue); }
.text-accent { color: var(--clr-red); }
.text-green { color: var(--clr-green); }
.text-yellow { color: var(--clr-yellow); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 3px solid transparent;
  z-index: 1;
  position: relative;
}

.btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--clr-red);
  color: var(--clr-light);
  border-color: #d8315b;
}
.btn-primary:hover {
  background-color: #d8315b;
  color: var(--clr-light);
}

.btn-secondary {
  background-color: var(--clr-yellow);
  color: var(--clr-dark);
  border-color: #f7b731;
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-blue);
  border-color: var(--clr-blue);
}
.btn-outline:hover {
  background-color: var(--clr-blue);
  color: var(--clr-light);
}

/* Header & Nav */
.header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text span.accent {
  color: var(--clr-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--clr-dark);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-blue);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--clr-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(7, 59, 76, 0.65), rgba(7, 59, 76, 0.85)), url('images/hero_kids.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 160px 0 140px;
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.hero-content {
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 25px;
  color: var(--clr-light);
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
  line-height: 1.15;
}
.hero-title span {
  color: var(--clr-yellow);
}
.hero-title span:last-child {
  color: var(--clr-green);
}

.hero-subtitle {
  font-size: 1.35rem;
  margin-bottom: 40px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 15px 40px;
  font-size: 1.2rem;
}

/* Floating Shapes Decoration */
.shape {
  position: absolute;
  z-index: 1;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 10%;
  left: 5%;
  width: 80px;
  height: 80px;
  background-color: var(--clr-yellow);
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  bottom: 10%;
  right: 5%;
  width: 120px;
  height: 120px;
  background-color: var(--clr-green);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 2s;
}

.shape-3 {
  top: 20%;
  right: 40%;
  width: 60px;
  height: 60px;
  background-color: var(--clr-red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation-delay: 4s;
}

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

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.highlight-card {
  background: var(--clr-light);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  border-bottom: 5px solid transparent;
}

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

.highlight-card:nth-child(1) { border-color: var(--clr-blue); }
.highlight-card:nth-child(2) { border-color: var(--clr-red); }
.highlight-card:nth-child(3) { border-color: var(--clr-yellow); }
.highlight-card:nth-child(4) { border-color: var(--clr-green); }
.highlight-card:nth-child(5) { border-color: var(--clr-blue); }

.highlight-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.highlight-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Programs Quick Cards */
.programs-overview {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.program-card {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: var(--clr-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-smooth);
}

.program-card:hover {
  transform: scale(1.03);
}

.program-card-header {
  padding: 30px;
  color: var(--clr-light);
  text-align: center;
}
.program-card:nth-child(1) .program-card-header { background-color: var(--clr-blue); }
.program-card:nth-child(2) .program-card-header { background-color: var(--clr-green); }

.program-card-body {
  padding: 30px;
}

.program-card-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.program-card-body li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  font-weight: 600;
}

.program-card-body li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--clr-yellow);
  font-size: 1.2rem;
}

/* Callout Banner */
.callout {
  background: linear-gradient(135deg, var(--clr-red) 0%, #d8315b 100%);
  color: var(--clr-light);
  padding: 60px 0;
  text-align: center;
}

.callout h2 {
  color: var(--clr-light);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--clr-dark);
  color: var(--clr-light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--clr-yellow);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}
.footer ul a:hover {
  color: var(--clr-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Inner Pages Header */
.page-header {
  background-color: var(--clr-dark);
  background-size: cover;
  background-position: center;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 59, 76, 0.75);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--clr-light);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Cloud divider */
.cloud-divider {
  overflow: hidden;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.cloud-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.cloud-divider .shape-fill {
  fill: var(--clr-light);
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--clr-light);
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Animations Triggered by JS */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Forms */
.contact-form {
  background: var(--clr-light);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--clr-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-blue);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--clr-red);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info-card {
  background: var(--clr-sky);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info-icon {
  font-size: 2rem;
  color: var(--clr-red);
}

.contact-info-content h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 400px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
