/* 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, 
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 {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F0ECEB;
  color: #405076;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #8D7156;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #405076;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
  color: #405076;
}

/* TYPOGRAPHY ------------------*/
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #405076;
  letter-spacing: .5px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: bounceIn 1s linear;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
p, li, span {
  font-size: 1rem;
  color: #405076;
}
p {
  margin-bottom: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .04em;
}

/* FONT: Playful, Dynamic enhancements */
h1, h2 {
  font-style: italic;
}
h1 {
  font-variant-ligatures: discretionary-ligatures;
}

/* LAYOUT & CONTAINER -----------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 6px 32px 0 rgba(141,113,86,.09);
  transition: box-shadow .3s;
  position: relative;
}
.section:hover {
  box-shadow: 0 12px 50px 0 rgba(141,113,86,.18);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
    border-radius: 20px;
  }
  .container {
    padding: 0 6px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 0;
}

/* CARD CONTAINERS --------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(64,80,118,0.10);
  padding: 24px 18px;
  min-width: 250px;
  flex: 1 1 210px;
  transition: transform .22s cubic-bezier(.25,.8,.25,1), box-shadow .22s;
}
.card:hover {
  transform: translateY(-4px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 10px 45px 0 rgba(64,80,118,.18);
}

/* CONTENT GRID ------------------*/
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* TEXT-IMAGE SECTION ------------*/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
}

/* TESTIMONIAL CARD --------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F0ECEB;
  border-radius: 26px;
  box-shadow: 0 2px 10px rgba(141,113,86,0.07);
  margin-bottom: 24px;
  min-width: 250px;
  flex: 1 1 260px;
  position: relative;
  border: 2.5px solid #FFD871;
  z-index: 1;
  transition: border-color .3s;
}
.testimonial-card span {
  font-size: 1.07rem;
  color: #8D7156;
  font-weight: 600;
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  font-family: 'Playfair Display',Georgia,serif;
  text-align: center;
  letter-spacing: .02em
}
.testimonial-card:hover {
  border-color: #FF65C3;
  box-shadow: 0 6px 32px 0 rgba(255,166,99,.09);
  animation: floatCard 0.7s ease-in-out;
}
@keyframes floatCard {
  40% {transform: translateY(-3px) scale(1.042);}
  80% {transform: translateY(0px) scale(1.02);}
  100%{transform: none;}
}

/* FEATURE ITEM ------------------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS & LINKS ---------------*/
.cta-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF65C3;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  border-radius: 36px;
  padding: 0.7em 2em;
  margin: 10px 0 0 0;
  border: none;
  box-shadow: 0 4px 18px rgba(64,80,118,0.10);
  transition: background .2s, transform .20s, box-shadow .18s;
  text-shadow: 0 1px 8px #cc77bc33;
  letter-spacing: .06em;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #7EEC8A;
  color: #405076;
  box-shadow: 0 7px 24px rgba(64,80,118,0.17);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}
.cookie-btn.secondary {
  background: #FFD871;
  color: #405076;
}
.cookie-btn.secondary:hover {
  background: #8D7156;
  color: #fff;
}
.cookie-btn.light {
  background: #fff;
  color: #405076;
  border: 1px solid #8D7156;
}
.cookie-btn.light:hover {
  background: #8D7156;
  color: #fff;
}

