/* RESET & BASE =========================================== */
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; outline: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #235978;
  background: #F8F7F3;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:focus { outline: 2px solid #235978; outline-offset:2px; }

/* FONTS =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #235978;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.125rem; }
p, li, address { font-size: 1rem; }
p, address { margin-bottom: 1em; }
strong { font-weight: 700; }

/* GEOMETRIC/STRUCTURED LAYOUTS & CONTAINERS ======== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(35,89,120,0.06),0 1.5px 6px rgba(134,181,74, 0.04);
  padding: 40px 24px;
  gap: 20px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Spacing/containers */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; display: flex; flex-direction: column; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(35,89,120,0.04); transition: box-shadow .2s, transform .15s; }
.card:hover { box-shadow: 0 6px 30px rgba(35,89,120,0.13); transform: translateY(-4px) scale(1.01);} 
.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; align-items: center; gap: 20px; padding: 20px 28px; background: #F8F7F3; border-radius: 20px;
  border-left: 6px solid #86B54A;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(35,89,120,0.04);
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.text-section { gap: 16px; }

/* BUTTONS ========================================= */
.btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 26px;
  padding: 14px 30px;
  border: none;
  cursor: pointer;
  background: #235978;
  color: #fff;
  box-shadow: 0 2px 8px rgba(35,89,120,0.07);
  transition: background .18s, color .18s, box-shadow .2s, transform .2s;
  margin-top: 10px;
  letter-spacing: 0.06em;
}
.btn:hover, .btn-primary:hover, .btn:focus, .btn-primary:focus {background: #86B54A; color: #fff; box-shadow: 0 4px 24px rgba(35,89,120,0.08); transform: translateY(-2px) scale(1.035);} 
.btn-secondary { background: #86B54A; color: #fff; }
.btn-secondary:hover, .btn-secondary:focus { background: #235978!important; color: #fff; }
.btn:active, .btn-primary:active { transform: scale(0.98); }

/* NAVIGATION ====================================== */
header {
  background: #fff;
  border-bottom: 2px solid #86B54A;
  box-shadow: 0 2px 10px rgba(35,89,120,0.04);
  position: relative;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #235978;
  padding: 8px 15px;
  border-radius: 12px;     
  letter-spacing: 0.02em;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus { background: #86B54A; color:#fff; }
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #235978;
  cursor: pointer;
  margin-left: 8px;
  z-index: 102;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background:#F8F7F3; }

/* FOOTER ========================================== */
footer {
  background: #235978;
  color: #fff;
  padding: 32px 0 10px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  letter-spacing: 0.01em;
  transition: opacity .18s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus { opacity: 1; color: #86B54A; }
footer p { font-size: 0.96rem; opacity: 0.91; }
footer img { max-width: 50px; margin-right: 18px; }

/* TESTIMONIALS (HIGH CONTRAST) ==================== */
.testimonial-card {
  background: #FFF;
  color: #235978;
  border-left: 6px solid #235978;
  margin-bottom: 24px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(35,89,120,0.05);
}
.testimonial-card p {
  font-size: 1.15rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  margin-right: 8px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #86B54A;
  font-size: 1.05rem;
}

/* ADDRESS SECTION ================================= */
address {
  font-style: normal;
  background: #F8F7F3;
  border-radius: 14px;
  padding: 12px 18px;
  display: inline-block;
  margin-bottom: 10px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #235978;
}

/* FAQ/ARTICLE BLOCKS ============================== */
.text-section > div { margin-bottom: 24px; }
.text-section ul, .text-section ol {
  margin-bottom: 18px;
  padding-left: 0px;
  display: flex;
  flex-direction: column;
  gap: 8px; }
.text-section li {
  position: relative;
  padding-left: 34px;
  min-height: 1.6em;
  color: #235978;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.text-section ul li:before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #86B54A;
  border-radius: 6px 0 6px 0;
  position: absolute;
  left: 0;
  top: 5px;
  /* geometric marker */
}
.text-section ol li {
  counter-increment: num; }
.text-section ol {
  counter-reset: num;
}
.text-section ol li:before {
  content: counter(num) '.';
  display: inline-block;
  width: 18px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #235978;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 3px;
}

/* ICONS ============================================ */
.text-section img, .content-wrapper img {
  display: inline-block;
  height: 38px;
  width: auto;
  margin-right: 12px;
  margin-top:8px;
}

/* UTILITIES ======================================= */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 36px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 36px !important; }
.text-center { text-align: center; }

/* HORIZONTAL RULE ================================= */
hr {
  border: none;
  border-top: 2px solid #86B54A;
  margin: 36px 0;
}

/* MOBILE MENU ===================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #235978;
  transform: translateX(-100vw);
  transition: transform .28s cubic-bezier(.8,.25,.5,1);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 6px 40px rgba(35,89,120,0.20);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 16px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  align-self: flex-start;
  cursor: pointer;
  z-index: 2;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #86B54A; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 20px;
  width: 100%;
  padding-left: 24px; }
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  padding: 10px 0;
  transition: color .17s;
  border-radius: 10px;
  width: calc(100% - 8px);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #86B54A;
  background: rgba(134,181,74,0.16);
}
.mobile-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Only show burger on mobile, and hide main nav */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* COOKIE CONSENT ================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #235978;
  color: #fff;
  box-shadow: 0 -2px 32px rgba(35,89,120,0.14);
  z-index: 120;
  padding: 26px 14px 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookieSlideIn .7s cubic-bezier(.46,1.5,.6,1.02);
  transition: transform .27s, opacity .22s;
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.08rem;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  min-width: 120px;
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  background: #86B54A;
  color: #fff;
  transition: background .15s, color .15s;
  font-weight: 700;
  margin-top: 0;
}
.cookie-banner button.cookie-settings {
  background: #F8F7F3;
  color: #235978;
  border: 1.2px solid #235978;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #235978;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #86B54A;
  color: #fff;
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,89,120,0.25);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 410px;
  width: 96vw;
  box-shadow: 0 2px 32px rgba(35,89,120,0.16);
  padding: 34px 24px 28px 24px;
  color: #235978;
  position: relative;
  animation: modalIn .2s;
}
@keyframes modalIn {
  from { transform: translateY(64px) scale(0.95); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #235978;
  font-weight: 700;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.cookie-modal label {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #86B54A;
  width: 18px; height: 18px;
  border-radius: 4px;
  border:1.5px solid #86B54A;
}
.cookie-modal .essential {
  font-weight: 600;
  color: #86B54A;
  letter-spacing: 0.02em;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  transition: background .15s;
  font-weight: 700;
}
.cookie-modal .accept {
  background: #235978;
  color: #fff;
}
.cookie-modal .reject {
  background: #F8F7F3;
  color: #235978;
  border: 1.2px solid #235978;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #235978;
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #86B54A;
  color: #fff;
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: #86B54A;
  color: #fff;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #86B54A;
}

/* RESPONSIVENESS ================================== */
@media (max-width: 1024px) {
  .container, .footer .container {
    max-width: 94vw;
    padding: 0 9px;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  header .container { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 768px) {
  .container { padding: 0 5px; }
  .content-wrapper { padding: 22px 7px; gap: 13px; }
  .section {
    margin-bottom: 38px;
    padding: 20px 6px;
  }
  .card-container, .content-grid, .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer .container { flex-direction: column; gap: 10px; }
  .footer-nav { align-items: flex-start; gap:8px; }
  header .container { padding-top: 5px; padding-bottom: 7px; }
  .testimonials { flex-direction: column; gap: 0; }
  .testimonial-card { padding: 16px 8px; border-radius: 12px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 490px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.125rem; }
}

/* GEOMETRIC/BADGE DECORATIONS ===================== */
.card, .testimonial-card, .content-wrapper {
  border-radius: 20px 20px 14px 14px;
  border: 2px solid #F8F7F3;
  position: relative;
}
.card:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  width: 48px; height: 18px;
  left: -10px; top: -10px;
  background: #86B54A;
  border-radius: 0 8px 8px 0;
  opacity: 0.10;
  z-index: 1;
}

/* MICRO-ANIMATIONS ================================= */
a, .btn, .btn-primary, .main-nav a, .footer-nav a, .mobile-nav a,
.mobile-menu-toggle, .mobile-menu-close, button { transition: background .15s, color .15s, box-shadow .18s, transform .15s; }

/* FORMS & INPUTS (if later needed) ===================== */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif; font-size: 1rem;
  border: 1.6px solid #86B54A;
  border-radius: 11px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: #F8F7F3;
  color: #235978;
  transition: border .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #235978;
  outline: none;
  background: #fff; 
}

/* MISCELLANEOUS =================================== */
::-webkit-scrollbar { width: 9px; background: #F8F7F3; }
::-webkit-scrollbar-thumb { background: #86B54A; border-radius: 7px; }
::-webkit-input-placeholder { color: #A9A9A9; opacity:1; }
::-moz-placeholder { color: #A9A9A9; opacity:1; }
:-ms-input-placeholder { color: #A9A9A9; opacity:1; }
::placeholder { color: #A9A9A9; opacity:1; }

/**********************************************************
*  USE FLEXBOX ONLY FOR ALL LAYOUTS. GRID PROPERTIES FORBIDDEN!!! *
***********************************************************/
