/* RESET & BASE ----------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FAF4;
  color: #20303d;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  line-height: 1.65;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style-position: inside;
  margin: 0 0 16px 0;
  padding: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* BRAND COLORS (Soft Pastel Palette)--------- */
:root {
  --brand-primary: #204053;
  --brand-secondary: #77B28C;
  --brand-accent: #F3F6EE;
  --pastel-blue: #AFD8EB;
  --pastel-green: #BEE6D4;
  --pastel-yellow: #FAF7DB;
  --pastel-pink: #F9E2E6;
  --pastel-purple: #E4E4FB;
  --text-base: #204053;
  --text-dark: #19343D;
  --text-light: #ffffff;
  --bg-main: #F7FAF4;
  --bg-section: #fff;
  --shadow-card: 0 4px 24px rgba(80, 147, 158, 0.08);
  --border-radius: 20px;
}

/* FONT IMPORTS ----------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
p {
  font-size: 1.13rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}
strong, b {
  color: var(--brand-primary);
}
em {
  color: var(--brand-secondary);
}

/* LAYOUT CONTAINERS & SPACING --------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  background: var(--bg-section);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(80, 147, 158, 0.14);
  transform: translateY(-4px) scale(1.025);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--pastel-yellow);
  color: var(--text-base);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card p {
  color: var(--text-base);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(122,180,140,0.18);
  background: var(--pastel-green);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 14px;
  background: var(--pastel-green);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* NAVIGATION STYLING ------------------------ */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-purple) 100%);
  box-shadow: 0 2px 12px 0 rgba(122,180,140,0.07);
  padding: 0 0 0 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
}
header a[href="/"] img {
  height: 44px;
  margin: 10px 14px 10px 18px;
}
header nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 1rem;
  background: transparent;
  border-radius: 8px;
  padding: 8px 14px;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-green);
  color: var(--brand-secondary);
  outline: none;
}
header .cta {
  background: linear-gradient(90deg, var(--pastel-pink) 0%, var(--pastel-yellow) 100%);
  color: var(--brand-primary);
  border-radius: 16px;
  padding: 11px 30px;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 7px 18px 7px 18px;
  box-shadow: 0 2px 10px 0 rgba(204, 172, 185, 0.09);
  transition: background .22s, color .18s, transform .18s;
  display: inline-block;
}
header .cta:hover, header .cta:focus {
  background: linear-gradient(90deg, var(--pastel-yellow) 0%, var(--pastel-pink) 100%);
  color: var(--brand-secondary);
  transform: scale(1.03);
}
.mobile-menu-toggle {
  display: none;
}

/* FOOTER ------------------------------------ */
footer {
  width: 100%;
  background: var(--bg-section);
  border-top: 2px solid #e8ecef;
  box-shadow: 0 -2px 12px 0 rgba(122,180,140,0.06);
  padding: 32px 8px 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  font-family: 'Montserrat', serif;
  font-weight: 500;
  color: var(--brand-secondary);
  transition: color .16s;
  font-size: 0.98rem;
  padding: 4px 8px;
  border-radius: 6px;
}
footer nav a:hover {
  color: var(--brand-primary);
  background: var(--pastel-blue);
}
.contact-footer {
  color: var(--brand-primary);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 4px;
}
footer .copyright {
  color: #b1c3c9;
  font-size: 0.88rem;
  text-align: center;
}

/* BUTTONS & CTAs ---------------------------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: linear-gradient(90deg, var(--brand-secondary) 0%, var(--pastel-blue) 80%);
  color: var(--brand-primary);
  padding: 13px 36px;
  border-radius: 18px;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .25s, color .18s, box-shadow .16s, transform .15s;
  box-shadow: 0 3px 14px 0 rgba(122,180,140,0.08);
  margin: 14px 0 0 0;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--brand-secondary) 80%);
  color: var(--brand-primary);
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 6px 28px 0 rgba(122,180,140,0.14);
  outline: none;
}

/* FORMS (if any, for completeness) ----------- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
input, textarea, select {
  border-radius: 10px;
  border: 1px solid #cbe6d9;
  padding: 11px 12px;
  background: #F9FEF9;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
  background: #E4FBF0;
}

/* ICONS in Features -------------------------- */
section ul img {
  margin-right: 10px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline;
}

