/* ===== SHINING STAR PUBLIC SCHOOL - STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --sky: #7EC8E3;
  --sky-light: #B8E4F0;
  --pink: #FFB6C1;
  --pink-soft: #FFD6E0;
  --yellow: #FFD93D;
  --yellow-soft: #FFF3B0;
  --purple: #C3AED6;
  --purple-soft: #E8D5F5;
  --orange: #FFB347;
  --orange-soft: #FFE0B2;
  --green: #A8E6CF;
  --green-soft: #D4F5E9;
  --white: #FFFFFF;
  --bg: #FFF9F0;
  --text: #4A4A4A;
  --text-light: #777;
  --radius: 20px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fredoka', sans-serif;
}

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

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

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

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: all .3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  font-family: 'Fredoka';
}

.nav-logo span {
  font-family: 'Fredoka';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sky);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  transition: color .3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--sky);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  transition: width .3s;
}

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

.nav-links a.active {
  color: var(--sky);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--sky);
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  position: relative;
  z-index: 1002;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.3s;
}

.hamburger:hover {
  background: rgba(165, 94, 234, 0.08);
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all .35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: #FF6B6B;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: #FF6B6B;
}

.nav-cta {
  display: flex;
  gap: 10px;
}

.nav-cta .btn-small {
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: .85rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
}

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

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Nunito';
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky), #5BA3D9);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--sky);
  box-shadow: var(--shadow);
}

/* HERO */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  background: linear-gradient(180deg, #E8F6FF 0%, #FFF9F0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: #3A7BD5;
  margin-bottom: 16px;
}

.hero-text h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
  text-align: center;
}

.hero-img-placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-light), var(--pink-soft), var(--yellow-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(126, 200, 227, 0.3);
}

/* FLOATING ELEMENTS */
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 50px;
  opacity: .7;
  animation: floatCloud 20s linear infinite;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud-1 {
  width: 120px;
  height: 40px;
  top: 15%;
  left: -150px;
  animation-duration: 25s;
}

.cloud-1::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 20px;
}

.cloud-1::after {
  width: 70px;
  height: 60px;
  top: -30px;
  left: 50px;
}

.cloud-2 {
  width: 100px;
  height: 35px;
  top: 25%;
  left: -120px;
  animation-duration: 30s;
  animation-delay: 5s;
}

.cloud-2::before {
  width: 45px;
  height: 45px;
  top: -22px;
  left: 15px;
}

.cloud-2::after {
  width: 60px;
  height: 50px;
  top: -25px;
  left: 40px;
}

.cloud-3 {
  width: 80px;
  height: 30px;
  top: 10%;
  left: -100px;
  animation-duration: 35s;
  animation-delay: 10s;
}

.cloud-3::before {
  width: 35px;
  height: 35px;
  top: -18px;
  left: 10px;
}

.cloud-3::after {
  width: 50px;
  height: 40px;
  top: -20px;
  left: 35px;
}

.star {
  position: absolute;
  color: var(--yellow);
  font-size: 1.5rem;
  animation: twinkle 2s ease-in-out infinite;
  opacity: .6;
}

.star:nth-child(2) {
  animation-delay: .5s;
}

.star:nth-child(3) {
  animation-delay: 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-20px)
  }
}

@keyframes floatCloud {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(calc(100vw + 200px))
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .3;
    transform: scale(.8)
  }

  50% {
    opacity: 1;
    transform: scale(1.2)
  }
}

/* SECTION COMMON */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: #3A7BD5;
  margin-bottom: 10px;
}

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

.rainbow-divider {
  height: 6px;
  background: linear-gradient(90deg, #FF6B6B, var(--orange), var(--yellow), var(--green), var(--sky), var(--purple), var(--pink));
  border-radius: 3px;
  margin: 0 auto;
  width: 200px;
}

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

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .3s;
  border-top: 4px solid var(--sky);
}

.feature-card:nth-child(2) {
  border-color: var(--pink);
}

.feature-card:nth-child(3) {
  border-color: var(--yellow);
}

.feature-card:nth-child(4) {
  border-color: var(--green);
}

