/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ────────────────────────────────────────────── */
body {
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Header ──────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 2px solid #f0c040;  /* warm yellow accent */
  padding: 1rem 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2a7a4b;  /* preschool green */
}

/* ── Nav ─────────────────────────────────────────────── */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
}

.main-nav a:hover {
  color: #2a7a4b;
  text-decoration: none;
}

/* Enrollment CTA button in nav */
.nav-cta {
  background: #2a7a4b;
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 4px;
}

.nav-cta:hover {
  background: #1f5e38;
}

/* ── Main content ────────────────────────────────────── */
main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: #f7f7f7;
  border-top: 2px solid #f0c040;
  padding: 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: #888;
  align-self: end;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 1rem; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.2rem;
  color: #2a7a4b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #2a7a4b;
  color: #fff;
}

.btn-primary:hover {
  background: #1f5e38;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: #2a7a4b;
  border: 2px solid #2a7a4b;
}

.btn-secondary:hover {
  background: #f0faf4;
  text-decoration: none;
}

/* ── Highlights strip ────────────────────────────────── */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.highlight-card {
  text-align: center;
  padding: 1.5rem;
}

.highlight-card h3 {
  color: #2a7a4b;
  margin-bottom: 0.5rem;
}

/* ── Section previews ────────────────────────────────── */
.section-preview {
  padding: 3rem 0;
  text-align: center;
}

.section-preview h2 {
  font-size: 1.8rem;
  color: #2a7a4b;
  margin-bottom: 0.75rem;
}

.section-preview p {
  color: #555;
  margin-bottom: 1.5rem;
}

.alt-bg {
  background: #f9f6f0;
  margin: 0 -2rem;
  padding: 3rem 2rem;
}

/* ── CTA band ────────────────────────────────────────── */
.cta-band {
  background: #2a7a4b;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  margin: 3rem -2rem 0;
  border-radius: 8px;
}

.cta-band h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: #fff;
  color: #2a7a4b;
}

.cta-band .btn-primary:hover {
  background: #f0faf4;
}

/* ── Responsive additions ────────────────────────────── */
@media (max-width: 768px) {
  .hero { flex-direction: column; }
  .highlights { grid-template-columns: 1fr; }
}

/* ── Page hero ───────────────────────────────────────── */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 3rem;
}

.page-hero h1 {
  font-size: 2.2rem;
  color: #2a7a4b;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: #555;
}

/* ── Content sections (two-column) ───────────────────── */
.content-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

/* Reverse layout alternates image/text sides */
.content-section.reverse {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 1.6rem;
  color: #2a7a4b;
  margin-bottom: 0.75rem;
}

.content-text p {
  color: #555;
  margin-bottom: 1rem;
}

.content-image {
  flex: 1;
}

.content-image img {
  width: 100%;
  border-radius: 8px;
}

/* ── Styled list ─────────────────────────────────────── */
.styled-list {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.styled-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: #555;
}

.styled-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #f0c040;
  font-size: 0.8rem;
  top: 0.55rem;
}

/* ── Values strip ────────────────────────────────────── */
.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  text-align: center;
}

.value-item h3 {
  color: #2a7a4b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.value-item p {
  font-size: 0.95rem;
  color: #555;
}

/* ── Responsive additions ────────────────────────────── */
@media (max-width: 768px) {
  .content-section,
  .content-section.reverse {
    flex-direction: column;
  }
  .values-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Programs grid ───────────────────────────────────── */
.programs-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem 0;
}

.program-card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

/* Alternate image side for every other card */
.program-card:nth-child(even) {
  flex-direction: row-reverse;
}

.program-card img {
  width: 340px;
  min-width: 340px;
  object-fit: cover;
  align-self: stretch;
}

.program-card-body {
  padding: 2rem 2rem 2rem 0;
  flex: 1;
}

.program-card:nth-child(even) .program-card-body {
  padding: 2rem 0 2rem 2rem;
}

.program-card-body h2 {
  font-size: 1.5rem;
  color: #2a7a4b;
  margin-bottom: 0.25rem;
}

