/* CSS 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,
main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #204060;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

/* Font imports */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #204060;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  color: #204060;
}
ul, ol {
  margin-bottom: 16px;
  margin-left: 20px;
  padding-left: 20px;
}
a {
  color: #00A6A6;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #204060;
  text-decoration: underline;
}

/* ------ CONTAINER ------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ------ HEADER ------ */
header {
  background: #fff;
  border-bottom: 1px solid #e3eaf5;
  box-shadow: 0 2px 6px rgba(32,64,96,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
header img {
  max-height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #204060;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: #00A6A6;
}
nav .btn-primary {
  margin-left: 20px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: 0;
  color: #204060;
  cursor: pointer;
  transition: color 0.16s;
  padding: 6px 12px;
  border-radius: 6px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #00A6A6;
  background: #eaf2fa;
}

/* ------ HERO ------ */
.hero {
  background: #F3F7FB;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 700px;
}

/* Accent background section */
.accent-bg {
  background: #F3F7FB;
}

/* ----- SECTION SPACING ----- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 12px;
}
.features, .categories, .benefits, .faq, .about, .resources-preview, .values, .team, .resource-types, .resource-list, .tips, .events-list, .calendar-view, .past-events, .confirmation {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}

/* ------ FLEXBOX LAYOUTS ------ */
.content-wrapper,
.card-container,
.feature-grid,
.course-cards,
.resource-cards,
.blog-cards,
.event-cards,
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(32,64,96,0.07);
  padding: 32px 28px;
  margin-bottom: 20px;
  min-width: 290px;
  max-width: 490px;
  flex: 1 1 320px;
  border: 1px solid #e3eaf5;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team-bio {
  flex: 1 1 260px;
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,64,96,0.06);
  border: 1px solid #e3eaf5;
  margin-bottom: 20px;
  padding: 22px 18px 18px 18px;
}
.accessibility {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 1.02rem;
  color: #204060;
  background: #F3F7FB;
  border-radius: 7px;
  padding: 14px 18px;
}

/* ------- CARDS ------- */
.feature-grid > div,
.course-cards > div,
.resource-cards > div,
.event-cards > div,
.blog-cards > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(32,64,96,0.08);
  border: 1px solid #E3EAF5;
  padding: 30px 24px 26px 24px;
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.19s;
}
.feature-grid > div:hover,
.course-cards > div:hover,
.resource-cards > div:hover,
.event-cards > div:hover,
.blog-cards > div:hover {
  box-shadow: 0 6px 16px rgba(32,64,96,0.12);
  transform: translateY(-2px) scale(1.025);
  border-color: #00A6A6;
}

.tag {
  background: #00A6A6;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  border-radius: 7px;
  padding: 3px 11px;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

/* Testimonial Color Contrast */
.testimonials {
  background: #F3F7FB;
  border-radius: 16px;
  padding: 40px 0 50px 0;
  margin-bottom: 60px;
}
.testimonial-card {
  color: #1D2935;
  background: #fff;
  font-size: 1.11rem;
  box-shadow: 0 2px 12px rgba(32,64,96,0.09);
  border: 1px solid #d8e3ee;
}
.testimonial-card p {
  font-style: italic;
  color: #204060;
}
.testimonial-card span {
  color: #00A6A6;
  font-weight: 600;
  font-size: 1rem;
}
/* ------ BUTTONS ------ */
.btn-primary, .btn-secondary, .btn-link {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  padding: 12px 32px;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, border 0.15s, transform 0.15s;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: 0 2px 4px rgba(32,64,96,0.08);
  text-align: center;
}
.btn-primary {
  background: #204060;
  color: #fff;
  border: 1.5px solid #204060;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #00A6A6;
  color: #fff;
  border-color: #00A6A6;
  box-shadow: 0 3px 12px rgba(0,166,166,0.07);
}
.btn-secondary {
  background: #F3F7FB;
  color: #204060;
  border: 1.5px solid #204060;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #eaf2fa;
  color: #00A6A6;
  border-color: #00A6A6;
}
.btn-link {
  background: transparent;
  color: #00A6A6;
  border: none;
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: none;
}
.btn-link:hover, .btn-link:focus {
  text-decoration: underline;
  color: #204060;
}
button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #00A6A6;
}

/* Quick Links in Resources Preview */
.quick-links {
  margin-top: 6px;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Contact info Row */
.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #204060;
  min-width: 192px;
}

/* Google map placeholder */
.google-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 120px;
  background: #E3EAF5;
  border-radius: 10px;
  padding: 25px;
}

/* CTA Section */
.cta {
  background: #F3F7FB;
  border-radius: 16px;
  padding: 44px 20px 36px 20px;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(32,64,96,0.06);
}
.cta .btn-primary {
  margin: 18px auto 0 auto;
}

.newsletter-signup {
  background: #F3F7FB;
  border-radius: 14px;
  padding: 40px 20px 48px 20px;
  margin-bottom: 60px;
}

.confirmation {
  background: #F3F7FB;
  border-radius: 12px;
  margin-bottom: 48px;
  text-align: center;
}

