/* =======================================================================
   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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #181F2F;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a {
  color: #4E9A51;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1A2534;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
ul, ol {
  padding-left: 22px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  appearance: none;
}
*:focus {
  outline: 2px solid #4E9A51;
  outline-offset: 2px;
}

/* =======================================================================
   COLOR VARIABLES & TYPOGRAPHY
   ======================================================================= */
:root {
  --primary: #1A2534;
  --secondary: #4E9A51;
  --accent: #F5F5F5;
  --warning: #FFB900;
  --fun1: #F26830;
  --fun2: #FF55A1;
  --fun3: #4EC7F9;
  --fun4: #9AE34D;
  --shadow: 0px 4px 24px rgba(41,59,102,0.09);
  --radius: 20px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: var(--accent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.15; }
h3 { font-size: 1.5rem; line-height: 1.2; }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1rem; font-family: 'Roboto', Arial, sans-serif; }
p, ul, ol, li, address {
  color: #222;
  font-size: 1rem;
}
.tagline { font-size: 1.25rem; color: var(--secondary); font-weight: 600; margin-bottom: 18px; }

@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}

/* =======================================================================
   CONTAINER & SECTIONS
   ======================================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* =======================================================================
   PLAYFUL DYNAMIC CARD / FEATURE STYLES
   ======================================================================= */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 26px;
  transition: box-shadow 0.25s, transform 0.22s;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  outline: 0;
  border: 2.5px solid transparent;
}
.card:hover,
.card:focus-within {
  box-shadow: 0px 7px 40px 0px rgba(34,80,177,0.13);
  transform: translateY(-2px) scale(1.015);
  border-color: var(--fun2);
  z-index: 2;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 12px;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  min-width: 185px;
  flex: 1 1 220px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.05rem;
  transition: background 0.21s, box-shadow 0.21s, transform 0.19s;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0px 1px 6px #f0f0f0);
}
.feature-grid li:hover {
  background: var(--fun3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0px 5px 40px 0px #a3e0fa55;
}
@media (max-width: 850px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li {
    min-width: 0;
    width: 100%;
  }
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 8px 0 0 0;
}
.service-list li {
  background: var(--accent);
  border-left: 6px solid var(--fun2);
  padding: 18px 18px 18px 28px;
  font-size: 1.07rem;
  border-radius: 14px;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  transition: border-color 0.2s;
}
.service-list li strong {
  color: var(--fun1);
  margin-right: 7px;
}
.service-list li:hover {
  border-color: var(--fun3);
}

/* =======================================================================
   TESTIMONIAL STYLES
   ======================================================================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 15px -4px #1a253425;
  margin-bottom: 20px;
  position: relative;
  min-height: 80px;
  border-left: 5px solid var(--fun2);
  color: var(--primary);
  transition: border-color 0.2s, box-shadow 0.18s;
}
.testimonial-card::before {
  content: '★';
  font-size: 2.1rem;
  color: var(--fun1);
  opacity: 0.53;
  margin-right: 5px;
  align-self: flex-start;
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  font-size: 1.05rem;
  flex: 1 1 auto;
  margin-bottom: 0;
}
.testimonial-author {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fun3);
  margin-left: 15px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: unset;
    padding: 15px;
  }
  .testimonial-card::before {
    font-size: 1.5rem;
    margin-right: 0;
    margin-bottom: 5px;
  }
}

/* =======================================================================
   BUTTONS & CALL TO ACTIONS
   ======================================================================= */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--fun1) 0%, var(--fun2) 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: 13px;
  box-shadow: 0px 4px 20px 0 #fb77bc41;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  margin-top: 12px;
  transition: background 0.19s, box-shadow 0.22s, transform 0.16s;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--fun2) 0%, var(--fun3) 100%);
  color: #fff;
  box-shadow: 0px 5px 40px 4px #caf1fd80;
  transform: translateY(-2px) scale(1.02);
}
button,[type="button"], [type="submit"] {
  cursor: pointer;
}

/* Secondary cute button for playful style */
.button-secondary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 1rem;
  border-radius: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--fun3);
  transition: background 0.17s, color 0.13s;
  border: 2px solid var(--fun4);
  box-shadow: 0px 2px 12px #4ec7f94f;
}
.button-secondary:hover, .cta-secondary:hover {
  background: var(--fun4);
  color: #fff;
}

