/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #FAFBFA;
  color: #204050;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #204050;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #6EC2B6;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 0.75em;
}
strong, b { font-weight: 600; }
blockquote {
  margin: 16px 0;
  padding-left: 20px;
  border-left: 4px solid #6EC2B6;
  color: #204050;
  font-style: italic;
  background: #f6fbf8;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 1.7rem; line-height: 1.25; margin-bottom: 16px; }
h3 { font-size: 1.24rem; line-height: 1.3; margin-bottom: 10px; }
h4 { font-size: 1.04rem; line-height: 1.3; }

p, li, ul, ol, span, em, div {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #204050;
}

/* CONTAINERS & FLEX LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(32,64,80,0.04);
  /* subtle shadow */
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(32,64,80,0.05);
  padding: 24px;
  flex: 1 1 220px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 30px 0 rgba(32,64,80,0.10);
  transform: translateY(-3px) scale(1.02);
}
.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 28px;
  background: #F8E8C3;
  box-shadow: 0 2px 16px 0 rgba(32,64,80,0.08);
  border-radius: 18px;
  margin-bottom: 24px;
  max-width: 460px;
  color: #204050;
}
.testimonial-card p {
  color: #204050;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #204050;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(32,64,80,0.04);
  padding: 0;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px 18px 20px;
}
header img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EFF4F4;
  color: #204050;
}
.button-primary {
  background: #204050;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 28px;
  border: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.22s, transform 0.17s;
  box-shadow: 0 2px 12px 0 rgba(32,64,80,0.08);
}
.button-primary:hover,
.button-primary:focus {
  background: #6EC2B6;
  color: #204050;
  box-shadow: 0 4px 18px 0 rgba(110,194,182,0.12);
  transform: translateY(-1px) scale(1.02);
}}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 1004;
  font-size: 2.2rem;
  background: #F8E8C3;
  color: #204050;
  border: none;
  border-radius: 9px;
  padding: 7px 18px;
  box-shadow: 0 2px 8px 0 rgba(32,64,80,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffeec8;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1006;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.42,0,0.47,1);
  box-shadow: 0 0 22px 0 rgba(32,64,80,0.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #204050;
  margin: 28px 20px 10px 0;
  cursor: pointer;
  transition: color 0.14s, background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #6EC2B6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 21px;
  margin: 28px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.24rem;
  color: #204050;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.13s, color 0.12s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #EFF4F4;
  color: #6EC2B6;
}

