/* ----------------------------------------------
  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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  background-color: #F7F4F0;
  color: #29494C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; border-radius: 12px; }
a { color: #29494C; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #7ECC9C; outline: none; }
ul, ol { list-style: none; padding-left: 0; }

button, input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 100%;
  border: none;
  border-radius: 7px;
  background: none;
  outline: none;
  color: #29494C;
}
button { cursor: pointer; transition: box-shadow 0.2s, background 0.2s, color 0.2s; }

/* ----------------------------------------------
  Typography
-------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  color: #29494C;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.8rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 14px; }
h4 { font-size: 1.1rem; line-height: 1.2; margin-bottom: 8px; }
p, ul, ol, blockquote { font-size: 1rem; margin-bottom: 18px; line-height: 1.6; }
.subtitle { font-size: 1.25rem; color: #516466; font-family: 'Roboto', Arial, Helvetica, sans-serif; margin-bottom: 20px; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  background: #fffefc;
  border-left: 5px solid #FFD699;
  color: #29494C;
  margin-bottom: 12px;
  padding: 14px 20px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(41, 73, 76, 0.07);
}
cite {
  font-size: 0.98rem;
  color: #7ECC9C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  display: block;
  margin-top: 4px;
}

/* ----------------------------------------------
  Main Layout Containers
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ----------------------------------------------
  Section Spacing and Patterns
-------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(211, 167, 115, 0.11);
}

/* Space under last section */
section:last-of-type { margin-bottom: 0; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(41, 73, 76, 0.12);
  position: relative;
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(126, 204, 156, 0.17);
}
.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: #FFEFD1;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(247, 244, 240, 0.08);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 600px;
  color: #29494C;
  /* Ensure contrast */
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFBF2;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(41, 73, 76, 0.04);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}

/* ----------------------------------------------
  Lists and Features
-------------------------------------------------- */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 1rem;
  line-height: 1.55;
  color: #29494C;
}
ul li img {
  width: 28px; height: 28px; flex-shrink: 0; }

ul:last-child, ol:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------
  Header and Navigation
-------------------------------------------------- */
header {
  background: #FFF9F2;
  border-bottom: 2px solid #FFEDBD;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  height: 86px;
}
.desktop-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.desktop-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #29494C;
  font-weight: 500;
  transition: color 0.19s;
  position: relative;
  padding: 6px 2px;
  border-radius: 7px;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #7ECC9C;
  background: #FFF1DD;
}

.cta-button {
  display: inline-block;
  background: #7ECC9C;
  color: #29494C;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.08rem;
  font-weight: bold;
  padding: 11px 26px;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(126,204,156,0.13);
  border: none;
  transition: background 0.21s, color 0.21s, box-shadow 0.19s;
}
.cta-button:hover, .cta-button:focus {
  background: #29494C;
  color: #FFF9F2;
  box-shadow: 0 4px 32px rgba(41,73,76,0.13);
}

/* Hamburger Button */
.mobile-menu-toggle {
  background: #7ECC9C;
  color: #29494C;
  font-size: 2rem;
  padding: 7px 14px;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(126,204,156,0.10);
  display: none;
  border: none;
  margin-left: 12px;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #29494C;
  color: #fff;
  box-shadow: 0 4px 18px rgba(41,73,76,0.12);
}

/* ----------------------------------------------
  Mobile Navigation Overlay
-------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,73,76,0.83);
  z-index: 1102;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(0.62,0.52,0.14,0.98);
  will-change: transform;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 0 0 22px;
  background: #fff;
  color: #29494C;
  font-size: 1.7rem;
  border-radius: 9px;
  padding: 4px 12px;
  border: none;
  box-shadow: 0 2px 14px rgba(41,73,76,0.07);
  align-self: flex-start;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7ECC9C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 46px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  padding: 13px 0 13px 0;
  border-radius: 9px;
  width: calc(100vw - 100px);
  max-width: 350px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD699;
  color: #29494C;
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header .container { gap: 7px; }
  .desktop-nav {
    gap: 6px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    height: 72px;
    gap: 7px;
  }
}

/* ----------------------------------------------
  Main & Responsive Content
-------------------------------------------------- */
main {
  min-height: 60vh;
}

@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section, section {
    padding: 23px 5px;
    margin-bottom: 32px;
    border-radius: 13px;
  }
  h1 { font-size: 1.40rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1.02rem; }
  .subtitle { font-size: 1.03rem; }
  .content-grid, .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { padding: 12px 8px; gap: 8px; }
  .feature-item { padding: 10px 7px; gap: 8px; }
  .card { min-width: 180px; padding: 17px 10px; }
  .cta-button { width: 100%; text-align: center; font-size: 1rem; padding: 10px 0; }
}

/* Hide mobile menu by default */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ----------------------------------------------
  Footer
