/* ============================================================
   GUHAN SCHOOL — SHARED STYLESHEET  v2 (fixed)
   No @import — fonts loaded via <link> in each HTML file
   Works both on filesystem (file://) and web server
   ============================================================ */

:root {
  --gold:         #C9963A;
  --gold-light:   #E8C278;
  --gold-pale:    #FDF6E8;
  --deep:         #1A1208;
  --forest:       #2D4A2A;
  --forest-light: #3D6438;
  --cream:        #FAF7F0;
  --warm-white:   #FEFCF8;
  --text:         #2C2416;
  --text-muted:   #6B5D45;
  --border:       rgba(201,150,58,0.18);
  --shadow:       0 20px 60px rgba(26,18,8,0.10);
  --shadow-sm:    0 4px 20px rgba(26,18,8,0.07);
  --shadow-lg:    0 40px 100px rgba(26,18,8,0.16);
  --radius:       16px;
  --radius-lg:    24px;
  --nav-h:        72px;
  --transition:   all 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600; line-height: 1.15;
}
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad    { padding: 96px 24px; }
.section-pad-sm { padding: 64px 24px; }

/* ── SECTION LABELS / HEADERS ── */
.section-label {
  display: block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(30px,4vw,50px); color: var(--deep); margin-bottom: 16px; }
.section-header p  { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.75; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.4px;
  transition: var(--transition); white-space: nowrap;
  cursor: pointer; font-family: inherit; border: none;
  text-decoration: none;
}
.btn-gold    { background: var(--gold); color: #fff; }
.btn-gold:hover  { background: #B8852F; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,150,58,0.38); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.38); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }
.btn-wa   { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.38); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,18,8,0.28); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── NOTICE BAR ── */
.notice-bar {
  background: var(--forest); text-align: center;
  padding: 10px 20px; font-size: 13px; color: rgba(255,255,255,0.9);
}
.notice-bar a { color: var(--gold-light); font-weight: 600; margin-left: 8px; }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h); transition: var(--transition);
}
nav.site-nav.scrolled {
  background: rgba(250,247,240,0.97);
  backdrop-filter: blur(24px);
  box-shadow: 0 2px 24px rgba(26,18,8,0.09);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg,var(--gold),var(--gold-light));
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.nav-logo-name { font-family: 'Cormorant Garamond',Georgia,serif; font-size: 18px; font-weight: 700; line-height: 1.2; }
.nav-logo-sub  { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color 0.28s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.28s; transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
/* White nav for dark hero pages */
nav.site-nav.nav-white .nav-logo-name { color: #fff; }
nav.site-nav.nav-white .nav-logo-sub  { color: var(--gold-light); }
nav.site-nav.nav-white .nav-links a   { color: rgba(255,255,255,0.78); }
nav.site-nav.nav-white .nav-links a:hover { color: #fff; }
nav.site-nav.nav-white .hamburger span { background: #fff; }
/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--warm-white); z-index: 899; flex-direction: column;
  padding: 16px 24px 28px; box-shadow: 0 20px 40px rgba(26,18,8,0.14);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 15px 0; border-bottom: 1px solid var(--border);
  font-size: 16px; font-weight: 500; color: var(--text);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg,var(--deep) 0%,var(--forest) 55%,var(--deep) 100%);
  padding: 148px 24px 88px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image: 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='%23C9963A'%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/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(34px,5vw,60px); color: #fff; margin-bottom: 16px; }
.page-hero h1 em { color: var(--gold-light); font-style: italic; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 24px; }
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,0.42); margin-bottom: 20px;
}
.page-breadcrumb a { color: var(--gold-light); }
.page-breadcrumb span { opacity: 0.4; }

/* ── MARQUEE ── */
.marquee-strip { background: var(--gold); padding: 13px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; animation: marquee 32s linear infinite; width: max-content; }
.marquee-item  { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 13px; font-weight: 600; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.marquee-dot   { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.45); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--warm-white); border-bottom: 1px solid var(--border); padding: 36px 24px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust-item  { display: flex; align-items: center; gap: 10px; }
.trust-icon  { font-size: 22px; }
.trust-text  { font-size: 13px; font-weight: 600; color: var(--text); }
.trust-divider { width: 1px; height: 28px; background: var(--border); }

