/* ============================================================
   BRIGHT HORIZONS — GLOBAL STYLESHEET
   All pages import: theme.css then global.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--page-bg); color: var(--text-body); line-height: 1.6; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.06) 0%, rgba(var(--primary-rgb),.02) 100%), var(--nav-bg);
  position: sticky; top: 0; z-index: 1000;
  height: 68px; display: flex; align-items: center;
  padding: 0 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(var(--primary-rgb),.1);
}
.nav-inner {
  max-width: 1100px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--nav-active-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.nav-logo-name { font-family: var(--font-display); font-weight: 800; color: var(--nav-text); font-size: 1.2rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.nav-logo-sub  { font-size: 0.58rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.nav-board-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--accent-bg); color: var(--accent-text);
  border: 1px solid rgba(0,0,0,0.06); white-space: nowrap; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: var(--nav-text); font-weight: 700; font-size: 0.82rem;
  padding: 7px 13px; border-radius: 8px; opacity: 0.78;
  transition: all 0.2s; letter-spacing: 0.02em;
}
.nav-links a:hover { opacity: 1; background: rgba(var(--primary-rgb),.08); color: var(--primary); }
.nav-links a.active { background: rgba(var(--primary-rgb),.12); color: var(--primary); opacity: 1; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--nav-text); border-radius: 2px; transition: all 0.3s;
}

/* ── PAGE HERO BANNER (inner pages) ─────────────────────── */
.page-banner {
  background: var(--hero-bg);
  padding: 4rem 2rem 3.5rem;
  position: relative; overflow: hidden;
}
.page-banner-shapes { position: absolute; inset: 0; pointer-events: none; }
.pbs { position: absolute; border-radius: 50%; background: var(--primary); }
.pbs-1 { width: 320px; height: 320px; top: -100px; right: 3%; opacity: 0.12; }
.pbs-2 { width: 180px; height: 180px; bottom: -60px; right: 22%; opacity: 0.07; }
.pbs-3 { width: 130px; height: 130px; top: 10%; left: -40px; opacity: 0.06; }
.page-banner-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.page-banner-breadcrumb {
  font-size: 0.73rem; font-weight: 600; color: rgba(255,255,255,0.45);
  margin-bottom: 0.7rem; letter-spacing: 0.04em;
}
.page-banner-breadcrumb a { color: rgba(255,255,255,0.45); }
.page-banner-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.page-banner h1 {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 0.7rem;
}
.page-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem; font-weight: 500; max-width: 520px; line-height: 1.7;
}

/* ── SECTION UTILITIES ───────────────────────────────────── */
.section      { padding: 4.5rem 2rem; }
.section-white { background: var(--white); }
.section-page  { background: var(--page-bg); }
.section-alt   { background: var(--section-bg-alt); }
.section-inner { max-width: 1160px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 2.8rem; }
.section-tag {
  display: inline-block; background: var(--accent-bg); color: var(--primary);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 16px; border-radius: 50px; margin-bottom: 0.8rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--text-heading); margin-bottom: 0.6rem; line-height: 1.2;
}
.section-desc { color: var(--text-muted); font-size: 0.97rem; font-weight: 600; max-width: 520px; margin: 0 auto; line-height: 1.65; }

/* ── SECTION HEADER SYSTEM (shared across all pages) ────── */
.sec-eyebrow {
  display: inline-block; background: var(--accent-bg); color: var(--accent-text);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: var(--radius-pill); margin-bottom: 0.9rem;
}
.sec-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--text-heading); font-weight: 800; line-height: 1.15;
}
.sec-title .hl { color: var(--primary); }
.sec-sub { color: var(--text-muted); font-size: 0.97rem; line-height: 1.7; margin-top: 0.6rem; }

/* ── ICON BOX ────────────────────────────────────────────── */
.ds-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.ds-icon-sm { width: 44px; height: 44px; border-radius: 12px; font-size: 1.2rem; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.empty-state svg { display: block; margin: 0 auto; }
.empty-state p { margin-top: 1rem; font-weight: 600; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block; font-weight: 800; font-size: 0.93rem;
  padding: 12px 28px; border-radius: 50px; border: none;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em;
}
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline-dark {
  background: transparent; color: var(--accent);
  border: 2px solid var(--card-border); font-weight: 800; font-size: 0.9rem;
  padding: 10px 24px; border-radius: 50px; transition: all 0.2s; cursor: pointer;
}
.btn-outline-dark:hover { border-color: var(--accent); background: var(--accent-bg); }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1.5px solid var(--card-border); padding: 1.8rem 1.5rem;
  transition: all 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--card-hover-border); }
