/* CSS RESET & NORMALIZE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, html { width: 100%; height: 100%; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; background: none; border: none; outline: none; }
button { cursor: pointer; }

/* BRAND VARIABLES */
:root {
  --color-primary: #21425B;
  --color-secondary: #E7F0DA;
  --color-accent: #F9B233;
  --color-bg: #FFFFFF;
  --color-card-bg: #FDF8E1;
  --color-shadow: rgba(33, 66, 91, 0.10);
  --color-text-dark: #183040;
  --color-text-light: #ffffff;
  --color-success: #6FCF97;
  --color-danger: #EB5757;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-lg: 36px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-main: 0 6px 34px 0 var(--color-shadow);
  --transition-main: all 0.25s cubic-bezier(.6,.2,.24,1);
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-secondary);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }

.subheadline {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* HEADER */
header { background: var(--color-bg); box-shadow: 0 3px 12px 0 var(--color-shadow); position: relative; z-index: 10; }
header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
header nav { display: flex; align-items: center; gap: 22px; }
header nav a { font-family: var(--font-display); font-size: 1rem; padding: 6px 16px; border-radius: var(--radius-md); transition: var(--transition-main); color: var(--color-primary);}
header nav a:hover, header nav a:focus { background: var(--color-accent); color: var(--color-primary); transform: translateY(-2px) scale(1.03); }
.cta-btn { font-weight: 800; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-lg); box-shadow: 0 2px 10px 0 var(--color-shadow); font-size: 1.1rem; letter-spacing: 0.04em; cursor: pointer; transition: var(--transition-main); position: relative; }
.cta-btn:hover, .cta-btn:focus { background: var(--color-primary); color: #fff; box-shadow: 0 6px 24px 0 var(--color-shadow); transform: scale(1.06) rotate(-2deg); }

/* MOBILE MENU BUTTON (BURGER) */
.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  font-size: 2.1rem;
  padding: 5px 18px;
  border: none;
  display: none;
  margin-left: 19px;
  transition: var(--transition-main);
  z-index: 1110;
}
.mobile-menu-toggle:active {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--color-bg);
  box-shadow: 0 6px 34px 0 var(--color-shadow);
  z-index: 2000;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,.2,.3,.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--color-primary);
  background: transparent;
  border: none;
  margin: 22px 0 22px 24px;
}
.mobile-nav { display: flex; flex-direction: column; gap: 28px; width: 100%; padding-left: 38px; margin-top: 16px; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.35rem; color: var(--color-primary); font-weight: 700; border-radius: var(--radius-md); padding: 9px 0; transition: var(--transition-main); }
.mobile-nav a:hover, .mobile-nav a:focus { color: var(--color-accent); background: var(--color-secondary); }

/* Hide nav on mobile */
@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* HERO / MAIN SECTION */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
}
main > section:nth-child(even) {
  background: var(--color-secondary);
  border-radius: var(--radius-md);
}
main > section:nth-child(odd) {
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

/* FEATURES GRID, FLEX LAYOUTS */
.features-grid, .features { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start; margin-bottom: 0; }
.features-grid > div, .feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px 0 var(--color-shadow);
  min-width: 240px; max-width: 340px;
  flex: 1 1 260px;
  position: relative;
  transition: var(--transition-main), box-shadow 0.3s;
}
.features-grid > div:hover,
.feature-item:hover {
  box-shadow: 0 6px 34px 0 var(--color-shadow);
  transform: translateY(-4px) scale(1.04) rotate(-2deg);
}
.features-grid img, .feature-item img {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-secondary); box-shadow: 0 1px 7px 0 var(--color-shadow);
  animation: playful-bounce 1.5s infinite alternate;
}
@keyframes playful-bounce {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.08) rotate(-8deg); }
}

/* CARD PATTERNS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  transition: var(--transition-main);
  padding: 24px 22px;
}
.card:hover { box-shadow: 0 5px 24px 0 var(--color-shadow); }

.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; }
.text-section { display: flex; flex-direction: column; gap: 16px; }

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 24px var(--color-shadow);
  font-size: 1.1rem;
  color: var(--color-primary);
  flex: 1 1 280px;
  min-width: 0;
  transition: box-shadow 0.19s, transform 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 38px var(--color-shadow);
  transform: scale(1.022) rotate(1deg);
}
.testimonial-author {
  margin-left: auto;
  font-style: italic;
  color: var(--color-accent);
  font-weight: 700;
}

/* BUTTONS */
button, .cta-btn {
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.03rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none; outline: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-top: 8px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: var(--transition-main);
}
button:hover, .cta-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.07) rotate(-2deg);
}
button:active, .cta-btn:active {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* FORMS */
input, textarea {
  width: 100%;
  padding: 13px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-primary);
  font-size: 1rem;
  margin-bottom: 16px;
  background: var(--color-bg);
  transition: border 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--color-accent);
}

