/* Custom styles beyond Tailwind */
:root {
  --primary-color: #e83e8c; /* Pink from logo */
  --secondary-color: #7b3f98; /* Purple from logo */
  --accent-color-1: #f7941d; /* Orange from logo */
  --accent-color-2: #00a9e0; /* Blue from logo */
  --accent-color-3: #8cc63f; /* Green from logo */
  --light-pink: #fce4ec;
  --light-purple: #f3e5f5;
  --light-orange: #fff3e0;
  --light-blue: #e1f5fe;
  --light-green: #f1f8e9;
  --dark-color: #333333;
  --light-color: #f9fafb;
}

@import url("https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Comic+Neue:wght@300;400;700&display=swap");

body {
  font-family: "Comic Neue", cursive;
  scroll-behavior: smooth;
  background-color: #fffdf7;
}

h1,
h2,
h3 {
  font-family: "Bubblegum Sans", cursive;
}

.font-poppins {
  font-family: "Comic Neue", cursive;
}

.section {
  opacity: 1; /* Changed from 0 to ensure content is visible */
  transition: opacity 0.6s ease;
}

.section.animate {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease forwards;
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.bounce-in {
  animation: bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Custom animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Sticky header styles */
.sticky-header {
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease;
  z-index: 1000;
  border-bottom: 4px solid var(--accent-color-1);
  border-radius: 0 0 20px 20px;
}

.sticky-header.visible {
  top: 0;
}

/* Program card hover effect */
.program-card {
  transition: all 0.3s ease;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 3px solid #f0f0f0;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color-1);
}

/* Active nav indicator */
.nav-link {
  position: relative;
  font-weight: bold;
  font-size: 1.1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color-1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Card styles matching the design */
.feature-card {
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 3px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color-2);
}

.pillar-card {
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 3px solid #f0f0f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color-3);
}

/* Age badge styles */
.age-badge {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button styles */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(232, 62, 140, 0.3);
}

.btn-primary:hover {
  background-color: #d81b7a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(232, 62, 140, 0.4);
}

.btn-secondary {
  background-color: white;
  color: var(--secondary-color);
  border: 3px solid var(--secondary-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(123, 63, 152, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(123, 63, 152, 0.3);
}

/* After school program section */
.after-school-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border: 4px solid white;
}

/* Core values section */
.value-card {
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  background-color: white;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 3px solid #f0f0f0;
}

.value-card:hover {
  transform: translateY(-5px) rotate(2deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color-1);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid white;
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Additional custom styles */
header {
  border-bottom: 4px solid var(--accent-color-1);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-radius: 20px;
  border: 3px solid #f0f0f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-color-2);
  transform: translateY(-3px);
}

.faq-question {
  border-radius: 16px;
}

input,
textarea {
  border-radius: 16px !important;
  border-width: 2px !important;
}

input:focus,
textarea:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.2) !important;
}

footer {
  border-top: 3px dashed var(--accent-color-3);
  padding-top: 2rem;
}
