/* =============================================================
   CSS RESET & NORMALIZATION
   ============================================================= */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #1B2834;
  background: #fff;
  min-height: 100vh;
  font-weight: 400;
}
img, picture, video, iframe {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  background: none;
  border: none;
  box-shadow: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}

/* =============================================================
   BRAND VARIABLES (FALLBACKS for old browsers)
   ============================================================= */
:root {
  --primary: #1B2834;
  --secondary: #04724D;
  --accent: #F2F2F2;
  --text-dark: #1B2834;
  --text-light: #fff;
  --border: #E7E7E7;
  --shadow: 0 3px 16px 0 rgba(27,40,52,0.07);
  --radius: 12px;
  --radius-small: 6px;
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem; /* 18px */
}
p, li, a, button, .download-btn {
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  color: var(--text-dark);
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.text-section {
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

/* =============================================================
   STRUCTURE & LAYOUT
   ============================================================= */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Cards / Features / Flex Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
  flex: 1 1 300px;
  min-width: 260px;
}
.card:hover, .feature:hover {
  box-shadow: 0 6px 32px 0 rgba(27,40,52,0.11);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.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: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid, .event-list, .team-member-list, .analysis-list, .publications-list, .media-mentions, .press-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 10px 0 10px 0;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 200px;
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
}
.feature img {
  height: 40px;
  width: 40px;
  margin-bottom: 12px;
}
.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
  color: var(--secondary);
}
/* Responsive Flex Direction */
@media (max-width: 768px) {
  .feature-grid,
  .event-list,
  .team-member-list,
  .analysis-list,
  .publications-list,
  .media-mentions,
  .press-list,
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .container {
    padding: 0 12px;
  }
}

/* Lists and Filters */
.filters,
.event-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
}
.filters ul, .event-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.filters li, .event-filters li {
  background: var(--accent);
  border-radius: var(--radius-small);
  padding: 6px 16px;
  color: var(--primary);
  font-size: 0.96rem;
}
.filters input[type="search"] {
  border-radius: var(--radius-small);
  border: 1px solid var(--border);
  padding: 8px 12px;
  background: #fff;
  font-size: 1rem;
  margin-left: 8px;
  transition: border 0.15s;
}
.filters input[type="search"]:focus {
  border-color: var(--secondary);
}

/* =============================================================
   HEADER & NAVIGATION
   ============================================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0px 1px 8px 0 rgba(27,40,52,0.03);
  position: sticky;
  top: 0;
  z-index: 980;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 0 20px;
  height: 72px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  transition: color 0.20s;
  padding: 7px 8px;
  border-radius: var(--radius-small);
}
header nav a:hover,
header nav a:focus {
  color: var(--secondary);
  background: var(--accent);
}
header nav .cta-primary {
  background: var(--secondary);
  color: var(--text-light);
  font-weight: 600;
  padding: 9px 24px;
  border-radius: var(--radius);
  margin-left: 16px;
  transition: background 0.20s, box-shadow 0.15s;
  box-shadow: 0 2px 8px 0 rgba(4, 114, 77, 0.08);
}
header nav .cta-primary:hover, header nav .cta-primary:focus {
  background: #02593b;
  box-shadow: 0 4px 16px 0 rgba(4,114,77,0.15);
}
header nav img {
  height: 40px;
  margin-right: 20px;
  vertical-align: middle;
}

/* --------------------------
   MOBILE HEADER NAVIGATION
   -------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--secondary);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border: none;
  z-index: 1002;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #02593b;
}
@media (max-width: 1024px) {
  header nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 6px;
    padding: 0 6px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* -------------------------
   MOBILE BURGER MENU PANEL
   ------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.85,0,0.2,1);
  box-shadow: 0 0 32px 0 rgba(27,40,52,0.12);
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 2006;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #02593b;
}
.mobile-nav {
  margin: 96px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 36px;
}
.mobile-nav a {
  width: 100%;
  display: block;
  padding: 13px 8px 13px 6px;
  font-size: 1.15rem;
  color: var(--primary);
  border-radius: var(--radius-small);
  margin-bottom: 3px;
  transition: background 0.15s, color 0.18s;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================================================
   HERO SECTIONS
   ============================================================= */
.hero {
  background: var(--accent);
  width: 100%;
  padding: 52px 0 44px 0;
  margin-bottom: 38px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 720px;
  gap: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--primary);
}
.hero p {
  font-size: 1.19rem;
  color: var(--primary);
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 22px 0;
  }
  .hero .content-wrapper h1 {
    font-size: 1.5rem;
  }
}

/* =============================================================
   BUTTONS & CTA
   ============================================================= */
