/* =======================
   CSS RESET & BASE STYLES
   ======================= */
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,
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  background: #FCFCFA;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F3EF;
  color: #234045;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.25em;
}
a {
  color: #33816D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #E7643E;
}

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

/* Available fun playful font if possible, otherwise fallback to Montserrat */

:root {
  --primary: #234045;
  --secondary: #AEB38F;
  --accent: #F5F3EF;
  --accent2: #F6BE4F;
  --brand-orange: #FF8856;
  --playful-blue: #36B6FF;
  --fun-pink: #F068C2;
  --fun-green: #79D27A;
  --black: #151C1F;
  --white: #fff;
  --shadow-lg: 0 8px 32px -8px rgba(67,87,104,0.13);
  --shadow-sm: 0 1.5px 8px rgba(36,64,69,0.08);
}

/* =======================
   LAYOUT
   ======================= */
.container {
  width: 100%;
  max-width: 1150px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
main {
  flex: 1 0 auto;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 32px 24px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: transform 0.15s cubic-bezier(0.57, 1.41, 0.77, 0.71), box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-6px) scale(1.04) rotate(-1deg);
  box-shadow: 0 10px 32px -6px rgba(67,87,104,0.18);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--fun-green);
  color: var(--black);
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  font-size: 1.08em;
  min-width: 260px;
  transition: box-shadow 0.15s;
}
.testimonial-card strong {
  color: var(--playful-blue);
  font-weight: 700;
}
.testimonial-card span {
  margin-left: 10px;
  color: #FDB040;
  font-size: 1.15em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px -4px rgba(36,64,69,0.16);
  background: var(--accent2);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 24px 18px;
  margin-bottom: 16px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 16px 0 32px 0;
}
.service-list > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: var(--fun-pink);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.17s, box-shadow 0.16s;
  color: #fff;
  position: relative;
}
.service-list > div:nth-child(2) {
  background: var(--playful-blue);
}
.service-list > div:nth-child(3) {
  background: var(--brand-orange);
}
.service-list > div:nth-child(4) {
  background: var(--fun-green);
  color: var(--black);
}
.service-list > div:hover {
  transform: translateY(-6px) scale(1.045) rotate(-2deg);
  box-shadow: 0 12px 32px -6px rgba(46,49,90,0.12);
  z-index: 2;
}
.service-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

/* =======================
   TYPOGRAPHY
   ======================= */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--primary);
  /* Playful dynamic: bolder, bigger, spaced */
}
h1 {
  font-size: 2.4rem;
  line-height: 1.12;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.9rem;
  margin-top: 14px;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--playful-blue);
  margin-bottom: 5px;
  font-weight: 700;
}
p, li {
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #234045;
}
ul, ol {
  margin-bottom: 16px;
  line-height: 1.7;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
}
strong {
  font-weight: 700;
  color: var(--brand-orange);
  letter-spacing: -0.01em;
}
small {
  font-size: 0.95em;
  color: #23404599;
}

/* =======================
   BUTTONS & CTA
   ======================= */
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 900;
  font-size: 1.18rem;
  border: none;
  border-radius: 25px 8px 25px 8px;
  padding: 16px 36px;
  margin: 12px 0 0 0;
  cursor: pointer;
  box-shadow: 0 4px 16px -8px #23404533;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
  position: relative;
  animation: wiggleX 2s infinite linear alternate;
}
@keyframes wiggleX {
  0%,100% {transform: translateX(0) rotate(-2deg);} 20% {transform: translateX(2px) rotate(1.3deg);} 40% {transform: translateX(-1px) rotate(1deg);} 60% {transform: translateX(1px) rotate(-1deg);} 80% {transform: translateX(-2px) rotate(-2deg);}}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--playful-blue);
  color: #fff;
  transform: scale(1.06) rotate(-2deg);
}
.cta-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--fun-pink);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  border-radius: 10px 20px 14px 28px;
  padding: 12px 26px;
  margin: 12px 0 0 0;
  cursor: pointer;
  box-shadow: 0 2px 12px -8px #23404522;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
  display: inline-block;
  text-decoration: none;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.05) rotate(2deg);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: none;
  background: unset;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  background: var(--white);
  border-bottom: 2px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header a img {
  width: 54px;
  height: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  position: relative;
  transition: color 0.13s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
header nav a:hover,
header nav a:focus {
  color: var(--fun-pink);
  border-bottom: 2px solid var(--brand-orange);
}
/* Hide mobile nav on desktop */
.mobile-menu-toggle {
  background: var(--secondary);
  border-radius: 50%;
  font-size: 1.7em;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 0.5px 10px 0 #23404519;
  transition: background 0.18s, color 0.15s, box-shadow 0.16s;
  margin-left: 5px;
  z-index: 500;
  border: 0;
}
.mobile-menu-toggle:hover {
  background: var(--fun-pink);
  color: #fff;
  box-shadow: 0 2px 16px -6px #f068c259;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(250,246,225,0.97);
  z-index: 9999;
  transform: translateX(100vw);
  transition: transform 0.28s cubic-bezier(0.63, 0.36, 0.26, 1.33);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--fun-pink);
  color: #fff;
  font-size: 2em;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  margin: 16px 22px 0 0;
  transition: background 0.16s;
  box-shadow: 0 3px 14px #f068c220;
  z-index: 10001;
}
.mobile-menu-close:hover {
  background: var(--playful-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: none;
  width: 100%;
  margin-top: 38px;
  padding-left: 55px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.19em;
  font-weight: 800;
  padding: 12px 0 12px 12px;
  border-radius: 14px;
  width: 70%;
  display: inline-block;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-orange);
  color: #fff;
}

