/* --- CSS RESET & BASE --- */
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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #F4F6FB 0%, #FFD93D 100%);
  color: #155263;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
ul, ol {
  padding-left: 20px;
}
a {
  color: #155263;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD93D;
  outline: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #155263;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 24px 0;
  width: 100%;
}
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & MAIN NAVIGATION --- */
header {
  background: linear-gradient(90deg, #155263 50%, #FFD93D 100%);
  padding: 0;
  box-shadow: 0 2px 12px rgba(21,82,99,0.09);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  padding: 24px 0 18px 0;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  transition: color 0.18s;
  padding: 6px 10px;
  border-radius: 6px;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #155263 !important;
  background: #FFD93D;
}
.main-nav img {
  height: 36px;
  margin-right: 0;
  margin-bottom: -6px;
}
.cta-primary {
  background: #FFD93D;
  color: #155263 !important;
  padding: 10px 28px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  margin-left: 12px;
  box-shadow: 0 2px 10px rgba(21, 82, 99, 0.08);
  transition: box-shadow 0.25s, background 0.18s, color 0.18s;
  border: none;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #155263;
  color: #FFD93D !important;
  box-shadow: 0 4px 16px rgba(21, 82, 99, 0.15);
}

.cta-secondary {
  display: inline-block;
  background: #155263;
  color: #FFD93D !important;
  padding: 10px 28px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  margin-top: 22px;
  box-shadow: 0 2px 10px rgba(21, 82, 99, 0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FFD93D;
  color: #155263 !important;
  box-shadow: 0 4px 16px rgba(21, 82, 99, 0.11);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 24px;
  right: 30px;
  width: 38px;
  height: 38px;
  background: #155263;
  color: #FFD93D;
  font-size: 2rem;
  border-radius: 8px;
  z-index: 202;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD93D;
  color: #155263;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #155263;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.5,0.2,0.1,1);
  z-index: 400;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  padding-top: 26px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFD93D;
  color: #155263;
  font-size: 2rem;
  border-radius: 8px;
  margin-left: 20px;
  margin-bottom: 14px;
  transition: background 0.18s, color 0.18s;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  display: flex;
  z-index: 205;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #155263;
  color: #FFD93D;
  border: 2px solid #FFD93D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-top: 6px;
}
.mobile-nav a {
  color: #FFD93D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.18s, color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #155263;
  background: #FFD93D;
}

/* --- HERO SECTIONS --- */
section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(21,82,99,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}

section:first-of-type {
  margin-top: 26px;
}

/* --- FEATURE GRID / CARDS --- */
.feature-grid > div {
  background: #F4F6FB;
  border: 1.5px solid #E2E6F2;
  border-radius: 15px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 245px;
  flex: 1 1 214px;
  max-width: 310px;
  margin-bottom: 0;
  box-shadow: 0 2px 10px 0 rgba(21,82,99,0.07);
  gap: 10px;
  transition: box-shadow 0.24s, border 0.24s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  border: 1.5px solid #FFD93D;
  box-shadow: 0 7px 28px 0 rgba(21,82,99,0.13);
}
.feature-grid img {
  width: 52px;
  height: 52px;
  background: #fffbe5;
  border-radius: 12px;
  margin-bottom: 11px;
  box-shadow: 0 2px 8px rgba(255,217,61,0.05);
  object-fit: contain;
}

.card-container > .card, .feature-item > .card, .card {
  background: #F4F6FB;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 13px rgba(21,82,99,0.07);
  padding: 24px 20px 20px 20px;
  flex: 1 1 250px;
  position: relative;
  border: none;
  transition: box-shadow 0.21s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(21,82,99, 0.13);
}
.card-content {
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- TESTIMONIALS --- */

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 24px 26px;
  background: #F4F6FB;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(21,82,99,0.10);
  min-width: 210px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  color: #155263;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  border: 1.5px solid #E4E7F1;
  transition: box-shadow 0.23s, border 0.23s;
}
.testimonial-card strong {
  display: block;
  font-weight: 700;
  color: #155263;
  font-size: 1rem;
  margin-top: 9px;
  letter-spacing: 0.01em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border: 1.5px solid #FFD93D;
  box-shadow: 0 6px 32px rgba(21,82,99,0.17);
}
/* Ensure high contrast readability */
.testimonial-card p, .testimonial-card strong {
  color: #155263;
}

/* --- FOOTER --- */
footer {
  background: #155263;
  color: #fff;
  padding: 36px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 18px;
  align-items: center;
}
.footer-nav a {
  color: #FFD93D;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD93D;
  color: #155263;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.footer-contact img {
  margin-right: 9px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.footer-brand span {
  font-size: 1rem;
  color: #FFD93D;
}

/* --- TAG CLOUD (Blog) --- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.tag-cloud span {
  background: #FFD93D;
  color: #155263;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 12px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* --- AGE GROUP TABS --- */
.age-group-tabs {
  margin: 18px 0;
}
.age-group-tabs h3 {
  font-size: 1.1rem;
  margin-bottom: 9px;
}
.age-group-tabs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
.age-group-tabs li {
  background: #155263;
  color: #FFD93D;
  padding: 6px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.age-group-tabs li:hover, .age-group-tabs li:focus {
  background: #FFD93D;
  color: #155263;
}

/* --- ICONS IN LISTS --- */
ul li img, ol li img {
  width: 22px;
  height: 22px;
  margin-right: 9px;
  vertical-align: middle;
}

/* --- SPACING --- */
ul, ol {
  margin-bottom: 14px;
  padding-left: 28px;
}
ul li, ol li {
  margin-bottom: 9px;
}

/* --- OTHER BUTTONS --- */
button, a.button, .btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.13s;
  border-radius: 22px;
  padding: 10px 24px;
  font-size: 1.07rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: linear-gradient(90deg, #155263 60%, #FFD93D 100%);
  color: #fff;
  padding: 22px 20px 20px 28px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -7px 24px rgba(21,82,99,0.17);
  font-size: 1.1rem;
  animation: cbanner-in 0.7s cubic-bezier(0.65,0.05,0.36,1) 1;
}
@keyframes cbanner-in {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #fff;
  flex: 2 1 240px;
  margin: 0;
}
.cookie-banner .cookie-btn {
  background: #FFD93D;
  color: #155263;
  border: none;
  border-radius: 16px;
  padding: 10px 24px;
  margin-right: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.18s, color 0.14s, box-shadow 0.12s;
  box-shadow: 0 2px 10px rgba(21,82,99, 0.07);
  cursor: pointer;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #155263;
  color: #FFD93D;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(21,82,99,0.65);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #155263;
  padding: 36px 34px 30px 34px;
  border-radius: 22px;
  min-width: 325px;
  max-width: 97vw;
  box-shadow: 0 5px 44px 0 rgba(21,82,99,0.24);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cmodal-in 0.35s cubic-bezier(0.65,0.05,0.36,1) 1;
}
@keyframes cmodal-in {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.16rem;
  margin-bottom: 7px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #155263;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  .main-nav {
    gap: 22px;
  }
  .feature-grid > div, .card-container > .card {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .card-container {
    gap: 12px;
    flex-wrap: wrap;
  }
  .feature-grid > div {
    min-width: 160px;
    max-width: 100%;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  section, .section {
    padding: 30px 9px;
    margin-bottom: 40px;
    border-radius: 14px;
  }
  .feature-grid, .card-container, .testimonial-slider {
    flex-direction: column !important;
    gap: 20px;
  }
  .feature-grid > div,
  .card-container > .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 16px;
    flex-wrap: wrap;
    font-size: 1rem;
  }
  .content-wrapper {
    gap: 7px;
  }
  .footer-brand span {
    font-size: 0.97rem;
  }
  h1 {
    font-size: 1.44rem;
  }
  h2 {
    font-size: 1.14rem;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    padding: 20px 10px 18px 13px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 17px 8px 16px 16px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 5px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
  .feature-grid img {
    width: 36px; height: 36px;
  }
}

/* --- MICRO-INTERACTIONS & SMOOTH TRANSITIONS --- */
.card, .feature-grid > div, .testimonial-card, .cta-primary, .cta-secondary, .cookie-btn, .footer-nav a, .main-nav > a, .age-group-tabs li, .mobile-nav a {
  transition: box-shadow 0.23s, border 0.22s, background 0.15s, color 0.15s, transform 0.15s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .cta-primary:hover, .cta-secondary:hover, .age-group-tabs li:hover, .footer-nav a:hover, .main-nav > a:hover, .mobile-nav a:hover {
  transform: translateY(-3px) scale(1.01);
}

/* --- UTILITY CLASSES FOR SPACING --- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* --- END OF STYLE --- */
