/* ------------------ CSS 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;
  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 {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F2F6F8;
  color: #234769;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}
a {
  color: #234769;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #7DBE86; outline-offset: 2px; }
a:hover, a:active {
  color: #7DBE86;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
}
ul, ol {
  margin-left: 1.375em;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  margin: 20px 0 0 0;
  box-shadow: 0 3px 16px rgba(35,71,105,0.05);
}
th, td {
  padding: 16px 14px;
  text-align: left;
}
thead {
  background-color: #7DBE86;
  color: #fff;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08em;
}
tbody tr {
  border-bottom: 1px solid #F2F6F8;
}
tbody tr:last-child { border-bottom: none; }

/* ------------------ TYPOGRAPHY ------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  color: #234769;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  font-weight: 700;
}
p {
  margin-bottom: 12px;
  color: #234769;
}
strong, b {
  font-weight: 700;
}
.section ul, .section ol, .text-section ul, .text-section ol {
  padding-left: 24px;
  margin-bottom: 12px;
  color: #234769;
}
.section ul li, .text-section ul li {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

/* ------------------ LAYOUT HELPERS ------------------ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 24px rgba(35,71,105,0.13);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 300px;
}
.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: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 24px rgba(35,71,105,0.09);
  margin-bottom: 20px;
  max-width: 700px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card strong {
  font-size: 1.01rem;
  color: #7DBE86;
}
.testimonial-card p {
  color: #234769;
  font-size: 1.1rem;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(35,71,105,0.07);
  margin-bottom: 32px;
}
.faq-section {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: 0 4px 18px rgba(35,71,105,0.07);
}
.faq-item {
  margin-bottom: 24px;
}
.faq-item:last-child { margin-bottom: 0; }

/* ------------------ NAVIGATION & HEADER ------------------ */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
  box-shadow: 0 5px 32px rgba(35,71,105,0.07);
  z-index: 30;
}
header a img {
  height: 46px;
  width: auto;
  border-radius: 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
header nav a {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 8px 0;
  color: #234769;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: #F2F6F8;
  color: #7DBE86;
}
.cta-button {
  background: #7DBE86;
  color: #fff;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  outline: none;
  border-radius: 24px;
  padding: 11px 30px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(125,190,134,0.10);
  transition: background 0.14s, box-shadow 0.16s, transform 0.13s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #234769;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 32px rgba(35,71,105,0.12);
}

/* Burger Button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 20px;
  background: #fff;
  color: #234769;
  border: none;
  border-radius: 14px;
  padding: 6px 15px;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 101;
  box-shadow: 0 3px 8px rgba(35,71,105,0.14);
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #7DBE86;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.77,0,.18,1), opacity 0.25s;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #fff;
  color: #234769;
  border: none;
  border-radius: 14px;
  font-size: 2rem;
  padding: 7px 18px;
  align-self: flex-end;
  margin: 16px 24px 16px 0;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
  box-shadow: 0 3px 8px rgba(35,71,105,0.12);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7DBE86;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 36px 24px;
  width: 85vw;
  max-width: 370px;
}
.mobile-nav a {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-size: 1.25rem;
  color: #234769;
  padding: 14px 0;
  border-bottom: 1px solid #F2F6F8;
  width: 100%;
  border-radius: 0;
  transition: color 0.13s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7DBE86;
  background: #F2F6F8;
}

/* Overlay for mobile menu (semi-transparent background) */
.mobile-menu.open::before {
  content: '';
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,71,105,0.19);
  z-index: -1;
  pointer-events: none;
}

/* Hide navigation bar on mobile, show burger */
@media (max-width: 991px) {
  header nav, header .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------ HERO & PAGE SECTIONS ------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
section:first-of-type {
  margin-top: 0;
}

/* ------------------ SERVICE/FEATURES GRIDS ------------------ */
.service-grid,
.feature-grid, 
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.service-grid > div, .feature-grid > div, .service-list > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 16px rgba(35,71,105,0.08);
  padding: 24px 18px 22px 18px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.15s;
  margin-bottom: 0;
}
.service-grid > div:hover, .feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 6px 32px rgba(35,71,105,0.17);
  transform: translateY(-4px) scale(1.025);
}
.service-grid img, .feature-grid img, .service-list img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #F2F6F8;
  box-shadow: 0 2px 8px rgba(125,190,134,0.12);
  padding: 10px;
}
.service-grid h3, .feature-grid h3, .service-list h3 {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: #234769;
}
.service-grid p, .feature-grid p, .service-list p {
  font-size: 1.07em;
  color: #234769;
}
.service-grid .service-price, .service-list .service-price {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  background: #7DBE86;
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  padding: 7px 12px;
  margin-top: 18px;
  font-size: 1.02rem;
}

