/* 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;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #FFFFFF;
  color: #1a294c;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

*, *:before, *:after {
  box-sizing: inherit;
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #D28A1C;
  text-decoration: underline wavy #D28A1C 1.5px;
}

/* BRAND & UTILS */
:root {
  --color-primary: #003366;
  --color-secondary: #E6EAF2;
  --color-accent: #D28A1C;
  --color-accent-dark: #AA6A13;
  --color-white: #FFFFFF;
  --color-black: #1a294c;
  --color-grey-light: #f7fafc;
  --color-grey: #adbacd;

  --font-display: 'Merriweather', "Georgia", serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-section {
  margin-top: 16px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(51, 89, 170, 0.08);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
h1 { font-size: 2.7rem; margin-top: 24px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.34rem; }
h4 { font-size: 1.11rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.13rem; }
}

p, li, blockquote, em, strong, ul, ol {
  font-family: var(--font-body);
  color: #2e3865;
}
p, li, blockquote {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
strong { font-weight: bold; }
em { font-style: italic; }

blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  background: var(--color-grey-light);
  border-left: 5px solid var(--color-accent);
  padding: 14px 22px;
  border-radius: 14px;
  margin-bottom: 0;
  box-shadow: 0px 2px 12px rgba(207,160,46, 0.08);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.19rem;
  padding: 13px 36px;
  min-width: 170px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(207,160,46, 0.09);
  border: none;
  outline: none;
  gap: 8px;
  transition: background 0.16s, color 0.16s, transform 0.12s;
  margin: 10px 0;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.04) rotate(-1deg);
}

.btn-secondary {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-white);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.045) rotate(2deg);
}

/* HEADER NAVIGATION */
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 12px rgba(51, 89, 170, 0.07);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 14px 14px 18px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: transform .22s;
}
.logo:hover img {
  transform: scale(1.08) rotate(-2deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 16px;
  color: var(--color-primary);
  background: transparent;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(210,138,28,0.13);
  text-decoration: none;
}

.mobile-menu-toggle {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background 0.18s, transform .18s;
  z-index: 130;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.09) rotate(-8deg);
}
/* Hamburger Visible only on small screens */
@media (max-width: 991px) {
  .main-nav, .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE SLIDE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.82,0,0.26,1);
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  padding: 8px 24px 6px 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover { color: var(--color-accent); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  padding: 11px 32px;
  border-radius: 22px;
  width: 100%;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(105deg, #E6EAF2 73%, #fff 100%);
  min-height: 310px;
  display: flex;
  align-items: center;
  padding: 40px 0;
}
.hero .container { padding-top: 22px; padding-bottom: 22px; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--color-accent-dark);
  font-family: var(--font-display);
  font-size: 2.4rem;
  background: none;
}
.hero p {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .hero .content-wrapper { align-items: center; }
  .hero { min-height: 180px; padding: 22px 0; }
}

/* FLEX COMPONENTS & LISTS */
.features ul, .services-list ul, .school-list ul, .parent-services ul, .faq-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0;
  flex-direction: column;
}
.features li, .features ul li, .services-list li, .school-list li, .parent-services li, .faq-section li {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 14px 19px 14px 0;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 9px rgba(210,138,28,0.05);
}
.features li img, .school-list li img, .services-list li img, .parent-services li img, .faq-section li img {
  width: 36px; height: 36px;
  margin-right: 6px;
}

@media (min-width: 770px) {
  .features ul, .services-list ul, .school-list ul, .parent-services ul, .faq-section ul {
    flex-direction: row;
  }
  .features li, .services-list li, .school-list li, .parent-services li, .faq-section li {
    flex: 1 1 44%;
    max-width: 48%;
    min-width: 275px;
  }
}

/* TESTIMONIALS */
.testimonials {
  background: #fffbe7;
  padding-top: 36px;
  padding-bottom: 36px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  border: 2px solid var(--color-secondary);
  border-radius: 18px;
  padding: 20px;
  min-width: 0;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(51, 89, 170, 0.07);
  transition: box-shadow 0.18s, transform 0.15s;
  position: relative;
}
.testimonial-card img {
  width: 52px;
  height: 52px;
  filter: hue-rotate(-28deg) brightness(1.13);
  opacity: 0.86;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.1rem;
  padding: 0;
}
.testimonial-card strong {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 900;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 28px -4px #f5d269c0;
  transform: translateY(-2px) scale(1.014) rotate(-.6deg);
  border-color: var(--color-accent);
}
@media (min-width: 700px) {
  .testimonials .content-wrapper {
    flex-direction: row;
    gap: 36px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .testimonial-card {
    max-width: 410px;
    min-width: 320px;
    margin-right: 16px;
  }
}

/* CTA SECTION */
.cta {
  background: var(--color-secondary);
  border-radius: 24px;
  padding: 54px 20px 44px 20px;
  margin: 38px 0 0 0;
  text-align: center;
  box-shadow: 0 4px 18px rgba(51, 89, 170, .06);
}
.cta h2 {
  font-size: 2.2rem;
  color: var(--color-accent-dark);
  margin-bottom: 18px;
}
.cta p {
  font-size: 1.13rem;
  color: var(--color-primary);
}

/* CARD & FLEX HELPERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(210,138,28,.08);
  padding: 24px 18px;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 800px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  overflow-x: auto;
  margin: 38px 0 0 0;
}
.pricing-table table {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border-collapse: collapse;
  box-shadow: 0 2px 11px rgba(51, 89, 170, 0.06);
}
.pricing-table th, .pricing-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #E6EAF2;
  color: var(--color-primary);
  font-size: 1.04rem;
}
.pricing-table th {
  background: var(--color-accent);
  color: #fff;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* FAQ */
.faq-section h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
  color: var(--color-accent-dark);
}

