/* ====== CSS RESET & NORMALIZATION ====== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f0f7f4;
  color: #204138;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ====== BRAND COLORS AND ACCENTS ====== */
:root {
  --primary: #204138;
  --secondary: #6DAF85;
  --accent: #F0F7F4;
  --vibrant-orange: #ff6a24;
  --electric-yellow: #ffe600;
  --hot-pink: #ff2196;
  --electric-blue: #3ecfff;
  --gray-dark: #24302B;
  --shadow: 0 4px 18px rgba(32,65,56,0.10), 0 1.5px 4px rgba(40,180,80,0.13);
  --radius: 20px;
}

/* ====== BASE TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--primary);
}
h1 {
  font-size: 2.8rem; /* 45px on desktop */
  letter-spacing: -2px;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px #ffe60033;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 24px;
  margin-top: 0;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
p, li, blockquote {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--gray-dark);
}
p {
  margin-bottom: 18px;
}
blockquote {
  font-size: 1.07rem;
  font-style: italic;
  border-left: 5px solid var(--hot-pink);
  padding-left: 16px;
  margin-bottom: 10px;
  color: var(--primary);
}
.subheadline {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--electric-blue);
  margin-bottom: 16px;
  font-weight: 600;
}
strong {
  font-weight: 700;
  color: var(--vibrant-orange);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }
  h3 {
    font-size: 1.05rem;
  }
}

/* ====== CONTAINER & SECTIONS ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section {
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(120deg, #ffe60026 0%, #ff219626 100%);
  border: none;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: none;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 18px 7vw;
    margin-bottom: 20px;
  }
  .section {
    margin-bottom: 28px;
    padding: 20px 6px;
  }
}


/* ====== FLEX LAYOUTS AND GAPS ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 20px 16px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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;
}
@media (max-width: 768px) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 16px 8px;
  }
}

/* Testimonial card from requirements */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #f0f7f4;
  border-left: 8px solid var(--electric-blue);
  border-radius: var(--radius) 0 var(--radius) 0;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px #3ecfff22;
}
.testimonial-card blockquote {
  color: #204138;
  font-size: 1.17rem;
  line-height: 1.5;
  margin: 0;
}
.testimonial-card footer {
  color: var(--vibrant-orange);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 16px 10px;
  }
  .testimonial-card footer {
    font-size: 0.97rem;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: none;
}

/* ====== MAIN NAVIGATION & HEADER ====== */
header {
  width: 100vw;
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
}
.main-nav .logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 2px #6daf8590);
}
.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--primary);
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav ul li a:hover {
  color: var(--hot-pink);
}
.main-nav .cta-btn {
  margin-left: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  background: var(--vibrant-orange);
  color: #fff;
  padding: 12px 30px;
  border-radius: 100px;
  font-size: 1rem;
  box-shadow: 0 4px 16px #ff6a2430;
  transition: background 0.2s, transform 0.15s;
  border: 2px solid var(--vibrant-orange);
  outline: none;
  letter-spacing: 1px;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #ff2196;
  border-color: #ff2196;
  transform: translateY(-2px) scale(1.03);
}

/* ====== MOBILE NAV ====== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  background: var(--hot-pink);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 32;
  box-shadow: 0 1px 8px #ff219638;
  transition: background .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vibrant-orange);
  color: #fff;
}

@media (max-width: 880px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 50;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.9,-0.51,.5,1.82);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 2px 16px #3ecfff44;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: var(--hot-pink);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin: 18px 0 0 18px;
  align-items: center;
  justify-content: center;
  display: flex;
  box-shadow: 0 1px 10px #ff219638;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vibrant-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 54px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 12px 0 10px 0;
  border-bottom: 2px solid transparent;
  transition: color .17s, border-bottom .17s;
  min-width: 190px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--hot-pink);
  border-bottom: 2px solid var(--hot-pink);
}

/* Ensure scroll disables behind menu: to be handled in JS */

@media (max-width: 440px) {
  .mobile-nav {
    padding-left: 19px;
    gap: 20px;
  }
}

