/* === 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;
}
body {
  line-height: 1.6;
  background: #F7F7F7;
  color: #2D4356;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s cubic-bezier(.86,0,.07,1);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === BRAND VARIABLES (Fallbacks) === */
:root {
  --primary: #216869;
  --secondary: #2D4356;
  --accent: #F7F7F7;
  --yellow: #FFD23F;
  --pink: #FF70A6;
  --cyan: #70D6FF;
  --green: #B4F8C8;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 7px;
  --shadow: 0 2px 16px rgba(45,67,86,0.10);
  --font-display: 'Montserrat',Verdana,sans-serif;
  --font-body: 'Roboto',Arial,sans-serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: bounceIn 0.8s both;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 13px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--secondary);
  margin-bottom: 16px;
}
.subheadline {
  color: var(--pink);
  font-size: 1.25rem;
  font-family: var(--font-display);
  margin-bottom: 22px;
  font-weight: 500;
  letter-spacing: .5px;
}
strong {
  color: var(--primary);
}
.text-section p {
  margin-bottom: 10px;
}

/* === GLOBAL CONTAINER CLASSES === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* === SECTIONS & SPACING === */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}
section.hero {
  background: var(--yellow);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 340px;
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
}

/* --- Playful & Dynamic Shapes --- */
section.hero::before {
  content: '';
  display: block;
  position: absolute;
  top: -30px; left: -40px;
  width: 80px; height: 80px;
  background: var(--pink);
  border-radius: 32% 68% 54% 46%/61% 46% 54% 39%;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}
section.hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -40px; right: -25px;
  width: 55px; height: 55px;
  background: var(--cyan);
  border-radius: 60% 40% 70% 30%/50% 56% 44% 50%;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
}
section {
  box-sizing: border-box;
}

