/* ===== Zəka Evi — Общие стили ===== */

:root {
  --yellow: #FFD93D;
  --blue: #6BCBEF;
  --coral: #FF8E72;
  --pink: #FFB5C5;
  --mint: #95E1D3;
  --purple: #B19CD9;
  --text: #2D3436;
  --text-soft: #636E72;
  --bg: #FFF9F0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(45, 52, 54, 0.08);
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Навигация ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 52, 54, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.logo-img {
  height: 76px;
  width: auto;
  display: block;
  transition: transform 0.25s ease;
}
.logo:hover .logo-img { transform: scale(1.05); }
.footer .logo-img {
  height: 80px;
  content: url("logo-footer.png");
}
@media (max-width: 700px) {
  .logo-img { height: 56px; }
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  padding: 4px;
  background: rgba(45, 52, 54, 0.05);
  border-radius: 999px;
}
.lang-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.04em;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 3px 8px rgba(255, 142, 114, 0.35);
}
@media (max-width: 900px) {
  .lang-switcher {
    margin: 8px auto 0;
    justify-content: center;
  }
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-soft);
  transition: all 0.25s ease;
}

.nav-links a:hover { color: var(--text); background: rgba(107, 203, 239, 0.15); }
.nav-links a.active {
  color: var(--text);
  background: var(--yellow);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 12px 22px !important;
  box-shadow: 0 6px 16px rgba(255, 142, 114, 0.4);
}
.nav-cta:hover { transform: translateY(-2px); }

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-text { position: relative; z-index: 2; }
.hero-buttons { position: relative; z-index: 3; }

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--coral); }
.hero h1 .accent2 { color: var(--blue); }

.hero p.lead {
  font-size: 19px;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(255, 142, 114, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255, 142, 114, 0.5); }

.btn-secondary {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}
.btn-secondary:hover { transform: translateY(-3px); }

/* Hero illustration (CSS art) */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}
.blob-1 { width: 55%; height: 55%; background: var(--yellow); top: 8%; left: 12%; animation: float 6s ease-in-out infinite; }
.blob-2 { width: 40%; height: 40%; background: var(--blue); bottom: 10%; right: 8%; animation: float 7s ease-in-out infinite reverse; }
.blob-3 { width: 28%; height: 28%; background: var(--pink); top: 18%; right: 14%; animation: float 5s ease-in-out infinite; }
.blob-4 { width: 22%; height: 22%; background: var(--mint); bottom: 22%; left: 10%; animation: float 8s ease-in-out infinite; }

.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  z-index: 5;
  animation: gentle-bob 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(45, 52, 54, 0.18));
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}
@keyframes gentle-bob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}

/* ===== Centered Hero (ana səhifə) ===== */
.hero-centered {
  text-align: center;
  padding: 50px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-center-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-logo-main {
  display: block;
  width: 240px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 14px 36px rgba(45, 52, 54, 0.15));
  animation: logo-bob 5s ease-in-out infinite;
}
@keyframes logo-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
.hero-centered h1 {
  max-width: 800px;
  margin: 0 auto 24px;
}
.hero-centered .lead {
  margin: 0 auto 36px;
  max-width: 600px;
}
.hero-centered .hero-buttons {
  justify-content: center;
}

.float-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  z-index: 1;
  filter: blur(1px);
  pointer-events: none;
}
.shape-1 { width: 180px; height: 180px; background: var(--yellow); top: 12%; left: 6%; animation: float 7s ease-in-out infinite; }
.shape-2 { width: 140px; height: 140px; background: var(--blue); top: 18%; right: 8%; animation: float 8s ease-in-out infinite reverse; }
.shape-3 { width: 110px; height: 110px; background: var(--pink); bottom: 18%; left: 10%; animation: float 6s ease-in-out infinite; }
.shape-4 { width: 130px; height: 130px; background: var(--mint); bottom: 12%; right: 9%; animation: float 9s ease-in-out infinite reverse; }
.shape-5 { width: 90px; height: 90px; background: var(--purple); top: 50%; left: 4%; animation: float 7.5s ease-in-out infinite reverse; opacity: 0.35; }

