/* CSS Reset & Normalize */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%;}
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F8FA;
  color: #263238;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width: 100%; display: block; border-radius: 12px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #246280;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; margin-bottom: 12px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.18rem; }
h4 { font-size: 1.08rem; }
p, ul, ol { margin-bottom: 16px; }
p.subheadline {
  font-size: 1.18rem;
  color: #43A278;
  margin-bottom: 24px;
  font-weight: 500;
}
a { color: #246280; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #43A278; outline: none; }

/* Main Spacing and Containers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 4px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(36,98,128,0.06);
}

/* Responsive Utility */
@media (max-width: 768px) {
  .container { padding: 0 7px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .section { padding: 26px 9px; margin-bottom: 36px; }
}

/* Header & Navigation */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(36,98,128,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px 0;
}
.logo-link img {
  height: 48px;
  width: auto;
  border-radius: 0;
  display: block;
  transition: transform 0.18s;
}
.logo-link:hover img { transform: scale(1.05) rotate(-2deg); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #246280;
  padding: 7px 16px;
  border-radius: 18px;
  transition: background 0.19s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F8FA;
  color: #43A278;
}
.cta-button {
  background: #43A278;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 3px 12px 0 rgba(36,98,128,0.11);
  transition: background 0.18s, box-shadow 0.2s, transform 0.09s;
  border: none;
  cursor: pointer;
  margin-left: 22px;
  display: inline-block;
  letter-spacing: 0.02em;
}
.cta-button:hover, .cta-button:focus {
  background: #246280;
  color: #fff;
  box-shadow: 0 7px 20px rgba(67,162,120,0.13);
  transform: translateY(-1px) scale(1.025);
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.1rem;
  color: #246280;
  border: none;
  cursor: pointer;
  padding: 7px 9px; 
  border-radius: 16px;
  transition: background 0.15s;
  margin-left: 12px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4F8FA;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.55,.01,.63,1.17);
  box-shadow: -4px 0 18px 0 rgba(36,98,128,0.11);
  display: flex;
  flex-direction: column;
  padding-top: 22px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #F4F8FA;
  border: none;
  color: #246280;
  font-size: 2rem;
  border-radius: 16px;
  cursor: pointer;
  padding: 6px 13px;
  z-index: 1001;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #43A278;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-top: 80px;
  margin-left: 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #246280;
  font-weight: 500;
  padding: 12px 28px 12px 12px;
  border-radius: 18px;
  margin-right: 12px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F4F8FA;
  color: #43A278;
}

@media (max-width: 1050px) {
  .main-nav { gap: 11px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 6px; }
}
@media (max-width: 767px) {
  .main-nav, .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-wrapper {
    flex-wrap: wrap;
    gap: 12px;
    padding-left: 3px;
    padding-right: 3px;
  }
}

/* HERO, Utility Section */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section { margin-bottom: 38px; padding: 24px 7px; }
  .content-wrapper { padding: 0; }
}

.content-wrapper h1, .content-wrapper h2 { margin-bottom: 10px; }
.content-wrapper ul, .content-wrapper ol {
  margin-bottom: 16px;
  margin-left: 16px;
  padding-left: 14px;
  font-size: 1rem;
  color: #263238;
}
.content-wrapper ul li, .content-wrapper ol li {
  margin-bottom: 7px;
  padding-left: 2px;
}

/* Features Grid (Index) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 5px 24px 0 rgba(67,162,120,0.09);
  padding: 27px 21px;
  flex: 1 1 265px;
  min-width: 220px;
  max-width: 328px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.14s;
  margin-bottom: 20px;
  position: relative;
}
.feature-card img {
  height: 42px;
  width: 42px;
  background: #F4F8FA;
  border-radius: 13px;
  padding: 7px;
}
.feature-card h3 {
  font-size: 1.14rem;
  color: #246280;
  margin-bottom: 7px;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 10px 36px rgba(67,162,120,0.18);
  transform: translateY(-2px) scale(1.021);
}

/* Cards and Card Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(36,98,128,0.08);
  padding: 26px 19px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px rgba(67,162,120,0.11);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 980px) {
  .features-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-card, .card {
    max-width: 100%;
  }
}

/* Text-Image Section Example */
.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: 20px;
  }
}

/* Testimonial Cards and List */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  margin-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #FFFAF3;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 3px 18px 0 rgba(36,98,128,0.09);
  min-width: 210px;
  flex: 1 1 320px;
  max-width: 380px;
  color: #263238;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.10s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 22px 0 rgba(67,162,120,0.12);
  transform: translateY(-2px);
}
.testimonial-card p {
  font-size: 1.11rem;
  font-style: italic;
  color: #263238;
  margin-bottom: 10px;
}
.testimonial-info {
  color: #246280;
  font-size: 1rem;
  font-weight: 500;
}
.star-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.17rem;
}

/* FAQ Layout */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #F4F8FA;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 1px 8px rgba(36,98,128,0.06);
  color: #263238;
}
@media (max-width: 640px) {
  .faq-list { gap: 12px; }
  .faq-item { padding: 16px 10px; }
}

/* Tables */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 18px;
  font-size: 1rem;
  background: #FFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(36,98,128,0.06);
}
thead {
  background: #246280;
  color: #fff;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 13px;
  text-align: left;
}
tbody td {
  padding: 14px 13px;
  border-bottom: 1px solid #F4F8FA;
}
tbody tr:last-child td { border-bottom: none; }
.explanation {
  font-size: 0.98rem;
  color: #6C757D;
}

