/* ================================================================
   Sunshine Educators – Main Stylesheet
   ================================================================ */

:root {
  --sun:   #F5C800;
  --red:   #D92B2B;
  --navy:  #1A2A8C;
  --blue:  #2E4FBF;
  --cream: #F4F6FF;
  --soft:  #E8ECF8;
  --ink:   #0F1A6E;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,26,110,0.96);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  transition: background 0.3s;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.nav-name {
  font-family: 'Fraunces', serif;
  font-size: 15px; font-weight: 700; color: #fff; line-height: 1.1;
}
.nav-name span { color: var(--sun); }
.nav-name small {
  display: block; font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 400; color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: color 0.2s; letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--sun); }
.nav-cta {
  background: var(--sun); color: var(--ink);
  padding: 9px 20px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,200,0,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(26,42,140,0.45) 0%, rgba(15,26,110,0.65) 45%, rgba(10,15,80,0.9) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 8vw 80px; max-width: 860px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--sun); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--sun); display: block; }
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 7vw, 88px); font-weight: 500; line-height: 1.0;
  color: #fff; margin-bottom: 14px;
}
.hero-title span { color: var(--sun); }
.hero-sub {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: clamp(16px, 2.2vw, 24px); font-weight: 300;
  color: rgba(255,255,255,0.72); margin-bottom: 32px;
  max-width: 520px; line-height: 1.5;
}
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.pill { padding: 6px 16px; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: 0.4px; }
.p-sun  { background: var(--sun);  color: var(--ink); }
.p-red  { background: var(--red);  color: #fff; }
.p-navy { background: var(--navy); color: #fff; }
.p-blue { background: var(--blue); color: #fff; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--sun); color: var(--ink);
  padding: 14px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,200,0,0.45); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.5); color: #fff;
  padding: 12px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--sun); color: var(--sun); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ── STATS BAND ── */
.stats-band {
  background: linear-gradient(135deg, var(--navy), var(--ink));
  padding: 28px 8vw;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item {
  text-align: center; padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700;
  color: var(--sun); line-height: 1; margin-bottom: 4px;
}
.stat-lbl { font-size: 12px; color: rgba(255,255,255,0.62); font-weight: 500; }

/* ── SECTION COMMONS ── */
section { padding: 80px 8vw; }
.sec-header { margin-bottom: 48px; }
.sec-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.sec-tag::before { content: ''; width: 28px; height: 2px; background: var(--sun); display: block; }
.sec-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  line-height: 1.15; color: var(--ink);
}
.sec-title em { color: var(--red); font-style: italic; }

/* ── GALLERY STRIP ── */
.gallery-strip { display: flex; overflow: hidden; height: 200px; }
.gs-item { flex: 1; overflow: hidden; position: relative; cursor: pointer; }
.gs-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s, filter 0.3s; filter: saturate(0.85); }
.gs-item:hover img { transform: scale(1.08); filter: saturate(1.1); }
.gs-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,26,110,0.85), transparent);
  padding: 20px 14px 10px; color: #fff; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; opacity: 0; transition: opacity 0.3s;
}
.gs-item:hover .gs-label { opacity: 1; }