nav a {
  color: #405076;
  padding: 7px 20px;
  margin: 3px 0;
  border-radius: 22px;
  transition: background .2s, color .15s;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
nav a:hover, nav a.active {
  background: #FFE2F5;
  color: #FF65C3;
  text-decoration: none;
}

/* HEADER & NAVIGATION -----------*/
header {
  background: #FFE2F5;
  border-bottom: 2.5px solid #FFD871;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(255,101,195,.04);
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 2px;
  flex-wrap: wrap;
}
header .cta-btn {
  margin-left: 10px;
  margin-top: 0;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 22px;
  border-radius: 50%;
}

@media (max-width: 1050px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  header nav {
    margin-top: 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 10px 7px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 0;
  }
}

/* MOBILE MENU -------------------*/
.mobile-menu-toggle {
  display: none;
  background: #FF65C3;
  font-size: 2.2rem;
  color: #fff;
  padding: 7px 18px;
  border-radius: 50%;
  margin-left: auto;
  z-index: 35;
  transition: background .2s;
  border: 2px solid #FFD871;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #8D7156;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    position: relative;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFE2F5;
  padding: 32px 24px;
  z-index: 50;
  transform: translateX(-105vw);
  transition: transform .38s cubic-bezier(.82,-0.01,.32,1.03);
  box-shadow: 0 2px 24px rgba(255,101,195,.14);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform .42s cubic-bezier(.75,.05,.42,1.11), opacity .17s;
}
.mobile-menu-close {
  color: #FF65C3;
  font-size: 2rem;
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 51;
  transition: color .2s, background .2s;
  padding: 7px 9px;
  border-radius: 50%;
}
.mobile-menu-close:hover {
  background: #FF65C3;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  color: #8D7156;
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 0 14px 8px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 3px 11px rgba(64,80,118,.04);
  transition: background .2s, color .18s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #FF65C3;
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER ---------------------*/
footer {
  background: #405076;
  color: #fff;
  border-top: 2.5px solid #FFD871;
  padding: 38px 0 8px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
  justify-content: space-between;
}
footer a {
  color: #FFD871;
  font-weight: 500;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 28px;
}
footer nav a {
  padding: 5px 0;
  background: none;
  color: #FFE2F5;
  font-size: 1rem;
  border-radius: 0;
  transition: color .18s;
}
footer nav a:hover {
  color: #FF65C3;
  background: none;
}
footer .footer-contact {
  font-size: .96rem;
  color: #FFD871;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer img {
  height: 56px;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 0 7px;
  }
  footer img {
    margin-bottom: 10px;
  }
  footer nav {
    margin: 10px 0;
  }
}

/* UL, OL, LI DYNAMIC STYLE ----*/
ul, ol {
  margin-bottom: 20px;
}
ul li, ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 13px;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
}
ul li:before {
  content: "\2022";
  position: absolute;
  color: #FF65C3;
  left: 0;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.25;
  top: 0;
}
ol li:before {
  content: "";
}
.content-wrapper ul, .text-section ul {
  padding: 0;
  margin-top: 6px;
}

/* SPECIAL ELEMENTS (BADGES etc) ----*/
.badge {
  display: inline-block;
  background: #FFD871;
  color: #405076;
  border-radius: 18px;
  padding: 2px 10px;
  font-size: .94em;
  font-weight: 700;
  margin-left: 12px;
}

/* ANIMATIONS ----------------------*/
@keyframes bounceIn {
  0% {transform: translateY(-60px) scale(.92); opacity: 0;}
  65% {transform: translateY(8px) scale(1.08); opacity: 1;}
  100% {transform: none; opacity: 1;}
}
.fade-in {
  animation: fadeIn 1.1s cubic-bezier(.5,0,.25,1.2);
}
@keyframes fadeIn {
  from {opacity: 0;transform: translateY(18px);}
  to {opacity: 1; transform: none;}
}

/* ----- PLAYFUL DYNAMIC OVERLAYS ----*/
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: 30px; bottom: 30px;
  width: 48px; height: 48px;
  background: #FFE2F5;
  z-index: 0;
  opacity: .25;
  border-radius: 18px 60% 66% 24px/70% 24% 90% 40%;
  box-shadow: 12px 9px 40px 3px #FFD87155;
}
@media (max-width: 700px) {
  .section::after {display: none;}
}

/* HERO IMAGE/HEADER ADJUSTED STYLE ------*/
h1 {
  background: linear-gradient(90deg,#FF65C3 12%,#7EEC8A 92%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px #ff65c340);
}

/* COOKIE BANNER + MODAL ---------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 24px 12px 20px 18px;
  background: #FFD871;
  color: #405076;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 -2px 18px #8d71562e;
  z-index: 999;
  font-size: 1.08rem;
  animation: fadeInUp .6s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
.cookie-consent-banner .btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 6px 14px 8px;
    font-size: 0.99em;
  }
}

/* COOKIE MODAL ---------------------*/
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(64,80,118,.39);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 38px;
  box-shadow: 0 9px 40px 0 #8D715655;
  max-width: 410px;
  width: 95%;
  padding: 34px 26px 32px 26px;
  color: #405076;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  animation: fadeIn .3s cubic-bezier(.82,-0.07,.54,1.12);
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: #FF65C3;
  margin-bottom: 12px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 9px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 34px;
  height: 16px;
  border-radius: 12px;
  background: #FFD871;
  position: relative;
  outline: none;
  transition: background 0.2s;
  margin-right: 9px;
}
.cookie-modal .cookie-toggle:checked {
  background: #FF65C3;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-btn {
  margin-top: 6px;
  margin-right: 9px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 18px; top: 16px;
  font-size: 1.25rem;
  color: #FF65C3;
  background: none;
  border: none;
  border-radius: 50%;
  padding: 3px 8px;
  transition: background .2s, color .2s;
}
.cookie-modal .close-modal-btn:hover {
  background: #FF65C3;
  color: #fff;
}

