/* RESET & NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,
dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: linear-gradient(135deg, #f7ce43 0%, #fff 65%, #e1e6fa 100%);
  color: #243672;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.6s;
}

@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #243672 0%, #3a4a92 50%, #7f97e0 100%);
    color: #fff;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #243672;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F7CE43;
}
ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ========== TYPOGRAPHY ========== */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #243672;
  letter-spacing: -0.5px;
  line-height: 1.18;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #243672;
  line-height: 1.2;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #243672;
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #243672;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #243672;
  line-height: 1.7;
}

blockquote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 8px;
  color: #1b2859;
  background: #f8f9fe;
  border-left: 4px solid #F7CE43;
  padding: 14px 20px;
  border-radius: 7px;
  box-shadow: 0 2px 12px 0 rgba(36,54,114,0.06);
}

strong {
  font-weight: 600;
  color: #243672;
}

/* ========== LAYOUT STRUCTURE ========== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(36,54,114,0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 24px 6px;
    border-radius: 16px;
    margin-bottom: 36px;
    gap: 16px;
  }
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(36,54,114,0.06);
  width: 100%;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 14px 20px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #243672;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
header nav a.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #F7CE43 60%, #fbe88e 100%);
  color: #243672;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 1.08rem;
  margin-left: 8px;
  box-shadow: 0 2px 10px 0 rgba(247,206,67,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
header nav a.cta-button:hover, header nav a.cta-button:focus {
  background: #e1e6fa;
  color: #243672;
  box-shadow: 0 6px 16px rgba(243, 199, 25, 0.16);
}
header nav a:hover, header nav a:focus {
  background: #f7f4ef;
  color: #F7CE43;
}

header nav a img {
  height: 40px;
  width: auto;
  margin-right: 0;
  vertical-align: middle;
  display: inline-block;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #243672;
  font-size: 2rem;
  border: none;
  position: absolute;
  right: 22px;
  top: 14px;
  padding: 4px 12px;
  border-radius: 10px;
  z-index: 1100;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #F7CE43;
}

@media (max-width: 1020px) {
  header nav {
    gap: 10px;
    padding-right: 60px;
  }
  header nav a {
    padding: 8px 7px;
    font-size: 0.95rem;
  }
}
@media (max-width: 900px) {
  header nav a {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(36,54,114,0.09);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.77,0.2,0.05,1.0);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 32px 0 rgba(36,54,114,0.17);
}
.mobile-menu-close {
  font-size: 2rem;
  background: #fff;
  color: #243672;
  border: none;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 3400;
  padding: 2px 12px;
  border-radius: 7px;
  transition: background 0.17s;
}
.mobile-menu-close:focus {
  outline: 2px solid #F7CE43;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 90px 28px 22px 34px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #243672;
  font-size: 1.20rem;
  padding: 16px 10px;
  border-bottom: 1px solid #e7eaf9;
  transition: color 0.2s, background 0.19s;
  border-radius: 7px;
  margin-bottom: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F7CE43;
  background: #f7f9ff;
}

/* ========== HERO AND SECTIONS ========== */
.hero {
  background: linear-gradient(120deg, #f7ce43 6%, #e1e6fa 95%);
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  box-shadow: 0 4px 36px 0 rgba(36,54,114,0.09);
}
.hero .container {
  align-items: center;
  min-height: 340px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
}
.hero h1,
.hero h2 {
  color: #243672;
}
.hero p {
  color: #243672;
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.hero .cta-button {
  margin-top: 10px;
}
@media (max-width: 768px) {
  .hero {
    min-height: unset;
    border-radius: 0 0 22px 22px;
    margin-bottom: 36px;
  }
}

.features, .services, .testimonials, .about, .faq, .cta, .map {
  width: 100%;
}
.features ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  margin-bottom: 15px;
}
.features ul li, .services ul li {
  background: #f8f9fe;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(36,54,114,0.07);
  padding: 24px 24px 20px 24px;
  flex: 1 1 226px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 210px;
  transition: transform 0.2s, box-shadow 0.18s, background 0.2s;
}
.features ul li:hover, .services ul li:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 4px 28px 0 rgba(36,54,114,0.16);
  background: #f7f9ff;
}
.features ul li img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
.features ul li strong, .services ul li strong {
  color: #243672;
  font-weight: 700;
}
.features ul li p, .services ul li p {
  color: #243672;
  font-size: 1rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .features ul, .services ul {
    gap: 18px;
  }
  .features ul li, .services ul li {
    min-width: 170px;
    padding: 18px 10px 16px 10px;
  }
}
@media (max-width: 768px) {
  .features ul, .services ul {
    flex-direction: column;
    gap: 18px;
    margin-top: 14px;
  }
  .features ul li, .services ul li {
    min-width: unset;
    width: 100%;
    align-items: flex-start;
    border-radius: 12px;
    padding: 14px 5px 14px 12px;
  }
}

