/* ===========================================================
   CSS RESET & NORMALIZE (Mobile-First)
   =========================================================== */
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;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #EFEFEF;
  font-family: 'Roboto', Arial, sans-serif;
  color: #31353a;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}
:focus {
  outline: 2px dashed #ED7B30;
  outline-offset: 2px;
}

/* ===========================================================
   BRAND FONTS & COLOR PALETTE (playful_dynamic)
   =========================================================== */
:root {
  --primary: #1B2C34;
  --secondary: #EFEFEF;
  --accent: #ED7B30;
  --accent-bright: #FFA547;
  --fun-yellow: #FFE869;
  --fun-blue: #56D3FF;
  --fun-green: #57FCB4;
  --fun-pink: #FF8DC7;
  --shadow: 0 6px 24px 0 rgba(27, 44, 52, 0.13), 0 1.5px 8px 0 rgba(237, 123, 48, 0.08);
  --radius: 18px;
}

/* Only import fonts if not already provided: Use Montserrat (display), Roboto (body) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ===========================================================
   LAYOUT STRUCTURE
   =========================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s;
}
.section:hover {
  box-shadow: 0 12px 36px 0 rgba(27,44,52,0.16), 0 2.5px 14px 0 rgba(237,123,48,0.13);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* For inner content vertical spacing */
}

.text-section {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

/* ===========================================================
   TYPOGRAPHY (playful, energetic)
   =========================================================== */
h1, h2, h3, h4, h5 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  color: var(--primary);
}
h3 {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}
h4, h5 {
  font-size: 1.1rem;
}
p, ul li, ol li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* List Styling */
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.1em;
  position: relative;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  background: linear-gradient(135deg,var(--fun-blue),var(--accent-bright));
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  box-shadow: 0 1px 3px 0 rgba(27,44,52,0.10);
  margin-bottom: 1px;
}
ol li {
  counter-increment: item;
}
ol li::before {
  content: counter(item)'. ';
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0.33em;
  margin-bottom: 0.33em;
  padding-left: 1.4em;
}

/* ===========================================================
   BUTTONS & CTA (fun fonts, animated, energetic)
   =========================================================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(90deg, var(--accent), var(--fun-yellow));
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(237,123,48, 0.19);
  border: 2px solid var(--accent);
  transition: background 0.3s, color 0.2s, box-shadow 0.2s, border 0.2s, transform 0.19s;
  letter-spacing: 1px;
  margin-top: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--fun-green), var(--fun-pink));
  color: var(--primary);
  border: 2px solid var(--fun-blue);
  transform: scale(1.04) rotate(-2deg);
}

/* ===========================================================
   FEATURED CARDS & GRID (playful, dynamic)
   =========================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--fun-yellow);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(86, 211, 255, 0.10);
  padding: 30px 22px;
  flex: 1 0 220px;
  max-width: 290px;
  min-width: 210px;
  min-height: 240px;
  position: relative;
  transition: box-shadow 0.3s, background 0.25s;
  margin-bottom: 20px;
}
.feature-item:hover {
  background: var(--fun-blue);
  box-shadow: 0 4px 20px rgba(237,123,48,0.17);
  transform: rotate(1.2deg) scale(1.04);
}
.feature-item img {
  width: 46px;
  height: 46px;
  display: block;
  margin-bottom: 3px;
}

/* ===========================================================
   CARD CONTAINER
   =========================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 16px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(237,123,48,0.17), 0 1.5px 8px 0 rgba(27, 44, 52, 0.08);
  transform: translateY(-4px) scale(1.02);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* ===========================================================
   CONTENT GRID
   =========================================================== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ===========================================================
   TESTIMONIAL CARDS (Contrast + Playful)
   =========================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fffbe9;
  border-radius: var(--radius);
  border-left: 8px solid var(--accent);
  box-shadow: 0 2px 14px rgba(27, 44, 52, 0.12);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.08rem;
}
.testimonial-card p:first-child {
  color: #1B2C34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.testimonial-card p strong {
  font-size: 0.97rem;
  color: var(--accent);
  font-weight: bold;
  display: block;
}

/* ===========================================================
   HEADER & NAVIGATION (Playful Burger Menu Responsive)
   =========================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(27,44,52,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 211;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo {
  display: flex;
  align-items: center;
  height: 62px;
}
.logo img {
  height: 54px;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1rem;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--fun-pink);
  color: var(--primary);
}

/* ----- Burger Mobile Menu Button ----- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(86,211,255,0.12);
  transition: background 0.15s, color 0.18s, transform 0.13s;
  position: relative;
  z-index: 999;
}
.mobile-menu-toggle:active {
  background: var(--fun-blue);
  color: var(--accent);
  transform: scale(0.95);
}

/* ----- Mobile Menu Overlay ----- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  background: #fff;
  box-shadow: 6px 0 30px rgba(27,44,52,0.17);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.71,0.16,0.38,0.95);
  z-index: 1111;
  padding: 32px 22px 56px 28px;
  opacity: 0.96;
}
.mobile-menu.active {
  transform: translateX(0) !important;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--primary);
  background: var(--fun-pink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.18s;
  margin-bottom: 10px;
}
.mobile-menu-close:active {
  background: var(--fun-yellow);
  color: var(--accent);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--fun-blue);
  transition: background 0.17s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun-green);
  color: var(--accent);
}

/* Show menu on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-right: 8px;
  }
}

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

/* Sticky header fix for mobile overlay */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ===========================================================
   FOOTER
   =========================================================== */