/* ====== FEATURE/STATS/GRID - HOMEPAGE ====== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 0 0;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 8px #6daf8534;
  padding: 18px 18px 16px 18px;
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
  border-left: 5px solid var(--vibrant-orange);
}
.feature-grid li:hover {
  box-shadow: 0 8px 24px #ff219636;
  transform: translateY(-2px) scale(1.04);
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 12px #3ecfff55);
}
@media (max-width: 850px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li {
    max-width: none;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* ====== SERVICE LIST ====== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 14px 0 0 0;
}
.service-list li {
  background: linear-gradient(105deg, #ff219626 0%, #ffe6000a 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 5px solid var(--electric-blue);
  transition: box-shadow 0.14s, transform 0.15s;
}
.service-list li:hover {
  box-shadow: 0 12px 36px #3ecfff38;
  transform: translateY(-4px) scale(1.025);
}
.service-list h3, .service-list h2 {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  margin-bottom: 0.3em;
  color: var(--primary);
}
.service-list .price {
  background: var(--electric-blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 8px;
  padding: 4px 13px 2px 13px;
  border-radius: 18px;
}
.service-list a {
  align-self: flex-start;
  background: var(--vibrant-orange);
  color: #fff;
  border-radius: 64px;
  padding: 9px 24px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  margin-top: 5px;
  font-size: 1rem;
  transition: background 0.17s, color 0.14s, box-shadow 0.17s, transform 0.11s;
  box-shadow: 0 4px 18px #ff6a2422;
}
.service-list a:hover, .service-list a:focus {
  background: var(--hot-pink);
  color: #fff;
  box-shadow: 0 7px 28px #ff219633;
  transform: scale(1.04);
}
@media (max-width: 850px) {
  .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .service-list li {
    max-width: 100%;
  }
}

/* ====== FOOTER ====== */
footer {
  background: var(--primary);
  color: #fff;
  width: 100vw;
  box-shadow: 0 -2px 10px #20413833;
  font-size: 1rem;
  padding-bottom: 0;
  letter-spacing: 0.2px;
  padding-top: 26px;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 1.01rem;
  padding: 0 0 14px 0;
}
.footer-info img {
  height: 40px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 8px;
}
.footer-nav a {
  color: #ffe600;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 1.5px 7px #f0f7f477;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--hot-pink);
}
@media (max-width: 750px) {
  .footer-info, .footer-nav {
    flex-direction: column;
    gap: 8px;
    font-size: 0.96rem;
    align-items: flex-start;
    padding: 0;
  }
  .footer-info img {
    margin-right: 0;
    margin-bottom: 6px;
  }
}

/* ====== LISTS & FAQ ====== */
main ul li, main ol li {
  margin-bottom: 14px;
  line-height: 1.5;
  padding-left: 0;
}
main ul li strong, main ol li strong {
  color: var(--vibrant-orange);
}
main ol {
  counter-reset: listcounter;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
main ol li {
  position: relative;
  padding-left: 32px;
  font-weight: 400;
  font-size: 1.07rem;
}
main ol li:before {
  counter-increment: listcounter;
  content: counter(listcounter) '.';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--hot-pink);
  font-weight: 700;
}

/* Blog article previews */
.content-wrapper ul li h3,
.content-wrapper ul li h3 a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  margin-bottom: 2px;
  transition: color .13s;
}
.content-wrapper ul li h3 a:hover {
  color: var(--electric-blue);
  text-decoration: underline;
}
.content-wrapper ul li p {
  margin-bottom: 10px;
}

/* ====== BUTTONS & LINK CTAS ====== */
.cta-btn {
  background: linear-gradient(90deg,var(--hot-pink),var(--vibrant-orange));
  color: #fff;
  border-radius: 100px;
  padding: 14px 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.17rem;
  border: none;
  box-shadow: 0 2px 18px #ff6a2442;
  margin-top: 12px;
  display: inline-block;
  text-shadow: 0 1px 7px #ff6a2420;
  letter-spacing: 1.2px;
  transition: background 0.19s, transform 0.17s, box-shadow .18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--vibrant-orange), var(--electric-blue));
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 32px #3ecfff44, 0 1.5px 8px #ff6a2440;
}