.cta-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--text-light);
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  padding: 12px 36px;
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 1.07rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px 0 rgba(4,114,77,0.08);
  border: none;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.17s, color 0.14s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #02593b;
  box-shadow: 0 5px 21px 0 rgba(4,114,77,0.15);
}
.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--secondary);
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  padding: 10px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  border: 2px solid var(--secondary);
  transition: background 0.23s, color 0.13s, box-shadow 0.16s;
  box-shadow: none;
  font-size: 1rem;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: var(--text-light);
  border-color: var(--secondary);
  box-shadow: 0 2px 12px 0 rgba(4,114,77,0.08);
}
.download-btn {
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--primary);
  padding: 8px 18px;
  margin-top: 10px;
  border: 1px solid var(--border);
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
}
.download-btn:hover, .download-btn:focus {
  background: var(--secondary);
  color: var(--text-light);
  border-color: var(--secondary);
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonial-card {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 1.08rem;
  font-style: italic;
  position: relative;
  border-left: 4px solid var(--secondary);
  min-width: 220px;
  max-width: 430px;
}
.testimonial-card strong {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 10px;
}

/* =============================================================
   FOOTER DESIGN
   ============================================================= */
footer {
  background: var(--accent);
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 30px;
  padding-bottom: 30px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 38px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color 0.17s, background 0.17s;
  border-radius: var(--radius-small);
  padding: 4px 7px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  background: #e2f4ec;
}
footer .contact-info {
  font-size: 0.97rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.6;
}
footer .contact-info img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
footer .social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
footer .social-links a img {
  height: 28px;
  width: 28px;
  filter: grayscale(60%) brightness(1);
  transition: filter 0.16s;
}
footer .social-links a:hover img,
footer .social-links a:focus img {
  filter: grayscale(0%) brightness(1.15);
}
@media (max-width: 840px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* =============================================================
   FORMS, INPUTS, ETC
   ============================================================= */
input[type="text"], input[type="email"], input[type="search"], textarea {
  background: #fff;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  font-size: 1rem;
  color: var(--primary);
  transition: border 0.17s;
  margin-bottom: 8px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="search"]:focus, textarea:focus {
  border-color: var(--secondary);
}
label {
  margin-bottom: 4px;
  color: var(--secondary);
  font-weight: 500;
}

/* =============================================================
   COOKIE CONSENT BANNER
   ============================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 24px 0 rgba(27,40,52,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px 16px;
  z-index: 2000;
  gap: 26px;
  border-top: 1px solid var(--border);
  transition: transform 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0 0 0 0;
  flex-basis: 70%;
  color: var(--primary);
  font-size: 0.98rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  border-radius: var(--radius-small);
  padding: 9px 18px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.17s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #02593b;
  border-color: #02593b;
}
.cookie-btn.reject {
  background: #fff;
  color: #ce2d2d;
  border-color: #df4747;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffe0e0;
  border-color: #df4747;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e2f4ec;
  border-color: var(--secondary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.96);
  background: #fff;
  padding: 36px 24px 24px 24px;
  border-radius: var(--radius);
  box-shadow: 0 10px 45px 0 rgba(27,40,52,0.21);
  z-index: 5000;
  width: 98vw;
  max-width: 410px;
  transition: transform 0.25s cubic-bezier(.45,.1,.22,1);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-size: 1.21rem;
  color: var(--primary);
}
.cookie-categories {
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--primary);
}
.cookie-switch {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-switch input[type="checkbox"] {
  width: 38px;
  height: 22px;
  opacity: 0;
  cursor: pointer;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #eee;
  border-radius: 22px;
  transition: background 0.17s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 9px 0 rgba(27,40,52,0.13);
  transition: transform 0.23s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-actions {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-category .cookie-switch[disabled],
.cookie-modal .cookie-category[disabled] label {
  pointer-events: none;
  opacity: 0.48;
}

/* =============================================================
   UTILITY CLASSES & INTERACTIONS
   ============================================================= */
.section {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  background: #fff;
}
.gap-20 {
  gap: 20px !important;
}
.mt-8 { margin-top:8px !important; }
.mt-24 { margin-top:24px !important; }
.mb-24 { margin-bottom:24px !important; }
.d-flex { display: flex!important; }
.flex-column { flex-direction: column!important; }
.flex-row { flex-direction: row!important; }
.align-center { align-items: center!important; }
.align-start { align-items: flex-start!important; }
.justify-between { justify-content: space-between!important; }

/* Subtle shadow on hover for all card style blocks */
.card, .feature, .testimonial-card, .press-list .text-section, .publications-list .text-section {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .feature:hover, .testimonial-card:hover, .press-list .text-section:hover, .publications-list .text-section:hover {
  transform: translateY(-2px) scale(1.014);
  box-shadow: 0 8px 34px 0 rgba(27,40,52,0.14);
}

/* ===================================================================
   MISC.
   =================================================================== */
input[type=checkbox] {
  accent-color: var(--secondary);
}
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}
::-webkit-input-placeholder {
  color: #b8b8b8; opacity: 1;
}
::-moz-placeholder { color: #b8b8b8; opacity: 1; }
:-ms-input-placeholder { color: #b8b8b8; opacity: 1; }
::placeholder { color: #b8b8b8; opacity: 1; }

/* Responsive Spacing */
@media (max-width: 480px) {
  .section {
    padding: 18px 4px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 12px;
  }
}

/* Hide elements offscreen, e.g. modal background overlays (to be defined with JS) */
[hidden] { display: none !important; }

/* Loader, overlays, etc. - left undefined as not present in HTML provided */

/* END OF CSS */
