/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F4F8;
  color: #164072;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #164072;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.47,1.64,.41,.8);
}
a:hover,
a:focus {
  color: #fdc639;
  outline: none;
}
ul { list-style: none; }
strong { font-weight: 700; }

/* BRAND COLORS */
:root {
  --primary: #164072;
  --secondary: #F2F4F8;
  --accent: #97C1E7;
  --yellow: #fdc639;
  --fun-pink: #DE51A1;
  --fun-green: #2ecc77;
  --danger: #e05656;
  --white: #fff;
  --grey: #757575;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', 'Comic Sans MS', Arial, sans-serif;
}
h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--fun-pink);
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--fun-pink);
  margin-bottom: 16px;
  font-weight: 500;
}
.text-section {
  margin-bottom: 32px;
}
.text-section > h2, .text-section > h3 { margin-top: 20px; }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  background: var(--secondary);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  box-shadow: 0 3px 20px 0 #97c1e753;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 #a2d2f066;
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.18s cubic-bezier(.47,1.64,.41,.8), box-shadow 0.18s;
  cursor: pointer;
  will-change: transform;
}
.card:hover, .card:focus {
  transform: translateY(-5px) scale(1.04) rotate(-0.5deg);
  box-shadow: 0 4px 32px 0 #97c1e799;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--white);
  box-shadow: 0 5px 32px 0 #a2d2f070;
  border-radius: 22px 44px 22px 44px;
  padding: 28px 32px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 520px;
  border: 3px dashed var(--fun-pink);
  position: relative;
  overflow: visible;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 48px 0 #97c1e7cc;
  border-color: var(--yellow);
  animation: testimonial-wiggle 0.14s 3;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.09rem;
  font-weight: 500;
  margin-bottom: 2px;
  line-height: 1.7;
  text-align: center;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--fun-pink);
  font-weight: 700;
}
@keyframes testimonial-wiggle {
  0% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
  100% { transform: rotate(0deg); }
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  cursor: pointer;
  padding: 14px 36px;
  border-radius: 100px 42px 42px 100px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 5px 30px -10px var(--accent);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.17s cubic-bezier(.48,1.7,.41,1.1);
}
.btn-primary {
  background: linear-gradient(92deg, var(--fun-pink) 60%, var(--accent) 100%);
  color: var(--white);
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(98deg, var(--yellow) 60%, var(--fun-pink) 100%);
  color: var(--primary);
  box-shadow: 0 7px 30px 0 var(--yellow);
  transform: translateY(-4px) scale(1.03);
  outline: none;
}
.btn-secondary {
  background: var(--white);
  border: 2px solid var(--fun-pink);
  color: var(--fun-pink);
  letter-spacing: 0.03em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--fun-pink);
  color: var(--white);
  border-color: var(--yellow);
  box-shadow: 0 6px 24px 0 var(--yellow);
  transform: translateY(-3px) scale(1.03);
}

.footer-nav a, .main-nav a,
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.2s, transform 0.13s cubic-bezier(.47,1.64,.41,.8);
  padding: 8px 16px;
  border-radius: 14px 28px 14px 28px;
}
.footer-nav a:hover, .main-nav a:hover,
.mobile-nav a:hover {
  color: var(--fun-pink);
  background: var(--accent);
  transform: translateY(-2px) scale(1.04);
}

