/* ------------- 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,
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.6;
  background: #F5F3EF;
  color: #1D2B30;
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #204959;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus, a:hover {
  color: #A2B29F;
  outline: none;
}
ul, ol {
  margin-left: 28px;
}
b, strong {
  font-weight: 600;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  font-size: 16px;
}
td, th {
  padding: 12px 18px;
  border-bottom: 1px solid #ECE9E2;
}
tr:last-child td {
  border-bottom: none;
}

/* ------------- TYPOGRAPHY ------------- */
h1 {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #204959;
  margin-bottom: 16px;
}
h2 {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #1D2B30;
  margin-bottom: 14px;
}
h3 {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #204959;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-weight: 400;
}
p, ul, ol, li, table, td, th {
  font-family: "Georgia", "Times New Roman", Times, serif;
  color: #385157;
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ------------- BRAND COLORS ------------- */
:root {
  --primary: #204959;
  --secondary: #A2B29F;
  --accent: #F5F3EF;
  --neutral: #ECE9E2;
  --text-dark: #204959;
  --text-main: #385157;
  --white: #fff;
  --shadow: 0 2px 8px rgba(32,73,89,0.10);
  --radius: 14px;
}

/* ------------- GLOBAL/ELEMENT SPACING ------------- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Layout Spacing Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 310px;
  transition: box-shadow 0.28s, transform 0.28s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(32,73,89,0.13);
  transform: translateY(-4px);
}
.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: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32,73,89,0.09);
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 410px;
  font-size: 1.05rem;
  color: #1D2B30;
  transition: box-shadow 0.26s, transform 0.24s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(32,73,89,0.15);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.feature-grid > div {
  background: var(--white);
  border-radius: 13px;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(32,73,89,0.08);
  flex: 1 1 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-preview-grid, .article-teaser-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.article-preview-grid > div, .article-teaser-grid > div {
  background: var(--white);
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(32,73,89,0.07);
  padding: 24px 18px;
  min-width: 200px;
  flex: 1 1 290px;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
  margin-top: 12px;
}
.category-list li {
  list-style: none;
}
.category-list a {
  background: #fff;
  color: #204959;
  border: 1px solid #A2B29F;
  border-radius: 17px;
  padding: 8px 20px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.category-list a:hover, .category-list a:focus {
  background: #A2B29F;
  color: #fff;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  color: #204959;
  margin-top: 16px;
  padding: 12px 0 4px 0;
}

/* ---- Navigation ---- */
header {
  width: 100%;
  background: #F5F3EF;
  box-shadow: 0 2px 10px rgba(32,73,89,0.03);
  position: relative;
  z-index: 30;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 22px 0 22px 0;
  justify-content: flex-start;
}
.navigation img {
  width: 42px;
  height: 42px;
  margin-right: 16px;
}
.navigation a {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 1rem;
  color: #204959;
  position: relative;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.18s;
  margin-right: 4px;
}
.navigation a.cta-primary {
  background: #204959;
  color: #fff;
  padding: 9px 25px;
  border-radius: 22px;
  font-weight: 600;
  margin-left: 16px;
  transition: background 0.23s, color 0.23s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(32,73,89,0.09);
  border: none;
}
.navigation a.cta-primary:hover, .navigation a.cta-primary:focus {
  background: #A2B29F;
  color: #204959;
}
.navigation a.active {
  background: #ECE9E2;
}
.navigation a:hover:not(.cta-primary), .navigation a:focus:not(.cta-primary) {
  background: #ECE9E2;
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 24px;
    right: 22px;
    background: #fff;
    color: #204959;
    border: 1px solid #A2B29F;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(32,73,89,0.08);
    z-index: 1201;
    transition: background 0.18s, color 0.22s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #A2B29F;
    color: #fff;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100vw;
  background: #F5F3EF;
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  box-shadow: -6px 0 18px rgba(32,73,89,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 18px 18px 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: #204959;
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(32,73,89,0.10);
  cursor: pointer;
  transition: background 0.17s;
  z-index: 1301;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A2B29F;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 68px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.17rem;
  color: #204959;
  padding: 10px 4px 10px 0px;
  border-radius: 8px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ece9e2;
  color: #A2B29F;
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------------- SECTION UNIVERSALS ------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 900px) {
  section {
    padding: 32px 0;
    margin-bottom: 38px;
  }
}

/* ------------- CTA BUTTONS ------------- */
.cta-primary {
  display: inline-block;
  background: #204959;
  color: #fff !important;
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 1.12rem;
  border: none;
  border-radius: 30px;
  padding: 14px 38px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(32,73,89,0.08);
  min-width: 180px;
  text-align: center;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s, transform 0.22s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #A2B29F;
  color: #204959 !important;
  box-shadow: 0 6px 18px rgba(32,73,89,0.14);
  transform: translateY(-2px);
}

/* ------------- FOOTER ------------- */
footer {
  background: #204959;
  color: #fff;
  padding: 50px 0 32px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
footer nav a {
  color: #ECE9E2;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.21s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #A2B29F;
  color: #204959;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 10px 0 28px 0;
}
.footer-menu a {
  color: #A2B29F;
  font-size: 0.92rem;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: flex-start;
  font-size: 1rem;
  margin-bottom: 20px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 0;
}
.contact-info a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.97rem;
}
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
}
.social-links a {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, box-shadow 0.13s;
  box-shadow: 0 1px 5px rgba(32,73,89,0.07);
}
.social-links a:hover, .social-links a:focus {
  background: #A2B29F;
}
.social-links img {
  width: 18px;
  height: 18px;
}
footer p {
  color: #ECE9E2;
  text-align: center;
  margin-top: 16px;
  font-size: 0.98rem;
}

/* ------------- RESPONSIVE FLEXBOX ADJUSTMENTS ------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .feature-grid, .card-container, .article-preview-grid, .testimonial-slider, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 740px;
  }
  .feature-grid > div, .article-preview-grid > div, .card, .testimonial-card, .content-grid > * {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .feature-grid, .testimonial-slider, .testimonial-list, .card-container, .content-grid, .article-preview-grid, .article-teaser-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .article-preview-grid > div, .card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    padding: 18px 8px;
  }
  .content-wrapper {
    padding: 0;
  }
  .rating-summary {
    font-size: 1rem;
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
  }
  footer {
    padding: 34px 0 18px 0;
  }
  .footer-menu {
    gap: 10px;
  }
}

@media (max-width: 550px) {
  section {
    padding: 18px 0;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  h3 {
    font-size: 1rem;
  }
  .cta-primary {
    font-size: 0.97rem;
    padding: 9px 18px;
    min-width: 120px;
  }
  .testimonial-card {
    padding: 14px 8px;
    font-size: 0.98rem;
  }
}
/* ------------- FORMS/INPUTS ------------- */
input, textarea, select, button {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 1rem;
}
input, textarea, select {
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid #A2B29F;
  background: #fff;
  color: #204959;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: #204959;
  outline: none;
}
label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}
.button, button {
  cursor: pointer;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  background: #204959;
  color: #fff;
  padding: 10px 34px;
  font-size: 1rem;
  transition: background 0.18s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 9px rgba(32,73,89,0.10);
}
.button:hover, button:hover, .button:focus, button:focus {
  background: #A2B29F;
  color: #204959;
}

