/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --leaf:        #5B9A3C;
  --leaf-light:  #8DC96A;
  --leaf-pale:   #D4EDBA;
  --pink:        #F48FB1;
  --pink-light:  #FCCEDD;
  --pink-pale:   #FDE8F0;
  --peacock:     #0077B6;
  --saffron-lt:  #FFB347;
  --parchment:   #F5DEB3;
  --scroll-dark: #6B3E10;
  --text-mid:    #7A4520;
  --white:       #FFFFFF;
  --yt-red:      #FF0000;
  --ig-pink:     #E1306C;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Quicksand', sans-serif;
  background: #D9F0FC;
  color: var(--scroll-dark);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 2px 16px rgba(91, 154, 60, 0.13);
  border-bottom: 3px solid var(--leaf-pale);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}

.nav-logo img {
  height: 52px;
  object-fit: contain;
}

.nav-brand {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--scroll-dark);
  line-height: 1.1;
  padding-left: 0.5rem;
}

.nav-brand-tales { color: var(--leaf); }

.nav-brand sup {
  font-size: 0.55rem;
  vertical-align: super;
  color: var(--text-mid);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background-color: var(--pink);
  color: var(--white);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.92rem;
  box-shadow: 0 3px 12px rgba(91, 154, 60, 0.35);
  transition: transform 0.15s, opacity 0.2s, background-color 0.2s;
  flex-shrink: 0;
  z-index: 2;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  background-color: var(--ig-pink);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 92vh;
  background: linear-gradient(180deg, #87CEEB 0%, #B8E4F7 25%, #C8EEA0 60%, #8DC96A 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2.2rem;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50px;
  pointer-events: none;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
}

.c1 { width: 120px; height: 36px; top: 13%; left: 6%;  animation: drift 18s ease-in-out infinite alternate; }
.c1::before { width: 58px; height: 58px; top: -30px; left: 14px; }
.c1::after  { width: 44px; height: 44px; top: -22px; left: 52px; }

.c2 { width: 90px;  height: 28px; top: 20%; right: 8%; animation: drift 24s ease-in-out infinite alternate-reverse; }
.c2::before { width: 44px; height: 44px; top: -23px; left: 10px; }
.c2::after  { width: 34px; height: 34px; top: -17px; left: 38px; }

.c3 { width: 68px;  height: 21px; top: 8%;  left: 39%; animation: drift 21s ease-in-out infinite alternate; }
.c3::before { width: 35px; height: 35px; top: -18px; left: 8px; }
.c3::after  { width: 27px; height: 27px; top: -13px; left: 29px; }

.hero-scroll {
  position: relative;
  z-index: 5;
  width: 410px;
  max-width: 90%;
  filter: saturate(1.15) contrast(1.05) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
  animation: fadeDown 0.65s 0.1s both;
}

.hero-tag {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: 0.4rem;
  animation: fadeDown 0.65s 0.3s both;
}

.hero-tag p {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--scroll-dark);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.hero-bubble {
  position: relative;
  z-index: 5;
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  animation: bubblePop 0.5s 0.9s cubic-bezier(0.36, 1.5, 0.5, 1) both;
}

.welcome-bubble-img {
  width: clamp(200px, 5vw, 320px);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 80, 160, 0.22));
  animation: float 4s ease-in-out infinite;
}

.hero-chars {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 640px;
  padding: 0 2rem;
  margin-top: 0.5rem;
  animation: fadeUp 0.65s 0.55s both;
}

.hero-chars img:first-child { margin-right: -40px; }
.hero-chars img:last-child  { margin-left:  -40px; }

.char-img {
  width: clamp(150px, 24vw, 220px);
  mix-blend-mode: screen;
  filter: brightness(1.04) contrast(1.05) saturate(1.1);
  animation: float 3.6s ease-in-out infinite;
}

.char-img.leela { animation-delay: 0.75s; }