.program-age {
  font-size: 0.9rem;
  color: #f0a000;
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.program-card-body p {
  color: #555;
  margin-bottom: 1rem;
}

/* ── Schedule table ──────────────────────────────────── */
.schedule-section {
  padding: 3rem 0;
  border-top: 1px solid #eee;
}

.schedule-section h2 {
  font-size: 1.6rem;
  color: #2a7a4b;
  margin-bottom: 0.5rem;
}

.schedule-section p {
  color: #555;
  margin-bottom: 1.5rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.schedule-table th {
  background: #2a7a4b;
  color: #fff;
  text-align: left;
  padding: 0.75rem 1rem;
}

.schedule-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  color: #444;
}

.schedule-table tbody tr:hover {
  background: #f0faf4;
}

/* ── Responsive additions ────────────────────────────── */
@media (max-width: 768px) {
  .program-card,
  .program-card:nth-child(even) {
    flex-direction: column;
  }

  .program-card img {
    width: 100%;
    min-width: unset;
  }

  .program-card-body,
  .program-card:nth-child(even) .program-card-body {
    padding: 1.5rem;
  }
}

/* ── Events list ─────────────────────────────────────── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

.event-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.event-card img {
  width: 300px;
  min-width: 300px;
  object-fit: cover;
  align-self: stretch;
}

.event-card-body {
  padding: 1.5rem 1.5rem 1.5rem 0;
  flex: 1;
}

.event-card-body h2 {
  font-size: 1.3rem;
  color: #2a7a4b;
  margin-bottom: 0.5rem;
}

.event-card-body h2 a {
  color: inherit;
}

.event-card-body h2 a:hover {
  text-decoration: underline;
}

.event-card-body p {
  color: #555;
  margin-bottom: 1rem;
}

.event-meta {
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  color: #f0a000;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.no-items {
  color: #888;
  font-style: italic;
}

/* ── Single event ────────────────────────────────────── */
.event-single {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0;
}

.back-link {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #2a7a4b;
  margin-bottom: 1.5rem;
}

.event-header {
  margin-bottom: 1.5rem;
}

.event-header h1 {
  font-size: 2rem;
  color: #2a7a4b;
  margin-bottom: 0.25rem;
}

.event-hero-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.event-body {
  color: #444;
  line-height: 1.8;
}

.event-body p {
  margin-bottom: 1rem;
}

/* ── Responsive additions ────────────────────────────── */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
  }

  .event-card img {
    width: 100%;
    min-width: unset;
  }

  .event-card-body {
    padding: 1.5rem;
  }
}

/* ── Staff grid ──────────────────────────────────────── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.staff-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.staff-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.staff-card-body {
  padding: 1.25rem;
}

.staff-card-body h2 {
  font-size: 1.1rem;
  color: #2a7a4b;
  margin-bottom: 0.25rem;
}

.staff-card-body p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.staff-role {
  font-family: Arial, sans-serif;
  font-size: 0.85rem !important;
  color: #f0a000 !important;
  font-weight: bold;
  margin-bottom: 0.75rem !important;
}

/* ── Single staff member ─────────────────────────────── */
.staff-single {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0;
}

.staff-single-inner {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.staff-single-inner img {
  width: 240px;
  min-width: 240px;
  border-radius: 8px;
  object-fit: cover;
}

.staff-single-body h1 {
  font-size: 1.8rem;
  color: #2a7a4b;
  margin-bottom: 0.25rem;
}

.staff-bio {
  margin-top: 1rem;
  color: #555;
  line-height: 1.8;
}

/* ── Responsive additions ────────────────────────────── */
@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-single-inner {
    flex-direction: column;
  }

  .staff-single-inner img {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Styled ordered list ─────────────────────────────── */
.styled-ol {
  padding-left: 1.25rem;
  color: #555;
  line-height: 2;
}

.styled-ol li {
  padding-left: 0.5rem;
}

/* ── Form section ────────────────────────────────────── */
.form-section {
  padding: 3rem 0;
  border-top: 1px solid #eee;
}

.form-section h2 {
  font-size: 1.6rem;
  color: #2a7a4b;
  margin-bottom: 0.5rem;
}

.form-section p {
  color: #555;
  margin-bottom: 1.5rem;
}

.inquiry-form {
  max-width: 780px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #444;
  font-weight: bold;
}

.required {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2a7a4b;
  box-shadow: 0 0 0 2px rgba(42, 122, 75, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* ── Contact info strip ──────────────────────────────── */
.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid #eee;
  margin-top: 1rem;
}

.contact-info-item h3 {
  font-size: 0.95rem;
  font-family: Arial, sans-serif;
  color: #2a7a4b;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-item a {
  color: #2a7a4b;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* ── Responsive additions ────────────────────────────── */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact-info-strip {
    grid-template-columns: 1fr;
  }
}