/* =====================================================================
  RESET, NORMALIZE & BASE STYLES
===================================================================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  font-size: 16px;
  color: #2e3632;
  background: #FAFAF7;
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
a {
  color: #194F4A;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B1822C;
  outline: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  color: #194F4A;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 14px; }
h4 { font-size: 1.25rem; margin-bottom: 12px; }

small { font-size: 90%; color: #616A67; }
strong { font-weight: bold; color: #194F4A; }

.container {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =====================================================================
  LAYOUT SECTIONS, CARDS, AND FLEXBOX STRUCTURES
===================================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(25, 79, 74, 0.06);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0px 2px 12px 0 rgba(25,79,74,0.055);
  position: relative;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
  background: #F7F8F6;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(25, 79, 74, 0.06);
  margin-bottom: 24px;
  padding: 20px;
  color: #2e3632;
  font-style: italic;
}

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

.articles-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.article-card, .article-snippet, .team-member {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0px 2px 12px 0 rgba(25,79,74,0.055);
  padding: 20px 24px;
  margin-bottom: 20px;
  flex: 1 1 285px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-card .category-tag, .article-snippet .category-tag {
  display: inline-block;
  background: #CFE7E4;
  color: #194F4A;
  border-radius: 18px;
  padding: 2px 12px;
  font-size: 0.93rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px 0 rgba(25,79,74,0.05);
  padding: 28px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature:hover, .article-card:hover, .team-member:hover {
  box-shadow: 0 4px 16px 0 rgba(25, 79, 74, 0.09);
  transform: translateY(-2px) scale(1.012);
}

/* =====================
  HERO & CTA
===================== */
.hero {
  background: #CFE7E4;
  margin-bottom: 60px;
  padding: 60px 0 60px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 2px 16px 0 rgba(25,79,74,0.055);
}
.hero h1 {
  color: #194F4A;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.18rem;
  color: #2e3632;
  max-width: 680px;
  margin-bottom: 30px;
}

.cta {
  background: #194F4A;
  color: #fff;
  margin-bottom: 0;
  padding: 48px 15px;
  border-radius: 20px;
}
.cta h2, .cta h1 {
  color: #FFC86F;
}
.cta p {
  color: #F9F7F1;
}

/* =====================================================================
  HEADER & NAVIGATION
===================================================================== */
header {
  background: #fff;
  box-shadow: 0 1px 14px 0 rgba(25, 79, 74, 0.048);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  height: 84px;
  justify-content: space-between;
  gap: 16px;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #194F4A;
  background: none;
  text-decoration: none;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #FFC86F;
  transition: width 0.16s;
  margin-top: 2px;
}
nav a:hover, nav a:focus {
  background: #CFE7E4;
  color: #B1822C;
}
nav a:hover::after, nav a:focus::after {
  width: 100%;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  color: #194F4A;
  background: #FFC86F;
  border: none;
  padding: 12px 28px;
  border-radius: 48px;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.16s, box-shadow 0.22s;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 9px 0 rgba(25, 79, 74, 0.09);
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: #FFD997;
  color: #143B38;
  box-shadow: 0 4px 18px 0 rgba(25, 79, 74, 0.17);
}

.mobile-menu-toggle {
  display: none;
  background: #CFE7E4;
  color: #194F4A;
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  padding: 7px 16px 7px 12px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s;
  z-index: 50;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B4D4D3;
  color: #194F4A;
}

/* =====================
   MOBILE MENU OFFCANVAS
====================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  background: #fff;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 410px;
  transform: translateX(105%);
  box-shadow: -8px 0 40px rgba(25, 79, 74, 0.19);
  z-index: 999;
  transition: transform 0.34s cubic-bezier(0.7, 0.1, 0.3, 1);
  padding: 36px 28px 32px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #CFE7E4;
  border: none;
  font-size: 2rem;
  color: #194F4A;
  align-self: flex-end;
  margin-bottom: 24px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFC86F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  color: #194F4A;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.16rem;
  font-weight: 600;
  padding: 10px 0 10px 0;
  text-decoration: none;
  border-bottom: 1px solid #EEF3F1;
  border-radius: 0;
  transition: color 0.15s, background 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B1822C;
  background: #CFE7E4;
}

/* Hide nav and adjust cta-button on mobile */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =====================================================================
  FOOTER STYLES
