/* ===============================
   Base Reset + Global Styles
================================= */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #334155;
  background: #f8fafc;
  line-height: 1.6;
}

/* --- Full-page playful background --- */
body {
  background: url("images/background-kids4.jpg") no-repeat center top;
  background-size: cover;          /* fills screen while maintaining proportions */
  background-attachment: scroll;    /* keeps it stationary on scroll */
  background-color: #c8f3ff;       /* fallback sky blue behind image */
}




/* ===============================
   Topbar & Branding
================================= */
#topbar {
background: linear-gradient(to bottom, #839cd4 10%, #005fa5 95%);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}


/* Logo + Title stacked and centered */
#topbar .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

#topbar .logo {
  height: 200px;
  width: auto;
  margin-bottom: 12px;
}

#topbar h1 {
  margin: 0;
  font-size: 2.2em;
  color: #ffffff;
  font-family: 'Fredoka', sans-serif;
  font-style: normal;
}

/* ===============================
   Navigation
================================= */
#nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);  /* responsive spacing */
  padding: 0 10px;
  margin: 0 auto;
  list-style: none;

  overflow-x: auto;             /* allow horizontal scroll if needed */
  overflow-y: hidden;
  white-space: nowrap;          /* keep in one line */
  scrollbar-width: none;        /* hide scrollbar Firefox */
  -ms-overflow-style: none;     /* hide scrollbar Edge */
}
#nav::-webkit-scrollbar { display: none; } /* hide scrollbar Chrome/Safari */

#nav a {
  font-family: 'Fredoka', sans-serif;
  font-style: normal;
  color: #fff;
  text-decoration: none;
  font-weight: 500;   /* medium weight */
  font-size: 1.6em;
  flex-shrink: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}
#nav a:hover {
  transform: scale(1.1);
  text-decoration: underline;
}

/* Responsive fallback for narrow phones */
@media (max-width: 420px) {
  #nav a {
    font-size: 1.3em;
  }
  #topbar .logo {
    height: 120px;
  }
}

/* --- Desktop nav spacing --- */
@media (min-width: 1024px) {
  #nav {
    gap: 150px;        /* wider spacing between nav items */
    max-width: 1000px; /* keeps layout centered and neat */
  }

  #nav a {
    font-size: 1.7em; /* a touch larger on big screens */
  }
}


/* ===============================
   Sections + Layout
================================= */
.section {
  max-width: 960px;
  margin: 24px auto;
  padding: 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.card {
  background: #ffffff;
}

/* Grid layout (Programs) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* ===============================
   Text & Buttons
================================= */
h2 {
  color: #0ea5e9;
  margin-top: 0;
}
.button,
button {
  display: inline-block;
  background: #0284c7;
  color: #fff;
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1em;
}
.button:hover,
button:hover {
  background: #0369a1;
}

/* ===============================
   Forms
================================= */
label {
  display: block;
  margin-top: 10px;
}
input,
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 14px;
}
textarea {
  min-height: 120px;
}
.muted {
  color: #64748b;
  font-size: 13px;
}

/* ===============================
   Testimonials
================================= */
.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.quote {
  width: 100%;
  max-width: 700px;
  background: #f1f5f9;
  border-left: 5px solid #0ea5e9;
  padding: 20px;
  border-radius: 8px;
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.5;
}

/* ===============================
   Footer
================================= */
#footer {
  text-align: center;
  padding: 24px 16px;
  color: #64748b;
}

/* ===============================
   Misc & Responsive Tweaks
================================= */
.ph {
  height: 180px;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Slightly tighten mobile spacing */
@media (max-width: 480px) {
  #topbar {
    padding: 20px 10px;
  }
  .section {
    margin: 16px auto;
    padding: 14px;
  }
}



/* --- Improved readability & spacing for Hero + About --- */
#hero p,
#hero ul,
#about p,
#about ul {
  margin-bottom: 18px;
  line-height: 1.7;
}

#hero img,
#about img {
  margin-top: 18px;
  margin-bottom: 24px;
}

#hero .button,
#about .button {
  margin-top: 18px;
}

#hero ul,
#about ul {
  padding-left: 0;
  list-style-position: inside;
}

strong {
  font-weight: 600;
}

.section p:last-child {
  margin-bottom: 0;
}


/* Contact Map */
.map-container {
  width: 100%;
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* --- Come Visit graphic styling --- */
.visit-graphic {
  display: flex;
  justify-content: flex-start; /* align left */
  margin-bottom: 12px;
}

.visit-graphic img {
  width: 140px;       /* adjust size as needed */
  height: auto;
  border-radius: 50%;
  display: block;
}


#contact a[href^="tel:"] {
  color: inherit;           /* same color as text */
  text-decoration: none;    /* remove underline */
  font-weight: 600;
}

#contact a[href^="tel:"]:hover {
  text-decoration: underline; /* optional hover underline */
}