/* ----- FOOTER ----- */
footer {
  background: #204060;
  color: #fff;
  padding: 48px 0 14px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  color: #fff;
}
.footer-brand img {
  max-height: 33px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 6px 0 6px 0;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #00A6A6;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.97rem;
  color: #dfe6f1;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 4px;
  max-height: 16px;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  height: 28px;
  width: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.12s;
}
.footer-social a:hover img {
  opacity: 1;
}
.footer-accessibility {
  background: rgba(0,166,166,0.10);
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 0.94rem;
  color: #eaf2fa;
}
.footer-credits {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #9fb7d2;
  font-size: 0.93rem;
  margin-top: 12px;
}

/* -------- BLOG CARDS -------- */
.blog-cards { gap: 24px; }

/* -------- EVENTS -------- */
.event-cards { gap: 24px; }

/* -------- RESOURCES -------- */
.resource-cards { gap: 24px; }

/* -------- RESPONSIVE STYLES -------- */
@media (max-width: 992px) {
  .container { max-width: 900px; }
  .content-wrapper, .card-container, .feature-grid, .course-cards, .resource-cards, .blog-cards, .event-cards {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html, body {
    font-size: 15px;
  }
  section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
  .hero {
    padding: 32px 0;
    min-height: unset;
  }
  header .container {
    flex-direction: row;
    height: 58px;
    padding: 0 10px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 8px;
    background: #F3F7FB;
  }
  .feature-grid,
  .card-container,
  .content-wrapper, .course-cards, .resource-cards, .blog-cards, .event-cards,
  .contact-info {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .testimonial-card, .team-bio, .feature-grid > div, .course-cards > div, .resource-cards > div, .event-cards > div {
    min-width: 0;
    max-width: 100%;
  }
  .quick-links {
    font-size: 0.98rem;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .cta, .newsletter-signup, .confirmation {
    padding: 22px 7px 28px 7px;
  }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

/* ------ MOBILE MENU ------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,64,96,0.96);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.30s cubic-bezier(.68,-0.55,.27,1.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 44px;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  color: #fff;
  font-size: 2.3rem;
  border: 0;
  cursor: pointer;
  z-index: 300;
  margin-left: auto;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #00A6A6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-top: 30px;
  padding: 0 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,166,166,0.13);
  width: 100%;
  transition: color 0.14s, background 0.14s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #00A6A6;
  color: #fff;
}

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

/* ------ COOKIE CONSENT BANNER ------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #204060;
  color: #fff;
  font-size: 1rem;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 0 16px rgba(32,64,96,0.17);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  transition: transform 0.37s cubic-bezier(.87,.1,.15,1.32);
}
.cookie-banner[hidden] {
  transform: translateY(120%);
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 auto;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  font-size: 0.97rem;
  padding: 8px 22px;
  margin-top: 0;
}
.cookie-banner .btn-primary {
  background: #00A6A6;
  color: #fff;
  border-color: #00A6A6;
}
.cookie-banner .btn-secondary {
  background: #F3F7FB;
  color: #204060;
  border: 1.5px solid #204060;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 12px 10px 12px;
  }
  .cookie-banner-actions {
    flex-direction: row;
    gap: 8px;
  }
}

/* ------ COOKIE MODAL ------ */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(32,64,96,0.78);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.32s;
}
.cookie-modal[hidden] {
  display: none !important;
}
.cookie-modal-dialog {
  background: #fff;
  color: #204060;
  border-radius: 14px;
  width: 97vw;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(32,64,96,0.21);
  padding: 34px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: 0;
  color: #204060;
  font-size: 1.61rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #00A6A6;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px 0;
}
.cookie-category input[type='checkbox'] {
  accent-color: #00A6A6;
  width: 18px;
  height: 18px;
}
.cookie-category .locked {
  color: #00A6A6;
  font-size: 0.95rem;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 1rem;
  padding: 7px 18px;
}

/* ------ GLOBAL UTILITIES ------ */
img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: middle;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  height: 1px;
  background: #E3EAF5;
  margin: 24px 0;
}
::-webkit-input-placeholder { color: #95a6b9; }
::-moz-placeholder { color: #95a6b9; }
:-ms-input-placeholder { color: #95a6b9; }
::placeholder { color: #95a6b9; }

/* ---- SELECTION COLOR ---- */
::selection {
  background: #00A6A6;
  color: #fff;
}

/* ---- FORMS ---- */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #F3F7FB;
  border: 1px solid #c7d1db;
  padding: 11px 13px;
  border-radius: 6px;
  box-shadow: none;
  transition: border 0.13s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #00A6A6;
  border-color: #00A6A6;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}

/* --------- ACCORDION FAQ ------ */
.faq h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
  margin-top: 18px;
}
.faq p {
  margin-bottom: 8px;
}

/* --------- MISC --------- */
em {
  color: #009b99;
  font-style: italic;
}

/* SAFE SPACING BETWEEN ELEMENTS */
section, .card-container > *, .feature-grid > *, .content-wrapper > *, .testimonial-card, .team-bio, .cta, .newsletter-signup, .confirmation, .blog-cards > *, .event-cards > * {
  margin-bottom: 20px;
}
.content-wrapper > *:last-child,
.card-container > *:last-child,
.feature-grid > *:last-child,
section:last-child,
.testimonial-card:last-child,
.team-bio:last-child,
.cta:last-child {
  margin-bottom: 0;
}

/* Prevent overlapping by always using gaps and margins, never absolute for content. Only icons/buttons may use absolute for decoration or placement. */