@media (max-width: 900px) {
  .float-shape { opacity: 0.35; }
  .shape-1 { width: 110px; height: 110px; }
  .shape-2 { width: 90px; height: 90px; }
  .shape-3 { width: 80px; height: 80px; }
  .shape-4 { width: 90px; height: 90px; }
  .shape-5 { display: none; }
}
@media (max-width: 600px) {
  .hero-logo-main { width: 180px; }
  .hero-centered { padding: 30px 0 60px; }
}

/* ===== Sections ===== */
section { padding: 80px 0; }

.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--mint);
  color: var(--text);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-soft);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Features cards ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}
.feature:nth-child(1) .feature-icon { background: #FFF3CC; }
.feature:nth-child(2) .feature-icon { background: #D6F1FB; }
.feature:nth-child(3) .feature-icon { background: #FFE0D6; }
.feature:nth-child(4) .feature-icon { background: #E4F9F3; }
.feature:nth-child(5) .feature-icon { background: #FFE0EC; }
.feature:nth-child(6) .feature-icon { background: #E9E2F7; }

.feature h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.feature p {
  color: var(--text-soft);
  font-size: 15px;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--coral), var(--pink));
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.cta-banner::before { width: 200px; height: 200px; top: -60px; left: -60px; }
.cta-banner::after { width: 260px; height: 260px; bottom: -100px; right: -80px; }

.cta-banner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 18px; margin-bottom: 28px; opacity: 0.95; position: relative; }
.cta-banner .btn { position: relative; }
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--coral);
}

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 17px;
}
.footer-col p, .footer-col a { font-size: 15px; color: rgba(255, 255, 255, 0.65); }
.footer-col a { display: block; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer .logo { color: var(--white); margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .rights {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Sosial şəbəkə düymələri */
.social-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.social-row .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 8px;
}
.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
}
.social-link:hover {
  transform: translateY(-3px) scale(1.08);
  color: #ffffff !important;
}
.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.social-link.fb:hover { background: #1877F2; }
.social-link.ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-link.threads:hover { background: #000; box-shadow: 0 0 0 1.5px rgba(255,255,255,0.7) inset; }

/* Official site links row */
.official-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
.official-row .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 12px;
}
.official-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  color: rgba(255, 255, 255, 0.7) !important;
}
.official-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--yellow);
  transform: translateY(-2px);
  color: var(--white) !important;
}
.official-link img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  transition: transform 0.25s ease;
  background: rgba(255,255,255,0.95);
  padding: 2px;
  object-fit: contain;
}
/* Wide logos (YAŞAT, Edu Ministry) — display full aspect ratio */
.official-link img[src*="yashat"],
.official-link img[src*="elm-tehsil"] {
  width: auto;
  height: 26px;
  padding: 3px 6px;
}
.official-link:hover img { transform: scale(1.1); }
.official-link span {
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .official-row { gap: 12px; padding: 20px 0; }
  .official-row .label { width: 100%; text-align: center; margin: 0 0 8px 0; }
  .official-link { padding: 8px 12px; }
  .official-link span { display: none; }
}

/* ===== About page ===== */
.about-hero {
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.about-hero > .container { position: relative; z-index: 2; }

/* Page-themed floating shapes */
.page-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  filter: blur(1px);
  pointer-events: none;
}

/* About page — warm tones */
.about-hero .page-shape.s1 { width: 150px; height: 150px; background: var(--yellow);  opacity: 0.42; top: 10%; left: 4%;   animation: float 7s ease-in-out infinite; }
.about-hero .page-shape.s2 { width: 110px; height: 110px; background: var(--coral);   opacity: 0.38; top: 15%; right: 6%;  animation: float 8s ease-in-out infinite reverse; }
.about-hero .page-shape.s3 { width: 90px;  height: 90px;  background: var(--pink);    opacity: 0.45; bottom: 12%; left: 9%; animation: float 6s ease-in-out infinite; }
.about-hero .page-shape.s4 { width: 80px;  height: 80px;  background: var(--coral);   opacity: 0.30; bottom: 16%; right: 11%; animation: float 9s ease-in-out infinite reverse; }

