/* -------------------------------------------------*/
/* 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;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  outline: none;
}
button {
  cursor: pointer;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background: #F1E9E2;
  color: #2E3C54;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}

/* -------------------------------------------------*/
/* BRAND COLORS & FONTS */
/* -------------------------------------------------*/
:root {
  --color-primary: #2E3C54;
  --color-secondary: #7CA642;
  --color-accent: #F1E9E2;
  --color-accent-rgb: 241,233,226;
  --color-white: #fff;
  --color-black: #111;
  --color-info: #FFE358;
  --color-danger: #F46B6B;
  --color-success: #4CD474;
  --shadow-card: 0 4px 14px 0 rgba(46,60,84,0.08);
  --shadow-pop: 0 10px 24px -4px rgba(46,60,84,0.14);
  --font-display: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;600;400&family=Open+Sans:wght@400;600&display=swap');

/* -------------------------------------------------*/
/* TYPOGRAPHY */
/* -------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
strong {
  font-weight: 700;
}
ul, ol {
  list-style: disc inside;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--color-primary);
}
.text-section ul {
  padding-left: 18px;
}
a {
  transition: color 0.2s;
  color: var(--color-secondary);
}
a:hover, a:focus {
  color: var(--color-danger);
}

/* Fun playful highlight for strong inside .testimonial-card and CTAs */
.testimonial-card strong {
  color: var(--color-secondary);
}

/* -------------------------------------------------*/
/* GENERAL LAYOUT STYLES */
/* -------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(var(--color-accent-rgb), 0.6);
  border-radius: 30px 70px 50px 20px / 60px 30px 20px 50px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s;
}
.section:hover {
  box-shadow: 0 8px 24px 0 rgba(124,166,66,0.14);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-grid, .testimonial-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card-container,
.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.card {
  background: var(--color-white);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
  min-width: 250px;
  max-width: 100%;
}
.card:hover {
  box-shadow: var(--shadow-pop);
  transform: translateY(-6px) scale(1.025);
  z-index: 2;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Testimonials */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 420px;
  position: relative;
  font-size: 1.08rem;
  transition: box-shadow 0.2s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(124,166,66,0.20);
  transform: translateY(-4px) scale(1.026);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-family: var(--font-body);
  color: #444;
  font-size: .98em;
}

/* -------------------------------------------------*/
/* HEADER & NAVIGATION */
/* -------------------------------------------------*/
header {
  background: var(--color-white);
  box-shadow: 0 2px 6px 0 rgba(46,60,84,0.02);
  padding: 0;
  z-index: 101;
  position: sticky;
  top: 0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 20px 14px 20px;
}
nav > a {
  display: flex;
  align-items: center;
  padding: 7px 17px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: .02em;
  font-weight: 600;
  color: var(--color-primary);
  transition: background 0.18s, color 0.16s, transform 0.10s;
}
nav > a img {
  height: 38px;
  width: auto;
  margin-right: 0;
  border-radius: 12px;
}
nav > a:hover, nav > a.active {
  background: var(--color-info);
  color: var(--color-secondary);
  transform: translateY(-2px);
}
nav > a.cta {
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 1.01rem;
  font-weight: bold;
  margin-left: 10px;
  border-radius: 32px;
  box-shadow: 0 2px 8px 0 rgba(124,166,66,0.08);
  transition: background 0.18s, box-shadow 0.19s;
}
nav > a.cta:hover, nav > a.cta:focus {
  background: var(--color-primary);
  color: var(--color-info);
  box-shadow: 0 8px 18px 0 rgba(124,166,66,0.18);
}

/* Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 2.1rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: 10px;
  transition: background .22s, box-shadow .21s, color .18s;
  z-index: 205;
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-info);
  box-shadow: 0 6px 12px 0 rgba(46,60,84,0.15);
}

/* -------------------------------------------------*/
/* MOBILE MENU OVERLAY */
/* -------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(46,60,84, 0.93);
  z-index: 220;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-120vw);
  transition: transform 0.32s cubic-bezier(.66,.01,.38,1.04);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: relative;
  margin: 22px 26px 18px 10px;
  background: var(--color-danger);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 2.1rem;
  padding: 3px 10px;
  align-self: flex-end;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(244,107,107,0.11);
  transition: background .16s, box-shadow .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-info);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 30px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: none;
  border-radius: 16px;
  padding: 13px 11px;
  margin-bottom: 3px;
  width: 100%;
  transition: background 0.16s, color 0.14s, transform 0.10s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.045);
}

/* Responsive - show/hide nav/hamburger */
@media (max-width: 991px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MOBILE: add padding below header */
@media (max-width: 991px) {
  header {
    padding-bottom: 8px;
  }
}

/* -------------------------------------------------*/
/* MAIN CTA BUTTONS */
/* -------------------------------------------------*/
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 40px;
  box-shadow: 0 2px 12px 0 rgba(124,166,66,0.12);
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.16s, transform 0.10s, box-shadow 0.15s;
  margin-top: 14px;
  border: none;
  position: relative;
  z-index: 1;
}
.cta.primary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cta.primary:hover, .cta.primary:focus, .cta:hover, .cta:focus {
  background: var(--color-primary);
  color: var(--color-info);
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 10px 24px 0 rgba(46,60,84,0.14);
}
.cta:active {
  background: var(--color-danger);
  color: var(--color-accent);
  transform: scale(.98);
}

/* -------------------------------------------------*/
/* PLAYFUL/ DYNAMIC ACCENTS */
/* -------------------------------------------------*/
/* Fun colored animated border on images/icons */
.feature-grid img, .feature-item img, .card img, .testimonial-card img {
  border-radius: 14px;
  background: #fff9e7;
  border: 4px solid var(--color-info);
  box-shadow: 0 2px 12px 0 rgba(255,227,88,.08);
  animation: wobbly-border 2.5s infinite alternate cubic-bezier(.46,.01,.72,1.24);
}
@keyframes wobbly-border {
  0% { border-color: var(--color-info); }
  40% { border-color: var(--color-secondary); }
  60% { border-color: var(--color-primary); }
  100% { border-color: var(--color-danger); }
}

.section {
  position: relative;
  overflow: visible;
}
.section::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-info);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  animation: popmove 2.6s infinite alternate ease-in-out;
  display: none;
}
@keyframes popmove {
  0% { transform: translateY(0) scale(.91); }
  100% { transform: translateY(-10px) scale(1.09); }
}
@media (min-width: 769px) {
  .section::after { display: block; }
}


/* -------------------------------------------------*/
/* SPACING, FLEX, RESPONSIVE */
/* -------------------------------------------------*/
/* Cards/layout: minimum 20px gap, no absolute cards, no overlap */
.feature-grid > div, .feature-item, .testimonial-card, .card {
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.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;
}

/* Ensure everything stacks properly on mobile */
@media (max-width: 768px) {
  .section {
    padding: 22px 10px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper, .text-section {
    gap: 10px;
  }
  .feature-grid, .testimonial-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature-item, .testimonial-card {
    min-width: 95%;
    max-width: 100%;
    margin-bottom: 14px;
  }
}

/* Make sure testimonial-card text is readable on any context */
.testimonial-card {
  background: var(--color-white);
  color: #1a2335;
  border: 2px solid var(--color-accent);
  box-shadow: 0 2px 14px 0 rgba(46,60,84,0.07);
}
.testimonial-card p, .testimonial-card span {
  color: #283454;
  font-size: 1.05em;
}

/* -------------------------------------------------*/
/* FOOTER */
/* -------------------------------------------------*/
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 46px 0 22px 0;
  margin-top: 66px;
  font-family: var(--font-body);
  border-top-left-radius: 80px 46px;
  border-top-right-radius: 60px 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 18px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-info);
  color: var(--color-primary);
}
.footer-copy {
  text-align: center;
  font-size: .98rem;
  opacity: 0.85;
  margin-top: 6px;
}
@media (max-width: 768px) {
  footer {
    padding: 28px 0 16px 0;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 10px;
  }
}

