/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F6F5F0;
  color: #154D32;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #F2B031;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #154D32;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.25em;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #154D32;
  margin-bottom: 0.6em;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
h5, h6 { font-size: 1rem; }
strong { font-weight: 700; }
em { color: #F2B031; font-style: normal; font-weight: bold; }

/* COLOR PALETTE (BRAND & PLAYFUL DYNAMIC ACCENTS) */
:root {
  --primary: #154D32; /* dark green */
  --secondary: #F2B031; /* sunny yellow */
  --accent: #F6F5F0; /* light beige */
  --fun-pink: #FF7FB0;
  --fun-blue: #22B5E4;
  --fun-lime: #D1FF59;
  --fun-orange: #FFB34D;
  --button-hover: #22B5E4;
  --shadow: 0 6px 22px rgba(21,77,50,0.08), 0 2px 6px rgba(34,181,228,0.09);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 32px;
  --transition: 0.25s cubic-bezier(.43,.41,.22,.91);
}

.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* SECTION SPACING & CARD/FLEX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 12px 36px 0 rgba(34,181,228,0.16);
  transform: translateY(-6px) scale(1.02) rotate(-0.5deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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;
  border-radius: var(--radius);
  background: #fff;
  color: #154D32;
  box-shadow: var(--shadow);
  min-width: 260px;
  margin-bottom: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: scale(1.03) rotate(1.5deg);
  box-shadow: 0 12px 36px 0 rgba(242,176,49,0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero-section {
  width: 100vw;
  min-height: 340px;
  background: linear-gradient(95deg,var(--secondary) 45%,var(--fun-blue) 95%);
  color: #154D32;
  padding: 64px 0 44px 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 55px;
  box-shadow: 0 12px 36px rgba(243,176,49,0.08);
}
.hero-section h1 {
  font-size: 2.5rem;
  color: #154D32;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
}
.hero-section p {
  font-size: 1.18rem;
  margin-bottom: 25px;
}
.hero-section .btn-primary {
  margin-top: 8px;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.04rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition),box-shadow var(--transition);
  margin: 12px 0 0 0;
  letter-spacing: .04em;
  text-transform: uppercase;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-primary:after, .btn-secondary:after {
  content: '';
  display: block;
  background: var(--fun-blue);
  opacity: 0.11;
  border-radius: 50%;
  width: 130%;
  height: 160%;
  position: absolute;
  left: -23px;
  top: -23px;
  z-index: 0;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary {
  background: var(--secondary);
  color: #154D32;
  font-weight: bold;
  box-shadow: 0 3px 13px rgba(34,181,228,0.08);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--fun-blue);
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 28px rgba(34,181,228,0.16);
  text-decoration: none;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--fun-pink);
  color: #fff;
  transform: translateY(-1.6px) scale(1.035) rotate(1deg);
  box-shadow: 0 10px 24px rgba(255,127,176,0.13);
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(34,181,228,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 46;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 10px;
}
.logo img,
.logo-footer img {
  height: 44px;
  width: auto;
  display: block;
}
/* Main desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  padding: 9px 14px;
  border-radius: 25px;
  letter-spacing: 0.01em;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  outline: none;
}

/* Hide burger on desktop */
.mobile-menu-toggle {
  background: var(--fun-blue);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 12px;
  display: none;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 15px rgba(34,181,228,.09);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--fun-pink);
  color: #fff;
  box-shadow: 0 0 24px rgba(255,127,176,.17);
  outline: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #fff;
  box-shadow: 0 6px 50px rgba(21,77,50,0.17);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-120vw);
  transition: transform var(--transition);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.mobile-menu-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: transform 0.39s cubic-bezier(.53,.02,.16,.99);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  background: transparent;
  border: none;
  margin: 18px 0 0 14px;
  padding: 6px 14px;
  cursor: pointer;
  transition: color var(--transition);
  align-self: flex-end;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--fun-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100vw;
  margin: 44px 0 0 0;
  padding: 24px 30px 30px 30px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  padding: 16px 6px;
  border-radius: 16px;
  background: none;
  font-weight: 800;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #154D32;
  outline: none;
}

/* Hide desktop nav on mobile, burger visible */
@media (max-width: 1022px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Show desktop nav only on wider screens */
@media (min-width:1023px) {
  .mobile-menu {
    display: none !important;
  }
}

/* SERVICES & CARDS */
.services-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 24px 0 16px 0;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 23px 26px 23px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  border-left: 7px solid var(--secondary);
}
.service-card strong {
  color: var(--fun-pink);
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.service-card:hover {
  box-shadow: 0 16px 41px 0 rgba(255,127,176,0.17);
  transform: scale(1.035) rotate(-1deg);
  border-left: 7px solid var(--fun-blue);
}

/* FEATURES (/) */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}
.features-list li {
  flex: 1 1 260px;
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 22px 22px 22px 22px;
  gap: 20px;
  margin-bottom: 20px;
  min-width: 250px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.features-list li img {
  width: 48px;
  height: 48px;
  background: var(--fun-lime);
  border-radius: 50%;
  padding: 7px;
  border: 2.5px solid var(--secondary);
  box-shadow: 0 1px 9px rgba(209,255,89,.19);
}
.features-list li h3 {
  font-size: 1.06rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.features-list li:hover {
  box-shadow: 0 10px 32px rgba(242,176,49,0.12);
  transform: scale(1.028) rotate(0.7deg);
}

/* TESTIMONIALS SLIDER */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
/* Star badges etc. */
.rating-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.rating-badges img {
  width: 40px;
}
.rating-badges span {
  background: var(--fun-lime);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 16px;
  border-radius: 19px;
  font-weight: 800;
  font-size: 1.06rem;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 22px 24px 16px 26px;
  position: relative;
  margin-bottom: 20px;
}
.faq-item h2 {
  font-size: 1.12rem;
  color: var(--fun-blue);
  margin-bottom: 12px;
}
.faq-item p {
  color: #154D32;
}

.faq-cta {
  background: var(--fun-blue);
  border-radius: var(--radius);
  color: #fff;
  padding: 28px 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  box-shadow: 0 5px 27px rgba(34,181,228,0.13);
}
.faq-cta h3 {
  color: #fff;
  margin-bottom: 7px;
}
.faq-cta a.btn-primary {
  background: #fff;
  color: var(--primary);
  margin-top: 9px;
}
.faq-cta a.btn-primary:hover {
  background: var(--secondary);
  color: #154D32;
  box-shadow: 0 5px 24px rgba(242,176,49,0.13);
}

/* CONTACT SECTIONS */
.contact-info, .quick-support-list, .contact-detail-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 18px 0 20px 0;
}
.contact-info li, .quick-support-list li, .contact-detail-block span {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #154D32;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 9px rgba(21,77,50,0.06);
  padding: 10px 16px;
  transition: background var(--transition);
}
.contact-info li img,
.quick-support-list li img,
.contact-detail-block img {
  height: 26px;
  width: 26px;
}
.quick-support-list li strong {
  color: var(--fun-pink);
  font-size: 1.12rem;
}
.contact-detail-block {
  gap: 11px;
}

/* FOOTER */
footer {
  background: #fff;
  padding: 32px 0 22px 0;
  border-top: 6px solid var(--secondary);
  box-shadow: 0 -4px 16px rgba(21,77,50,0.05);
  margin-top: 60px;
}
.logo-footer img {
  height: 38px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: 16px;
  padding: 8px 17px;
  background: var(--accent);
  transition: background var(--transition),color var(--transition);
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--fun-blue);
  color: #fff;
}
.footer-contact {
  font-size: 0.98rem;
  color: #154D32;
  margin-top: 9px;
  opacity: 0.74;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer .container {
  align-items: flex-start;
  gap: 16px;
}

/* GENERAL TEXT SECTIONS */
.text-section {
  background: #fff;
  padding: 16px 22px 16px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 7px rgba(21,77,50,0.07);
  margin-bottom: 24px;
  font-size: 1rem;
  color: #154D32;
}
.text-section ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.text-section h2, .text-section h3 {
  color: var(--fun-blue);
  margin-bottom: 7px;
  font-weight: 800;
}
.text-section em {
  color: var(--fun-pink);
  font-style: normal;
  font-weight: 600;
}

/* ANIMATIONS & MICROINTERACTIONS */
section, .card, .service-card, .testimonial-card, .faq-item, .features-list li, .btn-primary, .btn-secondary {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition), color var(--transition), opacity var(--transition);
}

/* Playful bouncy entrance for hero */
.hero-section {
  animation: hero-bounce-in 0.82s cubic-bezier(.27,1.25,.52,.92) 1;
}
@keyframes hero-bounce-in {
  0% { opacity: 0; transform: scale(0.97) translateY(-48px); }
  78% { opacity:1; transform: scale(1.04) translateY(5px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}

/* Responsive font/playful look - fun accent */
h1, h2, h3 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, Helvetica, sans-serif;
  font-weight: 900;
}
h1 span, h2 span, h3 span {
  color: var(--fun-pink);
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 11010;
  background: #fff;
  color: #154D32;
  box-shadow: 0 -2px 20px 2px rgba(242,176,49,0.17);
  padding: 26px 18px 18px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  animation: cookie-slide-up 0.46s 1;
}
@keyframes cookie-slide-up {
  0% { opacity: 0; transform: translateY(120px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-text {
  line-height: 1.5;
  font-size: 1.02rem;
  color: #154D32;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 6px;
}
.cookie-banner .btn-cookie {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  cursor: pointer;
  margin: 0 5px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 12px rgba(242,176,49,0.09);
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus {
  background: var(--fun-blue);
  color: #fff;
}
.cookie-banner .btn-cookie-reject {
  background: var(--fun-pink);
  color: #fff;
}
.cookie-banner .btn-cookie-reject:hover {
  background: #154D32;
}
.cookie-banner .btn-cookie-settings {
  background: var(--fun-blue);
  color: #fff;
}
.cookie-banner .btn-cookie-settings:hover {
  background: var(--secondary);
  color: var(--primary);
}
/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-55%) scale(0.98);
  background: #fff;
  z-index: 11040;
  min-width: 320px;
  max-width: 98vw;
  border-radius: var(--radius);
  box-shadow: 0 19px 50px rgba(34,181,228,0.18);
  padding: 37px 32px 29px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookie-modal-bounce 0.37s 1;
}
@keyframes cookie-modal-bounce {
  0% { opacity: 0; transform: translate(-50%,-65%) scale(0.85); }
  90% { opacity: 1; transform: translate(-50%,-52%) scale(1.03); }
  100% { opacity:1; transform: translate(-50%,-55%) scale(1);
  }
}
.cookie-modal h2 {
  font-family: 'Montserrat';
  color: var(--fun-pink);
  font-size: 1.25rem;
  margin-bottom: 5px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  font-size: 1rem;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary);
  border-radius: 6px;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie-save {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .btn-cookie-save:hover {
  background: var(--fun-pink);
  color: #fff;
}
.cookie-modal .btn-cookie-close {
  background: var(--fun-blue);
  color: #fff;
}
.cookie-modal .btn-cookie-close:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 1220px) {
  .container {
    width: 97%;
    max-width: 98vw;
  }
}

@media (max-width: 1022px) {
  .hero-section { padding: 41px 0 35px 0; }
  .services-grid, .services-list {
    flex-direction: column;
  }
  .features-list {
    flex-direction: column;
    gap: 19px;
  }
}
@media (max-width: 900px) {
  .hero-section h1 { font-size: 2.05rem; }
  .content-wrapper { gap: 20px; }
  .section { padding: 30px 8px; }
}

@media (max-width: 768px) {
  body {
    font-size: 0.97rem;
  }
  .hero-section h1 { font-size: 1.45rem; }
  .hero-section p { font-size: 1rem; }
  .section { padding: 19px 3vw; margin-bottom: 38px; }
  .content-wrapper { gap: 12px; }
  .card-container,
  .features-list,
  .services-grid,
  .services-list,
  .testimonials-slider,
  .faq-list {
    gap: 14px;
  }
  .service-card,
  .card,
  .testimonial-card {
    min-width: unset;
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 20px;
    padding: 15px 8px 20px 13px;
  }
  .testimonial-card { flex-direction: column; gap: 8px; }
  .faq-cta { padding: 13px 6px 14px 15px; }
  .footer-nav { gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 519px) {
  .container { width: 100vw; min-width: 95vw; padding: 0 2.5vw; }
  .footer-contact { font-size: 0.91rem; }
  .logo img,.logo-footer img{height:28px;}
  footer .container {gap:8px;}
}

/* Scrollbar styling - playful accent */
::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--fun-pink);
  border-radius: 4px;
}

/* Animations for buttons and tabs */
.btn-primary, .btn-secondary, .btn-cookie, .btn-cookie-save, .btn-cookie-settings, .btn-cookie-close {
  animation: bounce-btn 0.26s;
}
@keyframes bounce-btn {
  0% { transform: scale(.93); }
  84% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* FUN & PLAYFUL FONT for CTA/ACCENT */
.cta-playful {
  font-family: 'Montserrat', 'Comic Sans MS', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: var(--fun-blue);
  background: none;
  font-size: 2rem;
  letter-spacing: 2.5px;
}

/* VISUAL EFFECTS & DECORATIVE */
.card:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  top: -15px; left: -15px;
  width: 35px; height: 35px;
  background: var(--fun-lime);
  opacity: 0.21;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  transition: opacity var(--transition);
}

.card:hover:before, .testimonial-card:hover:before {
  opacity: 0.44;
}
/* Don't overlay content */
.card *, .testimonial-card * { position: relative; z-index: 3; }
.card:after, .testimonial-card:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -11px; right: -11px;
  width: 23px; height: 23px;
  background: var(--fun-pink);
  opacity: 0.13;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  transition: opacity var(--transition);
}
.card:hover:after, .testimonial-card:hover:after {
  opacity: 0.29;
}

/* Specials for playful dynamic look */
h1:after, h2:after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 9px;
  background: var(--fun-blue);
  opacity: 0.24;
  border-radius: 9px 90px 45px 50px;
  margin-left: 8px;
  position: relative;
  top: -5px;
}

/*-- VISUAL HIERARCHY WITH SPACING --*/
h1, h2, .hero-section, .section {
  margin-bottom: 20px;
}
main > section {
  margin-bottom: 60px;
}
.card, .service-card, .testimonial-card, .faq-item {
  margin-bottom: 20px;
}

/* Prevent overlapping & overflow */
* { box-sizing: border-box; }

/* Prevent overlapping of elements by enforcing gaps/margins */
.card:not(:last-child),
.service-card:not(:last-child),
.feature-item:not(:last-child),
.testimonial-card:not(:last-child),
.faq-item:not(:last-child) {
  margin-bottom: 20px;
}

/* FORMS (if needed) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  border: 1.5px solid var(--fun-blue);
  background: #fff;
  margin-bottom: 14px;
  margin-top: 0;
  transition: border var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 2.3px solid var(--secondary);
  box-shadow: 0 0 0 3px rgba(242,176,49,0.09);
  outline: none;
}

/* Z-INDEX fix for overlays */
.mobile-menu {z-index: 9999;}
.cookie-banner {z-index: 11010;}
.cookie-modal {z-index: 11040;}
header {z-index: 46;}

/* Accessibility/high-contrast for testimonials & reviews */
.testimonial-card,
.faq-item,
.contact-info li,
.quick-support-list li {
  color: #154D32;
  background: #fff;
}

/* Hide scroll on modal/banner (for global use; JS to define .no-scroll as needed) */
body.no-scroll { overflow: hidden; }

