/* --- 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,
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 {
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F8F6F2;
  color: #2D3540;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #19436A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFBA49;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Times New Roman', Times, serif;
  color: #19436A;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* --- CONTAINER & LAYOUTS (FLexbox ONLY) --- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(30,37,44,0.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 8px;
  }
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F8F6F2;
  border-radius: 10px;
  box-shadow: 0 4px 28px 0 rgba(40, 48, 58, 0.08);
  padding: 24px;
  min-width: 250px;
  flex: 1 1 300px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 10px 38px 0 rgba(25, 67, 106, 0.16);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F6F2;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(25,67,106,0.09);
  margin-top: 24px;
  font-style: italic;
  color: #333;
  min-width: 0;
}
.testimonial-card strong {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: 'Merriweather', serif;
  color: #19436A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Accordian FAQ (if needed later) */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-list > div {
  flex: 1 1 300px;
  background: #F8F6F2;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 1px 8px 0 rgba(25,67,106,0.06);
}

/* --- HERO, HEADERS & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 2px 10px 0 rgba(30,37,44,0.03);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1100;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
header nav a {
  font-family: 'Merriweather', serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #19436A;
  padding: 5px 8px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #FFBA49;
  color: #19436A;
}
.primary-cta {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  background: #19436A;
  color: #fff!important;
  padding: 10px 26px;
  border-radius: 8px;
  font-size: 1.1rem;
  margin-left: 10px;
  margin-right: 8px;
  box-shadow: 0 2px 8px 0 rgba(25,67,106,0.08);
  border: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.primary-cta:hover, .primary-cta:focus {
  background: #FFBA49;
  color: #19436A!important;
  box-shadow: 0 6px 20px 0 rgba(255,186,73,0.15);
}
/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #19436A;
  padding: 4px 14px;
  cursor: pointer;
  z-index: 1201;
}
@media (max-width: 1000px) {
  header nav,
  .primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F8F6F2;
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.86, 0, 0.07, 1);
  display: flex;
  flex-direction: column;
  padding: 0 30px;
  box-shadow: -4px 0 32px 0 rgba(25,67,106,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 32px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #19436A;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFBA49;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 50px 0 0 0;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.23rem;
  color: #19436A;
  background: none;
  padding: 12px 0 10px 0;
  border: none;
  width: 100%;
  transition: color 0.2s, background 0.2s;
  border-radius: 0;
  line-height: 1.4;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFBA49;
  background: none;
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  background: #F8F6F2;
  box-shadow: 0 4px 32px 0 rgba(25,67,106,0.07);
  border-radius: 0 0 18px 18px;
  padding-bottom: 48px;
  margin-bottom: 0;
}
.hero .container {
  padding-top: 38px;
  padding-bottom: 38px;
}
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.8rem;
  letter-spacing: -1px;
  margin-bottom: 10px;
  color: #19436A;
}
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }
}
.hero .subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.17rem;
  color: #4F5C6B;
  margin-bottom: 18px;
}
.cta {
  display: inline-block;
  background: #FFBA49;
  color: #19436A;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 20px;
  font-size: 1.08rem;
  transition: background 0.22s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(255,186,73,0.10);
  line-height: 1.3;
}
.cta:hover, .cta:focus {
  background: #19436A;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(25,67,106,0.14);
  text-decoration: none;
}

/* --- FEATURES & ARTICLE CARDS --- */
.features .content-wrapper, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border: 1px solid #E6E6E3;
  border-radius: 10px;
  padding: 23px 19px 18px 19px;
  box-shadow: 0 1px 8px 0 rgba(25,67,106,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.23s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px 0 rgba(25,67,106,0.12);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  filter: grayscale(35%);
}
.articles-preview .teaser-list, .articles .article-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.articles-preview .teaser-list > div, .articles .article-highlights > div {
  flex: 1 1 270px;
  background: #F8F6F2;
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 1px 8px 0 rgba(25,67,106,0.05);
  min-width: 220px;
  margin-bottom: 20px;
}
.articles-preview .teaser-list h3, .articles .article-highlights h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: #19436A;
  margin-bottom: 10px;
}
.articles-preview .teaser-list p, .articles .article-highlights p {
  font-size: 1rem;
  margin-bottom: 12px;
}
.articles-preview .teaser-list a, .articles .article-highlights a {
  color: #19436A;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.2s;
  font-weight: 600;
}
.articles-preview .teaser-list a:hover, .articles .article-highlights a:hover {
  color: #FFBA49;
}

/* --- ABOUT, TEAM PROFILES & BENEFITS --- */
.about, .about-preview, .benefits, .team-profiles {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(30,37,44,0.07);
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.1rem;
}
.team-profiles {
  margin-top: 18px;
  gap: 20px;
}
.team-profiles ul {
  list-style: disc inside;
}
.benefit-points {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 0 26px 0;
}
.benefit-points li {
  font-size: 1.07rem;
  line-height: 1.5;
}
.team-brief, .about-preview .team-brief {
  margin-top: 22px;
  font-style: italic;
  font-size: 1rem;
  color: #636870;
}