/* SPECIAL: Hide cookie modal on print */
@media print {
  .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
}

/* RESPONSIVE -------------------*/
@media (max-width: 1025px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 678px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.37rem;}
}
@media (max-width: 440px) {
  h1 {
    font-size: 1.48rem;
    letter-spacing: .01em;
  }
  h2 {
    font-size: 1rem;
    letter-spacing: 0;
  }
}

/* FORM ELEMENTS -----------------*/
input, textarea, select {
  padding: 10px;
  border-radius: 17px;
  border: 1.5px solid #FFD871;
  margin-bottom: 16px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color .18s, box-shadow .19s;
}
input:focus, textarea:focus {
  border-color: #FF65C3;
  outline: none;
}

/* Misc util classes ------------*/
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 9px; }
.mb-1 { margin-bottom: 9px; }
.ml-1 { margin-left: 7px; }
.center { text-align: center; }

/* ACCENT BACKGROUNDS for playful separation */
.bg-accent {
  background: #FFE2F5 !important;
  color: #405076 !important;
}

/* Transition for links and buttons */
a, .cta-btn, .cookie-btn {
  transition: color .2s, background .22s, box-shadow .18s, transform .18s;
}

/* SHADOWS and ROUNDS for playful feel */
.card, .section, .testimonial-card, .cookie-modal, .cookie-consent-banner {
  box-shadow: 0 4px 20px rgba(141,113,86,0.10);
  border-radius: 22px;
}

/* CUSTOM SCROLLBAR for playful style */
::-webkit-scrollbar {
  width: 12px;
  background: #FFE2F5;
}
::-webkit-scrollbar-thumb {
  background: #FF65C3;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD871;
}

/* Ensure spacing between all content cards/sections */
section + section {
  margin-top: 40px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* ICONS in features cards */
.content-wrapper img[src*='assets/icons/'] {
  width: 46px;
  height: 46px;
  background: #FFD871;
  border-radius: 50%;
  box-shadow: 0 2px 7px #8D715615;
  padding: 8px;
  margin-bottom: 7px;
  animation: icon-pulse 2.2s infinite cubic-bezier(.5,.66,.66,1.1);
}
@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  60% { transform: scale(1.13) rotate(-8deg); }
  75% { transform: scale(0.97) rotate(5deg); }
}

/* ------ NICE FORMATTING FOR REFERENCE STATS -----*/
.content-wrapper ul li strong {
  font-size: 1.5rem;
  color: #FF65C3;
  margin-right: 6px;
}

/* ------ Blog List playful -----*/
.text-section ul li strong {
  color: #405076;
  font-size: 1.09rem;
  background: #FFE2F5;
  border-radius: 13px;
  padding: 2.5px 9px;
}

/* Hero animated accent underline */
h1::after, h2::after {
  content: '';
  display: block;
  width: 75px;
  height: 8px;
  margin-top: 7px;
  border-radius: 6px;
  background: #FFD871;
  opacity: .54;
  animation: playful-underline 2.4s infinite cubic-bezier(.6,1.2,.4,.9);
}
@keyframes playful-underline {
  0%, 100% {width: 75px;}
  40% {width: 140px; background: #FF65C3;}
  60% {width: 64px; background: #7EEC8A;}
}

/* Hide ::after on small for h1 */
@media (max-width:400px){
  h1::after,h2::after{display:none;}
}

/* ----------- END -------------*/

/* A11y: Forced contrast for testimonials/reviews */
.testimonial-card p, .testimonial-card span {
  color: #222 !important;
  background: none !important;
  text-shadow: 0 1px 5px #ffd8710a;
}

/* Ensure visually separated cards */
.testimonial-card + .testimonial-card, .card + .card {
  margin-left: 0;
  margin-top: 24px;
}
@media (min-width: 769px) {
  .testimonial-card + .testimonial-card, .card + .card {
    margin-top: 0;
    margin-left: 24px;
  }
}
.footer-contact p {
  color: white;
}
section {
  padding: 10px 0;
}