/*=============================
  GLOBAL DESIGN SYSTEM 
=============================*/
:root {
  --primary: #1e3a8a;        /* deep blue */
  --secondary: #f59e0b;      /* warm orange */
  --accent: #fde047;         /* soft yellow */
  --bg-light: #fef9c3;       /* soft background */
  --bg-blue: #e0f2fe;
  --bg-pink: #fce7f3;
  --bg-green:#dcfce7;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 4px 15px rgba(0,0,0,0.05);
  --shadow-hover: 0 15px 35px rgba(0,0,0,0.1);
  --transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  color: var(--primary);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.section-padding {
  padding: 100px 0;
}

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

.section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Base Buttons */
.btn-primary, .btn-secondary, .btn-call, .btn-whatsapp {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

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

.glow-btn:hover {
  box-shadow: 0 0 20px rgba(30, 58, 138, 0.5);
  transform: translateY(-4px);
}

.btn-whatsapp.glow-btn:hover {
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

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

.btn-secondary:hover {
  background-color: var(--bg-blue);
  transform: translateY(-3px);
}

.btn-call {
  background-color: #3b82f6;
  color: var(--white);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}

/*=============================
  HEADER & NAVIGATION 
=============================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.header.scrolled {
  padding: 5px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  transition: 0.3s ease;
}

.header.scrolled .header-container {
  height: 70px;
}

.logo img {
  height: 55px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-weight: 700;
  position: relative;
  transition: 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 3px;
  border-radius: 2px;
  background-color: var(--secondary);
  transition: 0.3s;
}

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

.lang-switcher {
  display: flex;
  background: var(--bg-light);
  border-radius: 20px;
  padding: 5px;
  border: 1px solid #fde047;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 6px 16px;
  border-radius: 15px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95em;
  color: var(--text-dark);
  transition: 0.3s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

/*=============================
  HERO SECTION 
=============================*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e0f2fe, #fef3c7, #fce7f3);
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

/* Floating Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.blob-1 { width: 400px; height: 400px; background: #fde047; top: -100px; left: -100px; }
.blob-2 { width: 500px; height: 500px; background: #e0f2fe; bottom: -150px; right: 5%; animation-delay: 2s; }
.blob-3 { width: 350px; height: 350px; background: #fce7f3; top: 30%; left: 45%; opacity: 0.7; animation-delay: 4s; }

@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
  100% { transform: translateY(0px) scale(1); }
}

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

.hero-content {
  flex: 1.2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  backdrop-filter: blur(5px);
}

.hero-content h1 {
  font-size: 4.2rem;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-weight: 600;
}

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

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

.image-blob-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: var(--accent);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: -1;
  top: -5%;
  left: -5%;
  animation: shapeShift 8s ease-in-out infinite alternate;
  box-shadow: inset 0 0 50px rgba(255,255,255,0.5);
}

@keyframes shapeShift {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  100% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.hero-image img {
  width: 90%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: var(--shadow-hover);
  border: 12px solid var(--white);
  animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/*=============================
  TRUST STRIP
=============================*/
.trust-strip {
  background: var(--white);
  padding: 25px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  position: relative;
  z-index: 10;
  border-radius: 20px;
  max-width: 95%;
  margin: -50px auto 40px;
}

.trust-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-family: 'Baloo 2', cursive;
  padding: 10px 20px;
  border-radius: 12px;
  transition: 0.3s;
}

.trust-item:hover {
  background: var(--bg-light);
  transform: translateY(-5px);
}

.trust-item span {
  font-size: 2rem;
}

/*=============================
  MEDIUM SECTION 
=============================*/
.mediums {
  padding: 20px 0 60px;
}

.medium-badge-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.badge {
  padding: 12px 35px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Baloo 2', cursive;
}

.primary-medium {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
}

.secondary-medium {
  background-color: var(--white);
  color: var(--primary);
  border: 3px solid var(--primary);
}

/*=============================
  SECTION BACKGROUND VARIATIONS
=============================*/
.programs { background: #ffffff; }
.activities { background: var(--bg-pink); }
.tuition { background: var(--bg-light); }
.why-choose-us { background: #e0f2fe; }

/*=============================
  PROGRAM CARDS 
=============================*/
.grid {
  display: grid;
  gap: 35px;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 45px 30px;
  border-radius: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

/* Card Colors */
.card-color-1 { background: #fef3c7; border-top: 8px solid #f59e0b; }
.card-color-2 { background: #e0f2fe; border-top: 8px solid #3b82f6; }
.card-color-3 { background: #fce7f3; border-top: 8px solid #ec4899; }
.card-color-4 { background: #dcfce7; border-top: 8px solid #10b981; }

.card:hover {
  transform: translateY(-12px) rotate(-1.5deg);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--white);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  animation: blob-shape 6s infinite alternate;
}

@keyframes blob-shape {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 50% 40% 50%; }
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.card p {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.age-badge {
  display: inline-block;
  margin-top: 25px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--white);
}

.badge-c1 { color: #f59e0b; }
.badge-c2 { color: #3b82f6; }
.badge-c3 { color: #ec4899; }
.badge-c4 { color: #10b981; }

/*=============================
  DAILY ACTIVITIES
=============================*/
.activities-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.activity-card {
  background: var(--white);
  padding: 40px 20px;
  border-radius: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

.act-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.activity-card h4 {
  font-size: 1.5rem;
}

/*=============================
  TUITION SECTION 
=============================*/
.tuition-container {
  display: flex;
  align-items: center;
  gap: 70px;
}

.tuition-text {
  flex: 1;
}

.badge-accent {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
}

.tuition-text h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.tuition-text h4 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 25px;
  font-family: 'Baloo 2', cursive;
  background: var(--white);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 10px;
}

.tuition-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

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

.tuition-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

/*=============================
  WHY CHOOSE US 
=============================*/
.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 45px;
  margin-bottom: 20px;
  background: var(--bg-blue);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/*=============================
  GALLERY (DARK OVERLAY)
=============================*/
.gallery {
  background: #111827;
  color: #f8fafc;
}

.gallery .section-title h2 {
  color: var(--white);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
  opacity: 0.2;
  transition: 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 0.6;
}

/*=============================
  CONTACT (CARD + SHADOW)
=============================*/
.contact {
  background: var(--bg-light);
}

.emotional-text {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  font-family: 'Baloo 2', cursive;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--white);
  padding: 60px;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 35px;
}

.info-item i {
  font-size: 28px;
  color: var(--primary);
  background: var(--bg-blue);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.info-item h4 {
  font-size: 1.4rem;
}

.info-item p {
  font-size: 1.2rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

/*=============================
  FOOTER 
=============================*/
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 20px;
}

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

.footer-col h3, .footer-col h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.footer-col p {
  font-size: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-col ul li a {
  opacity: 0.8;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: 0.3s;
  font-size: 1.2rem;
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px);
}

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

/*=============================
  WHATSAPP FLOAT 
=============================*/
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

/*=============================
  MOBILE EXPERIENCE (BIG UPGRADES)
=============================*/
@media (max-width: 992px) {
  .hero-container, .tuition-container, .contact-grid {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-cta, .medium-badge-container {
    justify-content: center;
  }
  
  .tuition-image {
    order: -1;
  }
  
  .trust-container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--white);
    flex-direction: column;
    padding: 40px 20px;
    transition: 0.4s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-size: 1.6rem;
  }
  
  .hamburger {
    display: block;
  }
  
  .hide-mobile {
    display: none;
  }

  /* Center alignment and more spacing */
  .hero {
    padding: 140px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .trust-item {
    width: 100%;
    justify-content: center;
  }

  .badge {
    font-size: 1.1rem;
    padding: 10px 20px;
  }

  /* Big Buttons for Mobile */
  .btn-primary, .btn-secondary, .btn-call, .btn-whatsapp {
    padding: 18px 25px;
    font-size: 1.2rem;
    width: 100%;
    display: block;
    margin-bottom: 15px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .contact-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 30px;
    bottom: 20px;
    right: 20px;
  }

  .card {
    padding: 30px 20px;
  }
  
  .contact-grid {
    padding: 30px 20px;
  }
}