.feature-card:nth-child(5) {
  border-color: var(--purple);
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* COUNTERS */
.counters {
  background: linear-gradient(135deg, var(--sky), #5BA3D9);
  padding: 60px 0;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: #fff;
}

.counter-item h3 {
  font-size: 2.8rem;
  font-family: 'Fredoka';
}

.counter-item p {
  font-size: 1rem;
  opacity: .9;
  margin-top: 5px;
}

/* ABOUT */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-soft), var(--sky-light));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow);
}

.about-text h3 {
  font-size: 1.4rem;
  color: var(--sky);
  margin-bottom: 12px;
}

.about-text p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.value-tag {
  background: var(--sky-light);
  color: #3A7BD5;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: .85rem;
  font-weight: 600;
}

/* PROGRAMS */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
}

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

.program-header {
  padding: 30px;
  text-align: center;
  color: #fff;
}

.program-card:nth-child(1) .program-header {
  background: linear-gradient(135deg, var(--sky), #5BA3D9);
}

.program-card:nth-child(2) .program-header {
  background: linear-gradient(135deg, var(--pink), #E88DA4);
}

.program-card:nth-child(3) .program-header {
  background: linear-gradient(135deg, var(--purple), #A78BC5);
}

.program-header h3 {
  font-size: 1.8rem;
}

.program-header p {
  opacity: .9;
  font-size: .95rem;
}

.program-body {
  padding: 24px;
}

.program-body ul {
  list-style: none;
}

.program-body li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.program-body li::before {
  content: '⭐';
  font-size: .8rem;
}

/* FACILITIES */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.facility-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .3s;
}

.facility-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.facility-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.facility-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.facility-card p {
  font-size: .85rem;
  color: var(--text-light);
}

/* GALLERY */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 25px;
  border: 2px solid var(--sky);
  background: transparent;
  color: var(--sky);
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  font-family: 'Nunito';
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--sky);
  color: #fff;
}

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

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sky-light), var(--pink-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow);
  transition: all .3s;
}

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

.gallery-overlay {
  display: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 0;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 90%;
  text-align: center;
  position: relative;
}

.lightbox-img {
  font-size: 6rem;
  margin-bottom: 16px;
}

#lightboxImg {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

/* EVENTS */
.events-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.events-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--sky), var(--pink), var(--purple));
  border-radius: 2px;
}

.event-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-left: 50px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all .3s;
}

.event-card:hover {
  transform: translateX(5px);
}

.event-dot {
  position: absolute;
  left: -38px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sky);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--sky);
}

.event-card:nth-child(even) .event-dot {
  background: var(--pink);
  box-shadow: 0 0 0 3px var(--pink);
}

.event-date {
  font-size: .8rem;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 6px;
}

.event-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.event-card p {
  font-size: .9rem;
  color: var(--text-light);
}

/* TEACHERS */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.teacher-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .3s;
}

.teacher-card:hover {
  transform: translateY(-6px);
}

