/* ---- 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FAF9F6;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #1A3052;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #4FB877;
}
ul, ol {
  margin-bottom: 20px;
  margin-left: 24px;
}
img {
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ---- BRAND COLORS AS CUSTOM PROPS ---- */
:root {
  --brand-primary: #1A3052;
  --brand-secondary: #4FB877;
  --brand-accent: #FAF9F6;
  --brand-yellow: #FFE65B; /* Playful accent */
  --brand-pink: #FF7FA1;   /* Playful accent */
  --brand-purple: #715DF2; /* Playful accent */
  --brand-orange: #FFB444; /* Playful accent */
  --shadow: 0 4px 18px rgba(26, 48, 82, 0.08), 0 1.5px 6px rgba(79, 184, 119, 0.05);
}


/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 18px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--brand-purple);
  text-shadow: 2px 4px 0 var(--brand-yellow), 0px 1px 16px #fff2;
}
h2 {
  font-size: 2rem;
  color: var(--brand-primary);
}
h3 {
  font-size: 1.375rem;
  color: var(--brand-secondary);
}
h4 {
  font-size: 1.125rem;
}
p, li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
strong, b {
  font-weight: 700;
  color: var(--brand-primary);
}

/* Playful-Dynamic Font Details */
h1, h2, h3 {
  font-variation-settings: 'wght' 700, 'slnt' 0;
  font-family: 'Montserrat', 'Comic Sans MS', 'Roboto', cursive, sans-serif;
  /* a touch of fun for display */
}


/* ---- SPACING AND LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section, .text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  .content-wrapper, .text-section, .text-image-section {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- HEADER & NAV ---- */
header {
  background: var(--brand-accent);
  box-shadow: 0 1.5px 8px rgba(40,20,100,0.04);
  position: relative;
  z-index: 20;
  margin-bottom: 24px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
header img {
  height: 40px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-purple);
}
.cta-primary {
  background: var(--brand-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 2px 8px #4fb87733;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.16s;
  letter-spacing: 0.01em;
  text-shadow: 0px 1px 2px #0f5c4a15;
  display: inline-block;
  position: relative;
  z-index: 10;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-yellow);
  color: var(--brand-primary);
  box-shadow: 0 6px 18px #ffe65b48;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
}
.cta-secondary {
  background: var(--brand-purple);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 24px;
  border: none;
  border-radius: 18px;
  margin-top: 8px;
  box-shadow: 0 2px 10px #715df235;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-pink);
  color: #fff;
  box-shadow: 0 8px 18px #ff7fa148;
  transform: translateY(-1px) scale(1.04) rotate(2deg);
}

/* Burger menu button */
.mobile-menu-toggle {
  background: var(--brand-yellow);
  color: var(--brand-primary);
  border: none;
  font-size: 2rem;
  padding: 8px 15px;
  border-radius: 16px;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 2px 7px #ffe65b2b;
  display: none;
  transition: background 0.18s, color 0.14s, transform 0.14s;
  z-index: 101;
}
.mobile-menu-toggle:active {
  background: var(--brand-primary);
  color: var(--brand-yellow);
}
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-primary {
    display: none;
  }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, var(--brand-accent) 70%, var(--brand-yellow) 100%);
  transform: translateX(-100vw);
  z-index: 2000;
  transition: transform 0.33s cubic-bezier(.75,.13,.41,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 26px 20px 16px;
  box-shadow: 0 20px 32px #1a305223, 0 2px 4px #ffe65b1a;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-pink);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 7px 14px;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-purple);
  color: var(--brand-yellow);
  transform: scale(1.08) rotate(-4deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  background: transparent;
  padding: 12px 10px 12px 22px;
  border-radius: 18px;
  transition: background 0.19s, color 0.19s;
  margin-right: 20px;
  display: block;
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-purple);
}


/* ---- SECTIONS & FLEX LAYOUTS ---- */
.feature-grid, .category-grid, .stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-yellow);
  border-radius: 22px;
  padding: 18px 22px;
  box-shadow: 0 3px 11px #ffe65b25;
  flex: 1 1 200px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 340px;
  transition: transform 0.17s, box-shadow 0.22s;
  position: relative;
}
.feature-item img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(1px 2px 0 #fff1) drop-shadow(0 2px 6px #4fb87744);
}
.feature-item:hover {
  transform: translateY(-4px) scale(1.02) rotate(-1deg);
  box-shadow: 0 6px 22px #ffe65b41;
}
@media (max-width: 900px) {
  .feature-grid, .category-grid, .stats-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .category-item, .stats-grid > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}