footer {
  background: #1B2C34;
  color: #fff;
  margin-top: 72px;
  padding: 44px 0 24px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-menu a {
  color: var(--fun-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition: color 0.18s;
  margin-bottom: 3px;
}
.footer-menu a:hover {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.footer-contact p img {
  vertical-align: middle;
  margin-right: 9px;
  width: 20px;
  height: 20px;
}
.footer-brand {
  display: flex;
  align-items: flex-end;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.06rem;
  color: var(--fun-yellow);
}

/* ===========================================================
   MAP/LOCATION & SPECIAL INFO BOXES
   =========================================================== */
.map-location {
  background: var(--fun-blue);
  color: var(--primary);
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(23, 44, 88, 0.11);
  padding: 18px 16px;
  margin-top: 12px;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
}
.map-location strong {
  color: var(--accent);
}

/* ===========================================================
   RESPONSIVE STYLES (Mobile-First Design & Flexbox)
   =========================================================== */
@media (max-width: 1024px) {
  .footer-menu, .footer-contact, .footer-brand {
    flex: 1 1 100%;
    margin-bottom: 14px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .container {
    max-width: 97vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 850px) {
  .feature-grid {
    justify-content: center;
    gap: 18px;
  }
  .feature-item {
    min-width: 140px;
    max-width: 99vw;
    flex: 1 1 90vw;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 20px 8px;
  }
  .container {
    padding-left: 2.5vw; padding-right: 2.5vw;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  .feature-item {
    padding: 20px 10px;
    min-width: 110px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-menu, .footer-contact, .footer-brand {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 550px) {
  .feature-grid {
    flex-direction: column;
    gap: 13px;
  }
  .feature-item {
    margin-bottom: 14px;
  }
  .testimonial-card {
    padding: 13px;
  }
  .footer-menu {
    gap: 8px;
  }
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS (Playful, Dynamic Style)
   ============================================================ */
.cta-button, .feature-item, .card, .testimonial-card {
  transition: box-shadow 0.29s, background 0.26s, color 0.18s, transform 0.17s;
}
.cta-button:active {
  transform: scale(0.97) rotate(-1deg);
  background: var(--fun-yellow);
  color: var(--primary);
}
.feature-item:active,
.card:active {
  transform: scale(0.97);
}

a, button {
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--accent);
}

/* Playful floating icon animation (for feature icons, blobs, confetti) */
@keyframes playful-bounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px) scale(1.03) rotate(-3deg); }
}
.feature-item img {
  animation: playful-bounce 2.2s infinite ease-in-out;
}

/* Fun section background confetti dots (decorative): Only on light backgrounds */
.section::before {
  content: '';
  position: absolute;
  left: -18px; top: 21px;
  width: 18px; height: 18px;
  background: var(--fun-green);
  border-radius: 50%;
  opacity: 0.20;
  z-index: 0;
}
.section::after {
  content: '';
  position: absolute;
  right: 12px; bottom: 9px;
  width: 14px; height: 14px;
  background: var(--fun-pink);
  border-radius: 50%;
  opacity: 0.18;
  z-index: 0;
}
@media (max-width: 650px) {
  .section::before, .section::after {
    display: none;
  }
}

/* ===========================================================
   COOKIE CONSENT BANNER & MODAL (playful style)
   =========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 2222;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,232,105,0.99);
  color: #1B2C34;
  padding: 18px 12px 25px 18px;
  box-shadow: 0 -4px 20px rgba(27,44,52,0.13);
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 20px;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  margin-left: 30px;
}
.cookie-btn {
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  background: var(--accent);
  color: #fff;
  margin-left: 2px;
  box-shadow: 0 2px 8px rgba(86,211,255,0.11);
  margin-bottom: 2px;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.13s;
}
.cookie-btn:hover {
  background: var(--fun-blue);
  color: var(--primary);
  box-shadow: 0 3px 16px rgba(237,123,48,0.15); 
  transform: scale(1.05);
}
.cookie-btn.settings {
  background: var(--fun-green);
  color: var(--primary);
}

/* ===== Cookie Settings Modal ===== */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2322;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(27,44,52,0.36);
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;
  overflow-y: auto;
  animation: fadeIn 0.6s;
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 18px;
  padding: 26px 20px 26px 26px;
  max-width: 373px;
  box-shadow: 0 8px 38px rgba(27,44,52,0.21);
  position: relative;
  margin: 18px;
  animation: slideUpModal 0.3s;
}
@keyframes slideUpModal {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 13px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  justify-content: space-between;
}
.cookie-modal-category label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1B2C34;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
}
.cookie-toggle {
  width: 36px; height: 22px;
  border: none;
  background: var(--fun-blue);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle[data-checked='true'] {
  background: var(--accent);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(27, 44, 52, 0.11);
  transition: left 0.2s;
}
.cookie-toggle[data-checked='true']::before {
  left: 17px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  font-size: 1.7rem;
  color: var(--accent);
  background: none;
  border: none;
  line-height: 1;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cookie-modal-close:active {
  background: var(--fun-yellow);
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
}

@media (max-width: 540px) {
  .cookie-modal-dialog {
    max-width: 94vw;
    padding: 18px 4vw;
  }
}

/* =============================================================
   MISC & UTILITY (ensure NO elements overlap, playful effects)
   ============================================================= */

.card:not(:last-child),
.testimonial-card:not(:last-child),
.section:not(:last-child) {
  margin-bottom: 60px !important;
}

/* Utility classes for margin, spacing (if needed) */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }

/* Hide visually but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============= END ============= */