/* Program page — cool & calm */
section.program-hero .page-shape.s1 { width: 140px; height: 140px; background: var(--blue);  opacity: 0.40; top: 8%; left: 5%;    animation: float 8s ease-in-out infinite; }
section.program-hero .page-shape.s2 { width: 100px; height: 100px; background: var(--mint);  opacity: 0.50; top: 14%; right: 4%;  animation: float 7s ease-in-out infinite reverse; }
section.program-hero .page-shape.s3 { width: 90px;  height: 90px;  background: var(--purple);opacity: 0.30; bottom: 14%; left: 7%; animation: float 9s ease-in-out infinite; }
section.program-hero .page-shape.s4 { width: 75px;  height: 75px;  background: var(--blue);  opacity: 0.35; bottom: 8%; right: 8%; animation: float 6s ease-in-out infinite reverse; }

/* Gallery page — soft & dreamy */
section.gallery-hero .page-shape { filter: blur(3px); }
section.gallery-hero .page-shape.s1 { width: 160px; height: 160px; background: var(--pink);   opacity: 0.38; top: 12%; left: 4%;   animation: float 9s ease-in-out infinite; }
section.gallery-hero .page-shape.s2 { width: 180px; height: 180px; background: var(--yellow); opacity: 0.35; top: 8%;  right: 4%;  animation: float 8s ease-in-out infinite reverse; }
section.gallery-hero .page-shape.s3 { width: 130px; height: 130px; background: var(--blue);   opacity: 0.35; bottom: 12%; left: 7%; animation: float 7s ease-in-out infinite; }
section.gallery-hero .page-shape.s4 { width: 140px; height: 140px; background: var(--mint);   opacity: 0.38; bottom: 14%; right: 8%; animation: float 10s ease-in-out infinite reverse; }
section.gallery-hero .page-shape.s5 { width: 90px;  height: 90px;  background: var(--coral);  opacity: 0.30; top: 48%; right: 18%; animation: float 8s ease-in-out infinite; }

/* Contact page — accent dots */
section.contact-hero .page-shape { filter: blur(0); }
section.contact-hero .page-shape.s1 { width: 100px; height: 100px; background: var(--mint);   opacity: 0.45; top: 12%; left: 4%;    animation: float 7s ease-in-out infinite; }
section.contact-hero .page-shape.s2 { width: 70px;  height: 70px;  background: var(--purple); opacity: 0.40; top: 8%;  right: 7%;   animation: float 8s ease-in-out infinite reverse; }
section.contact-hero .page-shape.s3 { width: 90px;  height: 90px;  background: var(--yellow); opacity: 0.40; bottom: 18%; left: 7%; animation: float 9s ease-in-out infinite; }
section.contact-hero .page-shape.s4 { width: 60px;  height: 60px;  background: var(--coral);  opacity: 0.55; bottom: 14%; right: 5%; animation: float 6s ease-in-out infinite reverse; }
section.contact-hero .page-shape.s5 { width: 50px;  height: 50px;  background: var(--blue);   opacity: 0.40; top: 50%; right: 14%;  animation: float 7s ease-in-out infinite; }

/* Make sure these section types contain shapes */
section.program-hero, section.gallery-hero, section.contact-hero {
  position: relative;
  overflow: hidden;
}
section.program-hero > .container,
section.gallery-hero > .container,
section.contact-hero > .container { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .page-shape { opacity: 0.22 !important; }
  .about-hero .page-shape.s1, section.program-hero .page-shape.s1,
  section.gallery-hero .page-shape.s1, section.contact-hero .page-shape.s1 { width: 90px; height: 90px; }
  .about-hero .page-shape.s2, section.program-hero .page-shape.s2,
  section.gallery-hero .page-shape.s2, section.contact-hero .page-shape.s2 { width: 80px; height: 80px; }
  .about-hero .page-shape.s3, section.program-hero .page-shape.s3,
  section.gallery-hero .page-shape.s3, section.contact-hero .page-shape.s3 { width: 70px; height: 70px; }
  .about-hero .page-shape.s4, section.program-hero .page-shape.s4,
  section.gallery-hero .page-shape.s4, section.contact-hero .page-shape.s4 { width: 60px; height: 60px; }
  section.gallery-hero .page-shape.s5, section.contact-hero .page-shape.s5 { width: 50px; height: 50px; }
}
@media (max-width: 600px) {
  .page-shape { display: none; }
}

