:root {
  --purple: #8A56AC;
  --pink: #E83D95;
  --navy: #34AADC;
  --blue: #34AADC;
  --green: #4CAF50;
  --yellow: #F1C40F;
  /* Brighter, more true yellow for Bright Creators */
  --orange: #FF7043;
  /* Added missing orange variable */
  --dark: #2D3436;
  --light-bg: #FFF5DC;
  --white: #FFFFFF;
  --soft-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  --border-radius: 50px;
  --splash-bg: radial-gradient(circle at center, #fffdfa 0%, #fff5dc 100%);
}

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

html,
body {
  overflow-x: clip;
  /* clip hides overflow without breaking position: sticky */
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* Account for sticky header height */
}

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

::-webkit-scrollbar-track {
  background: rgba(250, 215, 192, 0.2);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 10px;
  border: 3px solid rgba(255, 255, 255, 0);
  background-clip: padding-box;
}

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


body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark);
  line-height: 1.6;
}

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

h1,
h2,
h3,
.logo-text {
  font-family: 'Fredoka', cursive;
  font-weight: 700;
  line-height: 1.25;
}

/* Ticker Animation */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--pink);
  color: white;
  padding: 10px 0;
  font-family: 'Fredoka', cursive;
  font-weight: 700;
  letter-spacing: 1px;
}

.ticker {
  white-space: nowrap;
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 40px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  33% {
    transform: translate(40px, -60px) scale(1.1) rotate(120deg);
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
  }

  66% {
    transform: translate(-30px, 40px) scale(0.9) rotate(240deg);
    border-radius: 70% 30% 40% 60% / 30% 40% 60% 70%;
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob-multi {
  position: absolute;
  width: 500px;
  height: 500px;
  opacity: 0.12;
  filter: blur(60px);
  animation: float-blob 20s infinite linear;
}

.blob-pink {
  background: var(--navy);
  top: -10%;
  left: -10%;
  animation-duration: 15s;
}

.blob-blue {
  background: var(--blue);
  bottom: -10%;
  right: -10%;
  animation-duration: 20s;
}

.blob-yellow {
  background: var(--yellow);
  top: 50%;
  left: 80%;
  animation-duration: 25s;
}

.blob-green {
  background: var(--green);
  top: 20%;
  left: 40%;
  animation-duration: 18s;
}

/* Gentle Float Animation */
@keyframes float-gentle {

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

  50% {
    transform: translateY(-10px);
  }
}

.float-icon {
  animation: float-gentle 4s ease-in-out infinite;
}

.bubble-card {
  border-radius: 80px 30px 80px 30px;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bubble-card:hover {
  transform: translateY(-10px) rotate(2deg) scale(1.05);
  border-radius: 30px 80px 30px 80px;
}

/* Hot Air Balloon Tracker */
.scroll-tracker {
  position: fixed;
  right: 30px;
  top: 15%;
  height: 70%;
  width: 2px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1024px) {
  .scroll-tracker {
    display: none;
  }

  /* Hide on tablet/mobile for clean UI */
}

.scroll-rope {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  border-left: 2px dashed rgba(138, 86, 172, 0.3);
}

.balloon-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.1s linear;
  /* Smooth lag transition */
  will-change: top;
}

.balloon-inner {
  animation: float-gentle 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  cursor: pointer;
}


/* Staff Section Base */
#staff {
  padding: 120px 8%;
}

@media (max-width: 768px) {
  #staff {
    padding: 60px 10% !important;
  }
}

/* Reusable Components */
section {
  padding: 80px 8%;
  position: relative;
}

.spacer {
  aspect-ratio: 900/100;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.layer1 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFFFFF" fill-opacity="1" d="M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,144C672,149,768,203,864,229.3C960,256,1056,256,1152,229.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

.layer2 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFF5DC" fill-opacity="1" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,122.7C672,96,768,96,864,122.7C960,149,1056,203,1152,213.3C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

.layer3 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%238A56AC" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

.layer4 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23E6DEFF" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

.flip {
  transform: rotate(180deg);
}

.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 0px #E8A8C8;
}

.btn-secondary {
  background-color: var(--yellow);
  color: var(--dark);
  box-shadow: 0 8px 0px #D4AC0D;
}

.btn-register {
  background-color: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 0px #E8A8C8;
}

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

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

