/* --- CSS RESET & BASE --- */
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 {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  background: #F9FAFB;
  color: #0D254E;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #17A79E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F37C18;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: 16px;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BRAND COLORS AS VARIABLES --- */
:root {
  --primary: #0D254E;
  --secondary: #17A79E;
  --accent: #F9FAFB;
  --fun-yellow: #FFE156;
  --fun-pink: #FF69B4;
  --fun-purple: #7B61FF;
  --fun-orange: #F37C18;
  --shadow-1: 0 2px 12px rgba(23,167,158,0.10), 0 2px 4px rgba(13,37,78,0.04);
  --radius: 18px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 {
  font-size: 2.6rem;
  line-height: 1.16;
  margin-bottom: 20px;
  font-family: 'Montserrat', cursive;
  text-shadow: 2px 2px 0 var(--fun-yellow);
  animation: popin 0.7s cubic-bezier(.47,1.64,.41,.8) 1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--fun-pink);
  font-family: 'Montserrat', cursive;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.text-section h2, .text-section h3 {
  color: var(--fun-purple);
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* --- UTILITY SPACING & LAYOUT --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  position: relative;
  z-index: 1;
}
.content-wrapper {
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: white;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.17s cubic-bezier(.15,.89,.06,1.57), box-shadow 0.3s;
  padding: 24px 18px;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotateZ(-1deg);
  box-shadow: 0 8px 32px rgba(123,97,255,0.1), 0 2px 8px rgba(23,167,158,0.12);
}
.card-container .card {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
}
.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;
  background: #FFE156;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(13,37,78,.07);
  color: #222;
  flex-wrap: wrap;
  transition: box-shadow 0.25s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(123,97,255,0.13), 0 2px 12px rgba(23,167,158,0.08);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--fun-yellow);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 2px 4px rgba(23,167,158,0.07);
  margin-bottom: 20px;
}
.text-section {
  padding: 10px 0;
}

/* --- HEADER --- */
header {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(13,37,78,0.07);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 68px;
  justify-content: space-between;
}
header a img {
  height: 52px;
  width: auto;
  transition: filter 0.25s;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.11s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--fun-yellow);
  background: rgba(23,167,158,0.2);
  outline: none;
  transform: scale(1.08) rotateZ(2deg);
}
nav a.btn-primary {
  background: var(--fun-pink);
  color: white;
  padding: 8px 22px;
  font-size: 1.1rem;
  border-radius: 15px;
  margin-left: 14px;
  box-shadow: 0 1px 8px rgba(255,105,180,0.08);
  transition: background 0.17s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  text-shadow: 0 1px 4px rgba(13,37,78,0.04);
}
nav a.btn-primary:hover, nav a.btn-primary:focus {
  background: var(--fun-yellow);
  color: var(--primary);
  box-shadow: 0 2px 16px rgba(255,225,86,0.17);
  transform: scale(1.03);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--fun-yellow);
  background: rgba(13,37,78,.03);
  border: 2px solid var(--fun-yellow);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  line-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1101;
  transition: background 0.19s, color 0.19s, border 0.16s;
}
.mobile-menu-toggle:active {
  background: var(--fun-yellow);
  color: var(--primary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  z-index: 1100;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(.6,.05,.54,1.21);
  transform: translateX(100%);
  box-shadow: -8px 0 34px rgba(13,37,78,0.16);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.36s cubic-bezier(.59,1.4,.44,1.01);
}
@keyframes slideInMenu {
  0% {transform: translateX(100%);}
  100% {transform: translateX(0);}
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--fun-yellow);
  background: transparent;
  align-self: flex-end;
  margin: 16px 18px 0 0;
  transition: color 0.2s;
  z-index: 1102;
}
.mobile-menu-close:hover {
  color: var(--fun-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 26px;
  margin-top: 80px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--fun-yellow);
  padding: 18px 0 10px 0;
  width: 92%;
  text-align: center;
  border-radius: 13px;
  background: rgba(255,255,255,0.05);
  transition: background 0.18s, color 0.17s, transform 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun-orange);
  color: white;
  transform: scale(1.05) rotateZ(-2deg);
}

