/* Lotus Kindergarten – shared styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pink: #FF6B9D;
  --blue: #4A8FD4;
  --green: #5CB85C;
  --yellow: #FFD166;
  --orange: #FF9B6A;
  --purple: #B57BFF;
  --teal: #06D6A0;
  --softpink: #FFF0F8;
  --sand: #FFF3DC;
  --cream: #FFFAF3;
  --darkblue: #2C5F8A;
  --darkgreen: #2E7D32;
  --darkpink: #C44B7A;
  --nav-height: 70px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; overflow-x: hidden; background: #fff; }

/* ----- Navigation ----- */
.site-nav {
  background: #fff;
  padding: 0 5%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 300;
  border-bottom: 3px solid #FFE8F5;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text-1 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.55rem;
  color: var(--pink);
  display: block;
  line-height: 1;
}

.logo-text-2 {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.6px;
  display: block;
}

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

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 700;
  font-size: 0.87rem;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--pink); }
.nav-links a.active { color: var(--purple); border-bottom: 2px solid var(--purple); padding-bottom: 2px; }

.btn-enroll {
  background: var(--green) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 900 !important;
  box-shadow: 0 4px 0 #388E3C;
  transition: transform 0.15s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.87rem;
}

.btn-enroll:hover { transform: translateY(-2px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    z-index: 299;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* ----- Section titles ----- */
.sec-deco-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.deco-line {
  width: 42px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
}

.sec-h {
  font-family: 'Fredoka One', cursive;
  font-size: 2.4rem;
  color: var(--blue);
}

.prog-arrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.pa { color: var(--pink); font-size: 1.5rem; font-weight: 900; }

/* Floating decoration */
.fd {
  position: absolute;
  pointer-events: none;
  animation: floaty 4s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(8deg); }
}

/* ----- Hero (home) ----- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #7EC8E3 0%, #AEE0F5 38%, #C8EFA0 72%, #90C94A 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 38px 5% 0;
}

.hero-welcome {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: #2E7D32;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-welcome::before,
.hero-welcome::after {
  content: '•';
  color: var(--pink);
  font-size: 1.4rem;
}

.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin: 6px 0 4px;
}

.ht1 { color: var(--pink); }
.ht2 { color: var(--darkblue); }

.hero-tag {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 22px;
}

.hero-btn {
  background: var(--blue);
  color: #fff;
  padding: 13px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 0 #1A5A9A;
  transition: transform 0.15s;
  font-family: 'Nunito', sans-serif;
}

.hero-btn:hover { transform: translateY(-3px); }

.hero-scene {
  position: relative;
  height: 265px;
  margin-top: 14px;
  z-index: 4;
}

.wave-down { line-height: 0; position: relative; z-index: 6; }
.wave-down svg { display: block; width: 100%; }

/* ----- About ----- */
.about-sec {
  background: linear-gradient(180deg, #FFF8F0 0%, #FFF3DC 100%);
  padding: 55px 5% 45px;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.about-text p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 14px;
  font-weight: 600;
}

.about-text p:first-child { color: #333; font-weight: 700; }

.vm-block {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vm-card {
  border-radius: 18px;
  padding: 18px 16px;
}

.vm-card h3 { font-family: 'Fredoka One', cursive; font-size: 1rem; margin-bottom: 8px; }
.vm-card p, .vm-card li { font-size: 0.82rem; color: #555; line-height: 1.7; font-weight: 600; }
.vm-card ul { padding-left: 14px; }

.vm-vision { background: #E8F4FF; border-left: 4px solid var(--blue); }
.vm-vision h3 { color: var(--darkblue); }
.vm-mission { background: #FFF0F8; border-left: 4px solid var(--pink); }
.vm-mission h3 { color: var(--darkpink); }

.about-scene {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .vm-block { grid-template-columns: 1fr; }
}

/* ----- Programs ----- */
.prog-sec {
  background: linear-gradient(180deg, #FFE8D4 0%, #FFD4B0 100%);
  padding: 55px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.prog-sec-h { font-family: 'Fredoka One', cursive; font-size: 2.3rem; color: #C0392B; }
.prog-sub { color: #888; font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; }
.prog-intro { color: #666; font-size: 0.9rem; max-width: 560px; margin: 0 auto 28px; line-height: 1.7; font-weight: 600; }

.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 940px;
  margin: 0 auto 24px;
}

.pcard {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,.13);
}

.pcard-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard-body { padding: 14px 14px 16px; }

.pcard-age {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.pcard-name { font-family: 'Fredoka One', cursive; font-size: 1.2rem; margin-bottom: 5px; font-weight: 400; }
.pcard-desc { font-size: 0.79rem; color: #666; line-height: 1.6; font-weight: 600; }

.pc-a .pcard-name { color: var(--blue); }
.pc-a .pcard-age { background: #E8F4FF; color: var(--darkblue); }
.pc-b .pcard-name { color: #E53935; }
.pc-b .pcard-age { background: #FFF3CC; color: #7A4E00; }
.pc-c .pcard-name { color: #7B1FA2; }
.pc-c .pcard-age { background: #F3E5F5; color: #7B1FA2; }
.pc-d .pcard-name { color: #00897B; }
.pc-d .pcard-age { background: #E0F2F1; color: #00695C; }

.view-btn {
  background: var(--blue);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.93rem;
  box-shadow: 0 4px 0 #1A5A9A;
  transition: transform 0.15s;
}

.view-btn:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ----- Why Choose Us ----- */
.why-sec {
  background: linear-gradient(180deg, #EEF3FF 0%, #F5EFFF 60%, #FFF0F5 100%);
  padding: 55px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-sec-h { font-family: 'Fredoka One', cursive; font-size: 2.3rem; color: #333; }
.why-intro { color: #666; font-size: 0.9rem; max-width: 600px; margin: 8px auto 32px; line-height: 1.75; font-weight: 600; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.wcard {
  background: #fff;
  border-radius: 22px;
  padding: 26px 20px;
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s;
  border-bottom: 4px solid transparent;
}

.wcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

.wc-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 28px;
}

.wcard h3 { font-family: 'Fredoka One', cursive; font-size: 1.05rem; margin-bottom: 7px; color: #222; }
.wcard p { font-size: 0.82rem; color: #666; line-height: 1.7; font-weight: 600; }

.wc1 { border-color: var(--blue); }
.wc1 .wc-ico { background: #E8F4FF; }
.wc2 { border-color: var(--pink); }
.wc2 .wc-ico { background: #FFF0F8; }
.wc3 { border-color: var(--yellow); }
.wc3 .wc-ico { background: #FFF8D0; }
.wc4 { border-color: var(--teal); }
.wc4 .wc-ico { background: #E0FFF5; }
.wc5 { border-color: var(--purple); }
.wc5 .wc-ico { background: #F3EEFF; }
.wc6 { border-color: var(--orange); }
.wc6 .wc-ico { background: #FFF3E8; }

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

/* ----- Admission ----- */
.adm-sec {
  background: linear-gradient(135deg, #C8EBF5 0%, #A8D8F0 40%, #B8E8A0 80%, #90C94A 100%);
  padding: 55px 5% 80px;
  position: relative;
  overflow: hidden;
}

.adm-title { text-align: center; position: relative; z-index: 2; margin-bottom: 28px; }
.adm-title h2 { font-family: 'Fredoka One', cursive; font-size: 2.3rem; color: var(--darkblue); }
.adm-title p { font-family: 'Fredoka One', cursive; font-size: 1rem; color: var(--darkgreen); margin-top: 4px; }

.adm-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.touch-box {
  background: var(--sand);
  border-radius: 20px;
  padding: 24px 20px;
  border: 2px solid rgba(255,255,255,.7);
}

.touch-h { font-family: 'Fredoka One', cursive; font-size: 1.3rem; color: var(--blue); margin-bottom: 6px; }
.touch-dashes { display: flex; gap: 4px; margin-bottom: 16px; }
.td { height: 3px; border-radius: 2px; }
.td1 { width: 36px; background: var(--pink); }
.td2 { width: 24px; background: var(--blue); }
.td3 { width: 14px; background: var(--yellow); }

.touch-item { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; }
.t-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.ti-label { font-size: 0.78rem; font-weight: 900; color: #333; display: block; }
.ti-val { font-size: 0.8rem; color: #555; font-weight: 600; line-height: 1.5; }
.touch-box .ti-val a { color: #555; text-decoration: none; }
.touch-box .ti-val a:hover { color: var(--blue); text-decoration: underline; }
.bear { font-size: 54px; text-align: center; display: block; margin-top: 10px; }

.adm-form-wrap {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
}

.form-sec-lbl {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 16px 0 10px;
  padding-bottom: 4px;
  border-bottom: 2px dashed #DDE8F0;
}

.form-sec-lbl:first-child { margin-top: 0; }

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

.fg { margin-bottom: 10px; }
.fg label {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  color: #444;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 10px 13px;
  border: 2px solid #E0EAF4;
  border-radius: 11px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.87rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  background: #FAFCFF;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--blue);
  background: #fff;
}

.fg textarea { resize: none; height: 70px; }

.adm-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 5px 0 #1A5A9A;
  transition: transform 0.15s;
  margin-top: 6px;
}

.adm-submit:hover { transform: translateY(-3px); }

.adm-grass { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; z-index: 1; }

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

/* ----- Contact ----- */
.contact-sec {
  background: #1A2A4A;
  padding: 55px 5%;
  position: relative;
  overflow: hidden;
}

.contact-inner { max-width: 900px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
  align-items: start;
}

.contact-info h3 { font-family: 'Fredoka One', cursive; font-size: 1.3rem; color: #FFD166; margin-bottom: 16px; }

.cinfo-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.ci-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ci1 { background: #FF6B9D; }
.ci2 { background: #FFD166; }
.ci3 { background: #06D6A0; }

.ci-lbl { font-size: 0.7rem; font-weight: 900; color: #AAA; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.ci-val { color: #EEE; font-size: 0.92rem; font-weight: 700; line-height: 1.6; }
.ci-val a { color: #FFD166; text-decoration: none; }
.ci-val a:hover { text-decoration: underline; }

.contact-hours {
  margin-top: 24px;
  background: #243050;
  border-radius: 16px;
  padding: 18px;
}

.contact-hours .label { color: rgba(255,255,255,.5); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.contact-hours .days { color: #EEE; font-size: 0.9rem; font-weight: 700; }
.contact-hours .time { color: #FFD166; font-size: 0.88rem; font-weight: 800; }

.map-box {
  background: #243050;
  border-radius: 20px;
  padding: 22px;
  border: 2px solid rgba(255,255,255,.08);
}

.map-box h3 { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: #FFD166; margin-bottom: 14px; }

.map-placeholder {
  background: linear-gradient(135deg, #1A3A6A, #2A4A7A);
  border-radius: 14px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed rgba(255,255,255,.2);
}

.map-placeholder span { font-size: 40px; }
.map-address { color: #CCC; font-size: 0.82rem; line-height: 1.7; font-weight: 600; margin-top: 14px; }
.map-address strong { color: #FFD166; font-weight: 800; }

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

/* ----- Gallery preview (home) ----- */
.gallery-preview-sec {
  background: linear-gradient(180deg, #F0F8FF 0%, #FFF0F8 100%);
  padding: 60px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gallery-preview-sec .sec-h { color: #7B1FA2; }
.gallery-preview-sub { color: #888; font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.gallery-preview-p { color: #666; font-size: 0.88rem; max-width: 520px; margin: 0 auto 32px; line-height: 1.7; font-weight: 600; }

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 940px;
  margin: 0 auto 30px;
}

.gallery-preview-card {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed;
  transition: transform 0.25s;
  cursor: default;
}

.gallery-preview-card:hover { transform: scale(1.04); }

.gallery-preview-card .icon { font-size: 38px; }
.gallery-preview-card .label { font-size: 0.78rem; font-weight: 800; }

.gpc-act { background: #FFE8F5; border-color: #FF9BD2; color: #C44B7A; }
.gpc-evt { background: #E8F9F5; border-color: #7EECD4; color: #0A5A40; }
.gpc-cls { background: #EEF0FF; border-color: #9DA8FF; color: #2D3580; }
.gpc-out { background: #FFF3CC; border-color: #FFD166; color: #7A5A00; }

.btn-gallery {
  display: inline-block;
  background: #B57BFF;
  color: #fff;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 0 #8B4FD8;
  transition: transform 0.15s;
}

.btn-gallery:hover { transform: translateY(-2px); }

@media (max-width: 700px) {
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Footer ----- */
.site-footer {
  background: #111828;
  padding: 22px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-logo { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: #fff; }
.foot-logo span { color: var(--yellow); }

.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.2s;
}

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

.foot-social-wrap { display: flex; align-items: center; gap: 12px; }
.foot-social-label { color: rgba(255,255,255,.35); font-size: 0.8rem; font-weight: 700; }
.foot-social-icons { display: flex; gap: 8px; }

.sico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

.s-tw { background: #1DA1F2; }
.s-fb { background: #1877F2; }
.s-ig { background: #E1306C; }

.foot-copy { color: rgba(255,255,255,.25); font-size: 0.78rem; font-weight: 600; }

/* ----- Gallery page ----- */
.gallery-hero {
  background: linear-gradient(135deg, #7B1FA2 0%, #9C27B0 40%, #E91E8C 80%, #FF6B9D 100%);
  padding: 56px 5% 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}

.gallery-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.gh-inner { position: relative; z-index: 2; }

.gh-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 5px 16px;
  margin-bottom: 14px;
}

.gh-tag span { color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.5px; }
.gh-tag .dot { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

.gh-title { font-family: 'Fredoka One', cursive; font-size: 3rem; color: #fff; margin-bottom: 8px; line-height: 1.1; }
.gh-sub { color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 700; margin-bottom: 28px; }
.gh-wave { line-height: 0; position: relative; z-index: 3; margin-top: 20px; }
.gh-wave svg { display: block; width: 100%; }

.gh-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.gh-pill {
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1.5px solid rgba(255,255,255,.3);
}

.filter-bar {
  background: #fff;
  padding: 28px 5%;
  text-align: center;
  border-bottom: 2px solid #F0F0F0;
  position: sticky;
  top: var(--nav-height);
  z-index: 200;
}

.filter-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.ftab {
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s;
  font-family: 'Nunito', sans-serif;
}

.ftab:hover { transform: translateY(-2px); }
.ftab.all { background: #7B1FA2; color: #fff; border-color: #7B1FA2; box-shadow: 0 4px 0 #5A007A; }
.ftab.activities { background: #FFE8F5; color: #C44B7A; border-color: #FF9BD2; }
.ftab.events { background: #E8F9F5; color: #0A5A40; border-color: #7EECD4; }
.ftab.classroom { background: #EEF0FF; color: #2D3580; border-color: #9DA8FF; }
.ftab.outdoor { background: #FFF3CC; color: #7A5A00; border-color: #FFD166; }
.ftab.active { box-shadow: 0 4px 0 rgba(0,0,0,.15); transform: translateY(-2px); }
.ftab.activities.active { background: #FF6B9D; color: #fff; border-color: #FF6B9D; }
.ftab.events.active { background: #06D6A0; color: #fff; border-color: #06D6A0; }
.ftab.classroom.active { background: #4A8FD4; color: #fff; border-color: #4A8FD4; }
.ftab.outdoor.active { background: #FFD166; color: #7A5A00; border-color: #FFD166; }

.gallery-main { padding: 48px 5%; background: linear-gradient(180deg, #FFF8FF 0%, #F8F0FF 100%); }

.cat-section { margin-bottom: 50px; }
.cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cat-badge {
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-activities { background: #FF6B9D; color: #fff; box-shadow: 0 3px 0 #C44B7A; }
.cb-events { background: #06D6A0; color: #fff; box-shadow: 0 3px 0 #049E76; }
.cb-classroom { background: #4A8FD4; color: #fff; box-shadow: 0 3px 0 #1A5A9A; }
.cb-outdoor { background: #FFD166; color: #7A5A00; box-shadow: 0 3px 0 #B8861A; }
.cat-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, currentColor, transparent); opacity: 0.15; }
.cat-count { font-size: 0.78rem; font-weight: 800; color: #999; white-space: nowrap; }

.photo-grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.photo-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 1;
}

.photo-card:hover {
  transform: scale(1.04);
  z-index: 2;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.photo-card:hover .photo-overlay { opacity: 1; }

.photo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.photo-icon { font-size: 42px; display: block; }
.photo-label { font-size: 0.78rem; font-weight: 800; text-align: center; padding: 0 10px; line-height: 1.4; }
.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 18px;
}

.overlay-ico { font-size: 28px; color: #fff; }
.photo-card.wide { grid-column: span 2; aspect-ratio: 2/1; }

.pc-act-1 { background: #FFE8F5; }
.pc-act-1 .photo-label { color: #C44B7A; }
.pc-act-2 { background: #FFF0F8; }
.pc-act-2 .photo-label { color: #C44B7A; }
.pc-act-3 { background: #FFD4EC; }
.pc-act-3 .photo-label { color: #C44B7A; }
.pc-act-4 { background: #FFEEF8; }
.pc-act-4 .photo-label { color: #C44B7A; }
.pc-act-5 { background: #FFE0F5; }
.pc-act-5 .photo-label { color: #C44B7A; }
.pc-act-6 { background: #FFF5FA; }
.pc-act-6 .photo-label { color: #C44B7A; }

.pc-evt-1 { background: #E8F9F5; }
.pc-evt-1 .photo-label { color: #0A5A40; }
.pc-evt-2 { background: #D4F5E9; }
.pc-evt-2 .photo-label { color: #0A5A40; }
.pc-evt-3 { background: #C0F0DC; }
.pc-evt-3 .photo-label { color: #0A5A40; }
.pc-evt-4 { background: #EEFAF5; }
.pc-evt-4 .photo-label { color: #0A5A40; }
.pc-evt-5 { background: #E0F8F0; }
.pc-evt-5 .photo-label { color: #0A5A40; }
.pc-evt-6 { background: #F0FCF8; }
.pc-evt-6 .photo-label { color: #0A5A40; }

.pc-cls-1 { background: #EEF0FF; }
.pc-cls-1 .photo-label { color: #2D3580; }
.pc-cls-2 { background: #E4E8FF; }
.pc-cls-2 .photo-label { color: #2D3580; }
.pc-cls-3 { background: #D8DDFF; }
.pc-cls-3 .photo-label { color: #2D3580; }
.pc-cls-4 { background: #F0F2FF; }
.pc-cls-4 .photo-label { color: #2D3580; }
.pc-cls-5 { background: #E8ECFF; }
.pc-cls-5 .photo-label { color: #2D3580; }
.pc-cls-6 { background: #F5F6FF; }
.pc-cls-6 .photo-label { color: #2D3580; }

.pc-out-1 { background: #FFF3CC; }
.pc-out-1 .photo-label { color: #7A5A00; }
.pc-out-2 { background: #FFEEA0; }
.pc-out-2 .photo-label { color: #7A5A00; }
.pc-out-3 { background: #FFF8D8; }
.pc-out-3 .photo-label { color: #7A5A00; }
.pc-out-4 { background: #FFFAE8; }
.pc-out-4 .photo-label { color: #7A5A00; }
.pc-out-5 { background: #FFF0B0; }
.pc-out-5 .photo-label { color: #7A5A00; }
.pc-out-6 { background: #FFFBE8; }
.pc-out-6 .photo-label { color: #7A5A00; }

.upload-cta {
  background: linear-gradient(135deg, #7B1FA2, #E91E8C);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

.upload-cta::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}

.upload-cta h2,
.upload-cta h3 { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: #fff; margin-bottom: 8px; }
.upload-cta p { color: rgba(255,255,255,.8); font-size: 0.88rem; margin-bottom: 18px; font-weight: 600; }
.upload-btn {
  background: #FFD166;
  color: #7A5A00;
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.93rem;
  box-shadow: 0 4px 0 #B8861A;
  transition: transform 0.15s;
}

.upload-btn:hover { transform: translateY(-2px); }

@media (max-width: 700px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .photo-card.wide { grid-column: span 2; }
}

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

.lightbox.open { display: flex; }

.lb-inner {
  background: #fff;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.lb-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.lb-body { padding: 20px; }
.lb-title { font-family: 'Fredoka One', cursive; font-size: 1.3rem; color: #222; margin-bottom: 4px; }
.lb-cat {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.lb-desc { font-size: 0.85rem; color: #666; font-weight: 600; line-height: 1.7; }

.lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  line-height: 1;
}

.lb-close:hover { background: #e0e0e0; }