===================================================================== */
footer {
  background: #FAFAF7;
  padding: 56px 0 18px 0;
  color: #1B2B28;
  font-size: 1rem;
  box-shadow: 0 -3px 12px 0 rgba(25,79,74,0.045);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  min-width: 220px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav nav a {
  color: #194F4A;
  text-decoration: none;
  font-size: 1.01rem;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  transition: color 0.14s;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  color: #B1822C;
}
.footer-nav img {
  width: 44px;
  margin-bottom: 3px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #34514C;
}
.footer-contact img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
  position: relative;
  top: 2px;
}

/* =====================================================================
  ARTICLE FILTER, SEARCH, AND CATEGORY TAGS
===================================================================== */
.search-filter {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-filter input[type="text"] {
  background: #F7F8F6;
  border: 1px solid #CFE7E4;
  border-radius: 9px;
  padding: 10px 18px;
  font-size: 1.01rem;
  font-family: 'Open Sans', 'Georgia', serif;
  color: #194F4A;
  min-width: 190px;
  transition: border 0.17s;
}
.search-filter input[type="text"]:focus {
  border-color: #719991;
  outline: none;
}
.category-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-filter span {
  opacity: 0.8;
  font-weight: 600;
}
.category-filter a {
  color: #194F4A;
  background: #EDEFEB;
  border-radius: 20px;
  text-decoration: none;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 0.98rem;
  padding: 4px 13px;
  font-weight: 500;
  transition: background 0.14s, color 0.13s;
}
.category-filter a:hover, .category-filter a:focus {
  background: #FFC86F;
  color: #194F4A;
}

/* Titles on Articles page */
.articles-list h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}

/* =====================================================================
  TEAM SECTION & TEAM MEMBERS
===================================================================== */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.team-member {
  background: #F7F8F6;
  border-radius: 13px;
  box-shadow: 0 1px 4px 0 rgba(25,79,74,0.04);
  padding: 24px 20px;
  flex: 1 1 230px;
  min-width: 180px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.team-member h3 {
  font-size: 1.16rem;
  font-weight: 700;
}

/* =====================================================================
  ADDRESS BLOCK & MAP LOCATION
===================================================================== */
.address-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 18px 0;
}
.address-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #194F4A;
}
.address-info img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.map-location {
  background: #CFE7E4;
  color: #194F4A;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 0.98rem;
  margin-bottom: 20px;
}

/* =====================================================================
  MISC & LEGAL PAGES
===================================================================== */
.legal, .legal-gdpr, .legal-cookie, .legal-terms {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 2px 10px 0 rgba(25,79,74,0.05);
  padding: 38px 24px 32px 24px;
  margin-bottom: 60px;
}
.legal h1, .legal-gdpr h1, .legal-cookie h1, .legal-terms h1 {
  font-size: 2rem;
  margin-bottom: 22px;
}

/* =====================================================================
  TESTIMONIALS
===================================================================== */
.testimonials .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
}
.testimonial-card {
  flex: 1 1 320px;
  background: #F7F8F6;
  color: #232925;
  border-left: 5px solid #FFC86F;
  min-width: 250px;
  max-width: 480px;
  font-size: 1.04rem;
  font-style: italic;
  gap: 18px;
  box-shadow: 0 3px 12px 0 rgba(25, 79,74, 0.07);
  margin-bottom: 0;
  margin-top: 15px;
  margin-right: 12px;
}
.testimonial-card span {
  color: #194F4A;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.95rem;
  margin-top: 10px;
}
.testimonial-card p {
  color: #232925;
}