/* --- ARTICLES OVERVIEW --- */
.topics-overview {
  flex: 1 1 270px;
  background: #F8F6F2;
  border-radius: 8px;
  padding: 20px 18px;
  margin-bottom: 10px;
}
.topics-overview ul {
  list-style: disc inside;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.topics-overview li {
  font-size: 1.03rem;
}
@media (max-width: 850px) {
  .feature-grid, .articles-preview .teaser-list, .articles .article-highlights {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- SERVICES --- */
.services .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.service-list li {
  font-size: 1.09rem;
  padding-left: 22px;
  position: relative;
}
.service-list li:before {
  content: '•';
  color: #FFBA49;
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: 0.15em;
}

/* --- CONTACT --- */
.contact-details {
  flex: 1 1 260px;
  gap: 12px;
  font-size: 1.09rem;
  color: #2D3540;
}
.contact-details img {
  width: 21px;
  vertical-align: middle;
  margin-right: 8px;
}
.map-section {
  background: #F8F6F2;
  border-radius: 8px;
  padding: 18px;
  font-size: 1.02rem;
  margin-top: 10px;
}
.map-section img {
  width: 23px;
  vertical-align: middle;
  margin-right: 6px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #ECECEC;
  padding: 40px 0 24px 0;
  margin-top: 58px;
  position: relative;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
footer nav a {
  font-size: 1rem;
  color: #19436A;
  font-family: 'Merriweather', serif;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFBA49;
}
.footer-contact {
  font-size: 1rem;
  color: #636870;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}
.footer-contact img {
  width: 48px;
  margin-bottom: 6px;
}
.footer-contact p img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -2px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* --- LEGAL TEXT STYLING --- */
.legal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(25,67,106,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal h1 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}
.legal h2 {
  margin-top: 26px;
  font-size: 1.32rem;
  color: #19436A;
}
.legal ul {
  margin-bottom: 18px;
}

/* --- CONFIRMATION / THANK YOU / NEXT STEPS --- */
.confirmation .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
}
.next-steps {
  list-style: disc inside;
  margin-bottom: 24px;
  color: #19436A;
}
.next-steps li {
  padding: 3px 0 3px 0;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* --- MEDIA QUERIES & RESPONSIVENESS --- */
@media (max-width: 650px) {
  .container {
    padding: 0 9px;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .hero .container {
    padding-top: 19px;
    padding-bottom: 16px;
  }
  .hero {
    padding-bottom: 17px;
  }
  .footer-contact {
    font-size: 0.99rem;
    max-width: 100%;
  }
}

/* --- MICROINTERACTIONS & SUBTLE ANIMATIONS --- */
button, .cta, .primary-cta, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  outline: none;
}

/* --- SPACING UTILS (Margin between all main sections & elements) --- */
section + section, .section + .section {
  margin-top: 24px;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}

/* --- COOKIE BANNER & MODALS --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 700px;
  z-index: 1999;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border: 1.5px solid #ECECEC;
  box-shadow: 0 -4px 32px 0 rgba(25,67,106,0.13);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 22px 22px 24px;
  font-size: 1rem;
  color: #2D3540;
  animation: cookiefadein 0.8s cubic-bezier(0.86,0,0.07,1);
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(48px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-banner .cookie-text {
  flex: 1 1 240px;
  font-size: 1.02rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  font-family: 'Merriweather', serif;
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 1px 6px 0 rgba(25,67,106,0.04);
}
.cookie-banner .accept {
  background: #19436A;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #FFBA49;
  color: #19436A;
}
.cookie-banner .reject {
  background: #fff;
  color: #19436A;
  border: 1.5px solid #19436A;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #EEE9DA;
  color: #19436A;
  border-color: #FFBA49;
}
.cookie-banner .cookie-settings-btn {
  background: #FFBA49;
  color: #19436A;
  border: none;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #fff;
  color: #FFBA49;
  border: 1.5px solid #FFBA49;
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,67,106,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieoverlayfadein 0.42s;
}
@keyframes cookieoverlayfadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 64px 0 rgba(25,67,106,0.24);
  padding: 32px 26px 28px 26px;
  max-width: 420px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cookiemodalfadein 0.42s;
}
@keyframes cookiemodalfadein {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal .modal-title {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #19436A;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  background: #F8F6F2;
  border-radius: 7px;
  padding: 10px 12px 10px 14px;
}
.cookie-modal .category-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cookie-modal .category-title {
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  color: #19436A;
  margin-bottom: 2px;
}
.cookie-modal .cookie-toggle {
  width: 42px;
  height: 22px;
  border-radius: 22px;
  background: #E6E6E3;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  outline: none;
  appearance: none;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: #FFBA49;
}
.cookie-modal .cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(25,67,106,0.08);
  transition: left 0.25s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]::after {
  left: 22px;
}
.cookie-modal .always-on {
  color: #89ABCC;
  font-size: 0.96rem;
  margin-left: 6px;
  font-style: italic;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 18px;
  right: 23px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #19436A;
  cursor: pointer;
  opacity: 0.7;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #FFBA49;
  opacity: 1;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .save-btn {
  background: #19436A;
  color: #fff;
  border-radius: 8px;
  padding: 9px 20px;
  border: none;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal .save-btn:hover {
  background: #FFBA49;
  color: #19436A;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
  background: #EEE9DA;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #E6E6E3;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb:hover { background: #D6CFC2; }

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* --- Miscellaneous Enhancements --- */
::-moz-selection { background: #FFBA49; color: #fff; }
::selection { background: #FFBA49; color: #fff; }

[tabindex], a, button, .cta, .primary-cta, .cookie-banner button, .cookie-banner .cookie-settings-btn, .mobile-menu-close, .mobile-menu-toggle {
  outline: none;
}
:focus-visible {
  outline: 2px dashed #FFBA49;
  outline-offset: 2px;
}

/* End of CSS */