/* HERO, CTA, ABOUT, FEATURES SECTIONS */
.hero, .about-snippet, .about, .services, .events-hero, .research-overview, .impact, .publications, .thanks, .cta-banner, .values, .contact, .testimonials, .events-list, .policy {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
  border-radius: 18px;
}
.hero {
  background: #F8E8C3;
  min-height: 330px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 28px 0 rgba(32,64,80,0.06);
  margin-bottom: 50px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.cta-banner {
  background: #6EC2B6;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(110,194,182,0.09);
  margin-bottom: 44px;
}
.cta-banner .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-banner p {
  color: #204050;
  font-size: 1.18rem;
  margin-bottom: 0;
  font-weight: 600;
}
.cta-banner .button-primary {
  background: #204050;
  color: #fff;
  margin: 0 0 0 16px;
}
.cta-banner .button-primary:hover {
  background: #F8E8C3;
  color: #204050;
}
.features .container > h2 {
  margin-bottom: 24px;
}
.features .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.features .content-wrapper > div {
  background: #f6fbf8;
  border-radius: 13px;
  box-shadow: 0 1px 6px 0 rgba(32,64,80,0.04);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 200px;
  max-width: 320px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.features .content-wrapper > div:hover {
  box-shadow: 0 8px 32px 0 rgba(32,64,80,0.09);
  transform: translateY(-2px) scale(1.025);
}
.features img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* CONTENT GRIDS & LISTS */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 18px; /* Slight indentation for lists */
}
.content-wrapper li {
  font-size: 1rem;
  line-height: 1.65;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.callout {
  background: #EFF4F4;
  border-radius: 12px;
  padding: 18px;
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 1.06rem;
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}
.testimonial-card {
  align-items: flex-start;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 280px;
}

/* FOOTER */
footer {
  background: #F7FAF8;
  border-top: 1px solid #e5eaea;
  font-size: 1rem;
  color: #204050;
  padding: 38px 0 0 0;
  margin-top: 48px;
  box-shadow: 0 -2px 20px 0 rgba(32,64,80,0.03);
}
footer .container > p {
  color: #668089;
  font-size: 0.92rem;
  margin: 36px 0 8px 0;
  text-align: right;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer img {
  height: 48px;
  margin-bottom: 10px;
}
footer strong {
  color: #204050;
}
footer a {
  color: #204050;
  margin-bottom: 2px;
  font-weight: 500;
  transition: color 0.2s;
}
footer a:hover {
  color: #6EC2B6;
}

/* POLICY & STATIC PAGES */
.policy {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(32,64,80,0.04);
  padding: 40px 0;
  margin-bottom: 46px;
}
.policy h1, .policy h2, .policy h3 {
  color: #204050;
}
.policy ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* THANK YOU PAGE */
.thanks .content-wrapper {
  align-items: center;
  text-align: center;
}
.thanks h1 {
  color: #204050;
  margin-bottom: 24px;
}

/* BUTTONS & INTERACTIVE ELEMENTS */
.button-primary,
.button-secondary {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.15s;
}
.button-secondary {
  background: #F8E8C3;
  color: #204050;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 24px;
  border: 1.5px solid #204050;
  cursor: pointer;
  margin-left: 10px;
}
.button-secondary:hover, .button-secondary:focus {
  background: #ffeec8;
  color: #204050;
  border-color: #6EC2B6;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fefbf2;
  border-top: 2px solid #F8E8C3;
  padding: 24px 12px;
  box-shadow: 0 -4px 20px 0 rgba(32,64,80,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.24s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 24px;
}
.cookie-banner .button-primary {
  background: #6EC2B6;
  color: #204050;
  font-size: 1rem;
  padding: 8px 20px;
}
.cookie-banner .button-primary:hover {
  background: #204050;
  color: #fff;
}
.cookie-banner .button-secondary {
  background: #fff;
  color: #204050;
  border: 1.5px solid #6EC2B6;
}
.cookie-banner .button-secondary:hover {
  background: #F8E8C3;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4000;
  inset: 0;
  background: rgba(32,64,80,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 50px 0 rgba(32,64,80,0.17);
  padding: 34px 28px;
  max-width: 380px;
  width: calc(100vw - 28px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 4010;
  animation: fadeInUp 0.34s cubic-bezier(.33,.69,.68,.97);
}
@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(60px);}
  100% {opacity: 1; transform: translateY(0);}
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: #204050;
  font-size: 1.19rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #6EC2B6;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .button-primary {
  background: #6EC2B6;
  color: #204050;
  padding: 7px 18px;
  font-size: 0.96rem;
}
.cookie-modal .button-secondary {
  background: #F8E8C3;
  color: #204050;
  border-color: #204050;
}
.cookie-modal .button-primary:hover {
  background: #204050;
  color: #fff;
}

/* ICONS IN CONTACT & EVENT SECTIONS */
.contact img, .text-section img {
  width: 22px; height: 22px; margin-right: 7px; vertical-align: middle;
  filter: grayscale(25%) contrast(120%);
}

/* UTILITIES */
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container { max-width: 940px; }
}
@media (max-width: 992px) {
  header .container,
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .main-nav { gap: 12px; }
}
@media (max-width: 860px) {
  .container { max-width: 95vw; }
  footer .content-wrapper { flex-direction: column; gap: 24px; }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .content-wrapper,
  .features .content-wrapper,
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .cta-banner .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .button-primary { font-size: 1rem; padding: 10px 16px; }
  .hero { min-height: 180px; padding: 24px 0; }
}
@media (max-width: 550px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .button-primary, .button-secondary { font-size: 0.92rem; padding: 9px 14px; }
  .section, .policy, .hero, .cta-banner, .about-snippet {
    padding: 24px 0 !important;
    margin-bottom: 34px !important;
  }
  .card, .features .content-wrapper > div {
    padding: 14px 9px;
    min-width: 140px;
    max-width: none;
  }
  .testimonial-card { padding: 14px 10px; min-width: unset; max-width: 100%; }
}

/* END OF CSS */