/* =====================
   CSS RESET & BASE
======================= */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #153353;
  background-color: #F0F6FB;
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: #17A398;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EF5181;
  outline: none;
}
strong {
  font-weight: 700;
}
footer p {
  color: white;
}

/* ===========================
   BRAND FONTS & TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #153353;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.18; }
h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.22; }
h4 { font-size: 1.12rem; margin-bottom: 10px; }
p {
  margin-bottom: 16px;
  color: #2C4763;
  font-size: 1rem;
}

/* ===============
   LAYOUT & GRID
================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 20px 0 rgba(21,51,83,.08);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul,
.text-section ol {
  margin-top: 6px;
  margin-bottom: 16px;
  padding-left: 18px;
}
.text-section li {
  padding-left: 0;
  margin-bottom: 10px;
  list-style-position: inside;
}

/* FLEX PATTERNS */
.card-container,
.service-cards,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card,
.service-card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(23,163,152,0.10), 0 2px 6px 0 rgba(21,51,83,0.012);
  position: relative;
  padding: 28px 22px 22px 22px;
  flex: 1 1 280px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.24s, transform 0.2s;
  border: 2px solid transparent;
}
.card:hover, .service-card:hover {
  box-shadow: 0 8px 32px 0 rgba(239, 81, 129, 0.13), 0 4px 20px 0 rgba(23,163,152,0.10);
  border-color: #17A398;
  transform: translateY(-4px) scale(1.016);
  z-index: 3;
}
.service-card h3 { color: #17A398; font-size: 1.16rem; margin-bottom: 7px; }
.service-card .price {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 1.08rem;
  color: #EF5181;
  background: #F0F6FB;
  border-radius: 8px;
  padding: 4px 12px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #F0F6FB;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(21,51,83,0.05);
  color: #153353;
  font-size: 1.05rem;
  max-width: 650px;
}
.testimonial-card p {
  flex: 1 1 0;
  color: #153353;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span { font-weight: 600; color: #153353; opacity: .85; margin-left: 18px; }

.faq {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(23,163,152,0.10);
  padding: 18px 20px;
  transition: box-shadow 0.18s;
}
.faq-item h3 { font-size: 1.16rem; color: #EF5181; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }

/* =======================
   HEADER/NAVIGATION
======================= */
header {
  width: 100%;
  background: #17A398;
  box-shadow: 0 2px 8px 0 rgba(21,51,83,.072);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
header ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin: 0 0 0 14px;
}
header ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: #fff;
  transition: color 0.22s;
  position: relative;
  padding: 5px 0;
}
header ul li a:hover, header ul li a:focus {
  color: #EF5181;
}
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #EF5181;
  color: #fff;
  border: none;
  padding: 12px 34px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 40px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 4px 18px 0 rgba(239,81,129,0.10);
  transition: background 0.18s, box-shadow 0.2s, color 0.18s, transform 0.22s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #17A398;
  color: #fff;
  box-shadow: 0 8px 26px 0 rgba(23,163,152,0.13);
  transform: translateY(-2px) scale(1.028);
  outline: none;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #EF5181;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 10px;
  padding: 7px 20px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 1201;
  transition: background 0.2s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #17A398;
}

@media (max-width: 1024px) {
  header nav {
    gap: 16px;
  }
  header ul {
    gap: 19px;
    margin-left: 7px;
  }
  .btn-primary { padding: 11px 20px; font-size: 1rem; }
}
@media (max-width: 900px) {
  header nav { padding: 10px 6px; }
  .btn-primary { margin-left: 7px; }
}

/* ========================
   MOBILE NAVIGATION MENU
========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #153353;
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.32s cubic-bezier(0.80,0,.2,1.12);
  transform: translateX(0);
  box-shadow: -7px 0 28px 0 rgba(23,163,152,0.12);
  opacity: 0.98;
}
.mobile-menu.active {
  left: 0;
  transform: translateX(-100vw);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 28px;
  right: 26px;
  z-index: 1203;
  padding: 4px 12px;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #17A398;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 80px;
  margin-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  padding: 12px 0;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
  min-width: 180px;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #EF5181;
  border-bottom: 2px solid #EF5181;
}
@media (max-width: 900px) {
  header ul, header .btn-primary { display: none !important; }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* ===================
   MAIN & SECTIONS
=================== */
main {
  flex: 1 1 0;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 24px 0 rgba(21,51,83,.08);
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 28px 7px;
    border-radius: 13px;
  }
}

/* HERO (inheriting section styles) */
section:first-of-type {
  background: linear-gradient(95deg, #17A398 0%, #EF5181 100%);
  color: #fff;
  box-shadow: 0 14px 40px 0 rgba(21,51,83,.08);
  position: relative;
}
section:first-of-type h1,
section:first-of-type h2,
section:first-of-type p,
section:first-of-type a, 
section:first-of-type span {
  color: #fff;
}
section:first-of-type .btn-primary {
  background: #fff;
  color: #17A398;
  box-shadow: 0 4px 16px 0 rgba(255,255,255,0.13);
}
section:first-of-type .btn-primary:hover {
  background: #EF5181;
  color: #fff;
}

/* FEATURES (accordion bullet-like icons) */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.04rem;
  color: #153353;
  padding: 13px 19px 13px 0;
  border-radius: 11px;
  background: #F0F6FB;
  box-shadow: 0 2px 8px 0 rgba(21,51,83,0.04);
  font-weight: 500;
  margin-bottom: 0;
}
.content-wrapper ul li img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* CARD GRIDS/Services */
.service-cards, .service-list {
  gap: 24px;
  margin-top: 10px;
  width: 100%;
}
@media (max-width: 768px) {
  .service-cards, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .card, .service-card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card { max-width: unset; }
}

