/* ---------------------------------------------------
   CSS RESET & BASELINE NORMALIZATION
--------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #0A3C5F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:active {
  color: #68A16E;
}
ul, ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  outline: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}

/* ---------------------------------------------------
   BRAND FONTS
--------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #0A3C5F;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, li, dd {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #232322;
}
strong {
  font-weight: 700;
}

/* Typography utility */
.lead {
  font-size: 1.1rem;
  color: #0a3c5f;
  opacity: 0.85;
}

/* ---------------------------------------------------
   LAYOUT CONTAINERS & SPACING
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(10,60,95,0.03);
  padding: 30px 26px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(10,60,95,0.08);
  transform: translateY(-3px) 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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F8F8F0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(10,60,95,0.04);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 500px;
}
.testimonial-card p {
  color: #212121;
}
.testimonial-card strong {
  color: #0A3C5F;
  font-size: 1rem;
}
.star-rating {
  color: #F9C74F;
  font-size: 1.1em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.feature-grid,
.service-grid,
.service-listing,
.benefit-list,
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div,
.service-grid > div,
.service-listing > div,
.benefit-list > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(10,60,95,0.04);
  padding: 26px 20px;
  flex: 1 1 240px;
  min-width: 230px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > div:hover,
.service-grid > div:hover,
.service-listing > div:hover,
.benefit-list > div:hover {
  box-shadow: 0 6px 32px rgba(10,60,95,0.09);
  transform: translateY(-2px) scale(1.012);
}

.client-logos {
  gap: 40px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 32px;
}
.client-logos img {
  height: 40px;
  width: auto;
  opacity: 0.8;
}

.cta-banner {
  background: #0A3C5F;
  color: #fff;
  margin-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 2px 18px rgba(10,60,95,0.04);
  padding: 48px 20px;
}
.cta-banner h2,
.cta-banner h1 {
  color: #fff;
}
.cta-banner .btn {
  margin-top: 18px;
}

/* ---------------------------------------------------
   HEADER & NAVIGATION
--------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ececec;
  z-index: 20;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  height: 36px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #0A3C5F;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: #F8F8F0;
  color: #68A16E;
}

/* ---------------------------------------------------
   BUTTONS & INTERACTIVES
--------------------------------------------------- */
.btn, .btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 2px 0;
  box-shadow: 0 1px 5px rgba(10,60,95,0.04);
  transition: background 0.16s, color 0.16s, box-shadow 0.13s, transform 0.12s;
  cursor: pointer;
  text-align: center;
  border: none;
  outline: none;
}
.btn-primary {
  background: #0A3C5F;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #68A16E;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #F8F8F0;
  color: #0A3C5F;
  border: 1px solid #0A3C5F;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #68A16E;
  color: #fff;
  border-color: #68A16E;
  transform: translateY(-2px) scale(1.03);
}

/* For hero, action, etc. */
.hero .btn {
  margin-top: 24px;
}

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */
.hero {
  background: #F8F8F0;
  border-radius: 0 0 15px 15px;
  padding-top: 54px;
  padding-bottom: 54px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #0A3C5F;
  font-size: 2.1rem;
}

/* ---------------------------------------------------
   TABLES
--------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10,60,95,0.05);
}
thead {
  background: #F8F8F0;
}
th, td {
  text-align: left;
  padding: 16px 12px;
  font-size: 1rem;
}
th {
  font-weight: 600;
  color: #0A3C5F;
}
tbody tr:nth-child(even) {
  background: #fcfcfc;
}
tbody tr {
  border-bottom: 1px solid #eee;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: #F8F8F0;
  color: #0A3C5F;
  padding: 42px 0 18px 0;
  border-top: 1px solid #ececec;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.footer-nav a {
  color: #0A3C5F;
  opacity: 0.87;
  transition: color 0.17s;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #68A16E;
}
.footer-contact {
  min-width: 220px;
  font-size: 0.98rem;
}
.footer-newsletter {
  max-width: 260px;
  color: #0A3C5F;
  font-size: 1rem;
}
.footer-newsletter h4 {
  margin-bottom: 8px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.footer-social img {
  height: 32px;
  width: 32px;
  opacity: 0.85;
  transition: opacity 0.13s, transform 0.12s;
  border-radius: 6px;
}
.footer-social img:hover {
  opacity: 1;
  transform: scale(1.07);
}
.copyright {
  text-align: left;
  padding-top: 18px;
  color: #6e6e6e;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------
   OTHER LAYOUTS
--------------------------------------------------- */
.service-comparisons {
  background: #F8F8F0;
  border-radius: 13px;
  padding: 24px 18px;
  margin-bottom: 18px;
}
.service-comparisons h2 {
  color: #0A3C5F;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-comparisons ul {
  margin: 0 0 0 16px;
}
.service-comparisons li {
  font-size: 1rem;
  color: #232322;
  margin-bottom: 6px;
}