/* LISTS */
ul, ol {
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 1.06rem;
  color: var(--color-primary);
}
ul li { margin-bottom: 8px; position: relative; }
ul li::before {
  content: '●'; color: var(--color-accent); font-size: 1rem; margin-right: 9px; position: absolute; left: -24px; top: 0px;
}
/* For values */
li strong { color: var(--color-accent); font-weight: 700; font-family: var(--font-display); }

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 36px 0 22px 0;
  margin-top: 32px;
  font-size: 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 -4px 28px 0 var(--color-shadow);
}
footer .container { display: flex; flex-direction: column; align-items: center; padding: 0 18px; }
footer .content-wrapper {
  width: 100%; max-width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-links {
  font-size: 0.97rem;
  margin: 8px 0 0 0;
  display: flex; flex-wrap: wrap;
  gap: 10px;
  color: var(--color-text-light);
}
.footer-links a { color: var(--color-accent); font-weight: 500; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.contact-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 17px;
  font-size: 1rem; color: var(--color-text-light);
}
.contact-summary img { display: inline; width: 20px; height: 20px; margin-right: 6px; vertical-align: middle; }
.brand-tagline {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.15rem;
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fffceb;
  box-shadow: 0 -3px 12px 0 var(--color-shadow);
  z-index: 4000;
  padding: 20px 38px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.35s, opacity 0.2s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner__actions {
  display: flex; gap: 15px; align-items: center;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 8px 22px;
  margin: 2px 0;
  border: none;
  cursor: pointer;
  transition: var(--transition-main);
}
.cookie-btn.accept:hover { background: var(--color-success); color: var(--color-primary); }
.cookie-btn.reject { background: var(--color-danger); color: #fff; }
.cookie-btn.reject:hover { filter: brightness(0.98) contrast(1.4); }
.cookie-btn.settings { background: var(--color-primary); color: var(--color-accent); }
.cookie-btn.settings:hover { background: var(--color-accent); color: var(--color-primary); }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  min-width: 89vw; max-width: 430px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 38px 0 var(--color-shadow);
  z-index: 4200;
  padding: 33px 36px 22px 36px;
  display: none;
  flex-direction: column;
  gap: 19px;
  animation: cookieModalShow 0.22s cubic-bezier(.6,.2,.24,1);
}
@keyframes cookieModalShow {
  from { opacity: 0; transform: translate(-50%, -60%) scale(0.88); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1);
}}
.cookie-modal.open { display: flex; }
.cookie-modal h3 { color: var(--color-primary); font-size: 1.3rem; font-family: var(--font-display); margin-bottom: 7px; }
.cookie-modal .cookie-categories {
  display: flex; flex-direction: column; gap: 10px;
}
.cookie-category {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 9px 14px;
  font-size: 1.04rem;
}
.cookie-category.essential label { color: var(--color-primary); font-weight: 700; }
.cookie-category input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--color-primary); }
.cookie-modal__footer {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 13px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1280px) {
  .container, .content-wrapper { max-width: 97vw; }
}
@media (max-width: 1024px) {
  .features-grid > div, .feature-item {
    min-width: 180px;
    max-width: 450px;
    padding: 20px 13px 18px 13px;
  }
  section { padding: 24px 6vw; }
  footer .content-wrapper { padding: 0 5px; }
}
@media (max-width: 768px) {
  .container { padding: 0 5vw; }
  .features-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch;
  }
  .features-grid > div, .feature-item, .card {
    min-width: 0; max-width: 98vw;
    margin-bottom: 20px;
  }
  .content-wrapper, section { padding: 18px 3vw; }
  .text-image-section { flex-direction: column; align-items: center; }
  header .container { flex-direction: row; padding: 0 9px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.15rem; }
  .cta-btn { font-size: 1rem; }
  .testimonial-card { font-size: 1rem; flex-direction: column; align-items: flex-start; }
  .cookie-modal { min-width: 97vw; max-width: 97vw; padding: 13vw 3vw 8vw 3vw; }
}
@media (max-width: 480px) {
  .brand-tagline { font-size: 1rem; }
  .footer-links { font-size: 0.89rem; gap: 7px; }
  .contact-summary { font-size: 0.95rem; gap: 8px; flex-direction: column; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 12px 5px 12px 7px; font-size: 0.98rem; }
}

/* PLAYFUL + DYNAMIC FUN FONTS & EFFECTS */
h1, h2, .brand-tagline {
  font-family: var(--font-display);
  text-shadow: 0 3px 14px rgba(249,178,51,0.09);
}
h1::after {
  content: '🎉'; margin-left: 10px; vertical-align: middle; font-size: 1.25em; animation: popBounce 1.6s infinite alternate;
}
@keyframes popBounce {
  0% { transform: scale(1) rotate(-7deg); opacity: 0.95; }
  100% { transform: scale(1.15) rotate(8deg); opacity: 1; }
}
.cta-btn::after {
  content: ' ➡️'; transition: transform 0.25s;
  position: relative; left: 2px;
}
.cta-btn:hover::after { left: 9px; transform: scale(1.2) rotate(3deg); }

/* Card/Section DELINEATION */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }

/* SCROLLBAR STYLE */
::-webkit-scrollbar {
  width: 9px; background: var(--color-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent); border-radius: var(--radius-lg);
}

/* LINKS INTERACTION */
a, button {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.18s;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* MISC & ACCESSIBILITY */
[aria-live]{ position: absolute; left: -5000px; }

/* Animations for hover/micro-interactions */
.card, .testimonial-card, .features-grid > div, .feature-item {
  transition: box-shadow 0.21s, transform 0.18s;
}

/* END */