/* ===== Splash screen ===== */
.splash {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash img {
  width: 220px;
  height: auto;
  animation: splashLogo 1.2s ease-out;
  filter: drop-shadow(0 12px 32px rgba(45, 52, 54, 0.15));
}
@keyframes splashLogo {
  0%   { transform: scale(0.6) rotate(-8deg); opacity: 0; }
  60%  { transform: scale(1.1) rotate(2deg);  opacity: 1; }
  100% { transform: scale(1)   rotate(0);     opacity: 1; }
}

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: transform 0.25s ease;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; fill: white; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid #25D366;
  opacity: 0.6;
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ===== Achievement counters ===== */
.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 30px 0;
}
.achievement {
  text-align: center;
  background: var(--white);
  padding: 32px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.achievement:hover { transform: translateY(-6px); }
.achievement .num {
  font-family: 'Comfortaa', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}
.achievement .label {
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 700;
}
.achievement:nth-child(1) .num { background: linear-gradient(135deg, var(--coral), var(--pink));     -webkit-background-clip: text; background-clip: text; }
.achievement:nth-child(2) .num { background: linear-gradient(135deg, var(--blue),  var(--mint));     -webkit-background-clip: text; background-clip: text; }
.achievement:nth-child(3) .num { background: linear-gradient(135deg, var(--yellow),var(--coral));    -webkit-background-clip: text; background-clip: text; }
.achievement:nth-child(4) .num { background: linear-gradient(135deg, var(--purple),var(--blue));     -webkit-background-clip: text; background-clip: text; }

/* ===== FAQ accordion ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease;
}
.faq-item:hover { transform: translateY(-2px); }
.faq-q {
  padding: 22px 28px;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-q::after {
  content: "+";
  font-size: 28px;
  color: var(--coral);
  transition: transform 0.3s ease;
  font-weight: 400;
  line-height: 1;
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 28px 22px;
}

/* ===== Google Maps ===== */
.map-wrap {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 6px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 18px;
}

/* ===== Scroll reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .splash img { animation: none; }
  .wa-float::before { animation: none; }
}
.about-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}
.about-hero p { font-size: 19px; color: var(--text-soft); max-width: 700px; margin: 0 auto; }

.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mission-text h2 { font-size: 36px; margin-bottom: 20px; }
.mission-text p { font-size: 17px; color: var(--text-soft); margin-bottom: 16px; }
.mission-art {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}
.mission-art img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.15));
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-6px); }
.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.team-card:nth-child(1) .team-avatar { background: var(--yellow); }
.team-card:nth-child(2) .team-avatar { background: var(--blue); }
.team-card:nth-child(3) .team-avatar { background: var(--pink); }
.team-card:nth-child(4) .team-avatar { background: var(--mint); }
.team-card h3 { font-size: 19px; margin-bottom: 4px; }
.team-card .role { color: var(--coral); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.team-card p { color: var(--text-soft); font-size: 14px; }

/* ===== Program page ===== */
.age-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.age-tab {
  padding: 14px 28px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.age-tab:hover { transform: translateY(-2px); }
.age-tab.active {
  background: var(--coral);
  color: var(--white);
}

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.activity {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.activity-emoji {
  font-size: 56px;
  margin-bottom: 16px;
}
.activity h3 { font-size: 22px; margin-bottom: 10px; }
.activity p { color: var(--text-soft); font-size: 15px; margin-bottom: 12px; }
.activity .schedule {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.schedule-grid {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.schedule-table th {
  background: var(--yellow);
  padding: 14px 16px;
  text-align: left;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
}
.schedule-table th:first-child { border-radius: 12px 0 0 12px; }
.schedule-table th:last-child { border-radius: 0 12px 12px 0; }
.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0e9dc;
  font-size: 15px;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:first-child { font-weight: 700; color: var(--coral); }

/* (Sound toggle and custom cursor were removed) */

/* ===== Hero particles canvas ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ===== Open / Closed status ===== */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #f0f0f0;
  color: var(--text-soft);
}
.open-status.is-open {
  background: rgba(46, 204, 113, 0.12);
  color: #1e8449;
}
.open-status.is-closed {
  background: rgba(231, 76, 60, 0.10);
  color: #b03a2e;
}
.open-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}
.open-status.is-open .open-dot {
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50%      { box-shadow: 0 0 0 6px transparent; opacity: 0.7; }
}

/* ===== Lightbox (Galereya) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.92);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.show { display: flex; }
.lightbox-img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: lbFade 0.25s ease-out;
}
@keyframes lbFade {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background 0.2s ease;
  backdrop-filter: blur(8px);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.3); }
.lb-close { top: 20px; right: 20px; }
.lb-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lb-btn { width: 42px; height: 42px; font-size: 20px; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev  { left: 8px; }
  .lb-next  { right: 8px; }
}

/* ===== Gallery page ===== */
.gallery-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.gallery-tab {
  padding: 12px 24px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-soft);
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.gallery-tab:hover { transform: translateY(-2px); color: var(--text); }
.gallery-tab.active {
  background: var(--blue);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover { transform: translateY(-4px) scale(1.02); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.15), rgba(107, 203, 239, 0.15));
  color: var(--text-soft);
  text-align: center;
  padding: 20px;
}
.gallery-placeholder .icon { font-size: 48px; }
.gallery-placeholder .text { font-size: 14px; font-weight: 700; }
.gallery-item.video::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.95);
  color: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  padding-left: 4px;
}