.card-tinted {
  background: var(--card-bg); border-radius: var(--radius-lg);
  border: 1.5px solid var(--card-border); padding: 1.8rem 1.5rem;
  transition: all 0.25s;
}
.card-tinted:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* ── SUBJECT CARD TINTS ─────────────────────────────────── */
.s1 { background: var(--subject-1-bg); border-color: var(--subject-1-border); }
.s2 { background: var(--subject-2-bg); border-color: var(--subject-2-border); }
.s3 { background: var(--subject-3-bg); border-color: var(--subject-3-border); }
.s4 { background: var(--subject-4-bg); border-color: var(--subject-4-border); }
.s5 { background: var(--subject-5-bg); border-color: var(--subject-5-border); }
.s6 { background: var(--subject-6-bg); border-color: var(--subject-6-border); }

/* ── PILL / BADGE ────────────────────────────────────────── */
.pill {
  display: inline-block; background: var(--card-bg); color: var(--accent);
  border: 1.5px solid var(--card-border); font-weight: 700;
  font-size: 0.78rem; padding: 4px 13px; border-radius: 50px;
}
.badge {
  display: inline-block; font-size: 0.65rem; font-weight: 800;
  padding: 3px 10px; border-radius: 50px;
  background: var(--accent-bg); color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.07em;
}

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; box-shadow: var(--shadow-hover);
  opacity: 0; transform: translateY(12px); transition: all 0.3s; z-index: 500;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.1); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--footer-bg); padding: 3.5rem 2rem 1.5rem; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-logo-name { font-family: var(--font-display); color: #ffffff; font-size: 1.3rem; margin-bottom: 3px; }
.footer-logo-sub  { font-size: 0.6rem; color: rgba(255,255,255,0.60); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-brand p   { color: var(--footer-text); font-size: 0.85rem; line-height: 1.7; font-weight: 600; margin-bottom: 1.2rem; }
.footer-socials   { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.80); cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.social-btn:hover           { transform: translateY(-3px); color: #fff; }
.social-facebook:hover      { background: #1877f2; border-color: #1877f2; }
.social-instagram:hover     { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: #d6249f; }
.social-youtube:hover       { background: #ff0000; border-color: #ff0000; }
.social-whatsapp:hover      { background: #25d366; border-color: #25d366; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 800; color: var(--footer-accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--footer-text); font-size: 0.85rem; font-weight: 600; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--footer-accent); }
.footer-bottom {
  max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--footer-text); font-weight: 600; }
.footer-bottom span { color: var(--footer-accent); font-weight: 700; }

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 800; color: #444; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--form-input-bg);
  border: 1.5px solid var(--form-input-border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  color: #333; outline: none; transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--form-input-focus); background: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #ccc; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card {
  background: var(--form-bg); border-radius: var(--radius-lg);
  border: 2px solid var(--form-border); padding: 2.2rem;
  box-shadow: var(--shadow-card);
}
.form-submit {
  width: 100%; padding: 13px; background: var(--btn-primary-bg);
  color: var(--btn-primary-text); font-family: var(--font-body);
  font-weight: 800; font-size: 0.95rem; border: none;
  border-radius: 50px; cursor: pointer; transition: all 0.2s;
}
.form-submit:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav-board-badge { display: none; }
  .navbar { padding: 0 1rem; }
  .nav-logo { gap: 8px; }
  .nav-logo-icon { width: 36px; height: 36px; font-size: 18px; }
  .nav-logo-name { font-size: 1rem; max-width: 200px; }
  .nav-logo-sub { display: none; }

  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 68px; left: 0; right: 0;
    background: linear-gradient(160deg, rgba(var(--primary-rgb),.07) 0%, rgba(var(--primary-rgb),.03) 100%), var(--nav-bg);
    padding: .6rem 1rem 1rem; gap: 3px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-top: 1px solid rgba(var(--primary-rgb),.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { width: 100%; padding: 11px 14px; border-radius: 8px; text-align: center; justify-content: center; display: flex; }
}
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.2rem; }
}

/* ── SHARED JS SNIPPET (paste at bottom of every page) ───── */
/* function toggleMenu(){document.getElementById('nav-links').classList.toggle('open');}
   Scroll reveal + back-to-top — see _scripts.js */
