/* === 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1; background: #FFF;
  color: #1a1a1a;
}
ol, ul {
  list-style: none;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img, svg { vertical-align: middle; max-width: 100%; height: auto; }
button, input, select, textarea {
  font: inherit; color: inherit; margin: 0;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; }

/* === BRAND COLORS & VARIABLES === */
:root {
  --primary: #35654D;
  --secondary: #BCC1B2;
  --accent: #EAE1CF;
  --background: #fff;
  --vibrant-green: #29D696;
  --vibrant-pink: #FF4181;
  --vibrant-yellow: #FFD400;
  --vibrant-blue: #24B0FF;
  --vibrant-orange: #FF9100;
  --body-font: 'Source Sans Pro', Arial, sans-serif;
  --display-font: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 4px 22px 0 rgba(44, 120, 67, 0.09);
  --transition: .23s cubic-bezier(.57,1.14,.64,.98);
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  background: var(--background);
  color: #232824;
  letter-spacing: 0.01em;
}

/* === TYPOGRAPHY === */
h1 {
  font-family: var(--display-font);
  font-size: 2.8rem; /* ≈ 44px */
  color: var(--primary);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 1px 1px 0 var(--vibrant-yellow), 0 2px 18px var(--vibrant-blue, #1ee9fa20);
}
h2 {
  font-family: var(--display-font);
  font-size: 2rem; /* ≈ 32px */
  color: var(--vibrant-pink);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
h3 {
  font-family: var(--display-font);
  font-size: 1.3rem; /* ≈ 21px */
  color: var(--vibrant-green);
  margin-bottom: 10px;
}
h4,
h5,
h6 {
  font-family: var(--display-font);
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1.1rem;
}
p {
  margin-bottom: 14px;
  color: #39423c;
  font-size: 1.08em;
  line-height: 1.7;
}
strong {
  color: var(--vibrant-orange);
  font-weight: 700;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
ul li {
  margin-bottom: 8px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 10px;
}
ol li {
  margin-bottom: 8px;
  font-size: 1em;
}

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}

.section {
  margin-bottom: 60px; /* required spacing */
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.section:not(:first-child) {
  margin-top: 24px;
}

.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: 24px 22px;
  flex: 1 1 250px;
  min-width: 270px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 32px rgba(41,214,150,0.13);
  transform: translateY(-8px) scale(1.012);
}

.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;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(44,101,77,0.18);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 600px;
  border-left: 6px solid var(--vibrant-pink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  border-color: var(--vibrant-green);
  box-shadow: 0 6px 18px rgba(255,65,129,0.09);
}
.testimonial-card p {
  font-size: 1.16rem;
  color: #274035;
  font-family: var(--display-font);
  font-weight: 600;
  margin-bottom: 0;
  margin-right: 16px;
  flex: 1 1 auto;
}
.testimonial-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 110px;
}
.testimonial-card span {
  color: var(--primary);
  font-family: var(--display-font);
  font-size: 1.1em;
  font-weight: bold;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 14px rgba(44,101,77,0.07);
  margin-bottom: 20px;
}

/* === HEADER & NAV === */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(44,101,77,0.06);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.025em;
  color: var(--primary);
  padding: 7px 11px;
  border-radius: 11px;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition);
}
nav a:hover,
nav a:focus {
  color: var(--vibrant-pink);
  background: var(--vibrant-yellow);
}
.cta-button {
  background: linear-gradient(90deg, var(--vibrant-pink) 60%, var(--vibrant-yellow));
  color: #fff !important;
  border: none;
  border-radius: 32px;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.11em;
  padding: 11px 32px;
  margin-left: 18px;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 11px rgba(41,214,150,0.12);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg, var(--vibrant-green), var(--vibrant-blue));
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(36,176,255,0.16);
  transform: scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  color: var(--vibrant-pink);
  border: none;
  cursor: pointer;
  margin-left: 18px;
  transition: color var(--transition), transform .21s;
}
.mobile-menu-toggle:active { transform: scale(1.17); }

/* === MOBILE NAVIGATION === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,101,77,.96);
  z-index: 2000;
  transition: transform var(--transition), opacity var(--transition);
  transform: translateX(120%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  padding: 8px 16px;
  background: var(--vibrant-pink);
  color: #fff;
  border: none;
  border-radius: 34px;
  font-size: 2.1em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255,65,129,0.13);
  transition: background var(--transition);
}
.mobile-menu-close:hover { background: var(--vibrant-yellow); color: var(--vibrant-pink); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: var(--display-font);
  color: #fff;
  background: none;
  font-size: 1.45em;
  width: 100%;
  display: block;
  padding: 16px 32px 16px 36px;
  border-radius: 0 18px 18px 0;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--vibrant-green);
  color: #222;
}

@media (max-width: 1024px) {
  nav {
    gap: 12px;
  }
}

@media (max-width: 850px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === FOOTER === */
footer {
  background: #222;
  color: #fff;
  padding: 0;
  border-top: 5px solid var(--primary);
}
footer .container {
  padding: 28px 18px 32px 18px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: var(--vibrant-yellow);
  font-size: 1em;
  font-family: var(--display-font);
  padding: 3px 0;
  border-radius: 0;
  transition: color var(--transition);
}
footer nav a:hover { color: var(--vibrant-pink); }
footer .social-links {
  display: flex;
  gap: 13px;
  margin-bottom: 8px;
}
.footer-contact {
  background: #181e16;
  border-radius: 13px;
  padding: 15px 22px;
  font-size: 0.99em;
  color: #d3efd6;
  margin-top: 6px;
}
.footer-contact a { color: var(--vibrant-green); text-decoration: underline; }