@media (max-width: 1023px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
  nav {
    display: flex !important;
  }
}

/* --- MAIN STYLES --- */
main {
  min-height: 60vh;
  margin-top: 10px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

/* --- BUTTONS --- */
.btn-primary, .btn-primary:visited, a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg,var(--fun-pink) 60%,var(--fun-purple) 99%);
  padding: 12px 36px;
  border-radius: 22px;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(123,97,255,0.08);
  transition: background 0.22s, box-shadow 0.15s, color 0.15s, transform 0.1s;
  margin-top: 18px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,var(--fun-yellow) 60%,var(--fun-orange) 99%);
  color: var(--primary);
  transform: scale(1.04);
  box-shadow: 0 4px 28px rgba(255,225,86,0.18);
}

/* --- FORMS (when present) --- */
input, textarea, select {
  padding: 10px 14px;
  border: 2px solid var(--secondary);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 16px;
  background: white;
  transition: border 0.15s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--fun-pink);
  box-shadow: 0 1px 8px rgba(255,225,86,0.1);
  outline: none;
}

/* --- LISTS/ICONS --- */
ul li, ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  min-height: 28px;
  word-break: break-word;
  display: flex;
  align-items: center;
}
ul li img {
  margin-right: 7px;
  width: 22px;
  height: 22px;
  display: inline-block;
  position: static;
}
ul li strong {
  font-family: 'Montserrat', cursive;
  color: var(--fun-purple);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 40px 0 10px 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 32px;
  margin-top: 36px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
footer nav a, footer nav a:visited {
  color: var(--fun-yellow);
  font-weight: 600;
  font-size: 0.97rem;
  transition: color 0.18s;
}
footer nav a:hover { color: var(--fun-pink); }
footer .text-section img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(120%) saturate(140%);
}
footer .text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg,var(--fun-yellow) 70%,var(--fun-orange) 100%);
  color: #0D254E;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 16px 18px 16px;
  box-shadow: 0 -2px 24px rgba(23,167,158,0.14);
  z-index: 1200;
  font-size: 1.01rem;
  animation: popBanner 0.5s cubic-bezier(.51,1.45,.32,1.09);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
