/* First Place Early Learning Centre Inc. - Modern Parent-Focused Stylesheet */
:root {
  --brand-yellow: #FEE200;
  --brand-berry: #EF4870;
  --brand-berry-hover: #db375f;
  --brand-apple: #2FB77E;
  --brand-apple-hover: #259667;
  --brand-navy: #313959;
  --brand-navy-light: #4a5575;
  --brand-snow: #F1F2F2;
  --text-main: #313959;
  --text-muted: #5e6d82;
  --border-light: #e6e8eb;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hiring Banner */
.hiring-banner {
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hiring-banner a {
  background: var(--brand-yellow);
  color: var(--brand-navy);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
  transition: background 0.2s;
}
.hiring-banner a:hover {
  background: #ffffff;
}

/* Header & Nav */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.homepage-logo {
  height: 96px;
}
nav {
  display: flex;
  gap: 0.5rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  transition: all 0.15s;
}
.nav-link:hover {
  color: var(--brand-apple);
  background: #f8fafc;
}
.nav-link.active {
  color: var(--brand-apple);
  background: rgba(47, 183, 126, 0.1);
}
.btn-waitlist {
  background: var(--brand-berry);
  color: #ffffff;
  padding: 0.5rem 1.15rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-waitlist:hover {
  background: var(--brand-berry-hover);
  transform: translateY(-1px);
}
.btn-apple {
  background: var(--brand-apple);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-apple:hover {
  background: var(--brand-apple-hover);
}
.btn-berry {
  background: var(--brand-berry);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-berry:hover {
  background: var(--brand-berry-hover);
}
.btn-outline {
  border: 2px solid var(--border-light);
  color: var(--brand-navy);
  padding: 0.65rem 1.35rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--brand-navy);
  background: #f8fafc;
}

/* Grid & Layout System */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
}
.tag-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(47, 183, 126, 0.1);
  color: var(--brand-apple);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}
.hero-title span {
  color: var(--brand-apple);
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--brand-navy);
  margin-top: 0.5rem;
  font-weight: 500;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 580px;
}
.values-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
}
.val-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 0.35rem;
}
.val-respect { background: var(--brand-snow); color: var(--brand-navy); }
.val-kindness { background: rgba(239, 72, 112, 0.1); color: var(--brand-berry); }
.val-fairness { background: rgba(254, 226, 0, 0.4); color: var(--brand-navy); }

.cwelcc-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.875rem;
  margin: 1.25rem 0;
}

.dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.cta-card {
  border: 2px solid rgba(47, 183, 126, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cta-card.berry {
  border-color: rgba(239, 72, 112, 0.2);
}
.cta-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.25rem 0;
}
.cta-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-img-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0,0,0,0.07);
  aspect-ratio: 4/5;
  background: #e2e8f0;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards & Sections */
.section-padding {
  padding: 4rem 0;
}
.bg-light {
  background: rgba(241, 242, 242, 0.5);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}
.card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f1f5f9;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Info Banner Bar */
.info-bar {
  background: var(--brand-navy);
  border-top: 1px solid var(--brand-navy);
  border-bottom: 1px solid var(--brand-navy);
  padding: 1.75rem 0;
}
.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  font-size: 0.875rem;
}
.info-item strong {
  display: block;
  color: #ffffff;
}
.info-item p {
  color: rgba(255, 255, 255, 0.72);
}

/* Footer */
footer {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--brand-navy);
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}
.footer-credit {
  display: inline-block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.footer-credit:hover {
  color: var(--brand-yellow);
}
footer h4 {
  color: var(--brand-yellow) !important;
}
footer p {
  color: rgba(255, 255, 255, 0.72) !important;
}
footer a:hover {
  color: var(--brand-yellow);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--brand-navy);
}
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-apple);
  box-shadow: 0 0 0 3px rgba(47, 183, 126, 0.15);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .footer-grid, .info-bar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .homepage-logo {
    height: 80px;
  }
  .dual-cards {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Full-screen Hero Styles */
.hero-fullscreen {
  position: relative;
  min-height: calc(100vh - 108px);
  background: url('../images/hero_classroom_natural.jpg') center/cover no-repeat #314057;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 5rem;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(49, 64, 87, 0.72) 0%, rgba(49, 64, 87, 0.58) 50%, rgba(49, 64, 87, 0.82) 100%);
}
.hero-centered-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}
.tag-badge-light {
  display: inline-block;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero-title-light {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.hero-title-light span {
  color: #ffffff;
}
.hero-subtitle-light {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.25rem;
  color: var(--brand-yellow);
  margin-top: 1rem;
  font-weight: 500;
}
.hero-desc-light {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 1.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.values-strip-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

/* Overlap Card Row */
.hero-overlap-section {
  position: relative;
  z-index: 10;
  margin-top: -2.5rem;
  padding: 0 1.25rem;
}
.overlap-card-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 35px -5px rgba(49, 64, 87, 0.12);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.overlap-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid var(--border-light);
  padding-right: 1.5rem;
}
.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(47, 183, 126, 0.12);
  color: var(--brand-apple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.overlap-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.overlap-cta {
  background: rgba(47, 183, 126, 0.04);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}
.overlap-cta.berry {
  background: rgba(239, 72, 112, 0.04);
}
.overlap-cta .sub-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-apple);
  display: block;
}
.overlap-cta.berry .sub-label {
  color: var(--brand-berry);
}
.overlap-cta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.15rem 0;
}
.overlap-cta p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-title-light {
    font-size: 2.5rem;
  }
  .hero-subtitle-light {
    font-size: 1.5rem;
  }
  .overlap-card-wrap {
    grid-template-columns: 1fr;
  }
  .overlap-info {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: 1rem;
  }
}
/* Export fix: keep homepage hero values fully opaque over the background image */
.hero-fullscreen .values-strip-centered .val-tag {
  opacity: 1;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.hero-fullscreen .values-strip-centered .val-respect {
  background-color: #314057;
  border-color: #314057;
  color: #FFFFFF;
}

.hero-fullscreen .values-strip-centered .val-kindness {
  background-color: #EF4870;
  border-color: #EF4870;
  color: #FFFFFF;
}

.hero-fullscreen .values-strip-centered .val-fairness {
  background-color: #FEE200;
  border-color: #FEE200;
  color: #314057;
}

/* Equal-height content cards: keeps paired content rows aligned cleanly. */
.equal-card-grid {
  align-items: stretch;
}

.equal-card-grid > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Contact layout: two left-side information cards fill the Paperform panel height. */
.contact-main-grid {
  align-items: stretch;
}

.contact-details-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details-column > .card {
  flex: 1;
}

.contact-form-card {
  height: 100%;
}
