/* ============================================
   LITTLE PEOPLE OF 2MORROW — STYLESHEET
   Light, warm, cheerful — matching the logo
   ============================================ */

:root {
  --red: #e63946;
  --blue: #1d7fd4;
  --green: #2dc653;
  --yellow: #f4c430;
  --orange: #f4722b;
  --purple: #7b2d8b;
  --dark: #1a1a2e;
  --body: #444;
  --light-bg: #f9fafb;
  --warm-bg: #fffbf5;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--body); background: var(--white); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; color: var(--dark); line-height: 1.25; }
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: #e8f4fd;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-label.center { display: block; text-align: center; }

h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.section-sub { max-width: 620px; margin: 0 auto 44px; font-size: 1rem; color: #666; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Nunito', sans-serif;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c1121f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,57,70,0.3); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: #1565b0; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-dark { background: transparent; color: var(--blue); border-color: var(--blue); padding: 10px 22px; font-size: 0.9rem; }
.btn-outline-dark:hover { background: var(--blue); color: #fff; }
.btn-nav { background: var(--red); color: #fff !important; padding: 9px 22px; font-size: 0.88rem; }
.btn-nav:hover { background: #c1121f; }

/* ========== NAV ========== */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
}
.nav {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--dark); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active-nav { color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }

/* ========== PAGE SYSTEM ========== */
.page { display: none; padding-top: 68px; }
.page.active { display: block; }

/* ========== HERO (Home) ========== */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}

.hero-photo-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* LIGHTER overlay — warm peach/gold instead of dark navy */
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(244, 114, 43, 0.75) 0%,
    rgba(244, 196, 48, 0.65) 40%,
    rgba(29, 127, 212, 0.70) 100%
  );
}

.hero-content { max-width: 780px; text-align: center; position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 6px 18px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; margin-bottom: 20px; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.hero h1 .accent { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); text-underline-offset: 6px; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.95); max-width: 600px; margin: 0 auto 32px; text-shadow: 0 1px 6px rgba(0,0,0,0.15); }

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-tags span { background: rgba(255,255,255,0.2); color: #fff; padding: 5px 14px; border-radius: 100px; font-size: 0.82rem; border: 1px solid rgba(255,255,255,0.4); font-weight: 600; }

.hero-cards { display: flex; gap: 16px; justify-content: center; margin-top: 48px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-card { background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(10px); border-radius: var(--radius); padding: 20px 28px; text-align: center; color: #fff; min-width: 140px; }
.hero-card-icon { font-size: 2rem; margin-bottom: 8px; }
.hero-card-text { font-size: 0.88rem; line-height: 1.4; }
.hero-card-text strong { display: block; font-size: 1.1rem; font-family: 'Nunito', sans-serif; }

/* ========== BANNER ========== */
.banner { background: linear-gradient(90deg, var(--orange), var(--red)); padding: 15px 24px; }
.banner-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; font-size: 0.85rem; font-weight: 600; color: #fff; }
.dot { opacity: 0.5; }

/* ========== SOFT PAGE HERO ========== */
.soft-hero {
  background: linear-gradient(135deg, #fff8ee 0%, #e8f4fd 100%);
  padding: 60px 24px 56px;
  border-bottom: 1px solid #eee;
}
.soft-hero .section-label { background: rgba(29,127,212,0.1); }
.soft-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 12px; }
.soft-hero p { font-size: 1.05rem; color: #666; max-width: 580px; }

/* ========== TWO COL ========== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ========== HOME INTRO ========== */
.home-intro { background: var(--warm-bg); }
.home-intro-text h2 { margin-bottom: 16px; }
.home-intro-text p { color: #555; margin-bottom: 14px; font-size: 0.97rem; }
.home-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.home-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.highlight-card {
  background: var(--white); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); transition: transform 0.2s; cursor: pointer;
  border-top: 4px solid transparent;
}
.highlight-card:hover { transform: translateY(-4px); }
.highlight-card.green { border-top-color: var(--green); }
.highlight-card.blue { border-top-color: var(--blue); }
.highlight-card.yellow { border-top-color: var(--yellow); }
.highlight-card.red { border-top-color: var(--red); }
.hc-icon { font-size: 1.8rem; margin-bottom: 10px; }
.highlight-card h4 { font-size: 0.97rem; margin-bottom: 6px; }
.highlight-card p { font-size: 0.85rem; color: #666; margin-bottom: 10px; }
.card-link { font-size: 0.82rem; font-weight: 700; color: var(--blue); }

/* ========== PROGRAM PREVIEW ========== */
.programs-preview { background: var(--light-bg); }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.preview-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
}
.preview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.pc-icon { font-size: 2.2rem; margin-bottom: 10px; }
.preview-card h4 { font-size: 0.97rem; font-weight: 800; margin-bottom: 4px; color: var(--dark); }
.preview-card p { font-size: 0.82rem; color: #888; }

/* ========== SERVICES ========== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--light-bg); border-radius: var(--radius); padding: 28px; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #eee; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sc-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.age-badge { display: inline-block; background: #e8f4fd; color: var(--blue); font-size: 0.73rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-bottom: 14px; }
.service-card ul li { padding: 5px 0; font-size: 0.88rem; color: #555; border-bottom: 1px solid #eee; }
.service-card ul li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* ========== CURRICULUM ========== */
.curriculum { background: linear-gradient(135deg, #1a3a6b, #0a1628); }
.curriculum .section-label { background: rgba(244,196,48,0.15); color: var(--yellow); }
.curriculum h2 { color: #fff; }
.curriculum .section-sub { color: rgba(255,255,255,0.7); }
.curriculum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.curr-item { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 26px; text-align: center; transition: transform 0.2s; }
.curr-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.12); }
.curr-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.curr-item h4 { color: var(--yellow); font-size: 0.97rem; margin-bottom: 8px; }
.curr-item p { color: rgba(255,255,255,0.75); font-size: 0.86rem; }

/* ========== WHY US ========== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.why-item { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; padding: 15px 18px; font-weight: 600; font-size: 0.92rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.check { width: 28px; height: 28px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; flex-shrink: 0; }

/* ========== FEATURES GRID (About) ========== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 16px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 14px; padding: 22px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.fi-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-item h4 { font-size: 0.97rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.87rem; color: #666; }

/* ========== ABOUT PHOTO ========== */
.about-photo-block { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo { width: 100%; height: 400px; object-fit: cover; object-position: center 20%; display: block; }
.about-stats { display: flex; gap: 32px; margin-top: 28px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Nunito', sans-serif; font-size: 2rem; font-weight: 900; color: var(--blue); line-height: 1; }
.stat-label { font-size: 0.78rem; color: #888; margin-top: 4px; }

/* ========== SAFETY ========== */
.safety-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safety-card { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 12px; padding: 16px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.safety-card span { font-size: 1.5rem; }
.safety-text h2 { margin-bottom: 14px; }
.safety-text p { color: #555; margin-bottom: 22px; font-size: 0.97rem; }

/* ========== LOCATIONS ========== */
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.location-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 2px solid transparent; }
.featured-loc { border-color: var(--blue); }
.loc-badge { display: inline-block; background: #e8f4fd; color: var(--blue); font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; }
.loc-badge.new { background: var(--blue); color: #fff; }
.location-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.location-card > p { color: #666; font-size: 0.95rem; margin-bottom: 4px; }
.loc-note { font-size: 0.84rem; color: #999; font-style: italic; margin-bottom: 18px; }
.loc-detail { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; margin-bottom: 10px; }
.loc-detail a { color: var(--blue); font-weight: 600; }
.loc-detail a:hover { text-decoration: underline; }
.location-card .btn { margin-top: 18px; }

/* ========== CONTACT ========== */
.inquiry-form { max-width: 720px; margin: 0 auto; background: var(--light-bg); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { margin-bottom: 20px; }
label { font-size: 0.84rem; font-weight: 600; color: var(--dark); }
input, select, textarea { padding: 12px 16px; border: 1.5px solid #ddd; border-radius: 10px; font-size: 0.95rem; font-family: 'Poppins', sans-serif; color: var(--dark); background: var(--white); transition: border-color 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
.full-btn { width: 100%; text-align: center; border: none; font-size: 1rem; padding: 15px; margin-top: 8px; }
.form-note { font-size: 0.8rem; color: #999; text-align: center; margin-top: 12px; }

/* ========== FOOTER ========== */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding: 56px 24px 44px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-contact h4 { color: #fff; font-family: 'Nunito', sans-serif; font-weight: 800; margin-bottom: 6px; font-size: 1rem; }
.footer-links a { font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact p { font-size: 0.88rem; }
.footer-contact a { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 24px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ========== FADE IN ========== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== MOBILE ========== */
@media (max-width: 900px) {
  .two-col, .locations-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid, .curriculum-grid, .why-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .home-highlights { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .safety-cards { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 20px 24px; gap: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-cards { gap: 10px; }
  .services-grid, .curriculum-grid, .why-grid, .features-grid, .preview-grid { grid-template-columns: 1fr; }
  .home-highlights { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 22px; }
  .about-stats { gap: 20px; }
  .home-cta-row { flex-direction: column; }
}
