/* RESET & BASELINE ---------------------------- */
/* CSS Reset: Eric Meyer's Reset + Browser 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,
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%; }
body {
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  min-height: 100vh;
  font-size: 16px;
  font-weight: 400;
}
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
ul, ol { list-style: none; }
a {
  color: #233B64;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #16A085; outline-offset: 2px; }
img { max-width: 100%; border: 0; display: block; }

/* FONTS -------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&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', 'Roboto', Arial, sans-serif;
  color: #233B64;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol, blockquote {
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #232931;
}
strong, b { font-weight: 700; }
.subheadline { color: #16A085; font-size: 1.125rem; margin-bottom: 28px; }

/* LAYOUT: CONTAINER --------------------------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HEADER & NAVBAR ----------------------------*/
header {
  width: 100%;
  background: #F0F4F8;
  border-bottom: 2px solid #e5eaf0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 68px;
  padding: 0 20px;
  gap: 20px;
}
.branding { flex: 1 1 180px; }
.branding img { height: 42px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #233B64;
  padding: 10px 4px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #16A085;
}
.button.primary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: #233B64;
  color: #fff;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  font-size: 1rem;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,59,100,.05);
  margin-left: 16px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.button.primary:hover, .button.primary:focus {
  background: #16A085;
  color: #fff;
  box-shadow: 0 4px 24px rgba(35,59,100,0.11);
}
.button.secondary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: #fff;
  color: #233B64;
  border: 2px solid #233B64;
  padding: 12px 32px;
  border-radius: 32px;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
}
.button.secondary:hover, .button.secondary:focus {
  background: #16A085;
  border-color: #16A085;
  color: #fff;
  box-shadow: 0 4px 24px rgba(22,160,133,0.13);
}

/* BURGER BUTTON ---------------------------*/
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #233B64;
  cursor: pointer;
  margin-left: 16px;
  display: none; /* shown via media queries below */
  z-index: 1201;
  transition: color .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #16A085;
}

/* MOBILE MENU ---------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  background: #F0F4F8;
  box-shadow: 0 8px 24px rgba(35,59,100,.12);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.77,0,.175,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #233B64;
  padding: 20px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 12px;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #16A085;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 12px 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #233B64;
  border-radius: 8px;
  padding: 12px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #16A085;
  color: #fff;
}

/* Hide main nav, show burger on mobile */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .button.primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}

/* MAIN & SECTION STYLES --------------------------------*/
main { flex: 1 1 auto; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* FEATURE CARDS & GRIDS --------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  margin-top: 16px;
  margin-bottom: 30px;
}
.feature {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(35,59,100,0.07);
  padding: 28px 24px 20px 24px;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .17s, border-color .17s;
}
.feature:hover, .feature:focus-within {
  border-color: #16A085;
  box-shadow: 0 6px 28px rgba(22,160,133,0.11);
}
.feature img {
  height: 42px;
  width: 42px;
  margin-bottom: 4px;
}

/* CARD, CARD-CONTAINER, CARDS ------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5eaf0;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2.5px 9px rgba(35,59,100,0.06);
  transition: box-shadow .18s, border-color .18s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
}
.card:hover, .card:focus-within {
  border-color: #16A085;
  box-shadow: 0 6px 28px rgba(22,160,133,0.09);
}

/* CONTENT GRID -------------------------------------*/
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TEXT-IMAGE SECTION -----------------------------*/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* TESTIMONIALS --------------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F0F4F8;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid #e5eaf0;
  box-shadow: 0 2.5px 9px rgba(35,59,100,0.05);
  transition: box-shadow .15s, border-color .15s;
}
.testimonial-card blockquote {
  color: #233B64;
  font-size: 1.18rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  margin: 0 0 8px 0;
  font-style: italic;
}
.testimonial-card p {
  color: #16A085;
  font-weight: 600;
  margin: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #16A085;
  box-shadow: 0 8px 32px rgba(22,160,133,0.11);
}

