/* =====================================================
  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;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.52;
  font-size: 16px;
  background: #F5F3F0;
  color: #24513D;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: #24513D;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #557B54;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 10px;
  text-align: left;
}
::-webkit-scrollbar { width: 10px; background: #e6efe3; }
::-webkit-scrollbar-thumb { background: #557B54; border-radius: 8px; }

/* =====================================================
  Fonts
  (Use Google Fonts import in HTML as fallback necessary)
===================================================== */
h1, h2, h3, .display, .hero h1 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 700;
}

h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 8px; }
p, li { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; margin-bottom: 8px; }
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* Playful Dynamic Headings Enhancement */
h1, h2 {
  color: #24513D;
  text-shadow: 0 2px 8px rgba(242, 214, 87, 0.12);
  letter-spacing: 0.01em;
}

h3 {
  color: #27839B;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Cormorant Garamond', 'Georgia', cursive, serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(81, 186, 84, 0.11);
}

/* =====================================================
  Layout Containers
===================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 22px 0 16px 0;
    margin-bottom: 23px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* =====================================================
  Flex Containers and Spacing Patterns
===================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(69,201,186,0.14);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s, box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(87,174,181,0.17);
  transform: translateY(-4px) scale(1.025) rotate(-2deg);
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fdfaf4;
  border-radius: 25px;
  box-shadow: 0 2px 14px 0 rgba(69,189,156,0.14);
  margin-bottom: 28px;
  border: 2px dashed #f2d657;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(81,186,84,0.19);
  transform: scale(1.02) skew(-1deg, 1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Cards & Features Responsive Collapse */