/* Link buttons */
.content-wrapper a:not(.cta-primary):not(.mobile-menu-toggle):not(.mobile-menu-close) {
  color: var(--fun1);
  text-decoration: underline dotted var(--fun3) 2px;
  transition: color 0.18s, text-decoration-color 0.18s;
}
.content-wrapper a:not(.cta-primary):hover {
  color: var(--primary);
  text-decoration-color: var(--fun2);
}

/* =======================================================================
   HEADER & NAVIGATION
   ======================================================================= */
header {
  background: linear-gradient(90deg, #fff 80%, #fde7fa 100%);
  box-shadow: 0px 3px 15px 0 #f0f0f0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px 20px;
  gap: 25px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.main-nav a {
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
  margin: 0 2px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--fun3);
  color: #fff;
}
.main-nav .cta-primary {
  margin-left: 14px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  background: var(--fun3);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: 0 2px 10px 0px #b4eafd54;
  transition: background 0.19s;
  z-index: 42;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--fun2);
}

@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =======================================================================
   MOBILE SLIDING MENU
   ======================================================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(100deg,#fafcff 70%,#fce5fa 100%);
  box-shadow: 0px 8px 48px #131a2b44;
  z-index: 1500;
  transition: transform 0.33s cubic-bezier(.5,.6,.15,1), opacity 0.14s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  padding: 28px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--fun1);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: 0;
  margin: 0 18px 14px auto;
  font-size: 2rem;
  box-shadow: 0 2px 12px #fab7b771;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 16px 35px;
}
.mobile-nav a {
  color: var(--primary);
  background: var(--fun4);
  padding: 14px 18px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 7px;
  box-shadow: 0 1px 9px #aee49a33;
  transition: background 0.18s, color 0.15s, transform 0.13s;
}
.mobile-nav a:hover {
  background: var(--fun2);
  color: #fff;
  transform: scale(1.045);
}

@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =======================================================================
   FOOTER
   ======================================================================= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 0 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 40px;
  box-shadow: 0 -8px 36px #1846461a;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.08rem;
  padding-bottom: 26px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 2px;
}
footer nav a {
  color: #fff;
  opacity: .98;
  font-weight: 500;
  transition: color 0.19s, opacity 0.17s;
}
footer nav a:hover {
  color: var(--fun3);
  text-decoration: underline;
  opacity: 1;
}
footer .legal-nav {
  gap: 12px;
  font-size: .96rem;
  margin-top: 8px;
  opacity: .88;
}
footer img {
  height: 40px;
  border-radius: 12px;
  filter: drop-shadow(0 3px 8px #0692b077);
  margin-bottom: 10px;
}
footer address {
  font-style: normal;
  color: #fff;
  opacity: .8;
  font-size: .97rem;
}
@media (max-width: 600px) {
  footer .content-wrapper {
    gap: 12px;
    font-size: 0.99rem;
    padding-bottom: 10px;
  }
  footer nav, footer .legal-nav {
    gap: 9px;
    font-size: .94rem;
  }
}

/* =======================================================================
   COOKIE BANNER & COOKIE MODAL
   ======================================================================= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(80deg,#fff,#fcfcfc 85%,#ffe5fd 100%);
  color: var(--primary);
  box-shadow: 0px -6px 32px 0 #11148a18;
  padding: 18px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  z-index: 20000;
  font-size: 1.07rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  animation: cookieBannerIn 0.66s cubic-bezier(.6,-0.01,.29,1.21);
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 10px;
    font-size: 0.96rem;
  }
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-btn {
  background: var(--fun2);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 7px 0 0;
  padding: 11px 24px;
  border-radius: 11px;
  border: none;
  transition: background 0.2s, color 0.18s, transform 0.13s;
  box-shadow: 0 2px 12px #ee69b321;
}
#cookie-banner .cookie-btn.accept {
  background: var(--fun1);
}
#cookie-banner .cookie-btn.reject {
  background: #adb9c9;
  color: #fff;
}
#cookie-banner .cookie-btn.settings {
  background: var(--fun3);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.13);
  background: var(--fun2);
  color: #fff;
  transform: scale(1.06);
}

/* Cookie Settings Modal */
#cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #2525517a;
  z-index: 21000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieModalFade .23s;
}
#cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookieModalFade {
  from { opacity: 0; } to { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  color: #151f2e;
  border-radius: 24px;
  box-shadow: 0 15px 70px 0 #28f2f873;
  padding: 38px 26px 26px 26px;
  min-width: 330px;
  max-width: 440px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalSlideIn 0.44s cubic-bezier(.43,1.05,.3,1.36);
}
@keyframes modalSlideIn {
  from { transform: translateY(70px) scale(.84); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
#cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 17px;
  background: var(--accent);
  border-radius: 10px;
  font-size: 1rem;
}
.cookie-category.essential {
  color: var(--fun3);
  font-weight: 700;
}
.cookie-toggle {
  width: 38px; height: 22px;
  border-radius: 13px;
  background: #b6bdd8;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cookie-toggle[data-enabled="true"] {
  background: var(--fun3);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 1.5px;
  transition: left 0.17s;
}
.cookie-toggle[data-enabled="true"]::before {
  left: 17px;
}
#cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 21px;
  justify-content: flex-end;
}
#cookie-modal .modal-actions .cookie-btn {
  min-width: 100px;
  margin: 0;
}
#cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 15px;
  background: var(--fun3);
  color: var(--primary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#cookie-modal .close-modal:hover,
#cookie-modal .close-modal:focus {
  background: var(--fun2);
  color: #fff;
}

