/* ============================================================
   SchoolFMS — style.css (Global)
   Fonts · Colors · Reset · Shared utilities
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700;1,900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:       #0B1D3A;
  --navy-deep:  #060f1e;
  --blue:       #1A56DB;
  --blue-dark:  #1648c0;
  --sky:        #38BDF8;
  --green:      #10B981;
  --gold:       #F59E0B;
  --purple:     #7C3AED;
  --teal:       #0891B2;
  --red:        #DC2626;
  --white:      #ffffff;
  --light:      #F7FAFF;
  --gray:       #64748B;
  --gray-light: #94a3b8;
  --border:     #E2EAF4;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --header-h:   72px;
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --sh-sm:   0 2px 8px  rgba(11,29,58,0.06);
  --sh-md:   0 8px 28px rgba(11,29,58,0.10);
  --sh-lg:   0 20px 56px rgba(11,29,58,0.14);
  --sh-blue: 0 6px 20px rgba(26,86,219,0.35);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--navy); overflow-x: hidden; cursor: none; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: var(--font-body); }

/* ── Custom Cursor ── */
.cursor {
  width: 9px; height: 9px; background: var(--blue); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 99999;
  transition: transform 0.15s ease;
}
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(26,86,219,0.35); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 99998; transition: transform 0.15s ease;
}
.cursor.hover   { transform: scale(2.5); }
.cursor-ring.hover { transform: scale(1.4); }

/* ── Shared Buttons ── */
.btn-primary {
  background: var(--blue); color: var(--white);
  padding: 13px 28px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.875rem; display: inline-block;
  transition: all 0.25s; box-shadow: var(--sh-blue); cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--border); color: var(--navy);
  padding: 13px 28px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.875rem; display: inline-block; transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.75);
  padding: 13px 28px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.875rem; display: inline-block; transition: all 0.25s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── Decorations ── */
.geo-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow-blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }

/* ── Section helpers ── */
.section-eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
  background: rgba(26,86,219,0.08); border: 1px solid rgba(26,86,219,0.15);
  padding: 5px 14px; border-radius: 30px; display: inline-block; margin-bottom: 16px;
}
.section-eyebrow.light { color: var(--sky); background: rgba(56,189,248,0.1); border-color: rgba(56,189,248,0.2); }
.section-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.display-title { font-family: var(--font-display); font-weight: 900; line-height: 1.1; }
.text-center { text-align: center; }

/* ── Page Hero (dark) ── */
.page-hero-dark {
  background: var(--navy); padding: calc(var(--header-h) + 80px) 6% 90px;
  position: relative; overflow: hidden; text-align: center;
}
.page-hero-dark h1 { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,3.8rem); font-weight: 900; color: var(--white); margin-bottom: 18px; line-height: 1.1; }
.page-hero-dark h1 em { font-style: italic; color: var(--sky); }
.page-hero-dark p { color: rgba(255,255,255,0.52); font-size: 0.97rem; line-height: 1.85; max-width: 520px; margin: 0 auto; }

/* ── CTA Band (shared) ── */
.cta-band { padding: 90px 6%; background: var(--light); }
.cta-band-card {
  max-width: 1160px; margin: 0 auto; background: var(--navy);
  border-radius: var(--r-xl); padding: 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 56px;
  align-items: center; position: relative; overflow: hidden;
}
.cta-band-glow { position: absolute; top: -60px; right: -40px; width: 360px; height: 320px; background: radial-gradient(circle, rgba(26,86,219,0.16) 0%, transparent 65%); filter: blur(50px); }
.cta-band-left { position: relative; z-index: 1; }
.cta-band-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; display: block; }
.cta-band-left h2 { font-family: var(--font-display); font-size: clamp(1.7rem,2.5vw,2.4rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 10px; }
.cta-band-left h2 em { font-style: italic; color: var(--sky); }
.cta-band-left p { color: rgba(255,255,255,0.42); font-size: 0.88rem; line-height: 1.75; }
.cta-band-right { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; flex-shrink: 0; }
.cta-band-note { color: rgba(255,255,255,0.22); font-size: 0.68rem; text-align: center; }
.cta-band-note span { color: rgba(16,185,129,0.75); }

/* ── Animations ── */
@keyframes fadeUp  { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes barGrow { from { transform:scaleX(0); transform-origin:left; } to { transform:scaleX(1); } }
@keyframes pulse   { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.82); } }
@keyframes float   { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

/* ── Spacing utils ── */
.mt-8  { margin-top:8px; } .mt-12 { margin-top:12px; } .mt-16 { margin-top:16px; }
.mt-24 { margin-top:24px; } .mt-32 { margin-top:32px; } .mt-48 { margin-top:48px; }
.mb-16 { margin-bottom:16px; } .mb-24 { margin-bottom:24px; }
.mb-32 { margin-bottom:32px; } .mb-48 { margin-bottom:48px; }

/* ── Tag chips (fee status etc.) ── */
.tag { display:inline-block; padding:2px 8px; border-radius:20px; font-size:0.62rem; font-weight:700; text-align:center; }
.tag.green { background:rgba(16,185,129,0.15); color:var(--green); }
.tag.gold  { background:rgba(245,158,11,0.15);  color:var(--gold); }
.tag.red   { background:rgba(220,38,38,0.15);   color:#f87171; }

/* ── Responsive ── */
@media (max-width:960px) {
  .cta-band-card { grid-template-columns:1fr; padding:40px 28px; gap:28px; }
  .cta-band-right { flex-direction:row; flex-wrap:wrap; }
}
@media (max-width:600px) { .cta-band-right { flex-direction:column; } }
