/* ===== CSS RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-pink: #ff6b9d;
  --primary-blue: #4ecdc4;
  --primary-purple: #a8e6cf;
  --accent-yellow: #ffd93d;
  --accent-orange: #ff8a65;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --gradient-primary: linear-gradient(135deg, #ff6b9d, #4ecdc4, #a8e6cf);
  --gradient-secondary: linear-gradient(45deg, #ffd93d, #ff8a65);
  --gradient-hero: linear-gradient(135deg, rgba(255, 107, 157, 0.9), rgba(78, 205, 196, 0.9));
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #ffeef8 0%, #e8f8ff 50%, #f0fff4 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== FLOATING BACKGROUND SHAPES ===== */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: -7s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 30%;
  animation-delay: -14s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 40%;
  animation-delay: -21s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  75% { transform: translateY(-20px) rotate(270deg); }
}

/* ===== HEADER STYLES ===== */
.header-container {
  background: var(--gradient-primary);
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-wrapper {
  position: relative;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1) rotate(10deg);
}

.logo-sparkle {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: var(--accent-yellow);
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.brand-text {
  text-align: left;
}

.brand-name {
  font-family: 'Comfortaa', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
  margin: 0;
}

.brand-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-light);
  margin: 1rem 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.header-decoration {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.header-decoration .star,
.header-decoration .heart {
  display: inline-block;
  margin: 0 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

.header-decoration .heart {
  animation-delay: 0.5s;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== NAVIGATION STYLES ===== */
.navigation {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover {
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.nav-icon {
  font-size: 1.2rem;
}

/* ===== MAIN CONTENT STYLES ===== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-family: 'Comfortaa', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 3rem 0 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--gradient-hero);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: 'Comfortaa', cursive;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.hero-tag:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.feature-card.safe::before { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
.feature-card.creative::before { background: linear-gradient(45deg, #ff6b9d, #ffa07a); }
.feature-card.learning::before { background: linear-gradient(45deg, #a8e6cf, #7fcdcd); }
.feature-card.healthy::before { background: linear-gradient(45deg, #ffd93d, #ff8a65); }

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon img {
  width: 48px;
  height: 48px;
}

.feature-card h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: #666;
  line-height: 1.7;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .card-glow {
  opacity: 1;
  animation: glow-rotate 2s linear infinite;
}

@keyframes glow-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-content h2 {
  font-family: 'Comfortaa', cursive;
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: white;
  color: var(--primary-pink);
  text-decoration: none;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button:hover {
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.cta-button span {
  position: relative;
  z-index: 2;
}

.cta-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(5px);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 4rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-pink);
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #666;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-emoji {
  font-size: 2rem;
}

.value-text {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
  margin: 4rem 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 2rem;
}

.program-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.program-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.program-header {
  margin-bottom: 1.5rem;
}

.program-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.program-card h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.program-age {
  background: var(--gradient-secondary);
  color: var(--text-light);
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.program-card p {
  color: #666;
  line-height: 1.7;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.9);
}

.gallery-item.animate-in {
  opacity: 1;
  transform: scale(1);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.placeholder-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.placeholder-image.art { background: linear-gradient(135deg, #ff6b9d, #ffa07a); }
.placeholder-image.play { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.placeholder-image.learn { background: linear-gradient(135deg, #a8e6cf, #7fcdcd); }
.placeholder-image.cook { background: linear-gradient(135deg, #ffd93d, #ff8a65); }

.placeholder-text {
  font-size: 1.1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== ENROLL SECTION ===== */
.enroll-section {
  background: var(--gradient-hero);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  color: var(--text-light);
}

.enroll-section .section-title {
  color: var(--text-light);
  -webkit-text-fill-color: var(--text-light);
}

.enroll-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.enroll-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.contact-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* .contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-pink);
} */

.contact-icon p {
  font-size: 3rem;
  margin-bottom: 1rem;
      overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
  color: var(--primary-pink);
}

.email-address {
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: normal;
}

.contact-card h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-card p {
  color: #666;
  line-height: 1.6;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 1rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.footer-brand h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-pink);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .brand-name {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-container {
    gap: 1rem;
  }
  
  .nav-link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .logo-section {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .brand-text {
    text-align: center;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-tag {
    max-width: 250px;
  }
  
  .features-grid,
  .programs-grid,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .enroll-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-section,
  .cta-section,
  .enroll-section {
    padding: 2.5rem 1.5rem;
  }
  
  .feature-card,
  .program-card,
  .contact-card {
    padding: 2rem 1.5rem;
  }
}