/* Ensure minimum spacing between cards/sections */
.card, .content-wrapper, .testimonial-card, .service-list li,
.feature-grid li, .section {
  margin-bottom: 20px;
}

/* ====== MICRO-INTERACTIONS ====== */
a, button, .cta-btn, .service-list a, .main-nav .cta-btn {
  transition: background 0.19s, color 0.19s, box-shadow 0.15s, border 0.17s, transform 0.13s;
}

/* Elevation on focus */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px;
}

/* ====== SPACING & FLEXBOX GAPS (IMPORTANT) ====== */
main section:not(:last-child) {
  margin-bottom: 60px;
}
main section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (max-width: 768px) {
  main section:not(:last-child) {
    margin-bottom: 32px;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #ffe600;
  color: #204138;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 20px 24px;
  box-shadow: 0 -4px 20px #ffe60033;
  border-top: 3px solid var(--hot-pink);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.33s, transform 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(140px);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 220px;
  font-size: 1.05rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 100px;
  font-size: 1rem;
  background: var(--vibrant-orange);
  color: #fff;
  border: none;
  margin-left: 0;
  transition: background 0.16s, color 0.15s, box-shadow 0.13s, transform .11s;
  box-shadow: 0 1.5px 10px #ff219626;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--hot-pink);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-banner .cookie-settings:hover {
  background: #204138;
  color: #ffe600;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 10px 18px 10px;
    font-size: 1rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 13px;
    width: 100%;
  }
  .cookie-banner .cookie-text {
    font-size: 0.99rem;
  }
}

/* ====== COOKIE MODAL (PREFERENCE) ====== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,65,56,.68);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  pointer-events: all;
  transition: opacity .36s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fff;
  padding: 38px 32px 32px 32px;
  border-radius: var(--radius);
  box-shadow: 0 10px 32px #3ecfff44, 0 2px 8px #20413824;
  width: 96vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.cookie-modal .modal-header {
  font-family: 'Montserrat',sans-serif;
  font-weight: 800;
  color: var(--hot-pink);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0 10px 0;
}
.cookie-modal .cookie-category .category-name {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 130px;
}
.cookie-modal .cookie-category .category-desc {
  flex: 1;
  font-size: 0.98rem;
}
.cookie-modal .cookie-category [type=checkbox] {
  accent-color: var(--electric-blue);
  width: 1.2em;
  height: 1.2em;
}
.cookie-modal .modal-footer {
  margin-top: 26px;
  display: flex;
  gap: 18px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal .modal-footer button {
  padding: 10px 30px;
  border-radius: 100px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--hot-pink);
  color: #fff;
  border: none;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal .modal-footer button.cancel {
  background: var(--electric-blue);
}
.cookie-modal .modal-footer button.cancel:hover {
  background: var(--gray-dark);
}
.cookie-modal .modal-footer button.save:hover, .cookie-modal .modal-footer button.save:focus {
  background: var(--vibrant-orange);
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: var(--electric-blue);
  color: #fff;
  font-size: 1.35rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  display: flex;
  border: none;
  transition: background .12s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--hot-pink);
}
@media (max-width: 540px) {
  .cookie-modal .modal-content {
    padding: 18px 7vw 20px 7vw;
    border-radius: 14px;
    gap: 20px;
  }

  .cookie-modal .cookie-category {
    gap: 9px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-modal .modal-footer {
    gap: 10px;
    flex-direction: column;
  }
}

/* ====== UTILITIES ====== */
.hide { display: none !important; }
.flex { display: flex; }
.align-center { align-items: center; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-30 { gap: 30px; }

::-webkit-scrollbar {
  width: 10px;
  background: #ffe60033;
}
::-webkit-scrollbar-thumb {
  background: var(--hot-pink);
  border-radius: 12px;
}

/* ====== PRINT OPTIMIZATION ====== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}

/* ====== ACCESSIBILITY FOCUS STATES ====== */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--electric-blue);
  outline-offset: 3px;
}

/* ====== END ======*/
