/* ═══════════════════════════════════════════════
   EXCELCARE360 — Design System (Child Care & Preschool Franchise)
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  /* ExcelCare360 — warm violet/purple for child care warmth & trust */
  --navy: #1A0F2E;
  --navy-2: #231540;
  --navy-3: #2E1C54;
  --teal: #7C3AED;       /* Violet — warm, child-friendly, trustworthy */
  --teal-dark: #6D28D9;
  --teal-glow: rgba(124,58,237,0.12);
  --amber: #F59E0B;      /* Warm amber secondary */
  --coral: #EC4899;      /* Pink tertiary for child-care feel */
  --sky: #06B6D4;
  --white: #FFFFFF;
  --off-white: #FAF8FF;
  --muted: rgba(255,255,255,0.55);
  --muted-2: rgba(255,255,255,0.4);
  --border: rgba(255,255,255,0.08);
  --text-dark: #1A0F2E;
  --text-body: #3D3055;
  --text-muted: #7B6A99;
  --surface: #FFFFFF;
  --surface-2: #F5F2FF;
  --border-dark: rgba(26,15,46,0.09);
  --border-dark-2: rgba(26,15,46,0.13);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,19,36,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 8px 8px;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 14px !important;
  border-radius: 8px;
  font-size: 14px !important;
  color: rgba(255,255,255,0.65) !important;
}
.dropdown-menu a:hover { color: var(--white) !important; background: rgba(255,255,255,0.08) !important; }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 120px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,168,118,0.1);
  border: 1px solid rgba(15,168,118,0.22);
  color: #4ECFA0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.page-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
  position: relative; z-index: 1;
}

/* ─── PAGE HERO COMPACT (all inner pages) ─── */
.page-hero-compact {
  padding: 76px 48px 44px;
}
.page-hero-compact .page-hero-eyebrow {
  margin-bottom: 14px;
}
.page-hero-compact .page-hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.page-hero-compact h1 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 0;
  white-space: nowrap;
}
.page-hero-compact p {
  font-size: 15px;
  max-width: 380px;
  text-align: left;
  margin: 0;
  line-height: 1.55;
  border-left: 2px solid rgba(255,255,255,0.18);
  padding-left: 20px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
  justify-content: center;
  margin-top: 28px;
  position: relative; z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ─── LAYOUT ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section { padding: 96px 48px; max-width: 1240px; margin: 0 auto; }
.section-dark { background: var(--navy); padding: 96px 0; }
.section-light { background: var(--surface-2); padding: 96px 0; }

/* ─── TYPOGRAPHY ─── */
.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px; display: inline-block;
}
.eyebrow-teal { color: var(--teal-dark); }
.eyebrow-white { color: var(--teal); }

.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: normal; color: var(--teal); }
.section-sub {
  font-size: 17px; color: var(--text-body);
  max-width: 580px; line-height: 1.7; margin-bottom: 52px;
}
.section-sub.light { color: var(--muted); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--teal); color: var(--white);
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif; display: inline-block;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--teal-dark);
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--teal);
  cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif; display: inline-block;
}
.btn-outline:hover { background: var(--teal-glow); }

.btn-ghost {
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 400;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); }

/* ─── CARDS ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(11,19,36,0.08); }

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s;
}
.card-dark:hover { background: rgba(255,255,255,0.07); }

/* ─── STATS STRIP ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border-dark-2);
  border: 1px solid var(--border-dark-2);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-cell { background: var(--surface); padding: 36px 24px; text-align: center; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 38px; font-weight: 800;
  color: var(--teal-dark); line-height: 1;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ─── TRUST / TICKER ─── */
.trust-bar {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0; overflow: hidden;
}
.trust-track {
  display: flex; gap: 52px;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.trust-item {
  white-space: nowrap; color: rgba(255,255,255,0.4);
  font-size: 13px; font-weight: 400;
  display: flex; align-items: center; gap: 10px;
}
.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); opacity: 0.7; }

/* ─── TESTIMONIAL ─── */
.testimonial {
  background: linear-gradient(135deg, rgba(124,58,237,0.07), rgba(245,158,11,0.05));
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: var(--radius-xl);
  padding: 52px 60px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute; top: -8px; left: 48px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 110px; color: var(--teal); opacity: 0.12; line-height: 1;
}
.testimonial-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 21px; font-weight: 500;
  color: var(--text-dark); line-height: 1.55;
  margin-bottom: 24px; font-style: italic;
  position: relative; z-index: 1;
}
.testimonial-source { font-size: 15px; font-weight: 500; color: var(--text-dark); }
.testimonial-role { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--navy);
  padding: 96px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.cta-banner h2 em { font-style: normal; color: var(--teal); }
.cta-banner p {
  font-size: 17px; color: var(--muted);
  margin-bottom: 40px; position: relative; z-index: 1;
}
.btn-row {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 1;
}

/* ─── FOOTER ─── */
footer {
  background: #070F1D;
  color: rgba(255,255,255,0.55);
  padding: 72px 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1240px; margin: 0 auto;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand span { color: var(--teal); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.65; margin-bottom: 20px; max-width: 270px; }
.footer-contact { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.52); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding-top: 26px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); flex-shrink: 0; }
.footer-eco { font-size: 12px; color: rgba(255,255,255,0.4); flex: 1; text-align: right; }
.footer-eco a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-eco a:hover { color: var(--teal); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links .hide-md { display: none; }
  .section, .container { padding-left: 24px; padding-right: 24px; }
  .page-hero { padding: 110px 24px 64px; }
  .page-hero-compact { padding: 80px 24px 36px; }
  .page-hero-compact .page-hero-title-row { flex-direction: column; gap: 10px; }
  .page-hero-compact h1 { white-space: normal; }
  .page-hero-compact p { border-left: none; padding-left: 0; text-align: center; max-width: 100%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
</style>