/* ── STICKY CTAs ── */
.sticky-cta { position: fixed; right: 20px; bottom: 90px; display: flex; flex-direction: column; gap: 12px; z-index: 998; }
.sticky-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: var(--transition); text-decoration: none;
}
.sticky-btn:hover { transform: scale(1.1); }
.sticky-wa   { background: #25D366; animation: pg 2.2s ease-in-out infinite; }
.sticky-call { background: var(--gold); animation: pa 2.2s ease-in-out infinite 0.5s; }
@keyframes pg { 0%,100%{box-shadow:0 6px 24px rgba(37,211,102,0.38)} 50%{box-shadow:0 6px 36px rgba(37,211,102,0.65)} }
@keyframes pa { 0%,100%{box-shadow:0 6px 24px rgba(201,150,58,0.38)} 50%{box-shadow:0 6px 36px rgba(201,150,58,0.65)} }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 7px; letter-spacing: 0.5px; text-transform: uppercase; }
.form-control {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text); transition: border-color 0.28s;
  appearance: none; -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { resize: none; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5D45' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 15px; background: var(--gold); color: #fff;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  transition: var(--transition); font-family: inherit; border: none; cursor: pointer;
}
.form-submit:hover { background: #B8852F; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,150,58,0.38); }

/* ── CONTACT STRIP ── */
.contact-strip { padding: 80px 24px; background: var(--gold); }
.contact-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-strip h2 { font-size: clamp(26px,3.5vw,42px); color: var(--deep); margin-bottom: 6px; }
.contact-strip p { font-size: 16px; color: rgba(26,18,8,0.65); }
.contact-strip-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
.brand-logo-chip { background:#fff; border-radius:10px; padding:5px 9px; display:inline-flex; align-items:center; box-shadow:0 2px 10px rgba(0,0,0,0.12); flex-shrink:0; }
.brand-logo-chip img { height:34px; width:auto; display:block; }
footer .brand-logo-chip img { height:38px; }
footer { background: var(--deep); padding: 80px 24px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-circle { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--gold-light)); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.footer-logo-name { font-family: 'Cormorant Garamond',Georgia,serif; font-size: 18px; font-weight: 700; color: #fff; }
.footer-logo-sub  { font-size: 10px; color: var(--gold-light); letter-spacing: 1.5px; text-transform: uppercase; }
.footer-brand p   { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.75; margin-bottom: 20px; }
.footer-social    { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.11); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: var(--transition); }
.social-link:hover { background: var(--gold); border-color: var(--gold); }
.footer-col h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-icon { font-size: 15px; flex-shrink: 0; }
.footer-contact-text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.55; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.28); transition: color 0.25s; }
.footer-bottom-links a:hover { color: var(--gold-light); }
.footer-seo { margin-top: 20px; font-size: 10px; color: rgba(255,255,255,0.1); line-height: 1.7; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── TOAST ── */
#gs-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--deep); color: #fff; padding: 13px 22px;
  border-radius: 50px; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28); z-index: 9999;
  opacity: 0; transition: all 0.38s; white-space: nowrap; pointer-events: none;
}
#gs-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── LIGHTBOX ── */
#gs-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.93);
  z-index: 9999; display: none; align-items: center; justify-content: center;
  padding: 20px; flex-direction: column; gap: 16px;
}
#gs-lightbox.open { display: flex; }
#gs-lb-close { position: absolute; top: 20px; right: 24px; background: none; color: #fff; font-size: 36px; cursor: pointer; border: none; line-height: 1; }
#gs-lb-media img, #gs-lb-media video { max-width: 90vw; max-height: 80vh; border-radius: 12px; object-fit: contain; }
#gs-lb-caption { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media(max-width:1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(max-width:768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-strip-inner { flex-direction: column; text-align: center; }
  .contact-strip-actions { justify-content: center; }
  .section-pad { padding: 64px 20px; }
  .trust-divider { display: none; }
}
@media(max-width:480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn { padding: 12px 22px; font-size: 13px; }
}