.upload-hint {
  background: linear-gradient(135deg, #FFF3CC, #FFE0D6);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  margin-bottom: 40px;
}
.upload-hint h3 { margin-bottom: 8px; }
.upload-hint p { color: var(--text-soft); font-size: 15px; }

/* Special offer banner */
.offer-banner {
  background: linear-gradient(135deg, #FFE5E5, #FFF3CC);
  border-radius: 20px;
  padding: 20px 28px;
  margin: 24px auto;
  max-width: 700px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px solid rgba(255, 142, 114, 0.3);
}
.offer-banner .icon {
  font-size: 36px;
  flex-shrink: 0;
}
.offer-banner .text { text-align: left; }
.offer-banner h4 {
  font-size: 17px;
  color: var(--coral);
  margin-bottom: 4px;
}
.offer-banner p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}
@media (max-width: 600px) {
  .offer-banner { flex-direction: column; text-align: center; }
  .offer-banner .text { text-align: center; }
}

/* ===== Contact page ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.popular {
  background: linear-gradient(135deg, var(--yellow), #FFE680);
  transform: scale(1.04);
}
.price-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.price-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--coral);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-card .price {
  font-family: 'Comfortaa', sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin: 20px 0 10px;
}
.price-card .price small { font-size: 16px; color: var(--text-soft); font-weight: 400; }
.price-card ul {
  list-style: none;
  margin: 24px 0;
}
.price-card li {
  padding: 8px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 700;
}
.price-card .btn { width: 100%; justify-content: center; }

/* Price card swap states */
.price-card .price-badge { display: none; }
/* "Populyar" badge is permanently anchored to the full-day plan */
.price-card[data-plan="full"] .price-badge { display: inline-block; }

.price-card .price-btn-select { display: inline-flex; }
.price-card .price-btn-register { display: none; }
.price-card.popular .price-btn-select { display: none; }
.price-card.popular .price-btn-register { display: inline-flex; }

.price-card { cursor: pointer; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.contact-item:nth-child(2) .contact-icon { background: var(--pink); }
.contact-item:nth-child(3) .contact-icon { background: var(--yellow); }
.contact-item:nth-child(4) .contact-icon { background: #E9E2F7; }
.contact-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-item p { color: var(--text-soft); font-size: 15px; }

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 24px; margin-bottom: 8px; }
.contact-form > p { color: var(--text-soft); margin-bottom: 24px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #f0e9dc;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--coral);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none;
  background: var(--mint);
  padding: 16px;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px 24px;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open a { width: 100%; }
  .burger { display: block; }
  .hero-grid, .mission, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid { gap: 30px; }
  section { padding: 60px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-art { max-width: 340px; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-6px); }
}