/* -------------------------------------------------*/
/* COOKIE BANNER & MODAL */
/* -------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 3999;
  background: var(--color-white);
  color: var(--color-primary);
  border-top: 3px solid var(--color-info);
  box-shadow: 0 -2px 18px 0 rgba(46,60,84, .15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px 14px 20px 14px;
  animation: cookieSlideUp .49s cubic-bezier(.84,.22,.68,1) 1;
}
@keyframes cookieSlideUp { from { transform: translateY(58px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner p {
  margin: 0 22px 0 0;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 30px;
  padding: 9px 22px;
  margin: 0;
  cursor: pointer;
  transition: background .17s, color .13s, transform .12s, box-shadow .11s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-info);
  transform: translateY(-2px) scale(1.045);
}
.cookie-banner button.cookie-settings {
  background: var(--color-white);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner button.cookie-settings:hover {
  background: var(--color-info);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 7px 15px 7px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(46,60,84, 0.36);
  z-index: 4010;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay .28s cubic-bezier(.7,0,1,1.22) 1;
  pointer-events: auto;
}
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: var(--color-accent);
  border-radius: 42px;
  box-shadow: var(--shadow-pop);
  color: var(--color-primary);
  min-width: 330px;
  max-width: 90vw;
  padding: 32px 30px 26px 30px;
  position: relative;
  animation: cookiePopIn .36s cubic-bezier(.76,0,.48,1.34) 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 480px) {
  .cookie-modal { min-width: 99vw; padding: 19px 7px 18px 10px; border-radius: 20px; }
}
@keyframes cookiePopIn { from { transform: scale(.75) translateY(40px); opacity: 0.1;} to { transform: scale(1) translateY(0); opacity: 1;} }
.cookie-modal h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: var(--color-primary);
  font-family: var(--font-display);}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 8px;
  background: var(--color-danger);
  color: var(--color-white);
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background .16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--color-secondary);
  color: var(--color-info);
}

.cookie-modal .cookie-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4eadb;
}
.cookie-modal .cookie-type:last-child {
  border-bottom: none;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-toggle input[type="checkbox"] {
  width: 36px;
  height: 20px;
  appearance: none;
  background: #e3e3e3;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.16s;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: var(--color-secondary);
}
.cookie-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 1px 6px 0 rgba(46,60,84,0.07);
  transition: transform 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked::before {
  transform: translateX(16px);
}

/* Essential cookies always enabled */
.cookie-toggle input[disabled] {
  opacity: 0.7;
}

.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  border-radius: 30px;
  font-weight: 700;
  padding: 8px 18px;
  font-family: var(--font-display);
}

/* Hide cookie modal/banner by default - script toggles via class */
.cookie-banner, .cookie-modal-overlay {
  display: none;
}
.cookie-banner.show {
  display: flex;
}
.cookie-modal-overlay.show {
  display: flex;
}

/* -------------------------------------------------*/
/* ANIMATION ELEMENTS FOR PLAYFUL/DYNAMIC FEEL */
/* -------------------------------------------------*/
@keyframes floatUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
@keyframes jiggle {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.029); }
}
.cta.primary, .cta {
  animation: jiggle 3.1s infinite alternate cubic-bezier(.33,.05,.81,1.09);
}
nav > a.cta.primary {
  animation-delay: 0.4s;
}

.feature-grid > div {
  animation: floatUp 1.8s infinite alternate cubic-bezier(.44,.19,.45,.91);
  animation-delay: .2s;
}

.testimonial-card {
  animation: floatUp 2.9s infinite alternate cubic-bezier(.24,.34,.38,1.11);
  animation-delay: .65s;
}

/* -------------------------------------------------*/
/* MISC ELEMENTS */
/* -------------------------------------------------*/
::-webkit-scrollbar {
  width: 12px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
::selection {
  background: var(--color-info);
  color: var(--color-primary);
}

/* Highlight links in main content for playful look */
main a {
  font-weight: 700;
  text-decoration: underline dotted var(--color-info);
  transition: color 0.2s, text-decoration-color 0.2s;
}
main a:hover {
  color: var(--color-danger);
  text-decoration-color: var(--color-danger);
}

/* -------------------------------------------------*/
/* UTILITIES (for developer flexibility) */
/* -------------------------------------------------*/
.hide {
  display: none !important;
}
.center {
  text-align: center !important;
}
.flex {
  display: flex !important;
}
.items-center {
  align-items: center !important;
}
.justify-center {
  justify-content: center !important;
}

/* -------------------------------------------------*/
/* END OF CSS */
/* -------------------------------------------------*/