@keyframes popBanner {
  0% {transform: translateY(100%); opacity:0;}
  80% {transform: translateY(-10px) scale(1.03); opacity:.89;}
  100% {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 18px;
  padding: 9px 20px;
  background: var(--fun-pink);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(123,97,255,0.08);
  transition: background 0.19s, color 0.13s, transform 0.15s;
}
.cookie-btn.accept {
  background: var(--fun-purple);
}
.cookie-btn.reject {
  background: var(--fun-yellow);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.05);
  opacity: 0.92;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 72px;
  max-width: 360px;
  width: 92vw;
  transform: translateX(-50%) scale(1.03);
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(13,37,78,0.22);
  z-index: 1210;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 24px 26px 24px;
  animation: modalAppear 0.42s cubic-bezier(.63,1.46,.33,1.11);
}
@keyframes modalAppear {
  0% {transform: translateX(-50%) scale(0.8); opacity:0;}
  80% {transform: translateX(-50%) scale(1.06); opacity:.88;}
  100% {transform: translateX(-50%) scale(1); opacity:1;}
}
.cookie-modal h2 {
  color: var(--fun-pink);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 5px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category-row input[type=checkbox] {
  accent-color: var(--fun-yellow);
  width: 20px; height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* --- ANIMATION: POP-IN HEADING --- */
@keyframes popin {
  0% {transform: scale(.85) translateY(32px); opacity:0;}
  74% {transform: scale(1.11) translateY(-9px); opacity:.7;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}

/* --- MISC/PLAYFUL FLAIR --- */
.section:before {
  content: '';
  position: absolute;
  top: -24px;
  left: -28px;
  width: 52px;
  height: 52px;
  background: var(--fun-pink);
  border-radius: 50%;
  opacity: .11;
  z-index: 0;
  animation: floatBlob 4.8s infinite cubic-bezier(.44,.97,.47,1.26);
}
.section:after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -19px;
  width: 34px; height: 34px;
  background: var(--fun-purple);
  border-radius: 50%;
  opacity: .12;
  z-index: 0;
  animation: floatBlob2 6.2s infinite alternate cubic-bezier(.51,1.18,.49,1.09);
}
@keyframes floatBlob {
  0%,100% { transform: translateY(0) scale(1); }
  42% { transform: translateY(13px) scale(1.04) rotateZ(16deg); }
  60% { transform: translateY(-7px) scale(0.95) rotateZ(-12deg); }
}
@keyframes floatBlob2 {
  0%,100% { transform: scale(1); }
  49% { transform: scale(.96) rotateZ(12deg); }
  73% { transform: scale(1.08) rotateZ(19deg); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1023px) {
  .container {
    padding: 0 12px;
  }
  .section, section {
    padding: 29px 8px;
    margin-bottom: 34px;
  }
  main {
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .features {
    flex-direction: column;
    gap: 16px;
  }
  .section, section {
    padding: 22px 3px;
  }
  .testimonial-card, .feature-item {
    flex-direction: column;
    gap: 11px;
    padding: 14px 9px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .btn-primary, .cookie-btn {
    font-size: 1rem;
    padding: 10px 24px;
  }
  .card {
    min-width: 100%;
    max-width: 100%;
    padding: 12px 5px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 600px) {
  header .container {
    flex-direction: row;
    gap: 11px;
    padding: 0 6px;
  }
  .container {
    padding: 0 3vw;
  }
  section, .section {
    margin-bottom: 24px;
    padding: 13px 1px;
  }
  footer .container {
    padding: 0 2vw;
    gap: 12px;
  }
  .cookie-banner {
    font-size: 0.95rem;
    padding: 13px 6px 11px 6px;
    gap: 10px;
  }
  .cookie-modal {
    padding: 20px 7px 15px 7px;
    max-width: 98vw;
  }
}

/* --- MISC COMPONENTS CLASSES (spacing/alignment) --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

/* --- ICONS & REVIEW STARS --- */
.testimonial-card img {
  vertical-align: middle;
  height: 28px;
  width: 28px;
  display: inline-block;
  margin-right: 2px;
  filter: drop-shadow(0 1px 2px rgba(23,167,158,0.08));
}

/* --- VISUAL HIERARCHY / FUN FONTS --- */
.section h2, .section > h2 {
  font-family: 'Montserrat', cursive;
  color: var(--fun-pink);
  letter-spacing: 0.02em;
}
.content-wrapper h1, .content-wrapper h2 {
  word-break: break-word;
  padding-right: 10px;
}

/* --- CUSTOM SCROLLBAR (fun effect, optional) --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--fun-yellow);
  border-radius: 8px;
}

/* --- HOVER/ACTIVE INTERACTIONS --- */
a, button, .btn-primary, .cookie-btn {
  transition: color 0.18s, background 0.19s, box-shadow 0.16s, transform 0.1s;
}

/* --- Z-INDEX STACKING: for mobile nav, cookie banner, modal --- */
header,
footer { z-index: 1; }
.mobile-menu { z-index: 1100; }
.mobile-menu-toggle { z-index: 1101; }
.mobile-menu-close { z-index: 1102; }
.cookie-banner { z-index: 1200; }
.cookie-modal { z-index: 1210; }

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px dashed var(--fun-yellow);
  outline-offset: 2px;
}

/* --- END OF STYLE.CSS --- */