/* Footer */
footer {
  background: #F4F8FA;
  border-top: 1px solid #E3E9EF;
  margin-top: 48px;
  font-size: 0.99rem;
}
footer section {
  background: none;
  box-shadow: none;
  margin-bottom: 0;
  padding-bottom: 32px;
  padding-top: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.footer-brand img {
  height: 26px; width: 26px; border-radius: 7px;
}
.footer-brand span {
  color: #246280;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.footer-nav, .footer-policy-nav, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.footer-policy-nav {
  gap: 11px;
  font-size: 0.98rem;
}
.footer-contact {
  color: #263238;
  margin-top: 18px;
  margin-bottom: 8px;
}
.footer-contact img {
  height: 17px; width: 17px; margin-right: 7px; border-radius: 0; vertical-align: middle;
}
.footer-social {
  margin-top: 10px;
  gap: 11px;
}
.footer-social a img {
  height: 28px; width: 28px; border-radius: 10px;
  transition: box-shadow 0.19s, background 0.13s;
  background: #FFF;
  box-shadow: 0 2px 6px rgba(36,98,128,0.07);
}
.footer-social a:hover img { background: #43A278; box-shadow: 0 7px 12px #43A27820; }

@media (max-width: 1050px) {
  .footer-nav { gap: 9px; }
  .footer-policy-nav { gap: 6px; }
}
@media (max-width: 600px) {
  .footer-brand, .footer-nav, .footer-policy-nav, .footer-social {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Form Elements */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #CFE5F6;
  background: #FFF;
  color: #263238;
  margin-bottom: 14px;
  transition: border 0.14s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid #43A278;
  outline: none;
  box-shadow: 0 0 4px 0 #43A27822;
}

button, input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #43A278;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 25px;
  box-shadow: 0 2px 12px 0 rgba(36,98,128,0.08);
  font-size: 1.07rem;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.16s, transform 0.12s;
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #246280;
  box-shadow: 0 7px 18px rgba(67,162,120,0.15);
  color: #fff;
  outline: none;
}

/* Feature Item Pattern */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Map Placeholder */
.map-placeholder {
  background: #F4F8FA;
  border: 2px dashed #CFE5F6;
  border-radius: 13px;
  padding: 38px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 12px;
}

/* Animations */
@keyframes fadeInSoft {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .feature-card, .testimonial-card, .faq-item {
  animation: fadeInSoft 0.75s cubic-bezier(.36,.66,.04,1.01) both;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF8F3;
  border-top: 2px solid #43A278;
  box-shadow: 0 -2px 24px #24628018;
  padding: 20px 26px 20px 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: fadeInSoft 0.5s 0.1s both;
}
.cookie-consent-text {
  color: #263238;
  max-width: 540px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-consent-banner button {
  background: #43A278;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  border-radius: 999px;
  padding: 8px 22px;
  margin-left: 2px;
  margin-bottom: 2px;
  cursor: pointer;
  box-shadow: 0 1px 8px #43A27838;
  transition: background 0.17s, color 0.16s;
}
.cookie-btn.secondary {
  background: #F4F8FA;
  color: #246280;
  border: 1px solid #43A278;
}
.cookie-btn.settings {
  background: #fff;
  color: #246280;
  border: 1.5px solid #43A278;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #246280;
  color: #fff;
  outline: none;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 9px;
    font-size: 0.97rem;
  }
}

/* Cookie consent modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(36,98,128,0.28);
  z-index: 1201;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInSoft 0.15s 0.01s both;
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 10px 42px #2462801f;
  padding: 36px 26px 29px 26px;
  position: relative;
  animation: fadeInSoft 0.28s 0.02s both;
}
.cookie-modal h3 {
  margin-bottom: 7px;
  font-size: 1.23rem;
  color: #246280;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-size: 1rem;
  color: #263238;
  font-weight: 500;
}
.cookie-toggle {
  width: 38px; height: 22px;
  background: #F4F8FA;
  border-radius: 999px;
  position: relative;
  border: 1.5px solid #CFE5F6;
  margin-right: 6px;
  transition: background 0.17s,
              border 0.17s;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #24628019;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input:checked + .toggle-slider {
  left: 18px;
  background: #43A278;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 13px;
  background: #F4F8FA;
  color: #246280;
  border: none;
  border-radius: 14px;
  font-size: 1.36rem;
  cursor: pointer;
  padding: 3px 10px;
  transition: background 0.13s;
}
.cookie-modal-close:hover { background: #43A278; color: #fff; }
.cookie-essential {
  color: #43A278;;
  font-weight: 600;
  font-size: 1.02rem;
}

/* Scrollbars */
::-webkit-scrollbar { width: 12px; background: #F4F8FA; }
::-webkit-scrollbar-thumb { background: #CFE5F6; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b4d7e8; }

/* Utility: Hide visually but remain for accessibility */
.visually-hidden { position:absolute; width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;}

/* -----------------------------
   FINAL: Fine tune minimum paddings/margins and responsive
----------------------------- */
section, .section, .faq-item, .testimonial-card, .feature-card, .card {
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .feature-card, .testimonial-card, .card {
    padding: 16px 9px;
    margin-bottom: 18px;
  }
  .section, section {
    margin-bottom: 22px;
    padding: 14px 3px;
  }
  .content-wrapper {
    padding: 0 1px;
  }
}

/* Responsive font-size adjustments */
@media (max-width:480px) {
  html { font-size: 15px; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
}

