/* =========================================================
   PAUD RUMAH ASA INDONESIA — STYLE.CSS
   Modern Pastel Kindergarten Website
   ========================================================= */

:root{
  --cream:#FFF3E0;
  --off-white:#FBFEFC;
  --sage:#4FAE7D;
  --sage-dark:#1F8E56;
  --soft-green:#8CE2AE;
  --warm-yellow:#FFCC33;
  --warm-yellow-dark:#F2A900;
  --peach:#FFB05C;
  --peach-dark:#FF7A1A;
  --soft-coral:#FF5C4D;
  --sky-blue:#4FC3F7;
  --sky-blue-dark:#0B93D5;
  --lavender:#B79CF2;
  --lavender-dark:#7C4FE0;
  --charcoal:#20201A;
  --text-soft:#4A4A3E;
  --white:#FFFFFF;
  --radius-lg:28px;
  --radius-md:18px;
  --radius-sm:12px;
  --shadow-soft:0 10px 30px rgba(32,32,26,0.12);
  --shadow-hover:0 16px 40px rgba(32,32,26,0.20);
  --font-heading:'Baloo 2', cursive;
  --font-body:'Nunito', sans-serif;
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  color:var(--charcoal);
  background:var(--off-white);
  overflow-x:hidden;
  font-size:16px;
  line-height:1.65;
}

h1,h2,h3,h4,h5,.font-heading{
  font-family:var(--font-heading);
  color:var(--charcoal);
  font-weight:700;
}

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

.section{ padding:80px 0; }
.section-sm{ padding:56px 0; }
@media (max-width:768px){
  .section{ padding:56px 0; }
  .section-sm{ padding:40px 0; }
}

.eyebrow{
  display:inline-block;
  font-family:var(--font-heading);
  font-size:0.85rem;
  letter-spacing:.04em;
  padding:6px 16px;
  border-radius:50px;
  background:var(--soft-green);
  color:var(--sage-dark);
  margin-bottom:14px;
}

.section-title{ font-size:2.1rem; margin-bottom:10px; }
.section-sub{ color:var(--text-soft); max-width:640px; margin-bottom:36px; }
@media (max-width:576px){ .section-title{font-size:1.6rem;} }