.category-item {
  background: var(--brand-orange);
  color: var(--brand-primary);
  border-radius: 20px;
  box-shadow: 0 1.5px 7px #ffb44428;
  padding: 20px 20px 18px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.16s, box-shadow 0.2s;
}
.category-item h3 {
  color: var(--brand-purple);
}
.category-item:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 4px 18px #ffb4443b;
}
.stats-section .stats-grid {
  justify-content: space-between;
  gap: 24px;
}
.stats-grid > div {
  background: var(--brand-pink);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px #ff7fa139;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px 26px 14px 26px;
  min-width: 140px;
  max-width: 230px;
  transition: transform 0.17s, box-shadow 0.22s;
  margin-bottom: 20px;
}
.stats-grid > div h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}
.stats-grid > div p {
  color: #fff;
  font-weight: 500;
}
.stats-grid > div:hover {
  transform: scale(1.08) rotate(-1.5deg);
  box-shadow: 0 7px 21px #ff7fa168;
}

/* ---- USP LIST & GENERAL LISTS ---- */
.usp-list, .feature-list, .post-list, .new-product-list, .contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 0 0 0;
  margin-bottom: 18px;
}
.usp-list li, .feature-list li, .post-list li, .new-product-list li, .contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  padding: 8px 16px 8px 0;
  background: none;
  border-radius: 12px;
}
.usp-list img, .contact-list img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  filter: drop-shadow(0 2px 4px #4fb87746);
}
.contact-list {
  gap: 10px;
}
.map-placeholder {
  margin-top: 20px;
  background: #f5f4ff;
  border-radius: 14px;
  padding: 16px 16px;
  font-size: 1em;
  color: #715DF2;
  font-style: italic;
  box-shadow: 0 2px 5px #715df229;
}

