/* =============================================
   GYANSTHALI INTERNATIONAL SCHOOL
   SHARED DESIGN SYSTEM - ALL PAGES
   Version 2.0 | 2026-27 Session
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --pink:     #e24a7f;
  --orange:   #ff9f1c;
  --dark:     #1c2b4b;
  --soft:     #fff8fb;
  --muted:    #6c757d;
  --white:    #ffffff;
  --text:     #2d2d2d;
  --radius:   16px;
  --shadow:   0 8px 32px rgba(226,74,127,.12);
  --shadow-lg:0 20px 60px rgba(0,0,0,.12);
  --trans:    all .3s ease;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: #fff;
}
h1,h2,h3 { font-family: 'Baloo 2', cursive; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ===== ANNOUNCEMENT BAR ===== */
.ann-bar {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #fff; padding: 7px 0;
  position: relative; overflow: hidden; z-index: 9999;
}
.ticker-wrap { overflow: hidden; width: calc(100% - 44px); }
.ticker {
  display: flex; white-space: nowrap;
  animation: tickerAnim 40s linear infinite;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
}
.ticker span { margin: 0 48px; }
@keyframes tickerAnim {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
.ann-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.25); border: none; color: #fff;
  width: 26px; height: 26px; border-radius: 50%; font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.ann-close:hover { background: rgba(255,255,255,.4); }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--dark); font-size: 12.5px;
  padding: 6px 0;
}
.topbar a, .topbar span {
  color: rgba(255,255,255,.75); text-decoration: none; transition: var(--trans);
}
.topbar a:hover { color: var(--orange); }
.soc-btn {
  width: 26px; height: 26px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 11px;
  transition: var(--trans);
}
.soc-btn:hover { transform: scale(1.2); }
.soc-btn.fb { background: #1877f2; color:#fff; }
.soc-btn.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366); color:#fff; }
.soc-btn.yt { background: #ff0000; color:#fff; }
.soc-btn.wa { background: #25d366; color:#fff; }

/* ===== NAVBAR ===== */
#siteNav {
  background: #fff; padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: var(--trans); z-index: 1000;
}
#siteNav.scrolled { padding: 5px 0; box-shadow: 0 4px 30px rgba(0,0,0,.12); }
.nav-logo { height: 64px; object-fit: contain; }
.brand-nm {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem; font-weight: 800;
  color: var(--pink); line-height: 1;
}
.brand-sub {
  font-size: 8.5px; font-weight: 700;
  letter-spacing: 1.6px; color: var(--muted);
}
.navbar-nav .nav-link {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700; font-size: 13.5px;
  color: var(--text) !important;
  padding: 7px 14px !important;
  border-radius: 8px; transition: var(--trans);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--pink) !important;
  background: rgba(226,74,127,.07);
}
.btn-apply {
  background: var(--pink); color: #fff !important; border: none;
  padding: 8px 20px; border-radius: 50px; font-weight: 700;
  font-size: 13px; transition: var(--trans);
}
.btn-apply:hover {
  background: var(--orange); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,159,28,.35);
}
.btn-nav-fee {
  background: transparent; color: var(--pink) !important;
  border: 1.5px solid var(--pink); padding: 7px 16px;
  border-radius: 50px; font-weight: 700; font-size: 13px;
  transition: var(--trans);
}
.btn-nav-fee:hover { background: var(--pink); color: #fff !important; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1b69 60%, #e24a7f 100%);
  padding: 90px 0 60px; position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem,4.5vw,3.2rem);
  font-weight: 800; color: #fff;
}
.page-hero-sub { color: rgba(255,255,255,.8); font-size: 1rem; }
.breadcrumb-custom a { color: rgba(255,255,255,.65); text-decoration:none; }
.breadcrumb-custom span { color: var(--orange); font-weight: 700; }

