/* =======================================================================
   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, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F8FBFF;
  color: #2B2B2B;
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
ul, ol { list-style-position: inside; }
a {
  color: #174373;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #26A398;
}
img {
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  color: #174373;
  font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.012em;
  margin-bottom: 16px;
  text-wrap: balance;
}
h1 { font-size: 2.5rem; margin-top: 0; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.16rem; }
p, ul, ol {
  margin-bottom: 12px;
  font-size: 1rem;
}
strong, b { font-weight: 700; }
hr { border: none; border-top: 1px solid #dfdfdf; margin: 40px 0; }
sub { font-size: 0.85em; }

/* Import web fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Playfair+Display:wght@700&display=swap');

/* =======================================================================
   BRAND COLORS
   ======================================================================= */
:root {
  --primary: #174373;
  --secondary: #26A398;
  --accent: #F8FBFF;
  --dark: #2B2B2B;
  --shadow: 0 4px 16px 0 rgba(23, 67, 115, 0.07);
  --card-bg: #ffffff;
  --muted: #ececec;
  --border: #dbdbdb;
  --border-dark: #dadada;
  --cta: #174373;
  --cta-hover: #26A398;
}

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

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =======================================================================
   HEADER & NAVIGATION
   ======================================================================= */
header {
  background: #F8FBFF;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 1px 12px rgba(23,67,115,0.04);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  min-height: 70px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #174373;
  padding: 8px 4px;
  border-radius: 4px;
}
header nav a.cta-btn {
  margin-left: 16px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  background: var(--primary);
  color: #fff!important;
  padding: 10px 28px;
  border-radius: 25px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  box-shadow: 0 2px 12px rgba(23,67,115,0.09);
  border: none;
}
header nav a.cta-btn:hover,
header nav a.cta-btn:focus {
  background: var(--secondary);
  color: #fff!important;
  box-shadow: 0 6px 18px rgba(38,163,152,0.13);
}
/* Hide burger at desktop */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1200;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}

/* =======================================================================
   MOBILE MENU
   ======================================================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,38,62,0.95);
  color: #fff;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.58, .38, .55, 1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  margin: 28px 28px 8px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:focus { outline: 2px solid var(--secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  margin-top: 18px;
  padding: 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  padding: 8px 0;
  border-radius: 4px;
  transition: color 0.18s;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #26A398;
  background-color: rgba(38,163,152,0.11);
}

/* =======================================================================
   SECTIONS, CONTAINERS, LAYOUT
   ======================================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(23, 67, 115, 0.05);
  border: 1px solid var(--muted);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 340px;
  padding: 24px 22px 20px 22px;
  transition: box-shadow 0.28s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 26px 0 rgba(23,67,115,0.13);
  border-color: var(--secondary);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.feature-grid, .benefit-grid, .sustainability-goals-grid, .service-teasers, .news-list, .blog-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .benefit-grid > div, .sustainability-goals-grid > div, .service-teasers > div, .news-list > article, .blog-snippets > li {
  flex: 1 1 240px;
  min-width: 240px;
  background: var(--card-bg);
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid img, .benefit-grid img, .service-teasers img {
  width: 42px;
  margin-bottom: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  flex: 1 1 300px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-banner {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(23,67,115,0.10);
  padding: 32px 28px 32px 28px;
  text-align: center;
  margin-bottom: 20px;
}
.cta-banner h2 {
  margin-bottom: 16px;
  color: var(--primary);
}
.cta-banner .cta-btn {
  margin-top: 10px;
}

/*
|--------------------------------------------------------------------------
| Testimonial Cards
|--------------------------------------------------------------------------
*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 14px 0 rgba(38,163,152, 0.09);
  background: #F8FBFF;
  border: 1.5px solid #e2e7ee;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 520px;
  color: #203355;
  font-family: 'Merriweather', serif;
  font-size: 1.02rem;
}
.testimonial-card p {
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*
|--------------------------------------------------------------------------
| News & Blog
|--------------------------------------------------------------------------
*/
.news-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--muted);
  padding: 18px 17px 15px 17px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 270px;
}
.featured-news {
  background: #E8F1FA;
  border-left: 6px solid var(--secondary);
  border-radius: 12px;
  padding: 22px 20px;
  margin-left: 0;
  margin-bottom: 24px;
  font-style: italic;
}

.blog-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}

.blog-snippets li {
  background: var(--card-bg);
  border-radius: 11px;
  box-shadow: var(--shadow);
  padding: 16px 14px 13px 14px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 220px;
}

/*
|--------------------------------------------------------------------------
| FORMS & BUTTONS
|--------------------------------------------------------------------------
*/
.cta-btn, button, input[type="submit"] {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1.08rem;
  background: var(--cta);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 28px;
  padding: 12px 32px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(19,67,110,.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.13s;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--cta-hover);
  color: #fff;
  box-shadow: 0 8px 26px rgba(38,163,152,0.19);
  transform: translateY(-2px) scale(1.025);
}

input[type="email"], input[type="text"], textarea {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: var(--dark);
  border: 1px solid var(--border-dark);
  border-radius: 9px;
  padding: 12px 14px;
  background: #FAFDFF;
  margin-bottom: 12px;
  width: 100%;
  box-shadow: 0 0px 0px rgba(0,0,0,0);
  transition: border-color .2s;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: var(--secondary);
  outline: 1.5px solid var(--secondary);
}

