/* --- CSS Reset & Normalize --- */
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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F8FAF7;
  font-family: 'Roboto', Arial, sans-serif;
  color: #24324D;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24324D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7ED6C1;
}
ul, ol {
  padding-left: 1.5em;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #7ED6C1;
  outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #24324D;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
}
p, li {
  font-size: 1rem;
  margin-bottom: 8px;
}
.tagline {
  font-size: 1.25rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 22px;
  color: #4c5e7a;
}
strong {
  font-weight: 700;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-right: auto;
  margin-left: auto;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid, .service-list, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(36,50,77,0.07);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(36,50,77,0.11);
  transform: translateY(-3px);
}
.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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(36,50,77,0.10);
  min-width: 300px;
  max-width: 370px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  color: #24324D;
}
.testimonial-card p {
  color: #24324D;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #7ED6C1;
  font-weight: 700;
  font-size: 1.05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- Header & Navigation --- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(36,50,77,0.06);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #24324D;
  opacity: 0.96;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E1F6F0;
  color: #1a283f;
}
.button.primary, .button.secondary {
  display: inline-block;
  border-radius: 7px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 2px 8px rgba(36,50,77,0.07);
  cursor: pointer;
}
.button.primary {
  background: #24324D;
  color: #fff;
  border: 2px solid #24324D;
}
.button.primary:hover, .button.primary:focus {
  background: #162037;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}
.button.secondary {
  background: #7ED6C1;
  color: #24324D;
  border: 2px solid #7ED6C1;
}
.button.secondary:hover, .button.secondary:focus {
  background: #46ad95;
  color: #fff;
  border-color: #46ad95;
  transform: translateY(-2px) scale(1.02);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #24324D;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E1F6F0;
  color: #162037;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,50,77,0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  border: none;
  margin: 18px 24px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 10;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7ED6C1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 18px 38px;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 10px;
  border-radius: 7px;
  transition: background 0.16s, color 0.14s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #394c74;
  color: #7ED6C1;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(90deg,#f9fafb 70%, #e3eef7 100%);
  padding: 60px 0 44px 0;
  box-shadow: 0 0 1px rgba(36,50,77,0.01);
}
.hero h1 {
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #24324D;
}
.hero .tagline {
  color: #41759e;
  font-size: 1.2rem;
}
.hero .button {
  margin-top: 14px;
}

/* --- Feature / Service List --- */
.feature-grid > div, .service-list > div {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 18px 22px;
  box-shadow: 0 2px 8px rgba(36,50,77,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.14s;
}
.feature-grid img, .service-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 6px 18px rgba(36,50,77,0.14);
  transform: translateY(-3px) scale(1.01);
}
.price {
  display: inline-block;
  background: #e1f6f0;
  color: #24324D;
  padding: 6px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 19px;
  margin-top: 8px;
  margin-bottom: 0;
}

/* --- CTA Section --- */
.cta {
  background: #24324D;
  color: #fff;
  border-radius: 12px;
  padding: 56px 0 50px 0;
  margin-bottom: 60px;
}
.cta h2, .cta h1 {
  color: #fff;
}
.cta .button {
  margin-bottom: 14px;
}

/* --- Footer --- */
footer {
  background: #24324D;
  color: #fff;
  padding: 36px 0 26px 0;
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.85;
  padding: 5px 7px;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7ED6C1;
  color: #24324D;
}
.footer-info {
  opacity: 0.7;
  font-size: 0.98rem;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #24324D;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(36,50,77,0.10);
  padding: 20px 18px;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.40s cubic-bezier(0.32,0,0.67,0), opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner .cookie-btn {
  border-radius: 7px;
  padding: 9px 18px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  margin-left: 0;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .accept {
  background: #7ED6C1;
  color: #24324D;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #46ad95;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #24324D;
  border: 1.5px solid #f1f1f1;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e1f6f0;
  color: #24324D;
}
.cookie-banner .settings {
  background: tranparent;
  color: #7ED6C1;
  border: 1.5px solid #7ED6C1;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #7ED6C1;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,50,77,0.8);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.33s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #24324D;
  width: 95%;
  max-width: 430px;
  border-radius: 13px;
  box-shadow: 0 6px 32px rgba(36,50,77,0.28);
  padding: 34px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop 0.46s cubic-bezier(0.34,1.56,0.64,1) 1;
}
@keyframes modalPop {
  0% {transform: scale(0.88); opacity: 0;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
  margin-top: 6px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #E1F6F0;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  margin-right: 7px;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #7ED6C1;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 4px rgba(36,50,77,0.13);
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  color: #24324D;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #7ED6C1;
}

/* --- Miscellaneous Elements --- */
.feature-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.feature-icons img {
  width: 36px;
  height: 36px;
}

/* --- Forms (if present on future pages) --- */
input, textarea, select {
  border: 1.5px solid #d7e2ed;
  border-radius: 8px;
  padding: 13px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  width: 100%;
  background: #F8FAF7;
  transition: border 0.16s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #7ED6C1;
  box-shadow: 0 0 0 2px rgba(126,214,193,0.23);
}

/* --- Utility Spacing Classes --- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }

/* --- Responsive Layouts (Flexbox only) --- */
@media (max-width: 1024px) {
  .container {
    max-width: 930px;
    padding: 0 14px;
  }
  .hero {
    padding: 44px 0 32px 0;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .testimonials, .footer-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
  .main-nav {
    display: none;
  }
  .button.primary, .button.secondary {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 12px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 60px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .service-list, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature-grid > div, .service-list > div {
    max-width: 100%;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 570px) {
  .container {
    padding: 0 7px;
    max-width: 99vw;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
  }
  .cta,
  .section {
    padding: 22px 5px;
  }
}

/* --- Animations & Microinteractions --- */
.button, .feature-grid > div, .service-list > div, .card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.14s, background 0.18s, color 0.14s;
}
.feature-grid > div:active, .service-list > div:active, .card:active {
  transform: scale(0.98);
}
.button:active {
  transform: scale(0.98);
}

/* --- Accessibility & Contrast Enhancements --- */
.testimonial-card, .testimonials p, .testimonials strong {
  color: #24324D !important;
  background: #fff !important;
}

/* --- End of CSS --- */