footer .logo img {
  height: 58px;
  width: auto;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}

/* === BUTTONS & INTERACTIVE === */
button,
.cta-button,
.mobile-menu-toggle,
.mobile-menu-close {
  outline: none;
  cursor: pointer;
}
button:active, .cta-button:active, .mobile-menu-toggle:active {
  transform: scale(.99);
}
button:focus-visible, .cta-button:focus-visible {
  box-shadow: 0 0 0 3px var(--vibrant-green);
}

/* === SPECIAL BLOCKS === */
.address-block {
  background: var(--accent);
  color: var(--primary);
  display: inline-block;
  border-radius: 11px;
  font-weight: 700;
  margin: 9px 0;
  padding: 9px 20px 10px 16px;
  box-shadow: 0 2px 8px rgba(233, 255, 38, .07);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details {
  background: #fff;
  border-radius: 10px;
  padding: 10px 17px;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(41,214,150,0.06);
  font-size: 1.01em;
}

/* === THANK YOU PAGE === */
.thankyou-message {
  padding: 24px 0 14px 0;
  background: none;
  font-size: 1.16em;
}
.next-steps-info ul {
  padding-left: 0;
}
.homepage-link .cta-button {
  margin-left: 0;
  margin-top: 8px;
  font-size: 1.02em;
}

/* === COOKIE BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 4000;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 26px rgba(44,101,77,0.14);
  padding: 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1em;
  font-family: var(--body-font);
  animation: bannerIn .5s var(--transition);
}
@keyframes bannerIn {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  border-radius: 32px;
  font-size: 1em;
  font-family: var(--display-font);
  font-weight: 600;
  padding: 7px 23px;
  border: none;
  outline: none;
  margin-left: 0;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(41,214,150,0.07);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .accept {
  background: var(--vibrant-green);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--vibrant-pink); color: #fff; }
.cookie-banner .reject {
  background: var(--vibrant-pink);
  color: #fff;
}
.cookie-banner .reject:hover { background: var(--vibrant-blue); color: #fff; }
.cookie-banner .settings {
  background: var(--vibrant-yellow);
  color: var(--primary);
}
.cookie-banner .settings:hover { background: var(--vibrant-orange);
  color: #fff; }

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed; z-index: 4400;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,101,77,0.5);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.35s;
}
@keyframes fadeIn {
  0% { background: rgba(44,101,77,0); }
  100% { background: rgba(44,101,77,0.5); }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 42px rgba(44,101,77,0.24);
  padding: 34px 30px 24px 30px;
  min-width: 345px; max-width: 98vw;
  color: var(--primary);
  animation: slideUp .38s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@keyframes slideUp {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--vibrant-pink);
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-family: var(--body-font);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.07em;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--vibrant-green);
  width: 20px; height: 20px;
  margin-right: 6px;
}
.cookie-category input[disabled] {
  accent-color: var(--vibrant-blue);
}
.cookie-modal-buttons {
  display: flex;
  gap: 11px;
  margin-top: 10px;
}
.cookie-modal button {
  border-radius: 22px;
  padding: 8px 21px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--display-font);
  font-size: 1.01em;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal button:hover {
  background: var(--vibrant-pink);
}

/* === RESPONSIVENESS: FLEX LAYOUTS === */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 0 0;
    gap: 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 23px 7px;
    border-radius: 14px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .feature-item {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  header .container {
    min-height: 64px;
    padding: 0 8px;
  }
  .footer-contact {
    border-radius: 8px;
    padding: 10px 10px;
    font-size: .98em;
  }
}

@media (max-width: 450px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .mobile-nav a { font-size: 1.11em; padding: 12px 14px 12px 20px; }
  .cookie-modal { padding: 19px 7px 17px 7px; min-width: 0; }
}

/* === MICRO INTERACTIONS & MISC === */
.section, .card, .feature-item, .testimonial-card, .footer-contact {
  box-shadow: var(--shadow);
  transition: box-shadow 0.21s;
}
.section:focus-within,
.section:hover {
  box-shadow: 0 8px 40px 0 rgba(41,214,150,0.12);
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 32px 0 rgba(255,145,0,0.12);
}

::-webkit-scrollbar {
  width: 10px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 22px;
}

/* === ACCESSIBILITY === */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--vibrant-yellow);
  outline-offset: 1px;
}

/* === ICON STYLING === */
img[alt^="icon-"] {
  height: 34px; width: 34px;
  margin-right: 10px;
}

/* === VISUAL HIERARCHY EXTRAS === */
hr {
  border: none;
  height: 2px;
  background: var(--vibrant-pink);
  width: 40px;
  margin: 13px 0 23px 0;
  border-radius: 8px;
}

/* === OVERLAY SHADOW FOR HEADER/MENU === */
.mobile-menu.open::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.07);
  z-index: -1;
}

/* === Z-INDEX GUARDRAILS === */
header { z-index: 99; }
.mobile-menu { z-index: 2000; }
.cookie-banner, .cookie-modal-backdrop { z-index: 4000; }

/* === SPECIAL PADDING FOR MOBILE COOKIE BANNER === */
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.97em;
    padding: 15px 6px 17px 10px;
  }
}

/* === FLEX UTILITY CLASSES (if needed) === */
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === END === */