/* HERO & SPECIAL SECTIONS ------------------- */
section:first-of-type {
  background: linear-gradient(102deg, var(--pastel-blue) 2%, var(--pastel-green) 96%);
  box-shadow: none;
  margin-bottom: 60px;
}
section:first-of-type h1 {
  color: var(--brand-primary);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  background: var(--bg-section);
}

/* FLEXBOX - ADHERENCE TO REQUIRED CLASSES ---- */
.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;
}

/* LISTS, FEATURES, TEXT SECTIONS ------------- */
.text-section {
  padding: 18px 0 8px 0;
  color: var(--brand-primary);
  font-size: 1.1rem;
}
.text-section ul, .text-section ol {
  margin: 0 0 12px 0;
  padding-left: 0;
}
.text-section li {
  color: var(--brand-secondary);
  padding-left: 12px;
  font-size: 0.98rem;
  position: relative;
}
.text-section li::before {
  content: '•';
  color: var(--pastel-purple);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
section ul {
  margin-bottom: 0;
}

/* ANIMATION & INTERACTION ------------------- */
.card, .testimonial-card, .feature-item {
  transition: box-shadow .18s, background .16s, transform .16s;
}
.card:hover, .feature-item:hover {
  transform: translateY(-2px) scale(1.012);
  background: var(--pastel-purple);
  box-shadow: 0 6px 24px rgba(122,180,140,0.13);
}

/* MOBILE MENU ------------------------------- */
.mobile-menu-toggle {
  display: inline-flex;
  background: transparent;
  color: var(--brand-primary);
  font-size: 2.1rem;
  border: none;
  align-items: center;
  justify-content: center;
  margin: 0 12px 0 0;
  cursor: pointer;
  z-index: 40;
  transition: background .16s, color .17s;
}
.mobile-menu-toggle:focus {
  background: var(--pastel-green);
  color: var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(113deg, var(--pastel-pink) 10%, var(--pastel-purple) 90%);
  box-shadow: 0 0 100px 0 rgba(80,147,158,0.13);
  z-index: 1111;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.56,0.06,0,1), opacity 0.27s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--brand-primary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 26px 0 0;
  cursor: pointer;
  transition: background .13s, color .12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--brand-secondary);
  background: var(--pastel-green);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.35rem;
  color: var(--brand-primary);
  padding: 12px 0;
  border-radius: 8px;
  width: 80vw;
  text-align: center;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-green);
  color: var(--brand-secondary);
}

