/* ═══════════════════════════════════════════════
   SUNRISE ACADEMY — SHARED STYLES
   Orange #FF6B1A + Sky Blue #29B6F6
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  --orange:        #FF6B1A;
  --orange-dark:   #D95A10;
  --orange-light:  #FFF0E6;
  --blue:          #29B6F6;
  --blue-dark:     #0288D1;
  --blue-light:    #E1F5FE;
  --navy:          #0D2137;
  --white:         #FFFFFF;
  --off-white:     #F6FBFF;
  --grey-light:    #EEF4F8;
  --grey:          #94A3B8;
  --text:          #1A2E3D;
  --text-muted:    #5A7A90;
  --radius:        18px;
  --radius-sm:     10px;
  --shadow:        0 8px 40px rgba(41,182,246,.15);
  --shadow-o:      0 8px 30px rgba(255,107,26,.25);
  --t:             all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--navy); }
p { line-height: 1.8; color: var(--text-muted); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 90px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 1rem; transition: var(--t); cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg,var(--orange),var(--orange-dark)); color: #fff; box-shadow: var(--shadow-o); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255,107,26,.4); }
.btn-blue { background: linear-gradient(135deg,var(--blue),var(--blue-dark)); color: #fff; box-shadow: var(--shadow); }
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(41,182,246,.4); }
.btn-outline { background: transparent; color: var(--orange); border: 2.5px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); font-weight: 800; }
.btn-white:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

/* ── Tags ── */
.tag {
  display: inline-flex; align-items: center;
  background: var(--blue-light); color: var(--blue-dark);
  padding: 5px 16px; border-radius: 50px; font-size: .8rem;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px;
}
.tag-orange { background: var(--orange-light); color: var(--orange-dark); }

/* ── Section header ── */
.sec-hd { text-align: center; margin-bottom: 56px; }
.sec-title { font-size: clamp(1.8rem,4vw,2.7rem); margin-bottom: 14px; }
.sec-sub { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ════════════════════════════════
   NAVBAR  (shared across all pages)
════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(41,182,246,.1); padding: 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.logo-text { font-family: 'Playfair Display',serif; font-weight: 900; font-size: 1.6rem; color: var(--navy); }
.logo-text span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 16px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  color: var(--text); transition: var(--t);
}
.nav-links a:hover { color: var(--orange); background: var(--orange-light); }
.nav-links a.active { color: var(--orange); background: var(--orange-light); }
.nav-links a.nav-cta {
  background: linear-gradient(135deg,var(--orange),var(--orange-dark));
  color: #fff !important; padding: 9px 22px; margin-left: 6px; box-shadow: var(--shadow-o);
}
.nav-links a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,107,26,.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--navy); transition: var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Page top offset ── */
.page-body { padding-top: 80px; }

/* ════════════════════════════════
   FOOTER (shared)
════════════════════════════════ */
.footer { background: var(--navy); color: #fff; padding: 72px 0 0; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; font-size: 1.6rem; }
.footer-brand .logo-text span { color: var(--orange); }
.footer-brand p { color: #FFFFFF; margin: 14px 0 22px; font-size: 1rem; line-height: 1.8; font-weight: 600; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--t); font-weight: 700;
}
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-col h4 { font-family: 'Nunito',sans-serif; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { color: #FFFFFF; font-size: 0.95rem; transition: var(--t); font-weight: 600; }
.footer-col ul a:hover { color: var(--orange); padding-left: 4px; }
.footer-col p { color: #FFFFFF; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.footer-col i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: #FFFFFF; font-size: 0.95rem; font-weight: 600; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #FFFFFF; font-size: 0.95rem; transition: var(--t); font-weight: 600; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ── Back to top ── */
.btt {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; box-shadow: var(--shadow-o);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--t); z-index: 999;
}
.btt.show { opacity: 1; pointer-events: auto; }
.btt:hover { transform: translateY(-4px); }

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.anim { opacity:0; transform:translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.anim.in { opacity:1; transform:none; }

/* ════ RESPONSIVE ════ */
@media(max-width:900px){
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px){
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px); padding: 16px 24px 24px; gap: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1); border-top: 1px solid var(--grey-light);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 16px; width: 100%; }
  .nav-links a.nav-cta { text-align: center; margin: 8px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
}