/* === FLEXBOX FOUNDATION === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 26px 18px 22px 18px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 260px;
  transition: transform 0.26s cubic-bezier(.86,0,.07,1), box-shadow 0.26s cubic-bezier(.86,0,.07,1);
  animation: floatCard 0.9s both;
}
.card:hover {
  transform: translateY(-7px) scale(1.04) rotate(-1.4deg);
  box-shadow: 0 8px 28px rgba(33,104,105,0.14);
  z-index: 2;
}
.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: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffdfd;
  border: 2.5px dashed var(--cyan);
  border-radius: var(--radius-lg);
  padding: 20px 32px 20px 28px;
  margin-bottom: 24px;
  min-width: 240px;
  box-shadow: 0 4px 18px rgba(112,214,255,0.12);
  animation: popUp 1.1s both;
  position: relative;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--green);
  border-radius: var(--radius-sm);
  padding: 3px 13px;
  margin-top: 6px;
  letter-spacing: 0.3px;
  display: inline-block;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === MAIN NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(45,67,86,0.05);
  z-index: 10;
  position: relative;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--secondary);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--yellow);
  color: var(--primary);
}

/* CTA BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 13px 27px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(33,104,105,0.16);
  transition: background 0.18s, transform 0.13s cubic-bezier(.79,0,.37,1), box-shadow 0.13s;
  cursor: pointer;
  text-align: center;
  margin: 10px 0 10px 0;
  position: relative;
  z-index: 1;
}
.cta.primary {
  background: linear-gradient(90deg, var(--primary) 85%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(33,104,105,0.17);
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, var(--cyan) 25%, var(--primary) 100%);
  color: #fff;
  transform: scale(1.055) translateY(-2px) rotate(-0.8deg);
  box-shadow: 0 10px 40px rgba(255,113,166,0.12);
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -2px 16px rgba(45,67,86,0.08);
  margin-top: 80px;
  padding-top: 50px;
  padding-bottom: 34px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
footer img {
  width: 48px;
  min-width: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 13px;
  border-radius: var(--radius-sm);
  background: rgba(255,210,63,0.14);
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--cyan);
  color: var(--primary);
}
footer span {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  margin-top: 16px;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--yellow);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  padding: 9px 17px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255,210,63,0.10);
  margin-left: 8px;
  transition: background 0.2s, color 0.15s, transform 0.13s;
  z-index: 101;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  color: var(--pink);
  background: var(--cyan);
  transform: scale(1.1);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.98);
  transform: translateX(110vw);
  transition: transform 0.36s cubic-bezier(.85,0,.21,1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px 28px 0 0;
  box-shadow: -3px 0 30px rgba(45,67,86,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  border: none;
  background: var(--pink);
  color: #fff;
  border-radius: 40px;
  padding: 6px 22px 7px 22px;
  margin-bottom: 13px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.21s, color 0.15s, transform 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--cyan);
  color: var(--primary);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--secondary);
  padding: 10px 11px;
  border-radius: var(--radius-md);
  background: var(--yellow);
  width: 100%;
  transition: background 0.17s, color 0.2s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--pink);
  background: #fff;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--yellow);
  color: var(--secondary);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 21px 28px;
  box-shadow: 0 -4px 24px rgba(45,67,86,0.15);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 1rem;
  animation: slideInBanner 0.7s both;
}
.cookie-banner p {
  margin: 0;
  color: var(--secondary);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 9px 21px;
  font-size: 1.04rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(33,104,105,0.09);
  transition: background 0.18s, color 0.12s, transform 0.14s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .reject {
  background: var(--pink);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--cyan);
  color: var(--secondary);
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  opacity: 0.86;
  transform: scale(1.07);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(45,67,86,0.26);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.32s both;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 50px rgba(112,214,255,.16);
  max-width: 430px;
  width: 90vw;
  padding: 42px 34px 34px 34px;
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 17px;
  z-index: 2220;
  font-size: 1rem;
  animation: popUp 0.38s both;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 6px;
  color: var(--primary);
}
.cookie-modal .categories {
  margin: 10px 0 21px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.07rem;
}
.cookie-modal .essential {
  font-weight: 700;
  color: var(--secondary);
}
.cookie-modal label {
  cursor: pointer;
  user-select: none;
}
.cookie-modal input[type="checkbox"]:disabled + span {
  color: #999;
  opacity: 0.6;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 11px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: var(--font-display);
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  background: var(--cyan);
  color: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.12s, transform 0.12s;
}
.cookie-modal button.save {
  background: var(--primary);
  color: #fff;
}
.cookie-modal button:focus,
.cookie-modal button:hover {
  opacity: 0.89;
  transform: scale(1.06);
}
.cookie-modal .close {
  background: none;
  color: var(--pink);
  font-size: 2rem;
  position: absolute;
  right: 26px; top: 14px;
  border-radius: 50%;
  padding: 2px 10px;
  border: none;
  cursor: pointer;
}
.cookie-modal .close:focus,
.cookie-modal .close:hover {
  background: #eee;
  color: var(--secondary);
}

/* === UTILITIES === */
.mt-32 { margin-top: 32px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mt-24 { margin-top: 24px!important; }
.mb-24 { margin-bottom: 24px!important; }
.gap-16 { gap: 16px!important; }
.gap-32 { gap: 32px!important; }

/* === ANIMATIONS === */
@keyframes floatCard {
  0% { opacity: 0; transform: translateY(24px) scale(0.97); }
  100% { opacity: 1; transform: none; }
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); }
  60% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: none; }
}
@keyframes popUp {
  0% { opacity: 0; transform: scale(0.92); }
  80% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: none; }
}
@keyframes slideInBanner {
  0% { opacity:0; transform: translateY(100%); }
  100% { opacity:1; transform: none; }
}
@keyframes fadeInModal {
  0% {opacity:0;}
  100% {opacity:1;}
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
  }
  .main-nav {
    gap: 13px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 8px;
  }
  header .container {
    padding-top: 10px; padding-bottom: 11px;
    flex-direction: row;
    gap: 10px;
  }
  section, .section {
    padding: 26px 8px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .main-nav { display: none; }
  .cta { font-size: 1rem; padding: 13px 16px; }
  .container {
    flex-direction: column;
    align-items: stretch !important;
    padding-left: 4vw; padding-right: 4vw;
    max-width: 99vw;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 7px 4vw 7px 4vw;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section.hero {
    min-height: 210px;
    padding: 32px 6vw 44px 6vw;
  }
  .testimonial-card, .card {
    padding: 16px 10px 16px 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    margin-top: 10px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .testimonial-card {
    margin-bottom: 20px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8vw 14px 8vw;
    gap: 17px;
    font-size: 0.92rem;
  }
  .cookie-banner .cookie-btns {
    gap: 6px;
  }
  .cookie-modal {
    max-width: 95vw;
    padding: 24px 12px 13px 12px;
    font-size: 0.96rem;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.07rem; }
  .cta { font-size: 0.97rem; }
  section.hero {
    padding: 24px 2vw 28px 2vw;
    min-height: 120px;
  }
  section, .section {
    padding: 16px 2vw;
    margin-bottom: 34px;
  }
  .footer-nav {
    gap: 7px;
  }
}

/* === EXTRAS & EFFECTS === */
::-webkit-scrollbar {
  width: 9px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 11px;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* === COLORFUL BULLETS (for playful dynamic style) === */
ul > li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 1.01rem;
}
ul > li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 40%, var(--pink) 100%);
  box-shadow: 0 2px 7px rgba(255,112,166,.13);
  display: inline-block;
}

/* === FOCUS STYLES === */
a:focus, button:focus {
  outline: 2.5px solid var(--cyan);
  outline-offset: 2px;
}

/* === ACCENT HIGHLIGHTS (for fun, energetic look) === */
h2, h3 {
  position: relative;
}
h2::after, h3::after {
  content: '';
  display: block;
  height: 6px;
  width: 44px;
  background: var(--yellow);
  border-radius: 15px;
  margin-top: 3px;
  margin-bottom: 4px;
  opacity: 0.75;
}
h2::after {
  margin-top: 7px;
  width: 46px;
}
hr {
  border: none;
  border-bottom: 2px dashed var(--pink);
  margin: 33px 0 20px 0;
}

/* === FORMS (if needed) === */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.7px solid var(--cyan);
  font-size: 1.05rem;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(112,214,255,0.07);
  background: #fff;
  transition: box-shadow 0.14s, border 0.14s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 1px 14px rgba(33,104,105,0.13);
}

/* === VISUAL HIERARCHY === */
.card > h3 { color: var(--pink); margin-bottom: 9px; }

/* === Z-INDEX === */
header, footer, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 100 !important; }

/* === PREVENT OVERLAPPING === */
.card, .testimonial-card, .content-wrapper > * {
  margin-bottom: 20px;
}
.content-wrapper > *:last-child {
  margin-bottom: 0;
}
.section > .container, section > .container {
  padding: 0;
}

/* === END OF CSS === */
