/* 🌞 SUNRISE GARDEN THEME — Warm, Playful, Nature-Inspired for Kids */
:root {
  --primary: #ff6b6b;      /* Coral */
  --secondary: #ffa06b;    /* Peach */
  --accent: #4ecdc4;       /* Mint */
  --bg: #fdf6ec;           /* Creamy Off-White */
  --text: #333;
  --muted: #7f7f7f;
  --radius: 20px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  --transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Gradients for sections — inspired by sunrise & garden */
  --block1: linear-gradient(135deg, #ffecd2, #fcb69f);
  --block2: linear-gradient(135deg, #a8edea, #fed6e3);
  --block3: linear-gradient(135deg, #ffafbd, #ffc3a0);
  --block4: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  --block5: linear-gradient(135deg, #ff9a9e, #fecfef);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyMDAsMTUwLDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiIGQ9Ik0wIDBoNTB2NTBIMHoiLz48Y2lyY2xlIGN4PSIxNSIgY3k9IjE1IiByPSIxLjUiIGZpbGw9InJnYmEoMjU1LDIwMCwxNTAsMC4xKSIvPjxjaXJjbGUgY3g9IjM1IiBjeT0iMzUiIHI9IjEuNSIgZmlsbD0icmdiYSgyNTUsMjAwLDE1MCwwLjA4KSIvPjwvc3ZnPg==');
  background-size: 80px 80px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* ---------------- HEADER ---------------- */
.site-header {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  position: sticky;
  top: 0;
  z-index: 40;
  animation: slideDown 0.8s ease-out;
  box-shadow: var(--shadow);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 4px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: floatLeaf 6s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.logo:hover {
  transform: rotate(15deg) scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}
.brand-text h1 {
  font-size: 22px;
  margin: 0;
  color: white;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.brand-text small {
  opacity: 0.9;
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
  background: rgba(255, 255, 255, 0.1);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 3px;
}
.nav a:hover::after {
  width: 80%;
  left: 10%;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: var(--accent);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px;
  border-radius: 50%;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg);
}

/* ---------------- HERO ---------------- */
.hero {
  padding: 80px 0;
  background: var(--block1);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/leaf1.png'), url('assets/leaf2.png'), url('assets/leaf3.png');
  background-size: 120px;
  background-repeat: no-repeat;
  background-position: 10% 20%, 50% 60%, 90% 30%;
  animation: floatLeaf 15s infinite alternate;
  z-index: -1;
  opacity: 0.3;
}
@keyframes floatLeaf {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: center;
}
.hero-text {
  animation: fadeInLeft 1s ease;
}
.hero-text h2 {
  font-size: 38px;
  margin-bottom: 12px;
  color: #2c2c2c;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(255,255,255,0.6);
}
.hero-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 17px;
  max-width: 90%;
  font-weight: 500;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: var(--primary);
}
.btn:hover {
  background: var(--accent);
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.3);
  color: white;
}
.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: floatUpAndDown 5s ease-in-out infinite;
  transform-origin: center;
  transition: transform 0.5s ease;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-img:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ---------------- BLOG SECTION ---------------- */
.section {
  padding: 60px 0;
}
.section h3 {
  font-size: 28px;
  margin-bottom: 12px;
  text-align: center;
  color: #2c2c2c;
  font-weight: 700;
  animation: fadeInUp 1s ease;
  letter-spacing: -0.3px;
  position: relative;
}
.section h3::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto;
  border-radius: 2px;
}
.section.alt {
  background: var(--block2);
  border-radius: 40px;
  margin: 20px 0;
  padding: 40px 0;
  box-shadow: var(--shadow);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.blog-item {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}
.blog-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.blog-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-item:hover img {
  transform: scale(1.05);
}
.blog-item h4 {
  padding: 20px 18px 10px;
  color: #2c2c2c;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.blog-item p {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.read-more {
  display: block;
  text-align: center;
  color: var(--primary);
  text-decoration: none;
  padding: 12px;
  font-weight: 600;
  border-top: 1px solid rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}
.read-more:hover {
  background: rgba(255, 107, 107, 0.05);
  color: var(--primary);
}

/* ---------------- GALLERY ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  text-align: center;
  backdrop-filter: blur(5px);
}
.gallery-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- ACHIEVEMENTS ---------------- */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 220px;
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s forwards;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
  background: linear-gradient(white, white) padding-box, var(--accent) border-box;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card h4 {
  margin: 15px 0 8px;
  color: #2c2c2c;
  font-size: 18px;
  letter-spacing: -0.2px;
  font-weight: 600;
}
.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.achievement-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 3px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.card:hover .achievement-img {
  transform: scale(1.05);
}

/* ---------------- EVENTS ---------------- */
.events-list {
  list-style: none;
  margin-top: 20px;
}
.events-list li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 16px;
  align-items: center;
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInRight 0.8s forwards;
}
.events-list li:nth-child(1) { animation-delay: 0.1s; }
.events-list li:nth-child(2) { animation-delay: 0.2s; }
.events-list li:nth-child(3) { animation-delay: 0.3s; }
.events-list li:hover {
  transform: translateX(0) scale(1.02);
  box-shadow: 0 16px 30px rgba(255, 107, 107, 0.1);
  background: #fff9f9;
}
.event-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.event-body strong {
  display: block;
  margin-bottom: 6px;
  color: #2c2c2c;
  font-size: 17px;
  font-weight: 600;
}
.event-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* ---------------- CONTACT ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.contact-info {
  animation: fadeInLeft 1s ease;
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info h3 {
  color: #2c2c2c;
  margin-bottom: 16px;
  font-size: 22px;
  position: relative;
  display: inline-block;
}
.contact-info h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-top: 8px;
  border-radius: 2px;
}
.features-list {
  list-style: none;
  margin-top: 20px;
}
.features-list li {
  color: var(--muted);
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-size: 15px;
}
.features-list li::before {
  content: "🌼";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--accent);
}
.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}
.contact-info a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------------- MAP ---------------- */
.map-wrap {
  margin-top: 20px;
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  border: 3px solid white;
  box-shadow: var(--shadow);
  animation: fadeIn 1s ease;
}

/* ---------------- FOOTER — SUNSET GLOW ---------------- */
.site-footer {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: white;
  padding: 30px 0;
  margin-top: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  animation: footerGlow 4s ease-in-out infinite alternate;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 160, 107, 0.2), transparent 70%);
  animation: pulseRing 6s ease-in-out infinite;
  z-index: -1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.site-footer a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
  transition: var(--transition);
  font-size: 20px;
  display: inline-block;
}
.site-footer a:hover {
  color: #fff;
  transform: scale(1.2) rotate(10deg);
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
}
.social-icon {
  font-size: 22px;
  transition: var(--transition);
  display: inline-block;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.social-icon:hover {
  transform: translateY(-6px) scale(1.3) rotate(15deg);
  background: rgba(255,255,255,0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.attribution {
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

/* ---------------- RESPONSIVE — MOBILE FIRST ---------------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image {
    order: -1;
    margin-bottom: 30px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    flex-direction: column;
  }
  .nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: space-around;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 12px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    z-index: 50;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
  }
  .nav a {
    font-size: 12px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.15);
  }
  .nav-toggle {
    display: block;
  }
  .site-header {
    padding-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media (max-width: 480px) {
  .hero-text h2 {
    font-size: 28px;
    line-height: 1.1;
  }
  .hero-text p {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .logo {
    width: 50px;
    height: 50px;
  }
  .brand-text h1 {
    font-size: 18px;
  }
  .section h3 {
    font-size: 24px;
  }
  .map-wrap iframe {
    height: 300px;
  }
  .btn {
    padding: 14px 26px;
    font-size: 15px;
  }
  .card {
    padding: 24px 20px;
  }
  .achievement-img,
  .event-img {
    width: 80px;
    height: 80px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .attribution {
    font-size: 13px;
    padding: 12px;
  }
  .contact-grid {
    gap: 20px;
  }
  .features-list li {
    font-size: 14px;
    padding-left: 26px;
  }
  .features-list li::before {
    font-size: 14px;
  }
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floatUpAndDown {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@keyframes animate-bounce-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.animate-fade-in { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in-right { animation: fadeInRight 0.8s ease-out forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.8s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 1s ease-out forwards; }
.animate-bounce-in { animation: animate-bounce-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.animate-float { animation: floatUpAndDown 5s ease-in-out infinite; }

/* ---------------- FOOTER GLOW ANIMATION ---------------- */
@keyframes footerGlow {
  0% { box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2); }
  100% { box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4); }
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.4; }
}