/* ===== SECTION LABELS ===== */
.sec-tag {
  display: inline-block; background: rgba(226,74,127,.1);
  color: var(--pink); padding: 5px 18px; border-radius: 50px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .4px; margin-bottom: 10px;
}
.sec-tag.light { background: rgba(255,255,255,.15); color: #fff; }
.sec-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.5rem,2.8vw,2.1rem); font-weight: 800;
  color: var(--text); margin-bottom: 10px; line-height: 1.25;
}
.sec-title .hl { color: var(--pink); }
.sec-sub {
  color: var(--muted); font-size: 14.5px;
  max-width: 600px; line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn-pink {
  background: var(--pink); color: #fff !important; border: none;
  padding: 12px 28px; border-radius: 50px; font-weight: 700;
  font-size: 14px; transition: var(--trans); display: inline-flex;
  align-items: center; gap: 8px;
}
.btn-pink:hover { background: #c73570; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(226,74,127,.35); }
.btn-orange {
  background: var(--orange); color: #fff !important; border: none;
  padding: 12px 28px; border-radius: 50px; font-weight: 700;
  font-size: 14px; transition: var(--trans); display: inline-flex; align-items: center; gap: 8px;
}
.btn-orange:hover { background: #e08800; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,159,28,.35); }
.btn-outline-pink {
  background: transparent; color: var(--pink) !important;
  border: 2px solid var(--pink); padding: 10px 26px;
  border-radius: 50px; font-weight: 700; font-size: 14px; transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-pink:hover { background: var(--pink); color: #fff !important; }
.btn-wa {
  background: #25d366; color: #fff !important; border: none;
  padding: 12px 28px; border-radius: 50px; font-weight: 700;
  font-size: 14px; transition: var(--trans); display: inline-flex; align-items: center; gap: 8px;
}
.btn-wa:hover { background: #1da852; transform: translateY(-2px); }

/* ===== CARDS — FEATURES ===== */
.feat-card {
  background: #fff; border-radius: 18px; padding: 26px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: var(--trans); height: 100%;
  border-left: 4px solid transparent;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-left-color: var(--pink); }
.feat-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px;
}
.fi-pink  { background: rgba(226,74,127,.12); color: var(--pink); }
.fi-orange{ background: rgba(255,159,28,.12); color: var(--orange); }
.fi-green { background: rgba(46,213,115,.12); color: #2ed573; }
.fi-blue  { background: rgba(29,161,242,.12); color: #1da1f2; }
.fi-purple{ background: rgba(108,53,131,.12); color: #6c3483; }
.fi-teal  { background: rgba(0,178,169,.12); color: #00b2a9; }
.fi-red   { background: rgba(220,53,69,.12); color: #dc3545; }
.fi-indigo{ background: rgba(102,16,242,.12); color: #6610f2; }
.feat-card h5 { font-weight: 800; font-size: .97rem; margin-bottom: 8px; }
.feat-card p { color: #666; font-size: 13.5px; line-height: 1.7; margin: 0; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--dark) 0%, #3b1f6a 100%);
  border-radius: 24px; padding: 44px;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-strip .cta-badge {
  background: var(--orange); color: #fff;
  padding: 4px 14px; border-radius: 50px;
  font-size: 11.5px; font-weight: 700; display: inline-block; margin-bottom: 10px;
}
.cta-strip h2 {
  font-family: 'Baloo 2', cursive;
  color: #fff; font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 800; margin-bottom: 8px;
}
.cta-strip h2 span { color: var(--orange); }
.cta-strip p { color: rgba(255,255,255,.8); font-size: 14.5px; }

/* ===== TESTIMONIALS ===== */
.testi-card {
  background: #fff; border-radius: 18px; padding: 26px;
  box-shadow: 0 4px 22px rgba(0,0,0,.07);
  margin: 10px 6px;
}
.testi-stars { color: #ffc107; letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }
.testi-text { color: #555; font-size: 13.5px; line-height: 1.8; font-style: italic; margin-bottom: 18px; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.testi-nm { font-weight: 800; font-size: 13.5px; }
.testi-rl { font-size: 11.5px; color: var(--muted); }

/* ===== OWL DOTS ===== */
.owl-dot span {
  width: 10px !important; height: 10px !important;
  background: #e9ecef !important; border-radius: 50% !important; margin: 0 4px !important; transition: var(--trans) !important;
}
.owl-dot.active span {
  background: var(--pink) !important;
  width: 26px !important; border-radius: 5px !important;
}

/* ===== FOOTER ===== */
.site-footer { background: #0e1827; }
.footer-top { padding: 56px 0 36px; }
.f-logo { height: 46px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.f-brand-nm { font-family:'Baloo 2',cursive; font-size:1.35rem; font-weight:800; color:#fff; }
.f-brand-sub { font-size:9px; font-weight:700; letter-spacing:1.5px; color:rgba(255,255,255,.45); }
.f-desc { color: rgba(255,255,255,.58); font-size: 13.5px; line-height: 1.8; margin-bottom: 18px; }
.f-soc { display: flex; gap: 8px; }
.f-sb { width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;transition:var(--trans); }
.f-sb:hover { transform: scale(1.15); }
.f-sb.fb{background:#1877f2;color:#fff;}
.f-sb.ig{background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366);color:#fff;}
.f-sb.yt{background:#ff0000;color:#fff;}
.f-sb.wa{background:#25d366;color:#fff;}
.f-head { color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 18px; padding-bottom: 9px; border-bottom: 2px solid rgba(255,255,255,.08); }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 7px; }
.f-links a { color: rgba(255,255,255,.58); font-size: 13px; transition: var(--trans); display: flex; align-items: center; gap: 6px; }
.f-links a:hover { color: var(--orange); padding-left: 4px; }
.f-links a i { font-size: 9px; }
.f-contact-item { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
.f-contact-item i { color: var(--pink); margin-top: 2px; flex-shrink: 0; }
.f-contact-item a { color: rgba(255,255,255,.8); }
.f-contact-item a:hover { color: var(--orange); }
.f-adm-badge {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border-radius: 14px; padding: 18px; text-align: center; color: #fff;
}
.footer-bottom { background: rgba(0,0,0,.2); border-top: 1px solid rgba(255,255,255,.06); }
.footer-bottom p { color: rgba(255,255,255,.45); font-size: 11.5px; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--orange); }

/* ===== BACK TO TOP ===== */
.btt {
  position: fixed; right: 22px; bottom: 88px;
  width: 44px; height: 44px; background: var(--pink); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; box-shadow: 0 6px 18px rgba(226,74,127,.4);
  opacity: 0; visibility: hidden; transition: var(--trans); z-index: 997;
}
.btt.show { opacity: 1; visibility: visible; }
.btt:hover { background: var(--orange); transform: translateY(-3px); color: #fff; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; left: 20px; bottom: 20px;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.55rem;
  box-shadow: 0 6px 22px rgba(37,211,102,.4); z-index: 996;
  transition: var(--trans);
}
.wa-float:hover { background: #1da852; transform: scale(1.1); color: #fff; }
.wa-pulse {
  position: absolute; width: 100%; height: 100%; border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform:scale(1);opacity:.6; } 100% { transform:scale(2.2);opacity:0; } }

/* ===== FEE TABLE ===== */
.fee-tbl { width: 100%; border-collapse: collapse; }
.fee-tbl th { background: var(--pink); color: #fff; padding: 11px 15px; font-size: 13.5px; text-align: left; }
.fee-tbl td { padding: 9px 15px; border-bottom: 1px solid #f0f0f0; font-size: 13.5px; }
.fee-tbl tr:hover td { background: rgba(226,74,127,.04); }
.fee-total td { font-weight: 800; color: var(--pink); background: rgba(226,74,127,.06) !important; border-top: 2px solid var(--pink); }

/* ===== POPUP ===== */
.pop-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.88);
  display: none; justify-content: center; align-items: center; z-index: 9999;
  padding: 20px;
}
.pop-inner {
  position: relative; max-width: 460px; width: 100%;
}
.pop-inner img { width: 100%; border-radius: 14px; display: block; }
.pop-close {
  position: absolute; top: -42px; right: 0;
  width: 36px; height: 36px; background: rgba(255,255,255,.95); border: none; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3); color: var(--text); transition: var(--trans);
  z-index: 10001; line-height: 1;
}
.pop-close:hover { background: var(--pink); color: #fff; transform: scale(1.1); }
.pop-close:focus { outline: 2px solid var(--orange); }
.pop-action { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
/* Tap-outside hint */
.pop-hint { text-align: center; color: rgba(255,255,255,.5); font-size: 11.5px; margin-top: 8px; }

/* ===== SPINNER ===== */
#spinner { opacity:0;visibility:hidden;transition:opacity .8s ease-out,visibility 0s linear .5s;z-index:99999; }
#spinner.show { opacity:1;visibility:visible;transition:opacity .8s ease-out; }

/* ===== MOBILE ===== */
@media (max-width: 991.98px) {
  .topbar { display: none !important; }
  .navbar-collapse { background: #fff; padding: 12px 20px; border-top: 1px solid #f0f0f0; }
  .nav-cta { margin-top: 12px; }
  .cta-strip { padding: 28px 22px; }
  .page-hero { padding: 100px 0 40px; }
}
@media (max-width: 575.98px) {
  .ann-bar { font-size: 11.5px; }
  .brand-nm { font-size: 1.3rem; }
  .nav-logo { height: 52px; }
  .sec-title { font-size: 1.4rem; }
  .cta-strip { padding: 24px 16px; }
  .f-adm-badge { margin-top: 16px; }
}