/* INPUTS */
input[type="text"], textarea {
  font-size: 1rem;
  line-height: 1.6;
  padding: 10px 15px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  margin-bottom: 16px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 1px 8px 0 #97c1e744;
  outline: none;
  transition: border 0.1s, box-shadow 0.2s;
}
input[type="text"]:focus, textarea:focus {
  border: 2px solid var(--fun-pink);
  box-shadow: 0 1px 12px 0 #de51a122;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.category-filters button {
  padding: 10px 22px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 20px;
  border: none;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 #97c1e744;
}
.category-filters button:hover, .category-filters button:focus {
  background: var(--fun-pink);
  color: var(--white);
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-list li {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #a2d2f066;
  padding: 20px 22px;
  margin-bottom: 12px;
  transition: box-shadow 0.17s;
}
.blog-list li a {
  color: var(--fun-pink);
  font-weight: 700;
  margin-left: 10px;
}
.blog-list li a:hover {
  color: var(--yellow);
}
/* HIGHLIGHTED POST */
.highlighted-post {
  background: linear-gradient(90deg, var(--accent) 70%, #fff2fe 100%);
  border-left: 7px solid var(--fun-pink);
  border-radius: 19px;
  padding: 26px 30px;
  margin-bottom: 32px;
  box-shadow: 0 4px 23px 0 #97c1e7cc;
  animation: highlight-blink 2.5s linear infinite alternate;
}
@keyframes highlight-blink {
  0% { box-shadow: 0 2px 16px 0 #97c1e7aa; }
  80% { box-shadow: 0 4px 23px 0 #97c1e7cc; }
  100% { box-shadow: 0 0 0 0 #97c1e700; }
}

/* NAVIGATION & HEADER */
header {
  background: var(--white);
  box-shadow: 0 2px 12px 0 #d0e6f43d;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 14px 18px 14px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
header .btn-primary {
  margin-left: 20px;
}
/* Hide mobile menu by default */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* MOBILE NAVIGATION */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 18px;
    top: 28px;
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 16px;
    border: none;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    z-index: 160;
    cursor: pointer;
    transition: background 0.14s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--fun-pink);
    color: var(--white);
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: var(--white);
    z-index: 170;
    box-shadow: 0 2px 22px 0 #97c1e79e;
    transform: translateX(-102vw);
    transition: transform 0.36s cubic-bezier(.51,1.84,.77,1.13);
    padding: 35px 32px 24px 32px;
  }
  .mobile-menu.open {
    transform: translateX(0) !important;
  }
  .mobile-menu-close {
    position: absolute;
    top: 17px;
    right: 22px;
    background: var(--fun-pink);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 2.05rem;
    cursor: pointer;
    z-index: 191;
    transition: background 0.18s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--yellow); color: var(--primary); }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-top: 40px;
    width: 100%;
  }
  .mobile-nav a {
    font-size: 1.3rem;
    padding: 14px 12px 14px 0;
    border-radius: 0 31px 31px 0;
    width: 100%;
  }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  margin-top: 80px;
  border-radius: 45px 45px 0 0;
  box-shadow: 0 -2px 32px 0 #97c1e73d;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 20px 10px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 44px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-direction: column;
}
.footer-nav a {
  color: var(--white);
  padding: 4px 8px;
  border-radius: 10px 20px 10px 20px;
  font-size: 1.02rem;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: var(--fun-pink);
}
footer .contact-info h3 { color: var(--yellow); font-size: 1.18rem; }
footer .contact-info p, footer .contact-info a { color: var(--white); font-size: 0.99rem; }
footer .footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin: 16px 0 2px 0;
}
.footer-social img {
  width: 28px; height: 28px; transition: transform 0.16s;
}
.footer-social a:hover img {
  transform: scale(1.2) rotate(-7deg);
}
.footer-copy {
  text-align: center;
  color: #dceeff;
  font-size: 0.95rem;
  margin-top: 10px;
}

/* COMMON PAGES STYLES */
ul li {
  margin-bottom: 15px;
  line-height: 1.62;
  padding-left: 28px;
  position: relative;
  color: var(--primary);
}
ul li:before {
  content: '⦿';
  color: var(--fun-pink);
  font-size: 16px;
  position: absolute;
  left: 0; top: 2px;
}
ol li {
  margin-bottom: 13px;
  color: var(--primary);
}

