/* Global Styles for Save A Child */
:root {
  --brand: #dc2626; /* red-600 */
  --brand-dark: #b91c1c; /* red-700 */
  --bg: #ffffff;
  --text: #222222;
  --muted: #6b7280;
  --card: #f7f7f7;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header */
.site-header {
  background: var(--brand);
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.container {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.brand a { color: #fff; text-decoration: none; }

/* Navigation */
.nav { display: flex; align-items: center; gap: 16px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.nav > ul > li { position: relative; }
.nav a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 6px; display: inline-block; }
.nav a:hover { background: rgba(255,255,255,0.12); }

/* Dropdowns */
.dropdown > a:after { content: " \25BE"; font-size: 0.8em; margin-left: 4px; }
.nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  color: var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  padding: 8px;
  z-index: 9999;
  display: none !important;
}
.nav > ul > li.dropdown:hover > .dropdown-menu { display: block !important; }
.nav > ul > li.dropdown:nth-last-child(-n+2) > .dropdown-menu {
  left: auto;
  right: 0;
}
.dropdown-menu a { color: var(--text); display: block; padding: 8px 10px; border-radius: 6px; }
.dropdown-menu a:hover { background: #f1f5f9; }

/* CTA Button */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
  .btn-primary { background: #fff; color: var(--brand); }
  .btn-accent { background: var(--brand); color: #fff; }
  .btn-accent:hover { background: var(--brand-dark); }

/* Banner / Hero */
.banner-area {
  overflow: hidden;
  position: relative;
  align-items: center;
  justify-content: center;
  /* Pure CSS red gradient (no image asset) */
  background: radial-gradient(1200px 600px at 20% 30%, #fecaca, #ffffff 60%);
  height: 60vh;
}
.header-text { position: absolute; top: 50%; transform: translateY(-55%); text-align: center; width: 100%; }
.header-text .hero-panel {
  /* Use brand-dark (red) as translucent overlay */
  background-color: rgba(185, 28, 28, 0.55);
  border-radius: 12px;
  padding: 20px;
}
.header-text h1 { color: #fff; margin: 0 0 8px; font-size: 2rem; }
.header-text p { color: #e5e7eb; margin: 0; }

/* Home Sections */
.home-sections {
  margin: 40px auto;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.section-card {
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  width: 240px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.section-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.section-card a { text-decoration: none; color: var(--brand); font-weight: 700; font-size: 1.08rem; }
.section-card p { color: var(--muted); margin-top: 6px; font-size: 0.98rem; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 40px 0; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.footer-col h5 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.footer-col a { color: #cbd5e1; text-decoration: none; display: block; padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 24px; font-size: 0.92rem; color: #94a3b8; }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hide-on-mobile { display: none; }

.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 28px; }

/* Inner Pages */
.page { padding: 28px 0; }
.page h1, .page h2, .page h3, .page h4 { margin-top: 0; }

/* Content Images */
.content-img-right { width: 340px; max-width: 40%; height: auto; float: right; margin: 0 0 10px 20px; }
@media (max-width: 640px) {
  .content-img-right { float: none; max-width: 100%; width: 100%; margin: 10px 0; }
}

/* Forms */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
textarea { resize: vertical; }

/* Cards with images */
.section-card img { border-radius: 8px; width: 100%; height: auto; margin-bottom: 10px; border: 1px solid #fff; }

@media (min-width: 640px) {
  .hide-on-mobile { display: inline-block; }
}