/* ------------------ BUTTONS ------------------ */
button, .button {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: #7DBE86;
  color: #fff;
  padding: 10px 26px;
  font-size: 1.12rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(125,190,134,0.13);
  transition: background 0.15s, color 0.18s, box-shadow 0.13s, transform 0.13s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #234769;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(35,71,105,0.16);
}

/* ------------------ FOOTER ------------------ */
footer {
  background: #234769;
  color: #fff;
  padding: 32px 0 18px 0;
  margin-top: 64px;
}
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.14s;
  border-radius: 8px;
  padding: 7px 12px;
}
footer nav a:hover {
  color: #7DBE86;
  background: rgba(255,255,255,0.09);
}
.footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.99rem;
  opacity: 0.90;
  color: #fff;
}

/* ------------------ COOKIE BANNER ------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -5px 26px rgba(35,71,105,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 20px;
  z-index: 3500;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 0.33s, transform 0.33s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  max-width: 590px;
  color: #234769;
  font-size: 1.08rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-banner button {
  min-width: 120px;
  font-size: 1rem;
  border-radius: 20px;
}
.cookie-banner .accept {
  background: #7DBE86;
  color: #fff;
}
.cookie-banner .reject {
  background: #F2F6F8;
  color: #234769;
  border: 1px solid #7DBE86;
}
.cookie-banner .settings {
  background: #234769;
  color: #fff;
}
.cookie-banner button:focus { outline: 2px solid #7DBE86; outline-offset: 2px; }

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(35,71,105,0.21);
  z-index: 3600;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 24px;
  padding: 32px 26px;
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 5px 36px rgba(35,71,105,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  cursor: pointer;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.07rem;
  color: #234769;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #7DBE86;
  margin-right: 12px;
  border-radius: 50%;
  width: 21px;
  height: 21px;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
}
.cookie-modal .close-modal {
  background: #F2F6F8;
  color: #234769;
  border: 1px solid #7DBE86;
  border-radius: 16px;
  padding: 8px 18px;
  margin-left: auto;
}
.cookie-modal .close-modal:hover {
  background: #7DBE86;
  color: #fff;
}

/* ------------------ RESPONSIVE DESIGN ------------------ */
@media (max-width: 1140px) {
  .container {
    max-width: 97vw;
    padding: 0 12px;
  }
}
@media (max-width: 991px) {
  .service-grid > div, .feature-grid > div, .service-list > div {
    min-width: 210px;
    flex: 1 1 45%;
  }
  .faq-section, .text-section {
    padding: 22px 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.52rem; }
  .section, section { padding: 30px 0; }
  .container { max-width: 100vw; }
  .content-wrapper, .footer-info { align-items: flex-start; }
  .service-grid, .feature-grid, .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .service-grid > div, .feature-grid > div, .service-list > div {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    max-width: 95vw;
  }
  .text-section, .faq-section, table { padding: 15px 6px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  header {
    flex-direction: row;
    padding: 13px 0 13px 0;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  .section, section { margin-bottom: 28px; padding: 17px 0; }
  .container { padding: 0 4px; }
  .service-grid img, .feature-grid img, .service-list img { width: 42px; height: 42px; padding: 6px; }
  .testimonial-card, .card, .text-section, .faq-section { padding: 10px 7px; }
}

/* ------------------ MICRO-INTERACTIONS & SHADOWS ------------------ */
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 32px rgba(35,71,105,0.18);
  transform: translateY(-4px) scale(1.012);
}

/* ------------------ VISUAL EFFECTS ------------------ */
.card, .testimonial-card, .service-grid > div, .feature-grid > div, .service-list > div, .text-section, .faq-section, table {
  border-radius: 20px;
  /* Subtle drop shadow for warmth */
  box-shadow: 0 4px 18px rgba(125,190,134,0.07);
}

/* Accent backgrounds for visual warmth */
.section:nth-child(odd), section:nth-child(odd) {
  background: #fff;
}
.section:nth-child(even), section:nth-child(even) {
  background: #F2F6F8;
}

/* ------------------ FORM ELEMENTS ------------------ */
input, textarea, select {
  border: 1.5px solid #7DBE86;
  border-radius: 17px;
  padding: 10px 14px;
  font-size: 1.08rem;
  margin-bottom: 22px;
  background: #F2F6F8;
  color: #234769;
  transition: border 0.13s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #234769;
  box-shadow: 0 2px 8px rgba(35,71,105,0.1);
}

/* ------------------ SPECIAL STYLES ------------------ */
/* FAQ distinct marking */
.faq-item h3 {
  color: #7DBE86;
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.faq-item p {
  color: #234769;
  font-size: 1rem;
}

/* Table highlight on hover */
tbody tr:hover {
  background: #F2F6F8;
}

/* ------------------ ACCESSIBILITY ------------------ */
:focus-visible {
  outline: 2px solid #7DBE86;
  outline-offset: 2px;
}

/* ------------------ PRINT STYLES ------------------ */
@media print {
  body, .container, .section, section, .text-section, .faq-section {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