/* ---- TESTIMONIALS ---- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 16px 26px;
  background: #fffce5;
  border-radius: 22px;
  box-shadow: 0 3px 15px #ffe65b29, 0 0.5px 3px #1a305212;
  min-width: 250px;
  max-width: 380px;
  border-left: 6px solid var(--brand-yellow);
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.19s;
}
.testimonial-card p {
  color: #1A3052;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-purple);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  transform: scale(1.03) rotate(-1.5deg);
  box-shadow: 0 7px 21px #FFE65B55, 0 2px 8px #1a305210;
}

/* ---- NEWSLIST & POSTS ---- */
.post-list, .new-product-list {
  margin-bottom: 10px;
}
.featured-articles {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-radius: 14px;
  padding: 12px 24px;
  margin: 18px 0 0 0;
  box-shadow: 0 1px 5px #1a305210;
}
.featured-articles h3 {
  color: var(--brand-secondary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* ---- FORMS, BUTTONS, INTERACTIVE ---- */
button, .cta-primary, .cta-secondary {
  user-select: none;
  outline: none;
  border: none;
  cursor: pointer;
}
button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible {
  outline: 2.5px dashed var(--brand-purple);
  outline-offset: 3px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 36px 0 20px 0;
  margin-top: 38px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 0.96rem;
  text-decoration: underline dotted #4FB87777 1.5px;
  transition: background 0.18s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-yellow);
}
.footer-contact {
  color: #ffe;
  font-size: 0.96rem;
  gap: 6px;
}
.footer-contact p{
  color: white;
}
/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 10px; right: 10px;
  bottom: 12px;
  z-index: 5000;
  background: #fff7c5;
  color: var(--brand-primary);
  border-radius: 18px;
  box-shadow: 0 6px 24px #ffe65b29;
  padding: 19px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  animation: bounceInUp 0.70s cubic-bezier(.75,.01,.52,.92);
}
.cookie-consent-banner p {
  color: var(--brand-primary);
  margin-bottom:0;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 4px;
}
.cookie-buttons button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 8px 22px;
  border-radius: 14px;
  font-weight: 700;
  margin: 0;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-accept {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 2px 6px #4fb87729;
}
.cookie-accept:hover {
  background: var(--brand-primary);
  color: #FFF;
}
.cookie-reject {
  background: var(--brand-pink);
  color: #fff;
  box-shadow: 0 2px 6px #ff7fa12b;
}
.cookie-reject:hover {
  background: var(--brand-purple);
  color: #FFF;
}
.cookie-settings {
  background: var(--brand-yellow);
  color: var(--brand-primary);
  box-shadow: 0 2px 7px #ffe65b2b;
}
.cookie-settings:hover {
  background: var(--brand-primary);
  color: var(--brand-yellow);
}
@media (max-width: 500px) {
  .cookie-consent-banner {
    left: 0; right: 0;
    bottom: 0;
    border-radius: 0;
    padding: 13px 6px 18px 10px;
    font-size: 0.97rem;
  }
}
@keyframes bounceInUp {
  0% { opacity: 0; transform: translateY(80px); }
  40% { opacity: 1; transform: translateY(-15px); }
  60% { transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---- COOKIE PREFERENCES MODAL ---- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 30, 50, 0.23);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.22s;
}
@keyframes fadeInBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px #1A3052aa, 0 2px 4px #4FB87755;
  padding: 32px 28px 28px 28px;
  min-width: 290px;
  max-width: 98vw;
  color: var(--brand-primary);
  animation: popIn 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes popIn {
  0% { opacity:0; transform: scale(0.8) translateY(80px); }
  75% { opacity:1; transform: scale(1.04) translateY(-10px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  color: var(--brand-purple);
  margin-bottom: 5px;
}
.cookie-pref-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #ffe65b;
  border-radius: 11px;
  box-shadow: 0 2px 5px #FFE65B22;
  position: relative;
  transition: background 0.16s;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--brand-secondary);
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px #4fb87724;
  transition: left 0.15s;
}
.cookie-toggle:checked::after {
  left: 20px;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 14px;
  font-weight: 700;
}
.cookie-modal .modal-close {
  background: var(--brand-pink);
  color: #FFF;
  margin-left: 0;
  min-width: 38px;
  border-radius: 18px;
  font-size: 1.18em;
  transition: background 0.12s;
}
.cookie-modal .modal-close:hover {
  background: var(--brand-secondary);
  color: #fff;
}

/* ---- RESPONSIVE ADJUSTMENTS ---- */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }
  .container { padding: 0 5px; }
  .section { padding: 14px 4px; }
}

/* ---- PLAYFUL DECORATIVE EFFECTS ---- */
.section {
  /* Animated playful confetti dots decoration - js can inject for extra energy */
  position: relative;
  overflow: hidden;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: -30px; right: -30px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--brand-pink);
  opacity: 0.23;
  animation: bounceDot 4.5s infinite alternate;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -23px; bottom: -30px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--brand-secondary);
  opacity: 0.18;
  animation: bounceDot2 7.8s infinite alternate;
}
@keyframes bounceDot {
  0% { transform: translateY(0) scale(1); }
  70% { transform: translateY(40px) scale(1.07); }
  100% { transform: translateY(0) scale(1.05); }
}
@keyframes bounceDot2 {
  0% { transform: translateY(0) scale(1); }
  34% { transform: translateY(-14px) scale(1.1); }
  100% { transform: translateY(0) scale(1); }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px #1a305216;
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 20px #715df230;
  transform: translateY(-2px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid { flex-direction: column; gap: 14px; }
  .card-container { gap: 14px; }
}

/* ---- MISC CLASSES AND EFFECTS ---- */
::-webkit-selection, ::selection {
  background: var(--brand-yellow);
  color: var(--brand-primary);
}

.hover-float:hover {
  transform: translateY(-3px) scale(1.035) rotate(-2deg);
  box-shadow: 0 10px 24px #ff7fa139, 0 1px 8px #1a305210;
}

/* ---- SCROLLBAR for desktop ---- */
html {
  scrollbar-color: var(--brand-secondary) var(--brand-accent);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background-color: var(--brand-accent);
}
::-webkit-scrollbar-thumb {
  background-color: var(--brand-secondary);
  border-radius: 10px;
}

/* ---- UTILITY CLASSES ---- */
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }

/* ---- END ---- */