/* =====================================================================
  BUTTONS, MICRO-INTERACTIONS
===================================================================== */
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.05rem;
  background: #FFC86F;
  color: #194F4A;
  padding: 10px 26px;
  border: none;
  border-radius: 46px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 7px 0 rgba(25, 79, 74, 0.07);
}
button:hover, button:focus, input[type="button"]:hover, input[type="submit"]:hover {
  background: #FFD997;
  color: #143B38;
  box-shadow: 0 3px 13px 0 rgba(25, 79, 74, 0.17);
  outline: none;
}

/* =====================================================================
  COOKIE CONSENT BANNER + MODAL
===================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffef8;
  color: #1B2B28;
  box-shadow: 0 -3px 20px rgba(25, 79, 74, 0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 24px 19px 24px;
  z-index: 2001;
  font-size: 1rem;
  animation: cookieShowIn 0.36s cubic-bezier(0.61,0.09,0.45,1);
}
@keyframes cookieShowIn {
  from { transform: translateY(64px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-text {
  flex: 1 1 260px;
  font-size: 0.99rem;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  min-width: 128px;
  padding: 7px 22px;
  font-size: 1.02rem;
  border-radius: 32px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  border: none;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0px 2px 7px 0 rgba(25, 79, 74, 0.054);
}
.cookie-accept-btn {
  background: #194F4A;
  color: #fff;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #2C7B70;
}
.cookie-reject-btn {
  background: #FCFCFC;
  color: #194F4A;
  border: 1px solid #CFE7E4;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #E0ECED;
  color: #194F4A;
}
.cookie-settings-btn {
  background: #FFC86F;
  color: #194F4A;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #FFD997;
  color: #143B38;
}

/* Cookie modal popup */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(25, 79, 74, 0.22);
  z-index: 2050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 1;
  animation: cookieModalShowIn 0.39s cubic-bezier(0.62,0.13,0.34,1);
}
@keyframes cookieModalShowIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0px 8px 36px 0 rgba(25,79,74,0.13);
  padding: 36px 28px 22px 28px;
  min-width: 340px;
  max-width: 98vw;
  width: 480px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: #194F4A;
  font-size: 1.27rem;
  margin-bottom: 7px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.cookie-category-toggle {
  width: 36px;
  height: 22px;
  background: #CFE7E4;
  border-radius: 16px;
  margin-top: 5px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-category-toggle.essential {
  background: #719991;
  cursor: default;
  opacity: 0.7;
}
.cookie-category-toggle[data-enabled="true"] {
  background: #194F4A;
}
.cookie-category-toggle .toggle-ball {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-category-toggle[data-enabled="true"] .toggle-ball {
  left: 17px;
}
.cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 11px;
  justify-content: flex-end;
}

/* =====================================================================
  RESPONSIVE & FLEXBOX ADJUSTMENTS
===================================================================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 3vw; padding-right: 3vw;
  }
  .feature-grid {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .articles-list, .team-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 780px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero {
    padding: 40px 0 40px 0;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .articles-list, .team-list {
    flex-direction: column;
    gap: 17px;
  }
  .section {
    margin-bottom: 40px;
    padding: 30px 7vw;
  }
  .testimonial-card {
    max-width: 100%;
    margin-right: 0;
  }
  .content-wrapper {
    gap: 11px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  header .container {
    height: auto;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .footer-nav, .footer-contact {
    min-width: 0;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .cookie-modal {
    min-width: 100vw;
    max-width: 100vw;
    border-radius: 15px 15px 0 0;
    padding-left: 8vw; padding-right: 8vw;
  }
}
@media (max-width: 490px) {
  .hero {
    padding: 25px 0 28px 0;
    border-radius: 0 0 16px 16px;
  }
  .hero h1 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .hero p { font-size: 0.99rem; }
  .section {
    padding: 21px 2vw;
    border-radius: 10px;
  }
}

/* =====================================================================
  UTILITIES & SPACING
===================================================================== */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* =====================================================================
  END OF STYLE.CSS
===================================================================== */