/* ---------- BUTTONS ---------- */
.btn{
  font-family:var(--font-heading);
  border-radius:50px;
  padding:12px 28px;
  font-weight:500;
  border:none;
  transition:.25s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn-primary-warm{
  background:var(--peach-dark);
  color:var(--white);
}
.btn-primary-warm:hover{ background:#E85D04; transform:translateY(-2px); box-shadow:var(--shadow-hover); color:var(--white);}
.btn-outline-warm{
  background:transparent;
  border:2px solid var(--sage-dark);
  color:var(--sage-dark);
}
.btn-outline-warm:hover{ background:var(--sage-dark); color:var(--white); transform:translateY(-2px);}
.btn-soft{
  background:var(--white);
  color:var(--charcoal);
  box-shadow:var(--shadow-soft);
}
.btn-soft:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.btn-sm-pill{ padding:8px 18px; font-size:.9rem; border-radius:50px; }

/* ---------- NAVBAR ---------- */
.navbar-asa{
  background:rgba(255,253,248,0.92);
  backdrop-filter:blur(8px);
  padding:14px 0;
  box-shadow:0 2px 14px rgba(58,58,50,0.06);
}
.navbar-asa .navbar-brand{
  font-family:var(--font-heading);
  font-size:1.4rem;
  color:var(--charcoal);
  display:flex;
  align-items:center;
  gap:10px;
}
.navbar-asa .navbar-brand .brand-mascot{ width:38px; height:38px; }
.navbar-asa .nav-link{
  font-family:var(--font-heading);
  font-weight:500;
  color:var(--text-soft);
  margin:0 8px;
  padding:8px 4px !important;
  border-bottom:2px solid transparent;
}
.navbar-asa .nav-link.active,
.navbar-asa .nav-link:hover{
  color:var(--peach-dark);
  border-bottom:2px solid var(--peach-dark);
}
.navbar-asa .btn-contact{
  background:var(--sage-dark);
  color:var(--white);
  border-radius:50px;
  padding:9px 22px;
  font-family:var(--font-heading);
}
.navbar-asa .btn-contact:hover{ background:#749f6d; color:var(--white);}

/* ---------- HERO ---------- */
.hero{
  background:linear-gradient(180deg, var(--cream) 0%, var(--soft-green) 100%);
  padding:70px 0 90px;
  position:relative;
  overflow:hidden;
}
.hero .hero-title{
  font-size:3rem;
  line-height:1.15;
  margin-bottom:18px;
}
.hero .hero-sub{
  font-size:1.15rem;
  color:var(--text-soft);
  max-width:520px;
  margin-bottom:30px;
}
@media (max-width:768px){ .hero .hero-title{ font-size:2.1rem; } }

.hero-visual{
  position:relative;
  min-height:340px;
}
.hero-blob{
  position:absolute;
  inset:0;
  background:var(--warm-yellow);
  border-radius:45% 55% 60% 40% / 50% 45% 55% 50%;
  opacity:.55;
  z-index:0;
}
.hero-art{
  position:relative;
  z-index:1;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.floaty{ animation:floaty 5s ease-in-out infinite; }
.floaty-slow{ animation:floaty 7s ease-in-out infinite; }
@keyframes floaty{
  0%,100%{ transform:translateY(0px); }
  50%{ transform:translateY(-14px); }
}
.deco-icon{ position:absolute; opacity:.85; }

/* ---------- CARDS ---------- */
.card-asa{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:28px 24px;
  box-shadow:var(--shadow-soft);
  transition:.25s ease;
  height:100%;
  border:1px solid rgba(58,58,50,0.04);
}
.card-asa:hover{ transform:translateY(-6px); box-shadow:var(--shadow-hover); }
.card-asa[data-bs-toggle="modal"],
.card-asa[role="button"]{ cursor:pointer; }
.card-asa[data-bs-toggle="modal"]:focus-visible,
.card-asa[role="button"]:focus-visible{ outline:3px solid var(--sage-dark); outline-offset:2px; }
.card-icon-wrap{
  width:56px; height:56px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.6rem;
  margin-bottom:16px;
}
.bg-sage{ background:var(--soft-green); }
.bg-yellow{ background:var(--warm-yellow); }
.bg-peach{ background:var(--peach); }
.bg-blue{ background:var(--sky-blue); }
.bg-lavender{ background:var(--lavender); }
.bg-coral{ background:var(--soft-coral); }

.section-alt-cream{ background:var(--cream); }
.section-alt-yellow{ background:linear-gradient(180deg,var(--off-white),var(--warm-yellow) 140%); background:var(--warm-yellow); opacity:1;}
.section-alt-peach{ background:var(--peach); }
.section-alt-blue{ background:var(--sky-blue); }
.section-alt-lavender{ background:var(--lavender); }
.section-alt-sage{ background:var(--soft-green); }
.section-alt-coral{ background:var(--soft-coral); }

/* picture tile — used everywhere a real photo isn't yet available.
   Styled as a friendly picture tile (soft gradient + icon)
   rather than a construction-style placeholder box. */
.img-placeholder{
  background:linear-gradient(135deg, var(--soft-green) 0%, var(--sky-blue) 55%, var(--lavender) 100%);
  border-radius:var(--radius-md);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#5B6B54;
  font-family:var(--font-heading);
  font-size:.95rem;
  text-align:center;
  padding:14px;
  min-height:220px;
  position:relative;
  overflow:hidden;
}
.img-placeholder::before{
  content:"";
  position:absolute;
  width:120px; height:120px;
  background:rgba(255,255,255,0.35);
  border-radius:50%;
  top:-40px; left:-30px;
}
.img-placeholder::after{
  content:"";
  position:absolute;
  width:80px; height:80px;
  background:rgba(255,255,255,0.25);
  border-radius:50%;
  bottom:-30px; right:-20px;
}
.img-placeholder > *{ position:relative; z-index:1; }
.img-placeholder i{ color:#4C7A3F; }
.img-placeholder small{ display:block; font-family:var(--font-body); font-size:.74rem; margin-top:4px; color:#5B6B54; opacity:.85; }

.art-frame{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.art-frame svg{ border-radius:var(--radius-md); display:block; }

.badge-verify{
  display:inline-block;
  background:#FFF3D6;
  color:#9C6F16;
  border:1px solid #F1D48A;
  border-radius:50px;
  font-size:.72rem;
  padding:3px 10px;
  font-family:var(--font-body);
  font-weight:700;
  margin-left:6px;
  vertical-align:middle;
}
.badge-topic{
  display:inline-block;
  background:#FDE2DD;
  color:#B04A3A;
  border-radius:50px;
  font-size:.72rem;
  padding:3px 10px;
  font-weight:700;
  margin-left:6px;
}

/* ---------- REVIEW ---------- */
.review-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:26px;
  box-shadow:var(--shadow-soft);
  height:100%;
}
.review-stars{ color:var(--warm-yellow-dark); font-size:1.05rem; letter-spacing:2px;}
.review-name{ font-family:var(--font-heading); margin-bottom:0; }
.review-role{ font-size:.82rem; color:var(--sage-dark); font-weight:700; }
.review-date{ font-size:.78rem; color:#A19A88; }

/* ---------- IMAGES (gambar anak-anak) ---------- */
.img-placeholder img,
.gallery-item img,
.card-asa img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.card-img-top-asa{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
}

/* ---------- GALERI BERANDA — AUTO SLOW-MOTION MARQUEE ---------- */
/* Bergerak otomatis ke samping tanpa perlu diklik/di-hover.
   Untuk mengganti kecepatan, ubah nilai "animation: ... 42s" di bawah. */
.gallery-marquee-wrap{
  overflow:hidden;
  width:100%;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  padding:8px 0 28px;
}
.gallery-marquee-track{
  display:flex;
  width:max-content;
  gap:18px;
  animation:marqueeSlide 42s linear infinite;
}
.gallery-marquee-wrap:hover .gallery-marquee-track{
  animation-play-state:paused; /* berhenti sejenak saat kursor di atasnya, memudahkan melihat detail */
}
.gallery-marquee-item{
  flex:0 0 auto;
  width:250px;
  height:180px;
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}
@media (max-width:768px){
  .gallery-marquee-item{ width:190px; height:140px; }
  .gallery-marquee-track{ animation-duration:30s; }
}
@keyframes marqueeSlide{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); } /* -50% karena track berisi 2 set gambar identik */
}


/* ---------- GALLERY ---------- */
.gallery-item{
  border-radius:var(--radius-sm);
  overflow:hidden;
  cursor:pointer;
  position:relative;
  margin-bottom:20px;
}
.gallery-item .img-placeholder{ min-height:190px; margin:0; border-radius:var(--radius-sm); transition:.3s; }
.gallery-item:hover .img-placeholder{ transform:scale(1.03); filter:brightness(0.95); }
.gallery-filter-btn{
  border:none;
  background:var(--white);
  padding:8px 18px;
  border-radius:50px;
  font-family:var(--font-heading);
  margin:4px;
  box-shadow:var(--shadow-soft);
}
.gallery-filter-btn.active{ background:var(--sage-dark); color:var(--white); }

/* ---------- FAQ ACCORDION ---------- */
.faq-item{ background:var(--white); border-radius:var(--radius-md); margin-bottom:14px; box-shadow:var(--shadow-soft); overflow:hidden; }
.faq-question{
  width:100%; text-align:left; background:none; border:none; padding:20px 24px;
  font-family:var(--font-heading); font-size:1.05rem; display:flex; justify-content:space-between; align-items:center;
  cursor:pointer;
}
.faq-question .faq-icon{ transition:.25s; color:var(--peach-dark); }
.faq-item.open .faq-icon{ transform:rotate(45deg); }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .3s ease; padding:0 24px; color:var(--text-soft); }
.faq-item.open .faq-answer{ padding-bottom:20px; }

/* ---------- FORMS ---------- */
.form-asa label{ font-family:var(--font-heading); font-weight:500; margin-bottom:6px; }
.form-asa .form-control, .form-asa .form-select{
  border-radius:var(--radius-sm);
  border:1.5px solid #E7E0CE;
  padding:11px 16px;
}
.form-asa .form-control:focus, .form-asa .form-select:focus{
  border-color:var(--sage-dark);
  box-shadow:0 0 0 3px rgba(143,184,137,0.2);
}
.form-note{ font-size:.82rem; color:#A19A88; }

/* step indicator */
.step-indicator{ display:flex; justify-content:space-between; margin-bottom:40px; flex-wrap:wrap; gap:10px;}
.step-dot{
  flex:1; min-width:90px; text-align:center; position:relative; padding-top:44px;
}
.step-dot .circle{
  width:34px; height:34px; border-radius:50%; background:var(--white); border:2px solid #E7E0CE;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-heading);
  position:absolute; top:0; left:50%; transform:translateX(-50%); color:#B5AC97;
}
.step-dot.active .circle{ background:var(--sage-dark); border-color:var(--sage-dark); color:var(--white); }
.step-dot.done .circle{ background:var(--warm-yellow-dark); border-color:var(--warm-yellow-dark); color:var(--white);}
.step-dot .label{ font-size:.8rem; color:var(--text-soft); font-family:var(--font-heading); }

.form-step{ display:none; }
.form-step.active{ display:block; animation:fadeUp .4s ease; }

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ---------- TOASTS ---------- */
#toast-container{
  position:fixed; top:90px; right:20px; z-index:2000; display:flex; flex-direction:column; gap:10px;
}
.toast-asa{
  background:var(--white); border-left:5px solid var(--sage-dark); border-radius:12px;
  padding:14px 18px; box-shadow:var(--shadow-hover); min-width:260px; max-width:320px;
  font-size:.92rem; animation:slideIn .3s ease;
}
.toast-asa.error{ border-left-color:var(--soft-coral); }
.toast-asa strong{ display:block; font-family:var(--font-heading); margin-bottom:2px; }
@keyframes slideIn{ from{ opacity:0; transform:translateX(30px);} to{opacity:1; transform:translateX(0);} }

/* ---------- LIGHTBOX MODAL ---------- */
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(30,28,20,0.85); z-index:3000;
  display:none; align-items:center; justify-content:center; flex-direction:column;
}
.lightbox-overlay.open{ display:flex; }
.lightbox-content{ max-width:640px; width:90%; text-align:center; }
.lightbox-nav{ display:flex; justify-content:space-between; width:90%; max-width:640px; margin-top:16px; }
.lightbox-nav button{ background:var(--white); border:none; border-radius:50%; width:44px; height:44px; font-size:1.2rem;}
.lightbox-close{ position:absolute; top:24px; right:28px; color:var(--white); font-size:2rem; background:none; border:none; }

/* ---------- FOOTER ---------- */
footer.footer-asa{
  background:var(--charcoal);
  color:#EDE9DD;
  padding:60px 0 24px;
}
footer.footer-asa a{ color:#D8D2C0; }
footer.footer-asa a:hover{ color:var(--warm-yellow); }
footer.footer-asa .footer-brand{ font-family:var(--font-heading); font-size:1.3rem; color:var(--white); }
footer.footer-asa .footer-tagline{ color:#B7B29F; font-size:.9rem; }
footer.footer-asa hr{ border-color:#54534A; margin:32px 0 18px; }
.social-icon{
  width:38px; height:38px; border-radius:50%; background:#4C4B40;
  display:inline-flex; align-items:center; justify-content:center; margin-right:8px;
}
.social-icon:hover{ background:var(--peach-dark); }

/* ---------- FADE IN ON SCROLL ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible{ opacity:1; transform:translateY(0); }

/* ---------- MASCOT / DECOR ---------- */
.mascot-badge{
  width:64px; height:64px; border-radius:50%; background:var(--white);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-soft); margin:0 auto 14px;
}

.page-header{
  padding:60px 0 40px;
  text-align:center;
}

.table-review-admin th, .table-review-admin td{ vertical-align:middle; font-size:.9rem; }
.status-pill{ padding:4px 12px; border-radius:50px; font-size:.75rem; font-weight:700; }
.status-pending{ background:#FFF3D6; color:#9C6F16; }
.status-approved{ background:#DCEDC8; color:#4C7A3F; }
.status-rejected{ background:#FDE2DD; color:#B04A3A; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--sage-dark); color:#fff; padding:10px 16px; z-index:4000;
}
.skip-link:focus{ left:10px; top:10px; }


/* ===== TEMA BIRU-ORANYE (adaptasi Template 43465) ===== */
.navbar-asa{background:linear-gradient(90deg,#0A6FB8 0%,#0B93D5 55%,#4FC3F7 100%);backdrop-filter:none;}
.navbar-asa .navbar-brand,.navbar-asa .nav-link{color:#fff;}
.navbar-asa .nav-link.active,.navbar-asa .nav-link:hover{color:#fff;border-bottom-color:#FFB05C;}
.navbar-asa .btn-contact{background:#FF7A1A;}
.navbar-asa .btn-contact:hover{background:#E5680C;}
.navbar-asa .navbar-toggler{background:#fff;}
.navbar-asa .dropdown-menu{border:0;border-radius:14px;box-shadow:var(--shadow-soft);padding:8px;}
.navbar-asa .dropdown-item{font-family:var(--font-heading);border-radius:10px;padding:8px 14px;}
.navbar-asa .dropdown-item:hover,.navbar-asa .dropdown-item.active{background:#EAF6FD;color:#0B6FB0;}
@media(min-width:992px){.navbar-asa .dropdown:hover>.dropdown-menu{display:block;margin-top:0;}}
.section-alt-cream{background:#EAF6FD;}
.section-alt-peach{background:#D4EEFB;}
.section-alt-lavender{background:#C4E6F8;}
.section-alt-sage{background:#E1F3FB;}
.section-alt-yellow{background:#FFE9D2;}
.section-alt-coral{background:#FF7A1A;}
.section-alt-coral .section-title,.section-alt-coral p{color:#fff;}
.section-alt-blue{background:linear-gradient(135deg,#0B93D5,#4FC3F7);}
.section-alt-blue .section-title,.section-alt-blue .section-sub{color:#fff;}
.btn-primary-warm{background:#FF7A1A;border-color:#FF7A1A;color:#fff;}
.btn-primary-warm:hover{background:#E5680C;border-color:#E5680C;color:#fff;}
.hero-slider{position:relative;overflow:hidden;}
.hero-slider .carousel-item{background:linear-gradient(120deg,#0A6FB8,#0B93D5 55%,#4FC3F7);color:#fff;}
.hero-slider .carousel-item:nth-child(even){background:linear-gradient(120deg,#0B93D5,#4FC3F7 70%,#8AD8FA);}
.hero-slide{display:flex;align-items:center;min-height:460px;padding:60px 0 84px;}
.hero-slide h1,.hero-slide h2{font-family:var(--font-heading);font-weight:700;color:#fff;font-size:2.8rem;line-height:1.15;}
.hero-slide p{font-size:1.15rem;color:#fff;max-width:520px;margin-bottom:24px;}
.hero-slide .slide-icon{font-size:10rem;color:rgba(255,255,255,.92);}
@media(max-width:768px){.hero-slide h1,.hero-slide h2{font-size:2.1rem;}.hero-slide{min-height:400px;}}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:64px;height:84px;border:0;background:#FF7A1A;color:#fff;z-index:5;display:flex;align-items:center;font-size:1.3rem;}
.hero-arrow:hover{background:#E5680C;}
.hero-arrow.prev{left:0;clip-path:polygon(100% 0,0 50%,100% 100%);justify-content:flex-end;padding-right:12px;}
.hero-arrow.next{right:0;clip-path:polygon(0 0,100% 50%,0 100%);justify-content:flex-start;padding-left:12px;}
.hero-slider .carousel-indicators [data-bs-target]{width:12px;height:12px;border-radius:50%;border:0;background:#fff;}
.hero-slider .carousel-indicators .active{background:#FF7A1A;}
@media(prefers-reduced-motion:reduce){.hero-slider .carousel-item{transition:none;}}
.map-wrap{border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-soft);height:100%;min-height:260px;}
.map-embed{display:block;width:100%;height:100%;min-height:300px;border:0;}
.pf-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;padding:14px;color:#fff;background:linear-gradient(0deg,rgba(10,111,184,.88),rgba(10,111,184,0) 65%);opacity:0;transition:opacity .25s;}
.gallery-item:hover .pf-overlay,.gallery-item:focus .pf-overlay{opacity:1;}
.pf-overlay span{font-size:.85rem;color:#FFD2A8;}
.blog-widget{background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-soft);padding:16px;margin-bottom:16px;}
.blog-widget h6{font-family:var(--font-heading);color:#0B6FB0;}
.blog-widget li{padding:4px 0;}.blog-widget a{color:var(--text-soft);text-decoration:none;}.blog-widget a:hover{color:#FF7A1A;}

.topbar{background:#0A5C98;color:#fff;font-size:.85rem;padding:6px 0;}
.slide-kids{width:100%;max-width:420px;filter:drop-shadow(0 8px 14px rgba(0,0,0,.15));}
.open-badge{display:inline-block;padding:6px 16px;border-radius:50px;font-weight:700;background:#eee;}
.open-badge.is-open{background:#D7F5DE;color:#1B7A3A;}.open-badge.is-closed{background:#FFE1D0;color:#B5470B;}
.fab-wa,.fab-top{position:fixed;right:18px;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.4rem;border:0;z-index:1030;box-shadow:0 4px 12px rgba(0,0,0,.25);}
.fab-wa{bottom:18px;background:#25D366;}.fab-wa:hover{color:#fff;background:#1EBE5A;}
.fab-top{bottom:76px;background:#0B93D5;opacity:0;pointer-events:none;transition:opacity .2s;}.fab-top.show{opacity:1;pointer-events:auto;}
