:root {
  /* Primary Colors */
  --color-primary: #56211F;
  --color-primary-hover: #6B2D2B;
  --color-primary-dark: #431918;
  
  /* Secondary Colors */
  --color-secondary: #F7CC2A;
  --color-secondary-hover: #E7B600;
  --color-secondary-light: #FFE27A;
  
  /* Background Colors */
  --color-bg: #FFFDF8;
  --color-bg-section: #FFF8E8;
  --color-bg-card: #FFFFFF;
  
  /* Text Colors */
  --color-text-heading: #3A2A2A;
  --color-text-body: #6E5D5C;
  --color-text-light: #8A7D7A;
  
  /* Accents */
  --color-accent-green: #74B84A;
  --color-accent-blue: #5BBCEB;
  --color-accent-orange: #F6A64B;
  --color-accent-pink: #F7AFC8;

  /* Typography */
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Shadows & Radius */
  --shadow-soft: 0 10px 30px rgba(86, 33, 31, 0.05);
  --shadow-hover: 0 15px 40px rgba(86, 33, 31, 0.1);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 100px;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-body);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

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

h1 { font-size: clamp(40px, 5vw, 60px); }
h2 { font-size: clamp(32px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.5vw, 24px); }

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

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

ul {
  list-style: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(86, 33, 31, 0.2);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-heading);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(247, 204, 42, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* Sections */
section {
  padding: var(--section-padding);
}

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

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

.section-tag {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 15px;
  display: inline-block;
  background: var(--color-secondary-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

/* Utility Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 75px;
  width: 75px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-heading);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-tag {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--color-text-body);
}

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

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Hero Decor */
.hero-decor {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.decor-blob {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: var(--color-secondary-light);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite;
}

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

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .navbar .btn {
    display: none;
  }
}

/* Grids */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* About Section */
.about-images {
  position: relative;
  height: 500px;
}

.img-wrapper {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.main-img {
  width: 80%;
  height: 80%;
  top: 0;
  left: 0;
  z-index: 2;
}

.sub-img {
  width: 60%;
  height: 60%;
  bottom: 0;
  right: 0;
  z-index: 3;
  border: 10px solid var(--color-bg-section);
}

.decor-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  bottom: -20px;
  left: -20px;
  z-index: 1;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 30px;
}

.feature-list {
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  color: var(--color-text-heading);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 14px;
}

/* Cards */
.card {
  background: var(--color-bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all 0.4s ease;
}

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

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}

.card h3 {
  margin-bottom: 15px;
}

/* Activity Cards */
.activity-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

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

.activity-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.program-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.activity-card:hover img {
  transform: scale(1.05);
}

.activity-content {
  padding: 30px;
}

.activity-content h3 {
  margin-bottom: 10px;
}

/* Program Cards */
.program-card {
  background: var(--color-bg-card);
  padding: 40px 30px;
  padding-bottom: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(86, 33, 31, 0.05);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.age-badge {
  position: absolute;
  top: -15px;
  left: 30px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
}

.program-card h3 {
  margin-top: 10px;
  margin-bottom: 15px;
}


/* Checklist / Why Choose Us */
.checklist li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-heading);
}

.check-box {
  width: 24px;
  height: 24px;
  background-color: var(--color-accent-green);
  border-radius: 6px;
  position: relative;
}

.check-box::after {
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Facilities */
.facility-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.facility-item .icon {
  width: 100px;
  height: 100px;
  background-color: var(--color-bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: all 0.3s ease;
}

.facility-item:hover .icon {
  background-color: var(--color-secondary);
  transform: scale(1.1);
}

/* Teachers */
.teacher-card {
  text-align: center;
}

.teacher-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 10px solid var(--color-bg-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.teacher-card:hover img {
  transform: scale(1.05);
}

.teacher-info .qual {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

/* Testimonials */
.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  background: var(--color-bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.testimonial-track {
  position: relative;
  overflow: hidden;
}

.testimonial-item {
  display: none;
  animation: fade 0.5s ease-in-out;
}

.testimonial-item.active {
  display: block;
}

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

.stars {
  color: var(--color-secondary);
  font-size: 24px;
  margin-bottom: 20px;
}

.feedback {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--color-text-heading);
}

.parent-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: left;
}

.parent-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(86, 33, 31, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* Statistics */
.statistics {
  background-color: var(--color-primary);
  color: white;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.counter {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

/* Gallery Masonry */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.masonry-item img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-bg-section);
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 10px var(--color-bg);
  transition: all 0.3s ease;
}

.step:hover .step-num {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    gap: 40px;
  }
  .timeline::before {
    left: 32px;
    top: 0;
    width: 4px;
    height: 100%;
  }
  .step {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
  }
  .step-num {
    margin: 0;
  }
}

/* Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.acc-item {
  background: var(--color-bg-card);
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.acc-header {
  padding: 25px 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--color-bg-card);
}

.acc-icon {
  font-size: 24px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.acc-item.active .acc-icon {
  transform: rotate(45deg);
}

.acc-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.acc-item.active .acc-content {
  padding: 0 30px 25px 30px;
  max-height: 500px; /* arbitrary large value */
}

/* Contact Form */
.contact-form-container {
  background: var(--color-bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

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

.form-group-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

input, select, textarea {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid rgba(86, 33, 31, 0.1);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  transition: all 0.3s ease;
}

textarea {
  border-radius: var(--radius-md);
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(86, 33, 31, 0.1);
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 30px;
  }
  .form-group-split {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 100px 0 30px;
}

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  color: #fff;
  margin-bottom: 25px;
}

.footer-col h4 {
  color: var(--color-secondary);
  font-size: 20px;
  margin-bottom: 25px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.newsletter {
  display: flex;
  gap: 10px;
}

.newsletter input {
  flex: 1;
  border-radius: var(--radius-pill);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.btn-follow {
  border: 2px solid #E1306C;
    color: rgb(0, 0, 0);
    background: transparent;
  transition: all 0.3s ease;
}
.btn-follow:hover {
   background: linear-gradient(
        45deg,
        #833AB4,
        #E1306C,
        #F77737,
        #FCAF45
    );
    color: #FFFFFF;
    border-color: transparent;
    border: 2px solid #833AB4;
}

.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 25px;
    right: 25px;
    background: transparent;
    color: transparent;
    border-radius: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    animation: whatsappBounce 2s infinite;
}

@keyframes whatsappBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}