@media (max-width: 450px) {
  #cookie-modal {
    min-width: 90vw;
    padding: 18px 4px 18px 10px;
  }
}

/* =======================================================================
   GENERAL SPACING & PLAYFUL DECOR
   ======================================================================= */
.section {
  position: relative;
}
.section:before {
  content: '';
  position: absolute;
  left: -35px; top: -30px;
  width: 80px; height: 80px;
  z-index: 0;
  background: radial-gradient(circle at 60% 57%,var(--fun2) 0%, var(--accent) 80%);
  filter: blur(7px) opacity(.15);
  border-radius: 50%;
  pointer-events: none;
}
.section:after {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 60px; height: 68px;
  background: radial-gradient(circle at 60% 57%,var(--fun3) 0%, var(--accent) 80%);
  filter: blur(11px) opacity(.13);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Playful accent animated bubbles */
.section .bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.17;
  pointer-events: none;
  z-index: 0;
  animation: bubbleFloat 7s infinite cubic-bezier(.8,.19,.67,1.14);
}
@keyframes bubbleFloat {
  0% { transform: translateY(0) scale(1); opacity: .20; }
  40% { opacity: .31; }
  60% { transform: translateY(-16px) scale(1.06); opacity:.15; }
  100% { transform: translateY(0) scale(1); opacity:.17; }
}

/* =======================================================================
   MISC
   ======================================================================= */
::-webkit-scrollbar {
  width: 10px; background: #e4f5f2;
}
::-webkit-scrollbar-thumb {
  background: var(--fun3);
  border-radius: 8px;
}

/* Forms & Inputs (future-proofing) */
input, textarea, select {
  border-radius: 8px;
  border: 1.5px solid var(--fun3);
  padding: 12px;
  background: #fff;
  color: #222;
  box-shadow: 0 1px 5px #c7eefb08;
  transition: box-shadow 0.2s, border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--fun2);
  box-shadow: 0 2px 9px #fd71c655;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* Flexbox helpers */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.gap-10 { gap: 10px; }

/* =======================================================================
   RESPONSIVE UTILITIES & ADJUSTMENTS
   ======================================================================= */
@media (max-width: 950px) {
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 2px;
  }
}

/* Page-specific: hide phone number if placeholder */
span, li, address {
  word-break: break-word;
}
audibly-hidden { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* =======================================================================
   ANIMATIONS / MICRO-INTERACTIONS
   ======================================================================= */
.cta-primary, .button-secondary, .feature-grid li, .card,
.service-list li, .testimonial-card, .mobile-menu-toggle {
  transition: 
    box-shadow 0.18s, 
    background 0.17s,
    color 0.15s,
    border-color 0.16s,
    transform 0.17s;
}
.cta-primary:active, .button-secondary:active {
  transform: scale(0.96);
}

/* =======================================================================
   FLEXBOX LAYOUT–CRITICAL STYLES (MANDATORY)
   ======================================================================= */
/* .section etc. already set above. */

/* .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; } */
/* .testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; } */
/* .feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; } */

/* Ensure minimum margins between cards/sections */
.card, .testimonial-card, .service-list li, .feature-grid li, .section {
  margin-bottom: 20px;
}

/*********************** END **********************/