-------------------------------------------------- */
footer {
  background: #29494C;
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 34px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  box-shadow: 0 -2px 24px rgba(41,73,76,0.14);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  padding-bottom: 2px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7ECC9C;
  color: #29494C;
}
.contact-info {
  font-size: 0.96rem;
  color: #FFFBF2;
  margin-bottom: 7px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.contact-info a { color: #7ECC9C; text-decoration: underline; }
.copyrigh t { color: #FFD699; font-size: 0.93rem; margin-top: 24px; }

@media (max-width: 650px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  footer .container {
    gap: 10px;
    padding-bottom: 13px;
  }
}

/* ----------------------------------------------
  Forms and Inputs
-------------------------------------------------- */
input[type=text], input[type=email], textarea {
  width: 100%;
  border: 1.5px solid #7ECC9C;
  background: #FFFBF2;
  color: #29494C;
  font-size: 1rem;
  border-radius: 9px;
  padding: 11px 12px;
  margin-bottom: 17px;
  transition: border-color 0.19s, box-shadow 0.19s;
  outline: none;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #FFD699;
  box-shadow: 0 2px 8px rgba(126, 204, 156, 0.17);
}
::placeholder {
  color: #AACFC5;
  opacity: 1;
}

/* ----------------------------------------------
  Cookie Consent Banner
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff9e5;
  color: #29494C;
  box-shadow: 0 -2px 18px rgba(211,167,115,0.10);
  padding: 22px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 2002;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: slideInBanner 0.8s cubic-bezier(0.66, 0.1, 0.18, 1.05);
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { font-size: 1rem; color: #29494C; }
.cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 22px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border-radius: 17px;
  font-size: 1rem;
  font-weight: 500;
  background: #7ECC9C;
  color: #29494C;
  border: none;
  margin: 0 3px;
  box-shadow: 0 1px 6px rgba(126,204,156,0.11);
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
}
.cookie-btn.reject {
  background: #FFD699;
  color: #9B6831;
}
.cookie-btn.settings {
  background: #fff;
  color: #29494C;
  border: 1.4px solid #7ECC9C;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #29494C;
  color: #fff;
  box-shadow: 0 2px 12px rgba(41,73,76,0.14);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-55%) scale(0.97);
  background: #FFF9F2;
  color: #29494C;
  border-radius: 23px;
  box-shadow: 0 8px 64px rgba(41,73,76,0.27);
  padding: 32px 24px 28px 24px;
  max-width: 460px;
  width: 92vw;
  z-index: 2050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}
.cookie-modal.active {
  opacity: 1;
  visibility: visible;
  animation: fadeInCookieModal 0.32s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; transform: translate(-50%,-65%) scale(0.91); }
  to   { opacity: 1; transform: translate(-50%,-55%) scale(1); }
}
.cookie-modal h2 { font-size: 1.23rem; margin-bottom: 16px; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.cookie-toggle {
  min-width: 48px;
  height: 24px;
  border-radius: 12px;
  background: #FFD699;
  position: relative;
  margin-left: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.19s;
  flex-shrink: 0;
}
.cookie-toggle[aria-checked="true"] {
  background: #7ECC9C;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.19s;
  box-shadow: 0 2px 7px rgba(41,73,76,0.09);
}
.cookie-toggle[aria-checked="true"]:before {
  left: 25px;
}
.cookie-modal .cookie-btns {
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 0.99rem;
  padding: 10px 18px;
  margin-top: 12px;
}

@media (max-width: 520px) {
  .cookie-modal { padding: 18px 7px 18px 7px; border-radius: 15px; }
}

/* Block close on overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,73,76,0.40);
  z-index: 2049;
  display: none;
}
.cookie-modal.active ~ .cookie-modal-overlay {
  display: block;
}

/* ----------------------------------------------
  Utilities, Spacing, Micro-interactions
-------------------------------------------------- */
.gap-20 { gap: 20px !important; }
@media (max-width:500px) {
  .gap-20 { gap: 11px !important; }
}

/* Subtle hover effect for any card */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.22s, background 0.16s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(126,204,156,0.11);
  background: #FFF8E4;
}

/* ----------------------------------------------
  Accessibility: Focus Styles
-------------------------------------------------- */
:focus {
  outline: 2px solid #FFD699;
  outline-offset: 1.5px;
  transition: outline 0.13s;
}

/* ----------------------------------------------
  Custom Scrollbars for Modern Browsers
-------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px; background: #FFF9F2;
}
::-webkit-scrollbar-thumb {
  background: #7ECC9C; border-radius: 10px;
}

/* ----------------------------------------------
  Miscellaneous / Hide Elements
-------------------------------------------------- */
.hidden { display: none !important; }

/* END OF CSS */
