/* ======================
   CSS RESET & BASE RULES
   ====================== */
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background-color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #09538C;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #6EA340;
  outline: none;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Hide scrollbars for hamburger menu body lock */
body.menu-open {
  overflow: hidden;
}

/* ==========================
   TYPOGRAPHY
   ========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #09538C;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul, ol, li, table, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  font-size: 1rem;
  line-height: 1.7;
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: #09538C;
}

/* =====================
   CONTAINER & SECTION
   ===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(9, 83, 140, 0.04);
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 36px;
    padding: 26px 10px;
    border-radius: 10px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 670px;
  margin: 0 auto;
}

/* ===============
   HEADER & NAV
   =============== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(9,83,140,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.main-nav .logo {
  margin-right: 26px;
  display: flex;
  align-items: center;
  height: 44px;
}
.main-nav a {
  color: #09538C;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f5f8f9;
  color: #6EA340;
}
.main-nav .cta.primary {
  background: #09538C;
  color: #fff;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 22px;
  margin-left: auto;
  transition: background 0.18s, box-shadow 0.2s, color 0.16s;
  box-shadow: 0 1px 8px rgba(9,83,140,0.07);
  border: none;
}
.main-nav .cta.primary:hover,
.main-nav .cta.primary:focus {
  background: #6EA340;
  color: #fff;
  box-shadow: 0 4px 18px rgba(9,83,140,0.09);
}

/* Hide .main-nav and show burger button on mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #09538C;
  padding: 7px 16px;
  cursor: pointer;
  border-radius: 10px;
  margin: 7px 14px 7px 0;
  transition: background 0.16s;
  z-index: 1202;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 21px;
    top: 15px;
  }
}

/* =====================
   MOBILE MENU OVERLAY
   ===================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 18px rgba(9,83,140,0.07);
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.9,0,.32,1), opacity 0.34s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 0 0 22px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #222;
  cursor: pointer;
  border-radius: 12px;
  padding: 0 14px;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f5f8f9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 42px;
  width: 100%;
  padding: 0 38px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-weight: 500;
  color: #09538C;
  padding: 12px 0;
  border-radius: 4px;
  width: 100%;
  transition: background .14s, color .14s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:active {
  background: #F5F8F9;
  color: #6EA340;
}

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

/* ==========================
   HERO SECTION
   ========================== */
.hero {
  margin-bottom: 60px;
  padding: 52px 20px 60px 20px;
  background: #F5F8F9;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(9,83,140,0.045);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  align-items: center;
  gap: 22px;
}
.hero h1 {
  font-size: 2.4rem;
  text-align: center;
  color: #09538C;
}
.hero .hero-subheadline {
  text-align: center;
  color: #222;
  font-size: 1.22rem;
  max-width: 680px;
  margin-bottom: 14px;
}
.hero .cta.primary {
  font-size: 1.15rem;
  margin-top: 8px;
  padding: 11px 32px;
  border-radius: 32px;
  font-weight: 600;
}

/* ================
   CARDS & FEATURES
   ================ */