/* FAQ Section */
.faq { margin-top: 10px; }

/* CTA Section Styles */
section:last-of-type {
  background: linear-gradient(92deg, #17A398 25%, #EF5181 76%);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 24px 0 rgba(21,51,83,.08);
}
section:last-of-type h2 { color: #fff; }
section:last-of-type .btn-primary {
  background: #fff;
  color: #EF5181;
  border: 3px solid #fff;
  font-size: 1.16rem;
}
section:last-of-type .btn-primary:hover {
  background: #17A398;
  color: #fff;
}

/* =====================
   FOOTER STYLE
===================== */
footer {
  background: #153353;
  color: #fff;
  padding: 28px 0 18px 0;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
footer nav a {
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0 3px;
  transition: color 0.17s;
  padding: 4px 7px;
}
footer nav a:hover, footer nav a:focus {
  color: #17A398;
}
.footer-contact {
  text-align: center;
  font-size: 0.97rem;
  opacity: .92;
  color: #fff;
  margin-top: 3px;
}

/* ========================
   COOKIE CONSENT BANNER
======================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #17A398;
  box-shadow: 0 -8px 26px 0 rgba(21,51,83,0.09);
  z-index: 1230;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 24px;
  animation: cookie-in 0.45s cubic-bezier(.71,-0.01,.55,1.46);
  font-size: 1rem;
}
@keyframes cookie-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-consent-message {
  color: #153353;
  max-width: 670px;
}
.cookie-consent-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
.cookie-btn.accept { background: #17A398; color: #fff; }
.cookie-btn.reject { background: #EF5181; color: #fff; }
.cookie-btn.settings { background: #fff; color: #17A398; border: 2px solid #17A398; }
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #129b8c; }
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #B90E4A; }
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: #17A398; color: #fff; }

.cookie-settings-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  min-width: 24vw;
  max-width: 96vw;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 10px 40px 0 rgba(21,51,83,0.12);
  padding: 38px 26px 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1232;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.24s;
}
.cookie-settings-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1.0);
}
.cookie-settings-modal h2 {
  font-size: 1.4rem;
  color: #17A398;
  margin-bottom: 18px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.cookie-settings-category {
  display: flex;
  align-items: center;
  gap: 22px;
}
.cookie-settings-category label {
  color: #153353;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #ddd;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #17A398;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 23px;
}
.cookie-settings-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.cookie-settings-close {
  background: #EF5181;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  border-radius: 11px;
  padding: 8px 16px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 15px 4px 10px 10px;
    gap: 18px;
    font-size: 0.97rem;
  }
  .cookie-btn { padding: 8px 16px; font-size: 0.98rem; }
}

/* ================
   ANIMATIONS
================== */
.btn-primary, .card, .service-card, .testimonial-card, .faq-item, .cookie-btn, .cookie-settings-modal {
  transition: box-shadow 0.18s, transform 0.2s, background 0.15s, border 0.14s, color 0.14s;
}

.card:active, .service-card:active {
  transform: scale(0.987) translateY(3px);
  box-shadow: 0 2px 7px 0 rgba(21, 51, 83, 0.08);
}

/* ====================
   SPACING & FLEX GAP
====================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =======================
   RESPONSIVE DESIGN
======================= */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .container { padding: 0 7px; }
  header nav { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 4px; }
  .content-wrapper, .text-section { gap: 14px; }
  .content-wrapper ul, .text-section ul { gap: 12px; }
  .section { margin-bottom: 32px; padding: 20px 5px; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.01rem;
    padding: 16px;
    border-radius: 13px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 14px;
    align-items: flex-start;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .service-card, .card { padding: 14px 9px 10px 11px; }
  .service-card .price { font-size: 1rem; }
}
@media (max-width: 500px) {
  .footer-contact { font-size: 0.85rem; }
  .service-card, .card { min-width: 0; font-size: 0.98rem; }
  .btn-primary, .cookie-btn { font-size: 0.95rem; }
}

/* ================================
   VIBRANT & ENERGETIC ACCENTS
================================= */
::-webkit-scrollbar { width: 10px; background: #F0F6FB; }
::-webkit-scrollbar-thumb { background: #17A398; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #EF5181; }

/* Bold/Accent headings & backgrounds */
h2, .testimonial-card strong { color: #17A398; }
h2:not(:first-child) { border-left: 7px solid #EF5181; padding-left: 12px; }
@media (max-width: 768px) { h2:not(:first-child) { border-width: 4px; padding-left: 9px; } }

.btn-primary, .cookie-btn.accept { box-shadow: 0 4px 16px 0 rgba(239,81,129,0.10); }

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

/* ===========================
   Z-INDEX MANAGEMENT
=========================== */
header, .mobile-menu, .cookie-consent-banner, .cookie-settings-modal { z-index: 1200; }

/* ====================
    ACCESSIBILITY
===================== */
:focus {outline: 2px solid #EF5181; outline-offset: 2px;}