/* ------------- COOKIES BANNER STYLING ------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1910;
  background: #fff;
  color: #204959;
  box-shadow: 0 -2px 24px rgba(32,73,89,0.10);
  border-top: 2px solid #A2B29F;
  padding: 28px 18px 20px 18px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.87,0,.18,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner .cookie-banner-buttons button,
.cookie-banner .cookie-banner-buttons .button {
  min-width: 120px;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  transition: background 0.19s, color 0.15s;
}
.cookie-banner .cookie-accept {
  background: #204959;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #A2B29F;
  color: #204959;
}
.cookie-banner .cookie-reject {
  background: #ECE9E2;
  color: #204959;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #A2B29F;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #204959;
  border: 1px solid #A2B29F;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #A2B29F;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-banner {
    padding: 16px 6px 10px 6px;
    font-size: 0.93rem;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
}

/* Cookie Modal (simple example structure) */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1920;
  width: 100vw;
  height: 100vh;
  background: rgba(32,73,89,0.25);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 40px rgba(32,73,89,0.18);
  padding: 32px 20px 24px 20px;
  min-width: 320px;
  max-width: 95vw;
  color: #204959;
  text-align: left;
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.cookie-category label {
  margin-left: 11px;
  font-size: 1rem;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal .button {
  min-width: 100px;
  font-size: 1rem;
  padding: 8px 18px;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ------------- MISC ------------- */
hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #ECE9E2;
  margin: 34px 0;
}

/* Highlight in About/Mission statements */
strong {
  color: #204959;
  font-weight: 600;
}

/* No absolute used for content cards! */

/* ------------- UTILITIES ------------- */
.hide {
  display: none !important;
}

.text-center {
  text-align: center;
}
.mt-24 { margin-top: 24px!important; }
.mb-32 { margin-bottom: 32px!important; }

/* ------------- PRINT FRIENDLY ------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff!important; color: #20282A!important; }
}