.feature-grid, .services-list, .article-list, .category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 22px 0;
  list-style: none;
}
.feature-grid li, .services-list li, .article-list li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(9,83,140, 0.055);
  padding: 24px 22px 20px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.14s, border-color 0.16s;
  border: 1px solid #F5F8F9;
  position: relative;
}
.feature-grid li img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-grid li h3, .services-list li h3 {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #09538C;
  margin-bottom: 6px;
}
.feature-grid li:hover, .services-list li:hover, .article-list li:hover {
  box-shadow: 0 8px 34px rgba(9,83,140,0.10);
  transform: translateY(-2px) scale(1.022);
  border-color: #e1e8ec;
  z-index: 2;
}
.services-list {
  gap: 28px;
}
.services-list li .service-price {
  color: #6EA340;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 10px;
}
.article-list li {
  background: #F5F8F9;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(9,83,140, 0.03);
  padding: 18px 18px 14px 16px;
  min-width: 180px;
  flex: 1 1 180px;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.category-tags span {
  background: #e7f1fa;
  color: #09538C;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Cards container patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(9,83,140,0.04);
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
   CTA BLOCK
   =============== */
.cta-block {
  background: #09538C;
  color: #fff;
  border-radius: 17px;
  box-shadow: 0 4px 28px rgba(9,83,140,0.07);
  margin-bottom: 60px;
}
.cta-block h2, .cta-block p {
  color: #fff;
  text-align: center;
}
.cta-block .cta {
  background: #6EA340;
  color: #fff;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 32px;
  margin-top: 16px;
}
.cta-block .cta:hover,
.cta-block .cta:focus {
  background: #fff;
  color: #09538C;
  box-shadow: 0 8px 28px rgba(110,163,64,0.07);
}

/* ===============
   BUTTONS
   =============== */
.cta {
  display: inline-block;
  background: #09538C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 25px;
  padding: 11px 26px;
  border: none;
  transition: background 0.19s, color 0.16s, box-shadow 0.17s, transform 0.14s;
  box-shadow: 0 2px 12px rgba(9,83,140,0.06);
  cursor: pointer;
  outline: none;
  text-align: center;
}
.cta.primary {
  background: #09538C;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #6EA340;
  color: #fff;
  box-shadow: 0 8px 28px rgba(110,163,64,0.11);
  transform: translateY(-1px) scale(1.03);
}
.cta.secondary {
  background: #fff;
  color: #09538C;
  border: 1.3px solid #09538C;
  box-shadow: none;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #6EA340;
  color: #fff;
  border-color: #6EA340;
}

/* =====================
   TABLES (COMPARISON)
   ===================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 35px 0 22px 0;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #e6e8eb;
  font-size: 1rem;
}
.comparison-table th {
  background: #F5F8F9;
  color: #09538C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.comparison-table tr:nth-child(even) td {
  background: #F5F8F9;
}
@media (max-width: 650px) {
  .comparison-table {
    font-size: 88%;
  }
  .comparison-table thead {
    display: none;
  }
  .comparison-table tr {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e6e8eb;
    margin-bottom: 10px;
  }
  .comparison-table td {
    flex: 1 1 45%;
    border: none;
    padding: 7px 8px;
    background: #fff!important;
    min-width: 120px;
  }
  .comparison-table tr td:first-child {
    font-weight: bold;
    color: #09538C;
  }
}

/* ===============================
   TESTIMONIALS / REFERENCE PAGE
   =============================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F8F9;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(9,83,140,0.045);
  margin-bottom: 20px;
  color: #222;
  position: relative;
  border-left: 4px solid #6EA340;
  transition: box-shadow 0.17s, transform 0.14s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #2a2d33;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.testimonial-card .testimonial-meta {
  font-size: 0.98rem;
  font-style: italic;
  color: #09538C;
  min-width: 140px;
  text-align: right;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(110,163,64,0.11);
  transform: translateY(-1px) scale(1.015);
  z-index: 2;
}

/* Ensure readability/contrast in testimonials */
.testimonial-card,
.testimonial-card p,
.testimonial-card .testimonial-meta {
  color: #222;
}

/* ================
   FOOTER
   ================ */
footer {
  margin-top: 60px;
  background: #F5F8F9;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 16px rgba(9,83,140,0.03);
  padding: 34px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
  justify-content: center;
}
.footer-nav a {
  color: #09538C;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.11s, color .11s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #6EA340;
  color: #fff;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.footer-brand img {
  width: 56px;
  margin-bottom: 4px;
}
.footer-brand p {
  color: #485064;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

/* =====================
   THANK YOU PAGE
   ===================== */
.thank-you {
  background: #F5F8F9;
  border-radius: 13px;
  text-align: center;
  padding: 64px 16px;
  box-shadow: 0 4px 28px rgba(9,83,140,0.06);
}
.thank-you h1 {
  font-size: 2.1rem;
  color: #09538C;
}
.thank-you h2 {
  font-size: 1.4rem;
  color: #6EA340;
}

/* ===============
   MAP PLACEHOLDER
   =============== */
.map-placeholder {
  background: #f6fbfd;
  border: 1.6px dashed #6EA340;
  border-radius: 15px;
  padding: 22px;
  color: #09538C;
  font-size: 1.04rem;
  text-align: center;
  font-style: italic;
  margin-top: 14px;
}

/* ===============================
   RESPONSIVE MEDIA QUERIES
   =============================== */
@media (max-width: 1020px) {
  .container {
    max-width: 97vw;
    padding: 0 7vw;
  }
  .main-nav {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 820px) {
  .feature-grid, .services-list, .article-list {
    gap: 10px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .footer-brand img {
    width: 40px;
  }
  .section, section {
    padding: 14px 2px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px 16px 8px;
    gap: 7px;
  }
}
@media (max-width: 500px) {
  .main-nav .logo {
    height: 35px;
  }
  .feature-grid li, .services-list li, .article-list li {
    min-width: 90vw;
  }
  .category-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(9,83,140,0.08);
  border-top: 2px solid #09538C;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2100;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.36s cubic-bezier(0.7,0,0.21,1), opacity 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #222;
  font-size: 1rem;
  line-height: 1.55;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 19px;
  margin-right: 0px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
  outline: none;
}
.cookie-banner .accept {
  background: #09538C;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #6EA340;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #09538C;
  border: 1.4px solid #09538C;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #6EA340;
  color: #fff;
  border-color: #6EA340;
}
.cookie-banner .settings {
  background: #fff;
  color: #09538C;
  border: 1px solid #6EA340;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F5F8F9;
}

@media (max-width: 700px) {
  .cookie-banner {
    padding: 14px 2vw 16px 2vw;
    font-size: 0.96rem;
    gap: 12px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
}

/* Cookie preferences modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,41,54,0.19);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.20s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 52px rgba(9,83,140,0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popupUp 0.23s cubic-bezier(.7,0,.23,1);
}
@keyframes popupUp {
  from { transform: translateY(35px); opacity: 0;} to {transform: translateY(0); opacity: 1;}
}
.cookie-modal .modal-close {
  position: absolute;
  right: 19px;
  top: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #09538C;
  border-radius: 7px;
  padding: 2px 7px;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal .modal-close:hover { background: #F5F8F9; }
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #09538C;
  margin-bottom: 16px;
}
.cookie-modal .modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  font-size: 1rem;
}
.cookie-modal .modal-category.essential {
  color: #b7bcbe;
}
.cookie-modal .modal-category label {
  font-weight: 500;
  color: #09538C;
}
.cookie-modal .modal-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 110px;
  padding: 8px 24px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .modal-actions .accept {
  background: #09538C;
  color: #fff;
}
.cookie-modal .modal-actions .accept:hover, .cookie-modal .modal-actions .accept:focus {
  background: #6EA340;
  color: #fff;
}
.cookie-modal .modal-actions .save {
  background: #6EA340;
  color: #fff;
}
.cookie-modal .modal-actions .save:hover, .cookie-modal .modal-actions .save:focus {
  background: #09538C;
  color: #fff;
}
.cookie-modal .modal-actions .cancel {
  background: #fff;
  border: 1px solid #222;
  color: #222;
}
.cookie-modal .modal-actions .cancel:hover, .cookie-modal .modal-actions .cancel:focus {
  background: #F5F8F9;
}

/* ================
   MISCELLANEOUS
   ================ */
::-webkit-input-placeholder { color: #b7bcbe; opacity:1; }
::-moz-placeholder { color: #b7bcbe; opacity:1; }
:-ms-input-placeholder { color: #b7bcbe; opacity:1; }
::placeholder { color: #b7bcbe; opacity:1; }

::-webkit-scrollbar {
  width: 10px;
  background: #f5f8f9;
}
::-webkit-scrollbar-thumb {
  background: #e2eaf2;
  border-radius: 7px;
}

/* ===========
   PRINT RESET
   =========== */
@media print {
  body, html { color: #111!important; background: #fff!important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none!important; }
  .section, section, .container, .content-wrapper { box-shadow: none!important; border: none!important; background: #fff!important; }
}