.contact-info {
  margin-bottom: 24px;
}
.map {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.map img {
  height: 38px;
  width: 38px;
}

/* DL Styles (FAQ, terms) */
dl {
  margin-bottom: 22px;
  width: 100%;
}
dt {
  font-weight: 600;
  color: #0A3C5F;
  margin-top: 14px;
}
dd {
  color: #232322;
  margin-left: 0;
  margin-bottom: 12px;
}

ol {
  margin: 0 0 0 20px;
}
ol > li {
  margin-bottom: 9px;
}
ul li {
  margin-bottom: 8px;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width:8px; height:8px;
  background: #68A16E;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ---------------------------------------------------
   HAMBURGER MOBILE MENU
--------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 20px;
  top: 19px;
  z-index: 120;
  padding: 10px 15px;
  background: #fff;
  color: #0A3C5F;
  font-size: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(10,60,95,0.06);
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-toggle:focus {
  background: #F8F8F0;
  color: #68A16E;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(10, 60, 95, 0.97);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.29s cubic-bezier(0.42, 0, 0.46, 1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 22px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  opacity: 0.85;
  transition: color 0.13s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F8F8F0;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 36px 20px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: #fff;
  background: none;
  padding: 12px 2px;
  opacity: 0.96;
  border-radius: 6px;
  transition: background 0.13s, color 0.14s;
  min-width: 155px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #68A16E;
  color: #fff;
  opacity: 1;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(10,60,95,0.05);
  border-top: 1px solid #F8F8F0;
  z-index: 3000;
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.22s, transform 0.21s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #212121;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-btn-row {
  display: flex; gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 10px 22px;
  margin-right: 6px;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  box-shadow: 0 1px 5px rgba(10,60,95,0.02);
  cursor: pointer;
}
.cookie-btn.accept {
  background: #68A16E;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #0A3C5F;
}
.cookie-btn.reject {
  background: #F8F8F0;
  color: #0A3C5F;
  border: 1px solid #0A3C5F;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #68A16E;
  color: #fff;
  border-color: #68A16E;
}
.cookie-btn.settings {
  background: none;
  color: #0A3C5F;
  text-decoration: underline;
  border: none;
  padding: 10px 10px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #68A16E;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 3300;
  top: 0; left:0; right: 0; bottom: 0;
  background: rgba(10,60,95,0.43);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 50px rgba(10,60,95,0.11);
  max-width: 410px;
  width: 90vw;
  padding: 36px 28px 26px 28px;
  color: #0A3C5F;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s cubic-bezier(0.65, 0, 0.25, 1), opacity 0.2s;
  transform: scale(0.96);
  opacity: 0;
}
.cookie-modal-overlay.open .cookie-modal {
  transform: scale(1);
  opacity: 1;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 12px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  margin-right: 12px;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
}
.cookie-modal .cookie-confirm-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* Essential cookies (always enabled) */
.cookie-modal .essential {
  color: #68A16E;
  font-weight: 600;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN (MOBILE-FIRST)
--------------------------------------------------- */
@media (max-width: 1210px) {
  .container {
    max-width: 990px;
  }
}
@media (max-width: 1000px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid > div, .service-grid > div, .benefit-list > div {
    flex: 1 1 320px;
    min-width: 200px;
  }
}
@media (max-width: 900px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .feature-grid,
  .service-grid,
  .service-listing,
  .benefit-list,
  .client-logos {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider,
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cta-banner {
    padding: 36px 10px;
    border-radius: 12px 12px 0 0;
    font-size: 1.08rem;
  }
  .copyright {
    padding-left: 0;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .mobile-nav {
    padding: 32px 16px 10px 18px;
  }
}
@media (max-width: 400px) {
  .cookie-modal {
    padding: 16px 6px 16px 6px;
  }
}

/* Hide desktop nav on mobile, show mobile menu toggle */
@media (max-width: 940px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn.btn-primary {
    display: none;
  }
}

/* ---------------------------------------------------
   ANIMATIONS
--------------------------------------------------- */
.btn, .btn-primary, .btn-secondary {
  transition: background 0.16s, color 0.16s, box-shadow 0.13s, transform 0.11s;
}
.card,
.feature-grid > div,
.service-grid > div,
.benefit-list > div {
  transition: box-shadow 0.18s, transform 0.15s;
}
.main-nav a,
footer .footer-nav a,
.footer-social img,
.mobile-menu-toggle {
  transition: color 0.13s, background 0.13s, opacity 0.13s, transform 0.13s;
}

/* ---------------------------------------------------
   SCROLLBAR STYLE (MINIMALIST)
--------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #ececec;
}
::-webkit-scrollbar-thumb {
  background: #F8F8F0;
  border-radius: 20px;
}

/* ---------------------------------------------------
   SELECTION COLORS
--------------------------------------------------- */
::selection {
  background: #68A16E;
  color: #fff;
}

/* ---------------------------------------------------
   MISCELLANEOUS
--------------------------------------------------- */
blockquote {
  border-left: 4px solid #68A16E;
  background: #F8F8F0;
  padding: 11px 23px;
  margin-bottom: 18px;
  border-radius: 7px;
}

/* Ensure all content cards/sections have minimum 20px between them */
main > section,
.section {
  margin-bottom: 60px !important;
}
.card, .feature-grid > div, .service-grid > div, .benefit-list > div {
  margin-bottom: 20px;
}

/* Prevent absolute positioning of content cards (ok for decorative only) */
/* (Handled above by not using absolute for content) */

/* ---------------------------------------------------
   PRINT STYLES (optional, minimalist)
--------------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