.cta {
  background: linear-gradient(90deg, #243672 60%, #F7CE43 100%);
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 28px 0 rgba(36,54,114,0.09);
}
.cta .container {
  align-items: center;
}
.cta .content-wrapper {
  align-items: center;
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p  { color: #fff; }
.cta .cta-button {
  background: #fff;
  color: #243672;
  margin-top: 18px;
  box-shadow: 0 2px 14px rgba(36,54,114,0.09);
  transition: background 0.2s, color 0.2s;
}
.cta .cta-button:hover {
  background: #f7ce43;
  color: #243672;
}
@media (max-width: 768px) {
  .cta {
    border-radius: 11px;
    margin-bottom: 26px;
  }
}

/* ========== FLEXBOX PATTERNS ==========
Provided patterns with exact classes are replicated below
*/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 16px; box-shadow: 0 2px 12px 0 rgba(36,54,114,0.08); }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; background: #f7f9ff; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 2px 12px 0 rgba(36,54,114,0.06); transition: box-shadow 0.18s, transform 0.16s; }
.testimonial-card:hover { box-shadow: 0 6px 22px 0 rgba(36,54,114,0.13); transform: translateY(-2px) scale(1.016); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 900px) {
  .content-grid { gap: 14px; }
  .text-image-section { gap: 15px; }
}
@media (max-width: 768px) {
  .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ========== CARDS & GRID ELEMENTS ========== */
.card-container {
  justify-content: flex-start;
}
.card {
  flex: 1 1 220px;
  min-width: 200px;
  padding: 22px 22px 16px 22px;
  box-shadow: 0 2px 16px 0 rgba(36,54,114,0.09);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: unset;
    width: 100%;
    padding: 12px 9px 13px 14px;
    border-radius: 7px;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: #e7eafc;
  padding: 48px 0;
  border-radius: 25px;
  margin-bottom: 55px;
  box-shadow: 0 2px 20px 0 rgba(36,54,114,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials .content-wrapper {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}
.testimonial-card {
  background: #fff;
  color: #243672;
  border-radius: 18px;
  padding: 30px 28px 26px 30px;
  box-shadow: 0 3px 24px 0 rgba(36,54,114,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 10px;
}
.testimonial-card blockquote {
  color: #243672;
  background: #f7f9ff;
  border-left: 4px solid #F7CE43;
  font-size: 1.20rem;
}
.testimonial-card p strong {
  color: #243672;
}
@media (max-width: 850px) {
  .testimonials {
    padding: 21px 0;
    border-radius: 12px;
  }
  .testimonial-card {
    padding: 15px 10px 15px 15px;
    border-radius: 9px;
  }
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(120deg, #243672 0%, #485ba1 100%);
  color: #fff;
  padding: 0;
  width: 100%;
  margin-top: 60px;
}
footer section {
  padding: 36px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }
}

footer img[alt="Stellar Bright Kids"] {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0;
  border-radius: 4px;
  padding: 5.5px 10px;
  transition: color 0.15s, background 0.15s;
  text-decoration: underline rgba(255,255,255,0.04);
}
footer nav a:hover,footer nav a:focus {
  color: #F7CE43;
  background: rgba(247,206,67,0.08);
  text-decoration: underline #F7CE43;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.985rem;
  line-height: 1.60;
  color: #fff;
}
footer .contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}
footer .contact-info a, footer p {
  color: #fff;
  text-decoration: underline dotted rgba(255,255,255,0.12);
  transition: color 0.15s;
  margin-bottom: 5px;
  margin-left: 4px;
}
footer .contact-info a:hover {
  color: #F7CE43;
}
footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
footer .social-links a img {
  width: 36px;
  height: 36px;
  filter: grayscale(0.2) brightness(0.96);
  transition: filter 0.16s, transform 0.16s;
}
footer .social-links a:hover img, footer .social-links a:focus img {
  filter: none;
  transform: scale(1.08) rotate(-5deg);
}

@media (max-width: 768px) {
  footer .content-wrapper {
    gap: 18px;
  }
  footer section {
    padding: 24px 0 12px 0;
  }
}

/* ========== BUTTONS & CTAs ========== */
.cta-button,
button.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F7CE43;
  color: #243672;
  font-weight: 600;
  font-size: 1.09rem;
  text-align: center;
  border-radius: 8px;
  border: none;
  padding: 12px 28px;
  margin-top: 6px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(247,206,67,0.10);
  transition: background 0.16s, color 0.16s, transform 0.16s, box-shadow 0.18s;
}
.cta-button:hover,
.cta-button:focus {
  background: #243672;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(36,54,114,0.13);
  outline: none;
}
button {
  cursor: pointer;
}

/* ========== FORMS & INPUTS (if needed) ========== */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #e1e6fa;
  padding: 11px 13px;
  border-radius: 8px;
  background: #f8f9fe;
  color: #243672;
  margin-bottom: 12px;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #F7CE43;
  background: #fffbe5;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #243672;
  margin-bottom: 4px;
  font-weight: 500;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #243672;
  color: #fff;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 18px 0 rgba(36,54,114,0.14);
  font-size: 1rem;
  padding: 20px 10px;
  gap: 20px;
  transition: transform 0.38s;
  transform: translateY(0%);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner__text {
  max-width: 620px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 7px;
  padding: 9px 20px;
  margin: 0 2px;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
}
.cookie-btn.accept {
  background: #F7CE43;
  color: #243672;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #243672;
  color: #fff;
  box-shadow: 0 3px 14px #F7CE43;
}
.cookie-btn.reject {
  background: #fff;
  color: #243672;
  border: 1.5px solid #F7CE43;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F7CE43;
  color: #243672;
  border-color: #243672;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #243672;
  color: #f7ce43;
  border-color: #F7CE43;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
    padding: 16px 5px;
  }
  .cookie-banner__text {
    max-width: 100%;
  }
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,54,114,0.47);
  z-index: 5500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 28px 0 rgba(36,54,114,0.17);
  padding: 42px 32px 32px 32px;
  max-width: 370px;
  width: 96vw;
  color: #243672;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  margin-bottom: 14px;
  color: #243672;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.cookie-category label {
  flex: 1 1 auto;
  color: #243672;
}
.cookie-toggle {
  accent-color: #F7CE43;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  color: #243672;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover{
  color: #F7CE43;
}
@media (max-width: 650px) {
  .cookie-modal {
    padding: 18px 7px 26px 8px;
    border-radius: 11px;
    max-width: 98vw;
  }
  .cookie-modal-title{
    font-size: 1.07rem;
  }
}

/* Animations */
@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(90%); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner {
  animation: bannerFadeIn 0.96s cubic-bezier(0.82,0.20,0.20,1.0);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.0); }
}
.cookie-modal {
  animation: modalSlideIn 0.33s cubic-bezier(0.82,0.20,0.20,1.0);
}

/* ========== MISCELLANEOUS ========== */
.text-section {
  margin-bottom: 24px;
}
address {
  font-style: normal;
  color: #243672;
  margin-bottom: 18px;
}

/* ========== UTILITY ========== */
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.gap-20 { gap: 20px !important; }

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container { max-width: 100%; }
  body { background: #fff !important; color: #243672; }
}