.grass {
  width: 100%;
  height: 54px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--leaf-light), var(--leaf));
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes drift        { from { transform: translateX(0); }    to { transform: translateX(38px); } }
@keyframes float        { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes fadeDown     { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp       { from { opacity: 0; transform: translateY(22px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes bubblePop    { from { transform: scale(0.4); opacity: 0; }        to { transform: scale(1); opacity: 1; } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.15s, opacity 0.2s;
}

.btn svg   { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-yt   { background: var(--yt-red);  color: #fff; box-shadow: 0 4px 14px rgba(255, 0, 0, 0.28); }
.btn-fb   { background: var(--peacock); color: #fff; box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3); }
.btn-ig   { background: linear-gradient(135deg, var(--ig-pink), #F77737); color: #fff; box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3); }
.btn-pink { background-color: var(--pink); color: #fff; box-shadow: 0 6px 16px rgba(236, 64, 122, 0.35); text-shadow: none; }
.btn-lg   { font-size: 1.05rem; padding: 0.9rem 2.2rem; }

.btn-pink:hover { background-color: var(--ig-pink); }

/* ═══════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════ */
.stats-bar {
  width: 100%;
  background: linear-gradient(90deg, var(--leaf) 0%, #4a8430 50%, var(--leaf) 100%);
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1rem 5%;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

.stat-n {
  font-family: 'Baloo 2', cursive;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.stat-l {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.87;
}

/* ═══════════════════════════════════════════
   CTA ROW
═══════════════════════════════════════════ */
.cta-row {
  width: 100%;
  background: var(--pink-pale);
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.3rem 5%;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--pink-light);
}

/* ═══════════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════════ */
section { padding: 4.5rem 5%; }

.inner {
  max-width: 1100px;
  margin: 0 auto;
}

.centered-section { text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--leaf-pale);
  color: var(--leaf);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.badge.pk { background: var(--pink-pale); color: #C2185B; }
.badge.wh { background: rgba(255, 255, 255, 0.2); color: var(--parchment); }

.stitle {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--scroll-dark);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.ssub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ═══════════════════════════════════════════
   VIDEO MARQUEE
═══════════════════════════════════════════ */
.marquee-wrap {
  width: 100%;
  background: var(--white);
  border-top: 3px solid var(--leaf-pale);
  border-bottom: 3px solid var(--leaf-pale);
  overflow: hidden;
  padding: 0.6rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 2rem;
  text-decoration: none;
  color: var(--scroll-dark);
  border-right: 2px solid var(--leaf-pale);
  transition: background 0.2s;
  white-space: nowrap;
}

.marquee-item:hover { background: var(--leaf-pale); }

.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yt-red);
  flex-shrink: 0;
}

.marquee-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--scroll-dark);
}

.marquee-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--leaf-pale);
  color: var(--leaf);
  padding: 0.1rem 0.55rem;
  border-radius: 50px;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about { background: var(--white); }

.about-tagline {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: -10px;
  margin-bottom: 20px;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.feat {
  border-radius: 22px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feat:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09); }
.feat.g  { background: var(--leaf-pale); }
.feat.pk { background: var(--pink-pale); }
.feat.sk { background: #E0F4FF; }
.feat.go { background: #FFF3D4; }

.feat-ic { font-size: 2.1rem; flex-shrink: 0; }

.feat-h {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  color: var(--scroll-dark);
  margin-bottom: 0.25rem;
}

.feat-p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.55; }

/* ═══════════════════════════════════════════
   VIDEOS
═══════════════════════════════════════════ */
.videos { background: linear-gradient(160deg, var(--leaf-pale) 0%, var(--pink-pale) 100%); }

.vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 285px));
  gap: 1.5rem;
  justify-content: center;
}

.vid-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  display: block;
  max-width: 285px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  border: 2px solid transparent;
}

.vid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(91, 154, 60, 0.16);
  border-color: var(--leaf-light);
}

.vid-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.vid-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg  { background: linear-gradient(135deg, #C8EEA0, #8DC96A); }
.tpk { background: linear-gradient(135deg, var(--pink-pale), var(--pink)); }
.tsk { background: linear-gradient(135deg, #B8E4F7, #87CEEB); }

.play-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s;
  z-index: 2;
}

.vid-card:hover .play-btn { transform: scale(1.15); }

.vid-body { padding: 1.1rem; }

.vid-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.15rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.45rem;
}

.tg-g  { background: var(--leaf-pale); color: var(--leaf); }
.tg-pk { background: var(--pink-pale); color: #C2185B; }
.tg-sk { background: #E0F4FF; color: var(--peacock); }

.vid-h {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  color: var(--scroll-dark);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.vid-m { font-size: 0.82rem; color: #999; }

.vid-cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ═══════════════════════════════════════════
   PLATFORMS
═══════════════════════════════════════════ */
.platforms { background: var(--white); text-align: center; }

.plat-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.plat-card {
  background: var(--white);
  border: 2.5px solid var(--leaf-pale);
  border-radius: 24px;
  padding: 2rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  min-width: 155px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.plat-card svg    { width: 52px; height: 52px; }
.plat-card:hover  { transform: translateY(-5px); }
.plat-card.yt:hover { border-color: var(--yt-red);  box-shadow: 0 12px 28px rgba(255, 0, 0, 0.12); }
.plat-card.fb:hover { border-color: var(--peacock); box-shadow: 0 12px 28px rgba(0, 119, 182, 0.14); }
.plat-card.ig:hover { border-color: var(--ig-pink); box-shadow: 0 12px 28px rgba(225, 48, 108, 0.16); }

.plat-n {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--scroll-dark);
}

.plat-h { font-size: 0.82rem; color: #aaa; }

/* ═══════════════════════════════════════════
   CONTACT — ASK KICHU & LEELA
═══════════════════════════════════════════ */
.nl {
  background: linear-gradient(180deg, var(--leaf) 0%, #4a8430 40%, #7abf50 80%, #C8EEA0 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nl .stitle { color: var(--parchment); }
.nl .ssub   { color: rgba(255, 255, 255, 0.82); }

.nl-hint {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.nl-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 460px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.form-row input { flex: 1; min-width: 180px; }

.nl-form input,
.nl-form textarea {
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  border: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  outline: none;
  width: 100%;
}

.nl-form textarea {
  border-radius: 18px;
  resize: vertical;
}

.form-btn { text-align: center; margin-top: 0.3rem; }

.form-btn button {
  background: var(--pink);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(244, 143, 177, 0.4);
  transition: background 0.2s, transform 0.15s;
}

.form-btn button:hover { background: #F06292; transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   BOTTOM GRADIENT WRAP (farewell + footer)
═══════════════════════════════════════════ */
.bottom-wrap {
  background: linear-gradient(180deg,
    #C8EEA0 0%,
    #8DC96A 22%,
    #7B5A2A 52%,
    #6B3E10 72%,
    #4a2a0a 100%
  );
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   FAREWELL BAND
═══════════════════════════════════════════ */
.farewell {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 280px;
  padding: 0 5%;
  background: transparent;
}

.farewell-bubble {
  position: absolute;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.bye-bubble-img {
  width: clamp(170px, 5vw, 260px);
  height: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05) saturate(1.05);
}

.farewell-char {
  width: clamp(120px, 20vw, 185px);
  filter: brightness(1.0) contrast(1.08) saturate(1.15);
  position: relative;
  z-index: 1;
  margin-bottom: -4px;
}

.farewell-char + .farewell-char { margin-left: -70px; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  padding: 2.5rem 5% 2.2rem;
  font-size: 0.88rem;
  line-height: 1.9;
}

.foot-tagline {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.foot-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0.4rem 0 0.8rem;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--saffron-lt);
  text-decoration: none;
  font-weight: 600;
}

.foot-links a:hover { color: var(--pink-light); }

.foot-copy {
  max-width: 680px;
  margin: 0.8rem auto 0;
  font-size: 0.78rem;
  opacity: 0.6;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.9rem;
}

/* ═══════════════════════════════════════════
   THANK-YOU PAGE OVERRIDES  (body.page-thankyou)
═══════════════════════════════════════════ */

/* Tighter bottom gradient — no farewell band on this page */
body.page-thankyou .bottom-wrap {
  background: linear-gradient(180deg, #8DC96A 1%, #7B5A2A 62%, #6B3E10 72%, #4a2a0a 100%);
}

/* Hero-tag on thank-you has an h1 + button, needs a touch more breathing room */
body.page-thankyou .hero-tag p { padding-top: 0.7rem; }

/* Namaste poses sit closer together than the master standing poses */
body.page-thankyou .hero-chars img:first-child { margin-right: -40px; }
body.page-thankyou .hero-chars img:last-child  { margin-left:  -40px; }

/* No float animation on the thank-you characters */
body.page-thankyou .char-img { animation: none; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { min-height: 0vh;}
  .nav-links  { display: none; }
  .feat-grid  { grid-template-columns: 1fr; }
  .feat-ic  { font-size: 1.4rem; }
  .stats-bar  { gap: 1.5rem; }
  .hero-chars { gap: 0; }

  .welcome-bubble-img { width: clamp(140px, 5vw, 320px); }
  .bye-bubble-img     { width: clamp(140px, 5vw, 260px); }

  .farewell { min-height: 200px; }

  .cta-row {
    flex-direction: column;
    align-items: center;
  }

  .cta-row .btn {
    width: min(90%, 250px);
    justify-content: center;
  }

  .form-meta {
    margin-top: 0.4rem;
    text-align: right;
  }

  #message-counter {
    font-size: 0.9rem;
    opacity: 0.8;
  }

  .hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .form-error {
    margin-top: 0.8rem;
    color: #b42318;
    font-size: 0.95rem;
  }

  .loading-videos {
    text-align: center;
    width: 100%;
    opacity: 0.8;
  }

  .vid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}