/* Hide mobile menu on desktop */
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 991px) {
  header nav,
  header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 46px 0 0 0;
  margin-top: 60px;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
  margin-bottom: 32px;
}
.footer-section img {
  width: 48px;
}
.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-section nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  transition: color 0.17s;
}
.footer-section nav a:hover,
.footer-section nav a:focus {
  color: var(--fun-pink);
}
.footer-section h4 {
  color: var(--accent2);
  font-size: 1.03em;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.footer-section small {
  color: #fff9;
}
.footer-section p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.97em;
}
@media (max-width: 920px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
  }
  .footer-section {
    min-width: unset;
    margin-bottom: 18px;
  }
}

/* =======================
   RESPONSIVE BREAKPOINTS
   ======================= */
@media (max-width: 768px) {
  .section, section {
    padding: 23px 7px;
    margin-bottom: 36px;
    border-radius: 17px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: unset;
    padding: 12px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  .cta-primary, .cta-secondary {
    font-size: 1em;
    padding: 10px 18px;
  }
  .card, .service-list > div, .feature-item {
    padding: 13px 7px;
    min-width: unset;
    font-size: 0.97em;
  }
}

/* =======================
   VISUAL ELEMENTS
   ======================= */
ul li::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, var(--brand-orange) 50%, var(--playful-blue) 100%);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
ul li img {
  width: 18px;
  height: auto;
  margin-right: 7px;
  vertical-align: middle;
  border-radius: 4px;
  background: transparent;
}

/* =======================
   ANIMATIONS & MICRO-INTERACTIONS
   ======================= */
h1, h2, .testimonial-card, .card, .service-list > div, .cta-primary, .cta-secondary {
  animation: fadeUp 0.7s cubic-bezier(0.47,1.64,0.41,0.8) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px);} to { opacity: 1; transform: translateY(0); }
}

/* Bouncy hover for nav links */
header nav a, .mobile-nav a {
  transition: transform 0.15s cubic-bezier(.52,1.61,.41,.88), color 0.16s;
}
header nav a:hover, .mobile-nav a:hover {
  transform: scale(1.08) translateY(-3px) rotate(-2deg);
  background: none;
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--fun-pink);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 18px 9px 18px 19px;
  z-index: 20000;
  box-shadow: 0 0 32px -10px #23404544;
  animation: slideUp 0.6s cubic-bezier(0.41,1.6,0.3,1.1) both;
}
@keyframes slideUp {
  from {transform: translateY(60px); opacity: 0;} to { transform: none; opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1;
  font-size: 1.05em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-banner .cookie-btn {
  background: var(--playful-blue);
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border: none;
  border-radius: 20px 7px 17px 6px;
  margin-left: 8px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.16s, color 0.13s, transform 0.16s;
}
.cookie-banner .cookie-btn.reject {
  background: var(--brand-orange);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--fun-green);
  color: var(--primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent2);
  color: var(--primary);
  transform: scale(1.05);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--playful-blue);
  color: #fff;
}

/* Modal for Cookie Preferences */
.cookie-modal {
  position: fixed;
  z-index: 30000;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s cubic-bezier(.47,1.64,.41,.88);
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-box {
  background: #fff;
  border-radius: 22px;
  padding: 36px 26px 26px 26px;
  min-width: 314px;
  max-width: 95vw;
  box-shadow: 0 8px 48px -6px #23404540;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal-box h3 {
  margin-bottom: 8px;
  font-size: 1.32rem;
  color: var(--primary);
}
.cookie-modal-box ul {
  padding: 0;
  list-style-type: none;
  width: 100%;
}
.cookie-modal-box li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 17px;
  font-size: 1.01em;
  color: var(--primary);
}
.cookie-toggle {
  width: 44px;
  height: 26px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--fun-green);
  border-radius: 13px;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--playful-blue);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal-close {
  align-self: flex-end;
  background: var(--fun-pink);
  color: #fff;
  font-size: 1.3em;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover {
  background: var(--playful-blue);
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 520px) {
  .cookie-modal-box { min-width: unset; padding: 18px 7px; }
  .cookie-modal-box h3 { font-size: 1.09rem; }
}

/* =======================
   FORMS & IN-PAGE CONTROLS (for future expansion)
   ======================= */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border-radius: 8px;
  border: 1.5px solid var(--secondary);
  padding: 10px 15px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px #79D27A20;
  background: #fff;
  outline: none;
  transition: border 0.13s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--playful-blue);
  box-shadow: 0 1px 8px #36B6FF24;
}
::placeholder {color: #23404588;}

/* =======================
   UTILITY CLASSES
   ======================= */
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-col { flex-direction: column !important; }
.gap-20 { gap: 20px !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.text-center { text-align: center !important; }
.rounded { border-radius: 20px !important; }
.shadow { box-shadow: var(--shadow-sm) !important; }

/* =======================
   PRINT STYLES (minimal)
   ======================= */
@media print {
  *, *, *:before, *:after { box-shadow: none !important; background: #fff !important; color: #333 !important; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container { max-width: 100%; padding: 0; }
}