/* Splash Page Redesign */
.splash-container {
  min-height: 100vh;
  min-height: 100dvh;
  /* Dynamic Viewport Height for mobile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: var(--splash-bg);
  position: relative;
  overflow-x: hidden;
}

.splash-content {
  max-width: 850px;
  width: 95%;
  z-index: 10;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: clamp(30px, 8vh, 80px);
  border-radius: clamp(30px, 10vw, 80px);
  box-shadow: var(--soft-shadow);
  border: 4px solid white;
}

.splash-logo {
  height: clamp(100px, 25vh, 200px);
  margin-bottom: clamp(20px, 4vh, 40px);
  animation: bounce 4s infinite ease-in-out;
  object-fit: contain;
}

.splash-headline {
  font-size: clamp(2rem, 8vh, 4.5rem);
  color: var(--purple);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.rainbow-text {
  background: linear-gradient(120deg, var(--purple), var(--pink), var(--orange), var(--yellow), var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* Helps prevent text clipping on borders */
}

.splash-subheadline {
  font-size: clamp(1.1rem, 2.5vh, 1.4rem);
  color: #555;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.pill-contact {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.pill {
  padding: 14px 30px;
  background: white;
  border-radius: 100px;
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  font-weight: 700;
  color: var(--purple);
  border: 3px solid rgba(138, 86, 172, 0.1);
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.pill:hover {
  transform: translateY(-5px);
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* Floating Decorations */
@keyframes float-icon {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(15px, -15px) rotate(15deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.floating-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

@keyframes bounce {

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

  50% {
    transform: translateY(-15px);
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  background: rgba(255, 245, 220, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.logo-container img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  transition: 0.3s;
}

nav ul li a:hover {
  color: var(--navy);
}

/* Sections Styling */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  gap: 40px;
  padding-bottom: 50px;
}

.hero-content {
  flex: 1.2;
  max-width: 700px;
}

.hero h1 {
  font-size: 4.2rem;
  color: var(--purple);
  margin-bottom: 25px;
}

.hero h1 span {
  font-weight: 700;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 35px;
}

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

.hero-image {
  flex: 1;
  padding: 40px;
}

.section-title {
  text-align: center;
  font-size: 3.2rem;
  color: var(--purple);
  margin-bottom: 50px;
  font-family: 'Fredoka', cursive;
  font-weight: 500;
}

/* Program Cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.program-card {
  background: white;
  padding: 40px;
  border-radius: 40px;
  box-shadow: var(--soft-shadow);
  transition: 0.3s;
  border-top: 10px solid var(--purple);
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  /* Reduced gap slightly for 4-col layout */
}

.program-card.compact {
  padding: 25px 20px;
}

.program-card.compact h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.program-card.compact p,
.program-card.compact .club-list li {
  font-size: 0.95rem;
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--purple);
}

.program-card .age {
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 15px;
}

/* Club List */
.club-list {
  list-style: none;
  margin-top: 20px;
}

.club-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.club-list li::before {
  content: "✨";
}

/* Sessional Highlight */
.sessional-box {
  background: var(--blue);
  color: white;
  padding: 60px;
  border-radius: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

/* Waitlist Form */
.inquiry {
  background: var(--purple);
  color: white;
  border-radius: 80px;
  margin: 40px 10px;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.inquiry-text p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.95;
}

.benefit-list {
  list-style: none;
  margin-top: 20px;
}

.benefit-list li {
  margin-bottom: 15px;
  font-weight: 600;
}

/* Form */
.form-card {
  background: white;
  padding: 50px;
  border-radius: 40px;
  color: var(--dark);
}

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

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: 'Fredoka', cursive;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 15px;
  font-size: 1rem;
  font-family: 'Quicksand', sans-serif;
  resize: vertical;
}

/* Footer */
.site-footer {
  padding: 80px 8%;
  background-color: #E6DEFF;
  color: var(--dark);
  text-align: center;
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  transition: 0.3s;
}

.footer-contact-item svg {
  width: 24px;
  height: 24px;
  transition: 0.3s;
}

.footer-contact-item:hover {
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-contact-item:hover svg {
  transform: scale(1.1);
  stroke: var(--navy);
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .sessional-box,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  header nav {
    display: none;
  }

  .sessional-box {
    padding: 40px 20px;
    border-radius: 40px;
  }

  .inquiry {
    border-radius: 40px;
    margin: 20px 0;
  }

  .inquiry-grid {
    gap: 30px;
    padding: 20px;
  }

  .form-card {
    padding: 30px 20px;
  }

  .splash-headline {
    font-size: 2.2rem;
  }

  .pill {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 5%;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-content {
    flex: none;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 15px;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 350px;
    padding: 15px 30px;
  }

  .hero-image {
    padding: 20px 0;
    width: 100%;
  }

  .section-title {
    font-size: 2.2rem;
  }
}