.teacher-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--sky-light), var(--purple-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 5px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 4px rgba(165, 94, 234, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.teacher-card:hover .teacher-photo {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(165, 94, 234, 0.3), 0 12px 35px rgba(165, 94, 234, 0.2);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

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

.teacher-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.teacher-card .qual {
  font-size: .85rem;
  color: var(--sky);
  font-weight: 600;
  margin-bottom: 8px;
}

.teacher-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.teacher-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  background: var(--green-soft);
  color: #2E7D56;
}

/* TESTIMONIALS */
.testimonials {
  background: linear-gradient(135deg, #FFF3E0, #FFF9F0);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  font-family: 'Fredoka';
  color: var(--sky-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-top: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--purple-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.testimonial-author h4 {
  font-size: .95rem;
}

.testimonial-author span {
  font-size: .8rem;
  color: var(--text-light);
}

/* ADMISSIONS */
.admission-section {
  background: linear-gradient(180deg, #FFF9F0, #E8F6FF);
}

.admission-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-group label {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-family: 'Nunito';
  font-size: .95rem;
  transition: border-color .3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .error-msg {
  color: #E74C3C;
  font-size: .8rem;
  margin-top: 4px;
  display: none;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #E74C3C;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-submit {
  text-align: center;
  margin-top: 24px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: .95rem;
  margin-bottom: 3px;
}

.contact-item p,
.contact-item a {
  font-size: .9rem;
  color: var(--text-light);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.map-wrapper iframe {
  width: 100%;
  height: 280px;
  border: none;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form .form-group {
  margin-bottom: 16px;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--sky), #5BA3D9, var(--purple));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, #1a2a4a 0%, #2C3E6B 100%);
  color: #fff;
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FF6B6B, var(--orange), var(--yellow), var(--green), var(--sky), var(--purple), var(--pink));
}

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

.footer-about {}

.footer-about h3 {
  font-family: 'Fredoka';
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--yellow);
}

.footer-about p {
  font-size: .9rem;
  opacity: .85;
  line-height: 1.8;
}

.footer-about .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-about .footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-about .footer-social a:hover {
  transform: translateY(-3px);
}

.footer-about .footer-social a.social-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.footer-about .footer-social a.social-phone:hover {
  background: #4ECDC4;
  border-color: #4ECDC4;
}

.footer-about .footer-social a.social-email:hover {
  background: #FF6B6B;
  border-color: #FF6B6B;
}

.footer-about .footer-social a.social-map:hover {
  background: #A55EEA;
  border-color: #A55EEA;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--yellow);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  font-size: .9rem;
  opacity: .8;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--yellow);
  transform: translateX(4px);
}

.footer-col a i {
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
}

.footer-timing {
  margin-top: 15px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
}

.footer-timing .timing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 6px 0;
  gap: 16px;
  white-space: nowrap;
}

.footer-timing .timing-row span:first-child {
  opacity: 0.7;
  min-width: 70px;
}

.footer-timing .timing-row span:last-child {
  font-weight: 700;
  color: var(--yellow);
  text-align: right;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
  opacity: .7;
  margin-top: 10px;
}

/* WHATSAPP & CALL BUTTONS */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}

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

.call-float {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
}

.call-float a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(46, 204, 113, .4);
  text-decoration: none;
  transition: all .3s;
  animation: float 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

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

/* SUCCESS POPUP */
.success-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.success-popup.active {
  display: flex;
}

.popup-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: popIn .4s ease;
}

.popup-content .icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.popup-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--sky);
}

.popup-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

@keyframes popIn {
  from {
    transform: scale(.8);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width:992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-img-placeholder {
    max-width: 300px;
    font-size: 5rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 0;
    z-index: 1001;
  }

  .nav-links.open>li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links.open>li:last-child {
    border-bottom: none;
  }

  .nav-links.open>li>a {
    display: block;
    padding: 14px 10px;
  }

  .nav-cta.open {
    display: flex;
    justify-content: center;
    position: absolute;
    top: auto;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 0 20px 20px;
    box-shadow: var(--shadow);
    z-index: 1001;
  }

  /* Mobile Dropdown Fix */
  .dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
  }

  .nav-links.open .dropdown {
    position: relative;
  }

  .nav-links.open .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: none !important;
    background: #f9f6ff;
    border-left: 3px solid #A55EEA;
    margin-left: 15px;
    min-width: auto;
  }

  .nav-links.open .dropdown.dropdown-open .dropdown-menu {
    display: flex !important;
  }

  .nav-links.open .dropdown-menu a {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .nav-links.open .dropdown>a .fa-caret-down {
    transition: transform 0.3s ease;
  }

  .nav-links.open .dropdown.dropdown-open>a .fa-caret-down {
    transform: rotate(180deg);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .call-float {
    display: block;
  }

  .counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-about .footer-social {
    justify-content: center;
  }

  .footer-timing {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 50vh !important;
    padding: 120px 20px 60px !important;
  }

  .hero {
    background-position: center !important;
  }

  .whatsapp-float {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
    bottom: 15px;
    right: 15px;
  }

  .call-float {
    bottom: 70px;
    right: 15px;
  }

  .call-float a {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}