/* ADDING DYNAMIC-PARTY! */
h1, h2, h3, .btn-primary, .btn-secondary, .mobile-menu-toggle {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', 'Comic Sans MS', Arial, sans-serif;
}
/* Decorative bubble anims */
body:after {
  content: '';
  position: fixed; z-index: -2;
  right: 8vw; bottom: -55px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--fun-pink) 40%, var(--accent) 100%);
  opacity: 0.13;
  border-radius: 50%;
  filter: blur(4px);
  animation: bubblefloat 6s infinite alternate ease-in-out;
}
@keyframes bubblefloat {
  0%   { transform: scale(1)    translateY(0); }
  48%  { transform: scale(1.12) translateY(-24px); }
  100% { transform: scale(1.23) translateY(18px); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .section {
    margin-bottom: 38px;
    padding: 25px 6px;
  }
  header .container { padding: 12px 8px 12px 8px; }
  .footer-nav { flex-direction: row; gap: 12px; }
  .footer-brand { font-size: 1.09rem; }
}
@media (max-width: 768px) {
  html { font-size: 14px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .container {
    padding: 0 7px;
  }
  .content-wrapper { gap: 18px; }
  .section {
    padding: 19px 3vw;
    margin-bottom: 28px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    padding: 18px 12px;
    min-width: unset;
    max-width: unset;
    border-radius: 18px 30px 18px 30px;
    margin: 0 0 16px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .category-filters {
    flex-direction: column;
    gap: 6px;
  }
  footer .container {
    gap: 14px;
    padding: 20px 7px 7px 7px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.4rem; }
  .btn-primary, .btn-secondary { padding: 10px 18px; font-size: 1rem; }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -6px 40px 0 #a2d2f071;
  padding: 28px 32px 24px 32px;
  border-radius: 30px 30px 0 0;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1011;
  font-size: 1.05rem;
  animation: cookie-slidein 0.76s cubic-bezier(.51,1.84,.77,1.13);
}
@keyframes cookie-slidein {
  0% { transform: translateY(125px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 0;
  min-width: 125px;
  margin-right: 15px;
  font-size: 1.09rem;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-consent-banner button {
  padding: 11px 22px;
  border-radius: 21px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 4px;
  box-shadow: 0 2px 12px 0 #97c1e752;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-consent-banner .cookie-accept {
  background: var(--fun-green);
  color: var(--white);
}
.cookie-consent-banner .cookie-accept:hover { background: var(--yellow); color: var(--primary); }
.cookie-consent-banner .cookie-reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-consent-banner .cookie-reject:hover { background: var(--primary); color: var(--white); }
.cookie-consent-banner .cookie-settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-consent-banner .cookie-settings:hover { background: var(--fun-pink); color: var(--white); }

@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 13px;
    padding: 17px 11px 10px 11px;
    font-size: 0.98rem;
    border-radius: 21px;
  }
  .cookie-consent-banner .cookie-actions {
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 7px;
  }
}
/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 40px rgba(22,64,114,0.26);
  border-radius: 32px;
  min-width: 290px;
  max-width: 95vw;
  width: 470px;
  z-index: 2100;
  padding: 40px 36px 30px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1rem;
  animation: modal-popin 0.44s cubic-bezier(.51,1.84,.77,1.13);
}
@keyframes modal-popin {
  0% { transform: translate(-50%, 75%) scale(0.85); opacity: 0; }
  100% { transform: translate(-50%, -58%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--fun-pink);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category label {
  cursor: pointer;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: var(--accent);
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: var(--fun-pink);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.21s cubic-bezier(.44,1.2,.54,1.1);
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
  width: 100%;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  padding: 8px 21px;
}
.cookie-modal .btn-secondary {
  border-color: var(--primary);
  color: var(--primary);
}
.cookie-modal .btn-secondary:hover {
  background: var(--yellow);
  color: var(--primary);
  border-color: var(--yellow);
}
@media (max-width: 550px) {
  .cookie-modal { padding: 16px 7vw 15px 7vw; width: 97vw; min-width: unset; }
}

/* Scrollbar styling for playful look */
::-webkit-scrollbar { width: 10px; background: var(--secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 12px; }
::-webkit-scrollbar-thumb:hover { background: var(--fun-pink); }

/* MICRO-INTERACTIONS/ANIMATIONS */
.btn-primary, .btn-secondary {
  box-shadow: 0 2px 10px 0 #97c1e754;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(.98);
  box-shadow: none;
}
input[type="text"]:active, textarea:active {
  border-color: var(--fun-pink);
}

/* MINIMUM SPACING BETWEEN CARDS/SECTIONS */
.card, .testimonial-card, .section, .blog-list li, .highlighted-post {
  margin-bottom: 20px;
}
.content-wrapper > *, .section > .container > * {
  margin-bottom: 20px;
}

/* ERROR & FOCUSED STATES */
input:invalid {
  border-color: var(--danger);
}

/* Aesthetic Fun Touches */
h1, h2, h3:not(.footer-brand), .btn-primary, .btn-secondary, .mobile-menu-toggle {
  text-shadow: 0 2.5px 1px #fffbe5, 0 6px 12px #97c1e717;
}

/* ACCESSIBLE HIDDEN TEXT (screen reader only) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* END OF STYLE */