/* ── ABOUT ── */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.ap-main { grid-column: 1 / 3; border-radius: 16px; overflow: hidden; height: 240px; box-shadow: 0 8px 32px rgba(26,42,140,0.15); }
.ap-main img { width: 100%; height: 100%; object-fit: cover; }
.ap-small { border-radius: 12px; overflow: hidden; height: 150px; }
.ap-small img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { font-size: 15px; line-height: 1.8; color: #3a4080; margin-bottom: 16px; }
.about-text p strong { color: var(--navy); }
.about-text blockquote {
  border-left: 3px solid var(--sun); padding: 12px 18px;
  background: var(--soft); border-radius: 0 10px 10px 0;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 15px; color: var(--navy); margin-top: 20px; line-height: 1.6;
}

/* ── PROGRAMS ── */
.programs-section { background: var(--cream); }
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prog-card {
  border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 4px 24px rgba(26,42,140,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,42,140,0.18); }
.prog-photo { height: 160px; overflow: hidden; }
.prog-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prog-card:hover .prog-photo img { transform: scale(1.06); }
.prog-body { padding: 18px 16px 20px; }
.prog-age { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.pc1 .prog-age { color: #9a7c00; }
.pc2 .prog-age { color: #b01e1e; }
.pc3 .prog-age { color: var(--navy); }
.pc4 .prog-age { color: #1a6e3a; }
.prog-name { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); line-height: 1.2; }
.prog-desc { font-size: 13px; line-height: 1.6; color: #5a6080; }
.prog-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--soft);
}
.prog-tag { font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.pc1 .prog-tag { background: #FFF8CC; color: #9a7c00; }
.pc2 .prog-tag { background: #FDEAEA; color: #b01e1e; }
.pc3 .prog-tag { background: #EAF0FF; color: var(--navy); }
.pc4 .prog-tag { background: #E0FFEE; color: #1a6e3a; }
.prog-arrow { font-size: 16px; color: var(--navy); opacity: 0.4; }

/* ── FEATURES ── */
.features-section { background: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat-card {
  border-radius: 18px; overflow: hidden; background: #fff;
  display: grid; grid-template-columns: 180px 1fr;
  box-shadow: 0 4px 20px rgba(26,42,140,0.09);
  transition: transform 0.3s;
}
.feat-card:hover { transform: translateY(-4px); }
.feat-img { overflow: hidden; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.feat-card:hover .feat-img img { transform: scale(1.06); }
.feat-body { padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; }
.feat-ico { font-size: 28px; margin-bottom: 8px; }
.feat-t { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.feat-b { font-size: 13px; line-height: 1.65; color: #5a6080; }
.feat-badge { margin-top: 10px; display: inline-block; font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.fb1 { background: var(--soft); color: var(--navy); }
.fb2 { background: #FDEAEA; color: #b01e1e; }
.fb3 { background: #FFF8CC; color: #9a7c00; }
.fb4 { background: #E0FFEE; color: #1a6e3a; }

/* ── DAYCARE ── */
.daycare-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
}
.daycare-section .sec-title { color: #fff; }
.daycare-section .sec-title em { color: var(--sun); }
.daycare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.daycare-text p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.dc-chips { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.dc-chip {
  background: rgba(255,255,255,0.07); border-radius: 14px;
  padding: 18px 14px; text-align: center;
  border-top: 3px solid var(--sun);
  transition: background 0.2s, transform 0.2s;
}
.dc-chip:nth-child(2) { border-color: var(--red); }
.dc-chip:nth-child(3) { border-color: #6BBFD6; }
.dc-chip:nth-child(4) { border-color: var(--sun); }
.dc-chip:nth-child(5) { border-color: var(--red); }
.dc-chip:nth-child(6) { border-color: #6BBFD6; }
.dc-chip:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.dc-ico { font-size: 26px; margin-bottom: 8px; display: block; }
.dc-lbl { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.3; }
.daycare-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 360px; }
.dp { border-radius: 14px; overflow: hidden; }
.dp img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: filter 0.3s; }
.dp:hover img { filter: saturate(1.1); }
.dp:first-child { grid-row: 1 / 3; }

/* ── TESTIMONIAL ── */
.testimonial-section { background: var(--soft); text-align: center; padding: 80px 8vw; }
.test-quote {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: clamp(20px, 3vw, 32px); font-weight: 300;
  line-height: 1.6; color: var(--navy);
  max-width: 780px; margin: 0 auto 20px; position: relative;
}
.test-quote::before {
  content: '\201C'; font-size: 120px; font-family: 'Fraunces', serif;
  color: var(--sun); opacity: 0.3; line-height: 0.5; display: block; margin-bottom: 16px;
}
.test-author { font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: 1px; }

/* ── ADMISSIONS ── */
.admissions-section {
  background: linear-gradient(135deg, var(--red) 0%, #a01818 100%);
  padding: 60px 8vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.adm-text h2 {
  font-family: 'Fraunces', serif; font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.15;
}
.adm-text h2 span { color: var(--sun); }
.adm-text p { font-size: 15px; color: rgba(255,255,255,0.78); max-width: 500px; }
.adm-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-white {
  background: #fff; color: var(--red);
  padding: 14px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-wa {
  background: #25D366; color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: transform 0.2s;
}
.btn-wa:hover { transform: translateY(-2px); }

/* ── FOOTER / CONTACT ── */
.contact-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  padding: 70px 8vw 0;
}
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.contact-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.contact-logo img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.contact-logo-name { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: #fff; line-height: 1.1; }
.contact-logo-name span { color: var(--sun); }
.contact-logo-name small {
  display: block; font-family: 'DM Sans', sans-serif; font-size: 10px;
  color: rgba(255,255,255,0.45); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400; margin-top: 2px;
}
.contact-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.58); max-width: 280px; }
.contact-col h4 {
  font-family: 'Fraunces', serif; font-size: 16px; font-weight: 700; color: #fff;
  margin-bottom: 18px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ci {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 1px;
}
.ci-y { background: var(--sun); color: var(--ink); }
.ci-r { background: var(--red); color: #fff; }
.ci-n { background: var(--navy); color: #fff; }
.ci-b { background: var(--blue); color: #fff; }
.ci-g { background: #25D366; color: #fff; }
.contact-list a, .contact-list span { font-size: 13px; color: rgba(255,255,255,0.72); text-decoration: none; line-height: 1.5; }
.contact-list a:hover { color: var(--sun); }
.hours-item { margin-bottom: 10px; }
.hours-day { font-size: 12px; font-weight: 600; color: #fff; }
.hours-time { font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .prog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav.open .nav-links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(15,26,110,0.98); padding: 20px 5vw;
  }
  nav.open .nav-cta { display: block; margin: 0 5vw 16px; text-align: center; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
  .about-grid, .daycare-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .feat-grid { grid-template-columns: 1fr; }
  .admissions-section { flex-direction: column; }
  .daycare-photos { display: none; }
  .gallery-strip { height: 140px; }
}

@media (max-width: 600px) {
  section { padding: 55px 5vw; }
  .prog-grid { grid-template-columns: 1fr; }
  .dc-chips { grid-template-columns: 1fr 1fr; }
  .feat-card { grid-template-columns: 1fr; }
  .feat-img { height: 180px; }
  .stats-band { padding: 28px 5vw; }
  .gallery-strip { height: 100px; }
}
