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

/* ===================================================================
   FONT FACE
=================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #163D6A;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, li, ul, ol, blockquote {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #163D6A;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
a {
  color: #163D6A;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #58A4B0;
  text-decoration: underline;
}

/* ===================================================================
   LAYOUT CONTAINERS & SPACING
=================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child {
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(22, 61, 106, 0.05);
  position: relative;
  padding: 24px 20px;
  min-width: 250px;
  min-height: 140px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover, .service-card:hover, .event-card:hover {
  box-shadow: 0 6px 32px rgba(22,61,106,0.10);
  transform: translateY(-4px) scale(1.01);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #E3E8EF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22, 61, 106, 0.08);
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
  color: #163D6A;
  quotes: "\201C" "\201D";
}
.testimonial-card p strong {
  font-weight: 700;
  color: #163D6A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** Flexible utility classes ****/
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/**** Default List Styling ****/
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
  padding-left: 16px;
}
li {
  margin-bottom: 8px;
  list-style-position: outside;
}

/* ===================================================================
   HEADER & NAVIGATION
=================================================================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E3E8EF;
  box-shadow: 0 2px 8px rgba(22, 61, 106, 0.03);
  z-index: 40;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #163D6A;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 0;
  transition: color .15s;
  letter-spacing: 0.5px;
}
.main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: #58A4B0;
}
.cta.primary {
  display: inline-block;
  padding: 10px 28px;
  background: #163D6A;
  color: #fff;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-left: 16px;
  border: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(22, 61, 106, 0.07);
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #58A4B0;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 18px rgba(88,164,176,0.15);
}
.cta.secondary {
  display: inline-block;
  padding: 10px 24px;
  background: #E3E8EF;
  color: #163D6A;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0;
  margin-top: 16px;
  border: 1px solid #E3E8EF;
  box-shadow: 0 2px 8px rgba(22, 61, 106, 0.04);
  transition: color 0.18s, border 0.18s, box-shadow 0.25s;
  cursor: pointer;
}
.cta.secondary:hover, .cta.secondary:focus {
  color: #58A4B0;
  border: 1px solid #58A4B0;
  box-shadow: 0 4px 18px rgba(88,164,176,0.07);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #163D6A;
  cursor: pointer;
  margin-left: 20px;
  z-index: 101;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 36px rgba(22, 61, 106, 0.16);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 24px 24px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.82,-0.11,.42,1.12);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #163D6A;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #163D6A;
  text-decoration: none;
  padding: 14px 0;
  font-weight: 600;
  border-bottom: 1px solid #E3E8EF;
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active {
  color: #58A4B0;
  background: #F7FAFC;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 10px 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===================================================================
   HERO & CTA SECTIONS
=================================================================== */
.hero, .about-hero, .contact-hero, .thank-you-section {
  background: #F7FAFC;
  padding: 56px 0 56px 0;
  display: flex;
  align-items: center;
}
.hero h1,
.about-hero h1,
.contact-hero h1,
.thank-you-section h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p, .about-hero p, .contact-hero p, .thank-you-section p {
  font-size: 1.1rem;
  color: #163D6A;
  margin-bottom: 30px;
}
.cta-final {
  background: #E3E8EF;
  border-radius: 16px;
  padding: 48px 0;
  margin-bottom: 60px;
}
.cta-section {
  background: #F7FAFC;
  border-radius: 12px;
  padding: 44px 0 38px 0;
  margin-bottom: 60px;
}
.cta-section a {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .hero, .about-hero, .contact-hero, .thank-you-section {
    padding: 32px 0 32px 0;
  }
}

/* ===================================================================
   FEATURES, SERVICES, CARDS, GRIDS
=================================================================== */
.features, .features-section {
  background: #fff;
  padding: 40px 0 40px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 24px;
}
.feature-grid > div {
  background: #F7FAFC;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(22,61,106,.04);
  flex: 1 1 200px;
  min-width: 220px;
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(22,61,106,.09);
  transform: translateY(-2px) scale(1.01);
}

