/* RESET & BASELINE */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F8FA;
  color: #22313a;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #235473;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

p, ul, ol, li, blockquote {
  font-size: 1rem;
  color: #30505c;
}

strong {
  color: #235473;
  font-weight: 600;
}

ul, ol {
  margin-left: 18px;
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.text-section {
  margin-bottom: 18px;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(90deg, #19A983 0%, #235473 100%);
  border: none;
  outline: none;
  border-radius: 36px;
  box-shadow: 0 6px 20px 0 rgba(35, 84, 115, 0.08);
  transition: background 0.33s cubic-bezier(.46,.03,.52,.96), box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
  min-width: 180px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #235473 0%, #19A983 100%);
  box-shadow: 0 8px 24px 0 rgba(25, 169, 131, 0.14);
  color: #fff;
  outline: 0;
}
.btn-secondary {
  background: #235473;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #19A983;
  color: #fff;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(35, 84, 115, 0.07);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  max-height: 40px;
  min-width: 120px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #22313a;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.01rem;
  padding: 4px 0;
  position: relative;
  transition: color 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #19A983;
}
.main-nav a.active {
  color: #19A983;
}
header .btn-primary {
  margin-left: 26px;
  font-size: 1rem;
  padding: 10px 20px;
}

/* --- BURGER/ MOBILE NAV --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #235473;
  cursor: pointer;
  margin-left: 16px;
  z-index: 60;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: #19A983;
}
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(124deg, #235473 80%, #19A983 100%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1000;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.54,0,.46,1);
  box-shadow: -2px 0 16px rgba(35,84,115,0.10);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 0 12px 24px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 1030;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 36px 0 0 34px;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 0;
  transition: color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F5F8FA;
  text-decoration: underline;
}

/* --- HERO & SECTIONS --- */
main {
  width: 100%;
  min-height: 64vh;
  background: #F5F8FA;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(35, 84, 115, 0.045);
}
section:last-child {
  margin-bottom: 0;
}

/* --- FLEX PATTERNS / SPACING --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  padding: 28px 20px 24px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(35,84,115,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .22s;
}
.card:hover {
  box-shadow: 0 6px 26px rgba(35,84,115,0.15);
  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;
  background: #F5F8FA;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35, 84, 115, 0.045);
  max-width: 750px;
  font-weight: 400;
  color: #1e2933;
  border-left: 4px solid #19A983;
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  color: #235473;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #19A983;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(35,84,115,0.045);
  padding: 26px 18px 18px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: #19A983;
}

/* --- ARTICLE/BLOG --- */
article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(35,84,115,0.05);
  padding: 24px 18px 18px 18px;
  margin-bottom: 24px;
}

/* --- FOOTER --- */
footer {
  background: #235473;
  color: #fff;
  padding: 40px 0 16px 0;
  width: 100%;
}
footer p {
  color: white;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
footer img {
  max-height: 46px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: color .2s;
  margin-bottom: 3px;
}
.footer-nav a:hover {
  color: #19A983;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: #F5F8FA;
  align-items: flex-start;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}
.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #22313a;
  color: #fff;
  box-shadow: 0 -4px 16px rgba(35,84,115,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 8vw 22px 8vw;
  z-index: 1999;
  font-size: 1rem;
  gap: 28px;
  transition: opacity .25s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.23s, color .18s, box-shadow.15s;
}
.cookie-btn.accept {
  background: #19A983;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #235473;
  border: 1.5px solid #19A983;
}
.cookie-btn.settings {
  background: #235473;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 4px 18px rgba(25,169,131,.13);
  opacity: 0.94;
}

/* --- COOKIE MODAL (PREFERENCES) --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,58,0.63);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
}
.cookie-modal {
  background: #fff;
  color: #22313a;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  padding: 34px 26px 28px 26px;
  box-shadow: 0 10px 32px 0 rgba(35,84,115,0.13);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalIn .34s cubic-bezier(.45,0,.6,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #235473;
}
.cookie-modal-category {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #19A983;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}
.cookie-modal .essential {
  color: #235473;
  font-weight: 700;
  opacity: 0.58;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
  font-size: 0.97rem;
}

/* --- UTILS / VISUAL --- */
::-webkit-scrollbar { width: 11px; background: #eaf5f1; }
::-webkit-scrollbar-thumb { background: #A2B8D0; border-radius: 6px; }

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 30px 0;
}
.block-center {
  text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
  .feature-grid > div {
    min-width: 188px;
    max-width: 220px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 730px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .main-nav {
    gap: 18px;
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
  }
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  section {
    margin-bottom: 38px;
    padding: 28px 10px;
    border-radius: 14px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 12px;
    font-size: 1rem;
  }
  .footer-contact {
    padding-top: 20px;
  }
  .container {
    max-width: 97vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 5vw;
    font-size: 0.95rem;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 14px;
  }
  section {
    padding: 14px 2px;
    margin-bottom: 26px;
    border-radius: 8px;
  }
  .testimonial-card {
    padding: 8px 4px;
    font-size: 0.98rem;
  }
}

/* --- ANIMATION / INTERACTIVE HINTS --- */
a, .btn-primary, .btn-secondary, .mobile-menu-toggle, .main-nav a, .cookie-btn {
  transition: background 0.22s, color 0.19s, box-shadow 0.16s, transform 0.16s;
}
.mobile-menu.open {
  animation: menuIn 0.32s cubic-bezier(.63,.01,.36,1);
}
@keyframes menuIn {
  from { opacity: 0; transform: translateX(100vw);} 
  to   { opacity: 1; transform: translateX(0); }
}

/* --- COLORS FOR SECTIONS --- */
section:nth-child(2n+1) {
  background: #F5F8FA;
  box-shadow: 0 2px 9px 0 rgba(25,169,131,0.04);
}
section:nth-child(2n) {
  background: #fff;
}

/* --- VISUAL ENHANCEMENTS, SHADOWS --- */
.card, .feature-grid>div, .testimonial-card, article {
  box-shadow: 0 2px 12px 0 rgba(35,84,115,0.045);
  border-radius: 14px;
}

/* --- ERROR/INFO/WARNING (for alerts, banners if present) --- */
.alert-info {
  background: #eaf5f1;
  color: #235473;
  border-left: 5px solid #19A983;
  padding: 16px 22px;
  border-radius: 9px;
  margin-bottom: 18px;
}

/* --- Z-INDEX LAYERS --- */
header, .mobile-menu, .cookie-modal-overlay, .cookie-consent-banner {
  z-index: 1010;
}

/* --- ACCESSIBILITY CONTRAST TWEAKS --- */
.testimonial-card, .footer-contact, article, .feature-grid>div {
  color: #1e2933;
}

/* --- VISUAL SEPARATORS FOR POLICY PAGES --- */
.text-section h2, .text-section h3 {
  margin-top: 26px;
  margin-bottom: 10px;
}

/* --- FOCUS STATES --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #19A983;
  outline-offset: 2px;
}

/* --- HIDE SCROLLBAR IN MOBILE MENU --- */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- FIXED COOKIE BANNER, MODAL OVERRIDES --- */
@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 8px 4vw;
    font-size: 0.94rem;
  }
  .cookie-modal {
    padding: 16px 6px 18px 6px;
    width: 98vw;
    max-width: 99vw;
    font-size: 0.96rem;
  }
}