@media (max-width: 820px) {
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* =====================================================
  Header & Navigation
===================================================== */
header {
  background: #24513D;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(81,186,84,0.08);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 20px;
  min-height: 80px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #f5f3f0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #F2D657;
  color: #24513D;
  text-decoration: none;
}
header img {
  height: 47px;
  width: auto;
}
.cta-button {
  background: #F2D657;
  color: #24513D;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Roboto', cursive, sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px 26px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 10px rgba(87, 212, 103, 0.14);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.13s;
  outline: none;
  margin-left: 8px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.cta-button::after {
  content: '';
  position: absolute;
  left: 10%;
  top: 90%;
  width: 65%;
  height: 7px;
  background: rgba(69,189,156,0.15);
  border-radius: 60%;
  transition: top 0.15s ease;
}
.cta-button:hover, .cta-button:focus {
  background: #51BA54;
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(1deg);
}
.cta-button:hover::after, .cta-button:focus::after {
  top: 80%;
}

/* Burger Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: #F2D657;
  color: #24513D;
  border: none;
  padding: 12px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(81,186,84,0.11);
  cursor: pointer;
  margin-left: auto;
  z-index: 110;
}
@media (max-width: 1020px) {
  header .container nav, header .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #24513D;
  color: #fff;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.26s cubic-bezier(.28,1.35,.63,1), transform 0.42s cubic-bezier(.28,1.35,.63,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F2D657;
  color: #24513D;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 11px 20px 7px 15px;
  margin: 32px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(242, 214, 87, 0.13);
  z-index: 202;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ffce53;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 90vw;
  padding: 38px 22px 0 32px;
  margin-top: 15vh;
}
.mobile-nav a {
  color: #f5f3f0;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Roboto', cursive, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  background: none;
  border-radius: 18px;
  padding: 14px 10px 14px 18px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F2D657;
  color: #24513D;
}

/* =====================================================
  Hero Section
===================================================== */
.hero {
  width: 100%;
  min-height: 270px;
  background: #f7f0e5;
  border-radius: 0 0 60px 60px;
  margin-bottom: 30px;
  box-shadow: 0 3px 16px 0 rgba(81,186,84,0.07);
  display: flex;
  align-items: center;
  animation: dropfade 1.1s .1s cubic-bezier(.62,1.6,.19,.92) backwards;
}
.hero .container {
  min-height: 200px;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.hero h1 {
  color: #24513D;
  margin-bottom: 8px;
  animation: pop 0.9s cubic-bezier(.45,1.93,.64,1.21) both;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
@keyframes dropfade {
  0% { opacity:0; transform: translateY(-60px) scaleY(0.86); }
  100%{ opacity:1; transform: translateY(0) scaleY(1); }
}
@keyframes pop {
  from { opacity:0; transform: scale(0.7) rotate(-6deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* =====================================================
  Feature Grid
===================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
}
.feature {
  background: #f7fff6;
  border-radius: 18px;
  border: 2.5px dotted #51BA54;
  box-shadow: 0 2px 11px rgba(92,247,98,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 22px 18px 18px;
  gap: 8px;
  width: 270px;
  min-width: 210px;
  min-height: 182px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, background 0.22s, transform 0.10s;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 3px 5px #e8f99e33);
}
.feature:hover {
  background: #fff6c0;
  box-shadow: 0 7px 22px 0 rgba(81,186,84,0.16);
  transform: scale(1.03) rotate(2deg);
  z-index: 3;
}
@media (max-width: 940px) {
  .feature {
    width: 100%;
    min-width: 0;
    margin-right: 0;
  }
}
@media (max-width: 650px) {
  .feature-grid {
    gap: 16px;
  }
}

/* =====================================================
  Cards (Reusable)
===================================================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* =====================================================
  Testimonial Styles
===================================================== */
.testimonial-card {
  font-size: 1.07rem;
  background: #fff;
  color: #1a3126;
  border: 2px dashed #51BA54;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(63,177,101,0.12);
  margin-bottom: 20px;
  padding: 30px 22px 18px 22px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.testimonial-card strong {
  color: #27839B;
  font-size: 1.16rem;
}
.testimonial-card .rating {
  color: #F2D657;
  font-size: 1.45rem;
  letter-spacing: 3px;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Roboto', cursive, sans-serif;
  margin-top: 2px;
}
/* Ensuring good contrast for testimonials */
.testimonial-card p, .testimonial-card strong, .testimonial-card .rating {
  color: #18271F;
}
/* Visual playful flourish for testimonials */
.testimonial-card:before {
  content: '“';
  font-size: 3.6rem;
  color: #F2D657; 
  font-family: 'Comic Sans MS', 'Comic Sans', sans-serif;
  position: absolute;
  left: 18px; top: 8px;
  opacity: 0.16;
}

/* =====================================================
  Table Styles (Pricing)
===================================================== */
table {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(81,186,84,0.08);
}
thead {
  background: #557B54;
  color: #fff;
}
th {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
td {
  font-size: 1rem;
  color: #24513D;
}
tr:nth-child(even) td {
  background: #f7f0e5;
}

/* =====================================================
  Lists, Text Blocks
===================================================== */
ul, .text-section ul {
  list-style: disc inside;
  margin-bottom: 12px;
  margin-left: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section a {
  color: #27839B;
  text-decoration: underline;
}
.text-section a:hover,
.text-section a:focus {
  color: #51BA54;
}

/* =====================================================
  Footer
===================================================== */
footer {
  background: #24513D;
  color: #fff;
  box-shadow: 0 -2px 20px 0 rgba(81,186,84,0.07);
  border-radius: 45px 45px 0 0;
  margin-top: 40px;
  padding-top: 32px;
  padding-bottom: 16px;
}
footer .container {
  align-items: center;
  justify-content: center;
  gap: 16px;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
footer nav {
  display: flex;
  gap: 18px;
  margin: 14px 0;
}
footer nav a {
  color: #f5f3f0;
  font-size: 1rem;
  border-radius: 11px;
  padding: 6px 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: none;
  transition: background 0.17s, color 0.14s;
}
footer nav a:focus, footer nav a:hover {
  background: #F2D657;
  color: #24513D;
}
footer img {
  width: 43px;
  margin-bottom: 8px;
}
footer p, footer strong {
  color: #fff;
  font-size: 0.99rem;
}

@media (max-width: 770px) {
  footer .container {
    gap: 10px;
    padding: 0 6px;
  }
  .section, footer, header {
    border-radius: 16px;
  }
}

/* =====================================================
  FAQ Section Animation
===================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.faq-list > div {
  background: #f5f3f0;
  border-radius: 12px;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 2px 13px rgba(93,201,113,0.07);
  border: 2px solid #e7ffe7;
  transition: box-shadow 0.17s, border 0.19s;
}
.faq-list > div:hover {
  box-shadow: 0 6px 18px rgba(87,174,81,0.10);
  border-color: #F2D657;
}

/* =====================================================
  Cookie Consent Banner & Modal
===================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #51BA54;
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(69,189,156,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 32px;
  z-index: 900;
  font-size: 1rem;
  animation: bannerpop 0.5s cubic-bezier(.21,1.54,.47,1.11);
}
@keyframes bannerpop {
  0%{ opacity:0; transform: translateY(100%); }
  76%{ opacity:1; transform: translateY(-8px) scaleY(1.08); }
  100%{ opacity:1; transform: translateY(0); }
}
.cookie-banner-text {
  flex: 2 2 400px;
  color: #fff;
}
.cookie-banner-actions {
  flex: 1 1 250px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cookie-settings {
  padding: 11px 20px;
  border-radius: 18px;
  border: none;
  font-weight: 600;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
  margin: 0 2px;
  background: #fff;
  color: #24513D;
  box-shadow: 0 2px 9px rgba(42,114,61,0.11);
  transition: background 0.19s, color .18s, transform 0.11s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F2D657;
  color: #24513D;
  transform: scale(1.08);
}
.cookie-settings {
  background: #27839b;
  color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fff;
  color: #27839b;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 19px 2vw 12px 2vw;
    font-size: 0.96rem;
  }
  .cookie-banner-actions {
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
  }
}
/* Cookie modal overlay */
.cookie-modal-backdrop {
  position:fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(36,81,61,0.37);
  opacity:1;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.20s;
}
@keyframes fadein{from{ opacity:0; } to{ opacity:1; } }
.cookie-modal {
  background: #fff;
  color: #24513D;
  border-radius: 30px;
  box-shadow: 0 7px 38px 0 rgba(81,186,84,0.19);
  padding: 44px 32px 32px 32px;
  min-width: 320px;
  max-width: 97vw;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1002;
  animation: popupshow 0.38s cubic-bezier(.32,1.85,.28,1);
  position: relative;
}
@keyframes popupshow {
  0% { opacity:0; transform: scale(0.8) translateY(90px); }
  72%{ opacity:1; transform: scale(1.06); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: #27839B;
  margin-bottom: 5px;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #27839B;
  font-weight: 600;
  cursor: pointer;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: #51BA54;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
/* Essential always on, lock symbol */
.cookie-category.essential label:after {
  content: '\1F512';
  font-size: 1.05em;
  margin-left: 7px;
  color: #F2D657;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal-actions button {
  padding: 11px 19px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  background: #51BA54;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 1.01rem;
  box-shadow: 0 2px 8px rgba(81,186,84,0.11);
  transition: background 0.18s, color 0.18s, transform 0.14s;
  cursor: pointer;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #F2D657;
  color: #24513D;
  transform: scale(1.07);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.4rem;
  padding: 5px 11px 5px 8px;
  border-radius: 50%;
  background: #e6ffe7;
  color: #27839B;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #51BA54;
  color: #fff;
}

/* =====================================================
  Misc & Animation Enhancements
===================================================== */

/* Subtle icon bounce animation for playful touch */
.feature img, .feature svg {
  animation: bouncy 2.7s ease-in-out infinite alternate;
}
@keyframes bouncy {
  0% { transform: translateY(0) rotate(-2deg); }
  40% { transform: translateY(-6px) rotate(3deg) scale(1.07); }
  80% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-2px) rotate(0.5deg); }
}

/* Table row playful hover */
tbody tr:hover td {
  background: #fff6c0;
  transition: background 0.17s;
}

/* Utility: For focus and accessibility */
:focus-visible {
  outline: 2px solid #F2D657;
  outline-offset: 2px;
}

/* Success & Thank You Pages */
.thankyou-section, .success-message, .info-box {
  background: #f7fff6;
  color: #24513D;
  border-radius: 21px;
  box-shadow: 0 2px 13px rgba(81,186,84,0.07);
  padding: 40px 20px;
  text-align: center;
  margin: 32px 0;
}

/* Ensure space between all cards and sections */
section + section {
  margin-top: 32px;
}
.card + .card, .testimonial-card + .testimonial-card, .feature + .feature {
  margin-left: 0; /* only vertical stacks on mobile */
  margin-top: 20px;
}
@media (min-width: 660px) {
  .card + .card, .testimonial-card + .testimonial-card, .feature + .feature {
    margin-top: 0;
  }
}

/* Form Inputs for contact (if present) */
input, textarea, select {
  border-radius: 9px;
  border: 2px solid #e7ffe7;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: #fff;
  color: #27839B;
  transition: border 0.17s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #51BA54;
  box-shadow: 0 2px 12px #279b8b11;
}

/* Accessibility: visually hidden helper class */
.sr-only {
  border: 0 !important; 
  clip: rect(0 0 0 0) !important; 
  height: 1px !important; 
  margin: -1px !important; 
  overflow: hidden !important; 
  padding: 0 !important; 
  position: absolute !important; 
  width: 1px !important; 
}

/* =====================================================
  Responsive Adjustments
===================================================== */
@media (max-width: 560px) {
  .container, .section {
    padding-left: 2vw; padding-right: 2vw;
  }
  .hero {
    min-height: 156px;
  }
  .feature, .card {
    padding: 13px 7px;
  }
}