/* Responsive Global Padding & Spacing */
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .section,
  .cta {
    padding: 26px 7px;
  }
  .card {
    padding: 14px 7px;
  }
  .testimonials { padding: 18px 0; }
}

/* Footer */
footer {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
  padding: 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 34px;
  padding: 36px 18px 29px 18px;
}
footer a, .footer-nav a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.01rem;
  margin-right: 12px;
  transition: color .16s;
}
footer a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer img {
  height: 42px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-contact {
  max-width: 370px;
  font-size: 1.04rem;
}
.footer-contact p {
  color: #fff;
  margin-bottom: 0;
}
.footer-contact img {
  display: inline;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin: 0 5px 2px 0;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #fffbe7;
  box-shadow: 0 -2px 20px #E6EAF2c5;
  padding: 23px 18px 19px 18px;
  border-top: 3px solid var(--color-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.05rem;
  animation: cookieSlideUp 0.5s .2s both;
}
@keyframes cookieSlideUp {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { margin: 0 0 7px 0; font-size: 1rem; color: var(--color-primary); }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  transition: background 0.16s, color 0.13s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.07);
}
.cookie-btn.secondary {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top:0; left:0; right:0; bottom:0;
  background: rgba(22,34,55,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: background 0.22s;
  animation: fadein .35s both;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 48px rgba(0,36,84,0.21);
  max-width: 420px;
  width: 90vw;
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  z-index: 10001;
  animation: modalPop .41s both;
}
@keyframes modalPop {
  0% { transform: scale(0.77) translateY(80px); opacity: 0; }
  80% { transform: scale(1.05) translateY(-10px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.31rem;
  color: var(--color-accent-dark);
  margin-bottom: 9px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 0;
}
.cookie-modal input[type=checkbox], .cookie-modal input[type=radio] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.44rem;
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
}
.cookie-category-label {
  font-weight: bold;
  color: var(--color-accent-dark);
}
.cookie-category-note {
  font-size: 0.97rem;
  margin-left: 4px;
  color: #7d8332;
}
/* Cookie Modal Animations */
.cookie-modal {
  transition: transform .17s cubic-bezier(.68,-0.1,.78,1.68);
}
.cookie-modal:focus-within {
  box-shadow: 0 0 0 2.5px var(--color-accent);
}

/* ANIMATION: Floating playful shapes for playful dynamic */
@keyframes playful-bounce {
  0%   { transform: translateY(0px) scale(1) rotate(-1deg); }
  40%  { transform: translateY(-4px) scale(1.06) rotate(3deg); }
  75%  { transform: translateY(2px) scale(1.03) rotate(-2deg); }
  100% { transform: translateY(0px) scale(1) rotate(-1deg); }
}
.logo img, .btn, .main-nav a, .card, .testimonial-card, .mobile-menu-toggle {
  animation: playful-bounce 2.3s linear infinite alternate 1s;
  animation-play-state: running;
}
.btn-primary, .btn-secondary {
  animation-delay: .13s;
}

/* SCROLLBAR (thematic, playful) */
::-webkit-scrollbar {
  width: 10px; background: var(--color-secondary);
}
::-webkit-scrollbar-thumb {
  border-radius: 7px; background: var(--color-accent);
}

/* Playful Shadow on Hover */
.card:hover, .card:focus-within, .btn:active {
  box-shadow: 0 7px 32px -8px #ffdc7b7b;
  transform: scale(1.04) rotate(1deg);
}

/* ACCESSIBILITY: FOCUS VISIBLE */
*:focus-visible { outline: 2px solid var(--color-accent)!important; outline-offset: 2px; }

/* PLAYFUL FONTS, AUTHENTIC FEEL */
body, p, ul, li, label, .footer-contact p {
  font-family: var(--font-body);
}
h1, h2, h3, h4, .btn, .main-nav a, .mobile-nav a {
  font-family: var(--font-display);
}

/* MISC: UTILS & FIXES */
@media (max-width: 500px) {
  .footer-contact p, .footer-nav { font-size: 0.93rem; }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .cta h2 { font-size: 1.33rem; }
  .cta { padding: 17px 4px; }
}

/* Prevent overflow and overlap */
.card, .testimonial-card, .features li, .services-list li, .school-list li, .faq-section li {
  min-width: 0;
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* Decorative Only: Z-index for modal/menu */
.mobile-menu { z-index: 120; }
.cookie-modal-overlay { z-index: 10000; }

/* END OF STYLE */