/* ------ Media Queries & Responsiveness ------ */
@media (max-width: 1100px) {
  h1 {
    font-size: 2.15rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
}
@media (max-width: 920px) {
  header nav {
    gap: 13px;
  }
}
@media (max-width: 850px) {
  .testimonial-card, .card, .feature-item {
    padding: 14px 10px;
  }
  .container {
    padding: 0 3vw;
  }
  .section {
    padding: 26px 6px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2, h3 {
    font-size: 1.17rem;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .cta {
    display: none;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 8px;
  }
}
@media (max-width: 550px) {
  .section {
    padding: 14px 2vw 18px 2vw;
  }
  .container {
    padding: 0 2vw;
  }
}

/* ------ Cookie Consent Banner & Modal ------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: linear-gradient(100deg, var(--pastel-pink), var(--pastel-yellow));
  color: var(--brand-primary);
  box-shadow: 0 -4px 24px 0 rgba(122,180,140,.15);
  border-radius: 28px 28px 0 0;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 18px 20px;
  gap: 15px;
  animation: banner-slide-up .55s cubic-bezier(0.61,0,0.43,1);
}
@keyframes banner-slide-up { from { transform: translateY(100%); opacity: 0;} to { transform: none; opacity: 1;} }
.cookie-banner p {
  color: var(--brand-primary);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 10px;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-buttons button {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
  transition: background .17s, color .14s;
  background: var(--pastel-purple);
  color: var(--brand-primary);
  font-weight: 600;
}
.cookie-buttons button.accept {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-buttons button.accept:hover, .cookie-buttons button.accept:focus {
  background: var(--pastel-green);
  color: var(--brand-primary);
}
.cookie-buttons button.reject {
  background: var(--pastel-blue);
  color: var(--brand-primary);
}
.cookie-buttons button.reject:hover, .cookie-buttons button.reject:focus{
  background: var(--pastel-pink);
}
.cookie-buttons button.settings {
  background: var(--pastel-pink);
  color: var(--brand-primary);
}
.cookie-buttons button.settings:hover, .cookie-buttons button.settings:focus{
  background: var(--pastel-purple);
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left: 0; width: 100vw; height: 100vh;
  background: rgba(65,82,101,0.19);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinbg .25s;
}
@keyframes fadeinbg { from { opacity: 0;} to {opacity: 1;} }
.cookie-modal {
  background: linear-gradient(107deg, var(--pastel-green), var(--pastel-purple) 94%);
  border-radius: 20px;
  box-shadow: 0 8px 48px 0 rgba(80,147,158,.17);
  padding: 34px 22px 21px 22px;
  max-width: 96vw;
  min-width: 290px;
  max-height: 90vh;
  color: var(--brand-primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookie-pop .33s cubic-bezier(.62,0,.29,1);
}
@keyframes cookie-pop { from { transform: scale(0.9); opacity: 0.5;} to { transform: scale(1); opacity: 1;} }
.cookie-modal h2 { margin-bottom: 10px; font-size: 1.1rem; }
.cookie-modal .cookie-pref {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.cookie-modal .toggle {
  width: 34px;
  height: 20px;
  border-radius: 20px;
  background: #e4e4fb;
  position: relative;
  margin-left: 8px;
  transition: background .22s;
  flex-shrink: 0;
}
.cookie-modal .toggle input[type='checkbox']{
  opacity:0;
  width: 0;
  height:0;
}
.cookie-modal .toggle::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(122,180,140,.09);
  transition: left .19s, background .17s;
}
.cookie-modal .toggle.enabled {
  background: var(--pastel-green);
}
.cookie-modal .toggle.enabled::after {
  left: 15px;
  background: var(--brand-secondary);
}
.cookie-modal .toggle[aria-disabled="true"] {
  background: #cbe6d9;
  opacity: .6;
}
.cookie-modal .cookie-pref .category {
  font-weight: 600;
}
.cookie-modal .cookie-pref .desc {
  font-size: 0.93rem;
  color: #627d8c;
  margin-left: 5px;
  font-weight: 400;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 16px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 26px;
  font-size: 1rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--brand-secondary);
  color: #fff;
  transition: background .14s, color .01s;
}
.cookie-modal .cookie-modal-actions button:hover {
  background: var(--pastel-blue);
  color: var(--brand-primary);
}
.cookie-modal .cookie-modal-close {
  align-self: flex-end;
  background: transparent;
  color: var(--brand-primary);
  font-size: 1.6rem;
  border: none;
  margin-bottom: 14px;
  margin-top: -18px;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal .cookie-modal-close:focus,
.cookie-modal .cookie-modal-close:hover {
  color: var(--brand-secondary);
}

/* Z-INDEX MANAGEMENT ------------------------ */
header { z-index: 20; }
.mobile-menu { z-index: 1111; }
.cookie-banner { z-index: 1100; }
.cookie-modal-backdrop { z-index: 1300; }

/* OVERRIDES FOR HTML CLASSES ---------------- */
.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; }

/* ACCESSIBILITY & USABILITY ----------------- */
:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}
@media (max-width: 580px) {
  .cookie-banner {
    margin: 0 4px;
    padding: 24px 7px 12px 7px;
  }
}

/* End of CSS */