.newsletter-form {
  background: #f4f8fb;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 34px 22px 24px 22px;
  max-width: 480px;
  margin: 0 auto 20px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FOOTER */
footer {
  background: #F8FBFF;
  border-top: 1px solid #e5eaf2;
  margin-top: 48px;
  font-size: 0.99rem;
  color: #1c3555;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-top: 22px;
  padding-bottom: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--primary);
  font-family: 'Merriweather', serif;
  transition: color .16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
footer address {
  font-style: normal;
  color: #1a2b43;
}
.footer-credits {
  color: #818d98;
  font-size: 0.96em;
  margin-top: 6px;
}

/* =======================================================================
   RESPONSIVE DESIGN (MOBILE FIRST)
   ======================================================================= */
@media (max-width: 1150px) {
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
}
@media (max-width: 900px) {
  .container { padding-left: 5px; padding-right: 5px; }
  .content-grid { gap: 10px; }
  .feature-grid, .benefit-grid, .service-teasers, .news-list, .blog-snippets, .sustainability-goals-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 34px;
    padding: 26px 5px;
  }
  header .container {
    padding: 0 12px;
  }
  header nav { display: none!important; }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .content-grid, .feature-grid, .benefit-grid, .service-teasers, .news-list, .blog-snippets, .sustainability-goals-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card,
  .blog-snippets li,
  .feature-grid > div, .benefit-grid > div, .service-teasers > div, .news-list > article, .sustainability-goals-grid > div {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    margin-right: 0;
  }
  .cta-banner {
    padding: 22px 10px;
  }
  .newsletter-form {
    padding: 21px 8px 18px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .mobile-nav {
    gap: 18px;
    padding: 0 22px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.16rem; }
  .footer-credits, footer address { font-size: 0.93em; }
  .cta-btn, button, input[type="submit"] { width: 100%; min-width: 0; }
  .newsletter-form { padding: 16px 2px 13px 2px; }
  .testimonial-card, .blog-snippets li, .feature-grid > div, .benefit-grid > div, .service-teasers > div, .news-list > article {
    padding: 11px 7px 8px 7px;
  }
  .featured-news {
    padding: 12px 7px;
  }
}

/* FLEXBOX-PATTERN OVERRIDES FOR CONSISTENCY */
.section, .card-container, .card, .content-grid, .feature-item, .testimonial-card, .text-image-section {
  min-width: 0;
}

/* =======================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #203355;
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -2px 12px rgba(38,163,152,0.06);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 34px 18px 18px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  animation: cookieBannerIn 0.72s cubic-bezier(.27,.89,.65,1.12);
  transition: transform 0.35s;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  padding: 8px 22px;
  margin: 2px 0;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(23,67,115,0.05);
  transition: background 0.17s, color 0.14s, transform 0.13s;
}
.cookie-banner .accept { background: var(--secondary); color: #fff; }
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: var(--primary); color: #fff; }
.cookie-banner .reject {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff5f5;
  border-color: #174373;
  color: var(--primary);
}
.cookie-banner .settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #174373;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #f0f5fa;
  color: var(--secondary);
  border-color: var(--secondary);
}
/* Smaller banner on mobile */
@media (max-width:768px) {
  .cookie-banner {
    font-size: 0.98rem;
    padding: 12px 6px 12px 7px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner .cookie-actions {
    gap: 12px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,67,115,0.22);
  z-index: 3500;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .34s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(23,67,115,0.20);
  min-width: 320px; max-width: 430px;
  padding: 28px 30px 18px 30px;
  font-family: 'Merriweather', serif;
  color: #1d3550;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn .5s;
}
@keyframes cookieModalIn {
  from { transform: scale(0.91) translateY(44px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.cookie-modal .modal-header h2 {
  margin: 0; font-size: 1.22rem;
}
.cookie-modal .modal-close {
  background: none; border: none;
  font-size: 1.6rem;
  color: #174373;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #26A398;
}
.cookie-modal .cookie-category {
  display: flex; align-items: center; gap: 14px;
  margin: 7px 0;
}
.cookie-modal .cookie-category label {
  font-weight: bold;
  font-size: 1.02rem;
}
.cookie-modal .cookie-switch {
  position: relative; width: 38px; height: 20px;
  display: inline-block;
  margin-left: 6px;
}
.cookie-modal .cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-modal .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e1e7ee; border-radius: 16px;
  transition: background .19s;
}
.cookie-modal .cookie-switch input:checked + .slider { background: #26A398; }
.cookie-modal .slider:before {
  position: absolute; content: "";
  height: 14px; width: 14px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-category .desc { color: #79818d; font-weight: normal; font-size: 0.97em; }
.cookie-modal .save-btn {
  margin-top: 12px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  padding: 11px 22px;
  align-self: flex-end;
  transition: background 0.18s;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus { background: var(--primary); color: #fff; }

/* =======================================================================
   ADDITIONAL UI MICRO-INTERACTIONS
   ======================================================================= */
.card, .feature-grid > div, .benefit-grid > div, .service-teasers > div, .news-list > article, .blog-snippets > li, .testimonial-card {
  transition: box-shadow 0.21s, border-color 0.18s, transform 0.13s;
}
.card:hover, .feature-grid > div:hover, .benefit-grid > div:hover, .service-teasers > div:hover, .news-list > article:hover, .blog-snippets > li:hover {
  box-shadow: 0 9px 38px 0 rgba(38, 163, 152, 0.18);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px 0 rgba(23,67,115,0.19);
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.012);
}

/* __ END CSS __ */