/* BLOG & ARTICLE LISTS -----------------------------*/
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}
.blog-list article {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5eaf0;
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 420px;
  box-shadow: 0 1.5px 9px rgba(35,59,100,0.05);
  padding: 22px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow .16s, border-color .18s;
}
.blog-list article:hover, .blog-list article:focus-within {
  border-color: #16A085;
  box-shadow: 0 6px 24px rgba(22,160,133,0.09);
}
.blog-list article h3 a {
  color: #233B64;
  text-decoration: underline;
  transition: color .18s;
}
.blog-list article h3 a:hover, .blog-list article h3 a:focus {
  color: #16A085;
}
.categories-nav {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.categories-nav a {
  background: none;
  border: 1.5px solid #233B64;
  border-radius: 20px;
  color: #233B64;
  padding: 7px 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  transition: background .15s, color .15s, border-color .15s;
}
.categories-nav a:hover, .categories-nav a:focus {
  background: #16A085;
  color: #fff;
  border-color: #16A085;
}

/* EVENTS LIST --------------------------------*/
.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.event {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5eaf0;
  padding: 22px 22px 16px 22px;
  flex: 1 1 280px;
  min-width: 210px;
  max-width: 390px;
  box-shadow: 0 2.5px 9px rgba(35,59,100,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event h3 { font-size: 1.08rem; }

/* CASE STUDY & IMPACT METRICS -------------------------*/
.case-study-summary {
  background: #F0F4F8;
  border-left: 4px solid #233B64;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.impact-metrics {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5eaf0;
  padding: 18px 18px 12px 18px;
  margin-bottom: 24px;
}
.impact-metrics h4 { color: #16A085; margin-bottom: 10px; }

/* FEATURE ITEMS (MANDATORY SPACING) -------------------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FOOTER STYLES --------------------------------------*/
footer {
  background: #233B64;
  color: #fff;
  padding: 44px 0 24px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  flex: 0 1 90px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.footer-brand img { height: 48px; width: auto; }
.footer-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  flex: 2 1 220px;
}
.footer-nav h3 {
  color: #fff;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #F0F4F8;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  transition: color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #16A085;
}
.footer-contact h3 { color: #fff; font-size: 1.07rem; margin-bottom: 10px; }
.footer-contact ul {
  display: flex; flex-direction: column; gap: 10px; list-style: none; padding-left: 0;
}
.footer-contact li {
  color: #F0F4F8;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.footer-contact a {
  color: #16A085;
  word-break: break-all;
}
.footer-contact a:hover { color: #fff; }
.footer-contact img { height: 18px; width: 18px; vertical-align: middle; }
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-social a img {
  height: 28px;
  width: 28px;
  filter: grayscale(40%) brightness(1.05);
  transition: filter .17s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: none;
}
@media (max-width: 780px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* COOKIE BANNER + COOKIE MODAL --------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #233B64;
  color: #fff;
  z-index: 4000;
  box-shadow: 0 -2px 16px rgba(35,59,100,.10);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  animation: bannerfadein .4s;
}
@keyframes bannerfadein {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner .cookie-banner-message {
  flex: 2 1 240px;
  font-size: 1rem;
  margin-right: 16px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex: 1 1 180px;
}
.cookie-banner .cookie-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  padding: 10px 27px;
  cursor: pointer;
  font-size: 0.98rem;
  box-shadow: 0 1px 3px rgba(35,59,100,0.09);
  transition: background .15s, color .15s;
}
.cookie-banner .cookie-accept {
  background: #16A085;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #22b193;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #233B64;
  border: 1.5px solid #233B64;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #e5eaf0;
  color: #233B64;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #F0F4F8;
  border: 1.2px solid #16A085;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #16A085;
  color: #fff;
}
@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px 6px;
  }
  .cookie-banner .cookie-banner-message { margin-right: 0; }
  .cookie-banner .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* COOKIE MODAL ---------------------------------------*/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,59,100,0.23);
  align-items: center;
  justify-content: center;
  animation: cookieModalFade .32s;
}
@keyframes cookieModalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-overlay.active { display: flex; }
.cookie-modal {
  background: #fff;
  color: #233B64;
  border-radius: 20px;
  max-width: 410px;
  box-shadow: 0 6px 40px 0 rgba(35,59,100,0.17);
  padding: 34px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: cookiepop .48s;
}
@keyframes cookiepop {
  from { opacity: .45; transform: scale(.93); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 16px;
  color: #16A085;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5eaf0;
}
.cookie-category:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #233B64;
}
.cookie-category input[type='checkbox'] {
  accent-color: #16A085;
  width: 19px; height: 19px;
}
.cookie-modal-footer {
  display: flex;
  gap: 15px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal .close-cookie-modal {
  position: absolute; top: 10px; right: 16px;
  font-size: 1.5rem;
  color: #233B64;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #16A085;
}

/* FORMS ----------------------------------------------*/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #233B64;
  border: 1.5px solid #e5eaf0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: #F0F4F8;
  box-shadow: none;
  outline: none;
  transition: border .12s;
}
input:focus, textarea:focus, select:focus {
  border-color: #16A085;
  background: #fff;
}
label {
  font-weight: 500;
  color: #233B64;
  margin-bottom: 8px;
}

/* RESPONSIVE LAYOUTS (FLEX-ONLY) ----------------------*/
@media (max-width: 900px) {
  .feature-grid, .blog-list, .event-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  .content-wrapper { padding-left: 0; padding-right: 0; }
  section { padding: 26px 6px; }
  .feature, .event, .card, .blog-list article { min-width: 0; padding: 18px 10px 14px 10px; }
  .testimonial-card { padding: 14px 8px; font-size: 0.98rem; }
}

/* SPACING, EFFECTS & MICROINTERACTIONS ---------------*/
.card, .feature, .event, .blog-list article {
  transition: box-shadow .21s, transform .14s, border-color .18s;
}
.card:hover, .feature:hover, .event:hover, .blog-list article:hover {
  transform: translateY(-3px) scale(1.017);
}
.button, .cookie-banner .cookie-button {
  transition: background .18s, color .18s, box-shadow .18s, border-color .15s;
}

/* GENERAL SIZING, UTILITY SPACING --------------------*/
.mt-4   { margin-top: 32px; }
.mt-2   { margin-top: 16px; }
.mb-4   { margin-bottom: 32px; }
.mb-2   { margin-bottom: 16px; }
.text-center { text-align: center; }

/* MISC/ACCESSIBILITY ---------------------------------*/
:focus-visible { outline: 2px solid #16A085; outline-offset: 2px; }
@media (max-width: 480px) {
  .footer-contact li { font-size: 0.95rem; }
}

/* END */