.services-overview, .services-list {
  padding: 40px 0;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-cards > div, .service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(22,61,106,0.05);
  flex: 1 1 230px;
  min-width: 220px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card + .service-card {
  margin-left: 0;
}
.service-card strong {
  color: #58A4B0;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
/* Events cards */
.event-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.event-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(22,61,106,0.04);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.event-card a.cta {
  margin-top: 14px;
}
.
/* Article & Resource cards */
.article-list ul,
.resource-categories ul,
.download-links ul,
.toolkit-links ul,
.checklist-downloads ul {
  list-style: disc;
  margin-left: 22px;
  margin-bottom: 10px;
}
.article-list ul li, .download-links ul li, .toolkit-links ul li, .checklist-downloads ul li {
  margin-bottom: 8px;
}
.article-list ul li a, .download-links ul li a, .toolkit-links ul li a, .checklist-downloads ul li a {
  color: #163D6A;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #E3E8EF;
  padding-bottom: 2px;
  transition: color 0.15s, border-bottom-color 0.15s;
}
.article-list ul li a:hover, .download-links ul li a:hover, .toolkit-links ul li a:hover, .checklist-downloads ul li a:hover {
  color: #58A4B0;
  border-bottom-color: #58A4B0;
}

/* ===================================================================
   TESTIMONIALS & SUCCESS STORIES
=================================================================== */
.testimonials-preview, .testimonials {
  background: #F7FAFC;
  padding: 44px 0 44px 0;
}
.client-outcomes ul {
  list-style: disc;
  margin-left: 20px;
  color: #163D6A;
}
.case-study-clip {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(22,61,106,0.04);
  padding: 22px 18px;
  margin-bottom: 24px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/**** Section Dividers ****/
hr {
  border: none;
  border-top: 1.5px solid #E3E8EF;
  margin: 36px 0;
}

/* ===================================================================
   FOOTER
=================================================================== */
footer {
  background: #fff;
  border-top: 1px solid #E3E8EF;
  padding: 32px 0 18px;
  margin-top: 64px;
}
footer .container {
  display: flex; 
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer a img {
  width: 32px;
  height: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin: 8px 0 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
}
.footer-nav a {
  color: #163D6A;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #58A4B0;
}
footer p, footer a {
  font-size: 0.97rem;
}

/* ===================================================================
   FORMS & FAQ
=================================================================== */
.form-fields, .contact-details .text-section {
  margin-top: 18px;
  margin-bottom: 18px;
  background: #F7FAFC;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 6px rgba(22, 61, 106, 0.04);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(22,61,106,0.05);
  padding: 16px 14px;
}
.faq-accordion h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

/* ===================================================================
   COOKIE CONSENT BANNER & MODAL
=================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #E3E8EF;
  box-shadow: 0 0 14px rgba(22,61,106,0.18);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  gap: 24px;
  font-size: 1rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.61,0,.68,1.09), opacity 0.16s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  margin: 0;
  color: #163D6A;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 8px 20px;
  border-radius: 18px;
  margin-left: 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.18s;
}
.cookie-banner .accept {
  background: #163D6A;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #58A4B0;
}
.cookie-banner .reject {
  background: #E3E8EF;
  color: #163D6A;
}
.cookie-banner .reject:hover {
  background: #d1dde4;
}
.cookie-banner .settings {
  background: transparent;
  color: #163D6A;
  border: 1px solid #163D6A;
}
.cookie-banner .settings:hover {
  background: #E3E8EF;
  color: #163D6A;
}

/* Cookie modal popup */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 0;  bottom: 0;
  background: rgba(22,61,106,0.07);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.18s;
}
.cookie-modal.visible {
  display: flex;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  max-width: 98vw;
  width: 380px;
  padding: 32px 22px 18px 22px;
  box-shadow: 0 8px 40px rgba(22,61,106,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.16s cubic-bezier(.9,0,.35,1.15);
}
@keyframes modalIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal-dialog h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal-dialog .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #58A4B0;
  width: 18px;
  height: 18px;
  margin: 0 2px 0 0;
}
.cookie-category .always-on {
  font-style: italic;
  color: #58A4B0;
  font-size: 0.99rem;
}
.cookie-modal-dialog .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-dialog button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 17px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-modal-dialog .accept {
  background: #163D6A;
  color: #fff;
}
.cookie-modal-dialog .accept:hover {
  background: #58A4B0;
}
.cookie-modal-dialog .close {
  background: #e3e8ef;
  color: #163D6A;
}
.cookie-modal-dialog .close:hover {
  background: #d1dde4;
}

/* ===================================================================
   MOBILE & RESPONSIVE
=================================================================== */
@media (max-width: 1024px) {
  .feature-grid, .service-cards, .event-cards {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    max-width: 97vw;
    padding: 0 4px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .container {
    padding: 0 10px;
  }
  .feature-grid, .service-cards, .event-cards {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 20px; }
  .testimonial-card, .card, .service-card, .event-card, .case-study-clip {
    min-width: 0;
    width: 100%;
    margin-bottom: 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 8px;
    font-size: 0.98rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.05rem; }
  .content-wrapper {
    padding: 0;
    max-width: 99vw;
  }
  .cookie-modal-dialog {
    width: 95vw;
    padding: 16px 4vw 12px 4vw;
  }
}

/* ===================================================================
   Animations and Micro Interactions
=================================================================== */
.cta.primary, .cta.secondary, .cookie-banner button, .cookie-modal-dialog button {
  transition: background 0.18s, color 0.13s, transform 0.18s, box-shadow 0.19s;
}
.cta.primary:active, .cta.secondary:active, .cookie-banner button:active {
  transform: scale(0.98);
}
.card, .service-card, .event-card, .case-study-clip, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.18s;
}

/* ===================================================================
   COLOR/TYPOGRAPHY ACCESSIBILITY
=================================================================== */
.testimonial-card, .case-study-clip {
  color: #163D6A;
  background: #E3E8EF;
  border: none;
}
.testimonial-card blockquote, .case-study-clip p, .testimonial-card p {
  color: #163D6A;
}

/* ===================================================================
   UTILITY CLASSES
=================================================================== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* ===================================================================
   DEBUG (for spacing visualisation, remove in prod)
=================================================================== */
/* .container, .content-wrapper, .card, .testimonial-card, .service-card {
  outline: 0px solid red;
} */