/* ===== CSS RESET & BASE STYLES ===== */
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 {
  min-height: 100vh;
  background: #F7F8FA;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1E2936;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #22787F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #143755;
}
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
}

/* ===== BRAND FONTS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #143755;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.125rem; margin-bottom: 10px; font-weight: 600; }
.subtitle {
  color: #48707F;
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }
  h4 { font-size: 1rem; }
}

/* ===== CONTAINER STRUCTURE ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text-section {
  margin-top: 24px;
  text-align: left;
  width: 100%;
}

/* ======= HEADER & NAVIGATION ======= */
header {
  background: #F1EADB;
  box-shadow: 0 2px 16px 0 rgba(140,181,216,0.06);
  position: relative;
  z-index: 20;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
nav > a img {
  height: 44px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav ul li {
  margin-bottom: 0;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 18px;
  color: #143755;
  transition: background 0.2s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #E1E7F5;
}
nav .btn-primary {
  margin-left: 20px;
  min-width: 160px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  color: #143755;
  cursor: pointer;
  z-index: 22;
}

/* ======== MOBILE NAVIGATION ======== */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 39;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(241,234,219, 0.98);
  transition: transform 0.33s cubic-bezier(.55,0,.1,1);
  transform: translateX(-100%);
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #143755;
  position: absolute;
  right: 28px;
  top: 28px;
  z-index: 41;
  cursor: pointer;
  padding: 0 5px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #22787F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #143755;
  padding: 12px 0 12px 4px;
  border-radius: 12px;
  font-weight: 500;
  background: none;
  transition: background 0.21s;
  width: 100%;
  display: flex;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E5F6F4;
}
@media (max-width: 960px) {
  nav ul, nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ======= COMMON BUTTON STYLES ======*/
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  padding: 11px 30px;
  border-radius: 32px;
  background: #E5F6F4;
  color: #143755;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  box-shadow: 0 1px 5px rgba(40,40,140,.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  margin-top: 14px;
  text-align: center;
  outline: none;
}
.btn-primary {
  background: #22787F;
  color: #fff;
  box-shadow: 0 3px 18px rgba(34,120,127,0.07);
}
.btn-primary:hover, .btn-primary:focus {
  background: #143755;
  color: #fff;
  box-shadow: 0 6px 30px rgba(20,55,85,0.12);
}
.btn:hover, .btn:focus {
  background: #F1EADB;
  color: #143755;
  box-shadow: 0 3px 14px rgba(20,55,85,0.11);
}

/* ========== MAIN SECTIONS LAYOUTS ========== */
.main, main {
  display: block;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 20px;
}
.hero {
  background: linear-gradient(135deg, #E1F4F8 0%, #F1EADB 100%);
  padding: 58px 0 38px 0;
}
.features {
  background: #F7F8FA;
}
.cta-section {
  background: linear-gradient(90deg, #fcf8ef 0%, #e5f6f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(220,160,200, 0.03);
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .section, .hero, .cta-section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .content-wrapper, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ====== CARDS & FLEX LAYOUTS ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 4px 22px 0 rgba(206,222,255,0.10);
  border-radius: 24px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 34px 0 rgba(34,120,127,0.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======== HERO SECTION ======== */
.hero .content-wrapper {
  max-width: 700px;
  align-items: flex-start;
  text-align: left;
  padding-top: 12px;
}
.hero h1 {
  color: #143755;
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.hero .subtitle {
  font-size: 1.13rem;
  margin-bottom: 20px;
  color: #22787F;
}
.hero .btn-primary {
  margin-top: 22px;
}

/* ======= FEATURES GRID (INDEX & SERVICES) ======= */
.features .feature-grid,
.services .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
  width: 100%;
}
.features .feature-grid li, .service-card {
  flex: 1 1 260px;
  min-width: 215px;
  max-width: 315px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(160,200,200,0.10);
  padding: 28px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
  border: 1px solid #F1EADB;
}
.features .feature-grid li:hover, .service-card:hover {
  box-shadow: 0 8px 30px 0 rgba(34,120,127,0.13);
  transform: translateY(-4px) scale(1.012);
}
.features .feature-grid img, .service-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

/* ====== PROCESS STEPS (INDEX) ====== */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: center;
  margin-top: 26px;
}
.process-steps li {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(224,214,246,0.10);
  padding: 28px 22px 18px 22px;
  min-width: 215px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #E5F6F4;
}
.process-steps img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

/* ====== TESTIMONIALS & REVIEWS ====== */
.testimonials {
  background: linear-gradient(135deg, #e5f6f4 0%, #fcf8ef 96%);
  border-radius: 16px;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(140, 181, 216, 0.10);
  min-width: 250px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(34,120,127,0.14);
  transform: translateY(-3px);
}
.testimonial-card p {
  color: #143755;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-name {
  color: #22787F;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}


.reviews-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  margin-top: 26px;
}
.reviews-section ul li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(190, 210, 216, 0.09);
  padding: 28px 24px 18px 24px;
  flex: 1 1 260px;
  min-width: 215px;
  max-width: 350px;
  margin-bottom: 20px;
}
.star-rating {
  font-size: 1.25rem;
  color: #FFD166;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* ====== BLOG LIST ====== */
.blog-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  width: 100%;
  justify-content: flex-start;
}
.blog-list-grid article {
  flex: 1 1 295px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(200,210,210,0.07);
  padding: 24px 20px 22px 20px;
  min-width: 220px;
  max-width: 380px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.16s;
}
.blog-list-grid article:hover {
  box-shadow: 0 8px 28px rgba(34, 120, 127, 0.12);
  transform: scale(1.018);
}
.blog-list-grid .btn {
  margin-top: 18px;
}

/* ====== PRICING TABLE ====== */
.price-table {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(180,200,200,0.08);
}
.price-table th, .price-table td {
  font-size: 1rem;
  padding: 16px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: left;
}
.price-table th {
  background: #E1F4F8;
  color: #143755;
}
.price-table tr {
  border-bottom: 1px solid #f1eadb;
}
.price-table tr:last-child {
  border-bottom: none;
}
.price-table td {
  background: #fff;
  color: #1E2936;
}
@media (max-width: 600px) {
  .price-table, .price-table th, .price-table td {
    font-size: .95rem;
    padding: 9px 5px;
  }
}

/* ======= FAQ SECTION ======= */
.faq-section .faq-item {
  background: #fff;
  border-radius: 13px;
  padding: 22px 20px;
  box-shadow: 0 1px 10px rgba(140,181,216,0.08);
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.faq-section .faq-item:hover {
  box-shadow: 0 6px 16px rgba(34,120,127,0.08);
}
.faq-section .faq-item h3 {
  margin-bottom: 12px;
  color: #22787F;
  font-size: 1rem;
}

/* ====== LEGAL, CHECKLIST, THANK-YOU, TEXT SECTIONS ====== */
.legal-section, .about-section, .team-section, .vision-section, .checklist-section, .thank-you-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(220,210,245,0.08);
}
.legal-section .text-section ul, .checklist-section ul,
.about-section .text-section ul, .thank-you-section ul {
  margin-top: 14px;
  margin-left: 20px;
  margin-bottom: 16px;
  padding-left: 16px;
  list-style: disc inside;
}
.legal-section .text-section ul li, .checklist-section ul li,
.about-section .text-section ul li, .thank-you-section ul li {
  font-size: 1rem;
  margin-bottom: 9px;
  color: #204465;
}

/* ====== NEWSLETTER ====== */
.newsletter-section {
  background: linear-gradient(135deg, #fff8f2 0%, #e5f6f4 100%);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(220,210,200,0.07);
}
.newsletter-section .btn {
  min-width: 180px;
}

/* ====== FOOTER ====== */
footer {
  margin-top: 40px;
  background: #F1EADB;
  border-top: 1px solid #f5e6c2;
  padding: 36px 0 20px 0;
  color: #386177;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
footer ul li a {
  color: #22787F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.19s;
}
footer ul li a:hover {
  color: #143755;
  text-decoration: underline;
}
footer p {
  color: #97adc2;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .features .feature-grid,
  .service-cards, .process-steps, .blog-list-grid, .testimonials-list, .reviews-section ul {
    flex-direction: column;
    gap: 18px;
  }
  footer ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ======== COOKIE CONSENT BANNER ======== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) scale(1);
  width: calc(100vw - 36px);
  max-width: 390px;
  background: #fff;
  color: #143755;
  font-size: 1rem;
  box-shadow: 0 6px 32px rgba(44,77,158,0.14);
  border-radius: 18px;
  padding: 24px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  z-index: 51;
  animation: fadein-banner 0.27s cubic-bezier(.89,.04,.48,1.51);
}
@keyframes fadein-banner {from { opacity: 0; transform: translateX(-50%) scale(.85);} to { opacity: 1; transform: translateX(-50%) scale(1);}}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner .btn {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 24px;
  font-weight: 600;
  box-shadow: none;
}
.cookie-banner .btn-primary {
  background: #22787F;
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: #F1EADB;
  color: #143755;
  border: 1px solid #e5f6f4;
}
.cookie-banner .btn-settings {
  background: #e5f6f4;
  color: #22787F;
  border: 1px solid #e5f6f4;
}
.cookie-banner .btn-primary:hover,
.cookie-banner .btn-primary:focus {
  background: #143755;
  color: #fff;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-settings:hover{
  background: #fff8f2;
  color: #22787F;
}

/* ====== COOKIE MODAL =====*/
.cookie-modal-overlay {
  position: fixed;
  left: 0;top: 0;right: 0;bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 55, 85, 0.20);
  z-index: 85;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 64px rgba(44, 77, 158, 0.17);
  max-width: 420px;
  width: 96vw;
  padding: 30px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  animation: fadein-modal 0.23s cubic-bezier(.89,.04,.48,1.3);
}
@keyframes fadein-modal {from{opacity:0;transform:scale(.94);}to{opacity:1;transform:scale(1);}}
.cookie-modal h3 {
  color: #22787F;
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  background: #f7f8fa;
  border-radius: 10px;
  padding: 8px 12px;
}
.cookie-category-label {
  font-weight: 500;
  color: #143755;
  font-size: 1rem;
}
.cookie-category-toggle {
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #e5f6f4;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.17s;
  outline: none;
}
.cookie-category-toggle.on {
  background: #22787F;
}
.cookie-category-toggle .toggle-knob {
  width: 18px;height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px;
  left: 2px;
  transition: left 0.2s;
}
.cookie-category-toggle.on .toggle-knob {
  left: 18px;
  background: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .btn-primary {
  padding: 8px 22px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;top: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #22787F;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #143755;
}
@media (max-width: 430px) {
  .cookie-banner {
    padding: 14px 8px 12px 8px;
    font-size: .95rem;
    max-width: 97vw;
  }
  .cookie-modal {
    padding: 18px 7px 14px 7px;
  }
}

/* ======== RESPONSIVE FONT, SPACING ======== */
@media (max-width: 600px) {
  body { font-size: .98rem; }
  .card, .card-content, .testimonial-card,
  .blog-list-grid article, .features .feature-grid li, .service-card {
    padding: 18px 11px 13px 11px;
  }
}

/* ====== UTILITIES ====== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.center { text-align: center; }
.rounded {
  border-radius: 15px !important;
}
.shadow-soft {
  box-shadow: 0 4px 18px rgba(204,215,245,0.11) !important;
}

/* Hide visually but keep accessible for toggles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/*  Smooth fade for main sections */
main > section, .section {
  opacity: 0;
  animation: fadein-section 0.7s cubic-bezier(.49,.09,.38,1.01) 0.05s forwards;
}
@keyframes fadein-section {from { opacity:.32; } to { opacity:1; } }

/* ========== END OF CSS ========== */
