/* --------- 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, 
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.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F5F2;
  color: #252A35;
  min-height: 100vh;
  width: 100%;
  transition: background 0.3s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #B81736;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px dashed #B81736;
  outline-offset: 2px;
}

/* Fonts */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; color: #B81736; text-shadow: 1px 2px 0 #fff8, 0 3px 15px #b8173640; }
h2 { font-size: 2rem; margin-bottom: 18px; color: #252A35; }
h3 { font-size: 1.25rem; margin-bottom: 10px; color: #B81736; }
h4 { font-size: 1.1rem; color: #252A35; }


p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #252A35;
}
strong { color: #B81736; font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; }

ul { margin-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }


/* Containers & Layouts */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px #b817361a, 0 2px 8px #252a3508;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px #252a3512, 0 1px 8px #b817360a;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  min-width: 280px;
  flex: 1 1 270px;
  transition: transform 0.16s cubic-bezier(.5,1.5,.2,.9), box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
  box-shadow: 0 7px 32px #B8173673, 0 2px 8px #252a352A;
}
.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;
  background: #F6F5F2;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #252a3520;
  position: relative;
  transition: box-shadow 0.18s, transform 0.15s;
  border: 2.5px solid #B81736;
  z-index: 1;
}
.testimonial-card p {
  color: #252A35;
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong {
  color: #252A35;
  font-weight: 600;
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px #B8173630;
  padding: 22px 18px 18px 18px;
  min-width: 220px;
  max-width: 272px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.19s;
  margin-bottom: 20px;
}
.feature-grid img {
  width: 38px;
  margin-bottom: 12px;
  filter: drop-shadow(0 1px 6px #b8173623);
  animation: popin 0.9s cubic-bezier(.24,1.45,.5,.85);
}
.feature-grid > div:hover {
  transform: translateY(-5px) scale(1.01) rotate(1deg);
  box-shadow: 0 10px 32px #B8173674, 0 2px 8px #252a3522;
}

.thank-you-message {
  font-size: 1.2rem;
  color: #252A35;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
  background: #fdfdfe;
  border-radius: 16px;
  padding: 16px 18px;
}

/* --------- HEADER & NAVBAR --------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px #b8173612;
  padding: 0 0 0 0;
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 18px;
  color: #252A35;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
}
header nav a:hover, header nav a.active {
  background: #B81736;
  color: #fff;
  box-shadow: 0 2px 10px #b8173623;
}

header img {
  height: 42px;
  margin-right: 16px;
  animation: popin 1.3s cubic-bezier(.35,1.45,.7,1.3);
}

.cta-btn {
  background: #B81736;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  border: none;
  border-radius: 22px;
  min-width: 148px;
  padding: 11px 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 3px 14px #B8173627;
  transition: background 0.17s, transform 0.18s, box-shadow 0.16s;
  position: relative;
  overflow: hidden;
}
.cta-btn:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #b81736;
  opacity: 0.05;
  transition: opacity 0.28s;
  pointer-events: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #252A35;
  color: #fff;
  transform: scale(1.045) translateY(-2px);
  box-shadow: 0 7px 22px #b8173681;
}
.cta-btn.primary {
  background: #B81736;
}
.cta-btn.secondary {
  background: #252A35;
}
.cta-btn.secondary:hover {
  background: #B81736;
}


/* --------- HERO --------- */
.hero {
  background: #FFE3EB;
  border-radius: 36px;
  box-shadow: 0 7px 28px #B8173626, 0 8px 48px #252a350f;
  padding: 60px 0 58px 0;
  margin-bottom: 60px;
  overflow: hidden;
  position: relative;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #B81736;
  font-size: 2.6rem;
  line-height: 1.13;
}
.hero p {
  font-size: 1.24rem;
  color: #252A35;
  margin-bottom: 24px;
  margin-top: 16px;
}
.hero .cta-btn {
  margin-top: 22px;
  box-shadow: 0 3px 16px #b8173617;
}


/* --------- FOOTER --------- */
footer {
  width: 100%;
  background: #252A35;
  color: #fff;
  padding: 40px 0 10px 0;
  border-radius: 30px 30px 0 0;
  margin-top: 64px;
  position: relative;
  box-shadow: 0 -4px 30px #b8173623;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a {
  color: #FFD5E6;
  transition: color 0.16s;
  border-radius: 12px;
  padding: 5px 9px;
}
.footer-nav a:hover {
  color: #B81736;
  background: #fff;
}
.footer-contact {
  font-size: 0.96rem;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
}
.footer-brand img {
  height: 39px;
  margin-top: 6px;
  filter: drop-shadow(0 1px 6px #fff3);
}


/* --------- MOBILE MENU --------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  z-index: 2001;
  right: 24px; top: 20px;
  width: 44px;
  height: 44px;
  background: #B81736;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  transition: background 0.18s, box-shadow 0.17s;
  box-shadow: 0 6px 18px #b8173641;
  cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #252A35;
  outline: none;
}
.mobile-menu {
  display: none; /* shown via JS when active */
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #252A35;
  color: #fff;
  z-index: 2050;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.41,1.13,.61,.99);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  z-index: 2100;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B81736;
}
.mobile-nav {
  width: 100%;
  margin-top: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  padding: 14px 22px;
  border-radius: 22px;
  background: #B81736;
  margin-bottom: 6px;
  transition: background 0.13s, color 0.15s, transform 0.15s;
  width: 80vw;
  max-width: 340px;
  text-align: center;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #fff;
  color: #B81736;
  transform: scale(1.04) translateX(6px);
}

/* --------- BUTTONS & LINK STYLES --------- */
button, .cta-btn, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}
button:active {
  transform: scale(0.97);
}

/* --------- ANIMATIONS --------- */
@keyframes popin {
  0% { opacity: 0; transform: scale(0.8) rotate(-4deg); }
  90% { transform: scale(1.05) rotate(1deg); }
  100% { opacity:1; transform: scale(1) rotate(0deg); }
}
@keyframes slideup {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .card, .feature-grid>div, .testimonial-card {
  animation: slideup 0.8s cubic-bezier(.2,1.2,.3,1.05) both;
}

/* --------- COOKIES CONSENT BANNER --------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #FFF;
  padding: 22px 22px 14px 22px;
  box-shadow: 0 -6px 20px #252a351a;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 34px;
  animation: slideup 0.7s cubic-bezier(.25,1.5,.6,1.2);
}
.cookie-banner p {
  color: #252A35;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 425px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 21px;
  margin: 5px 6px;
  border: none;
  border-radius: 18px;
  background: #B81736;
  color: #fff;
  font-weight: 600;
  transition: background 0.17s, color 0.16s, box-shadow 0.13s, transform 0.12s;
  box-shadow: 0 2px 8px #b8173620;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #252A35;
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.settings {
  background: #fff;
  color: #B81736;
  border: 2px solid #B81736;
}
.cookie-btn.settings:hover {
  background: #FFE3EB;
  color: #252A35;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none; /* visible with .open */
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,42,53,0.5);
  z-index: 3100;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  padding: 42px 28px 32px 28px;
  border-radius: 28px;
  box-shadow: 0 7px 42px #b8173684, 0 2px 8px #252a3520;
  min-width: 320px;
  max-width: 96vw;
  color: #252A35;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popin 0.8s cubic-bezier(.28,1.05,.47,.96);
}
.cookie-modal h2 {
  color: #B81736;
  margin-bottom: 17px;
  font-size: 1.5rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin: 10px 0;
  cursor: pointer;
  gap: 11px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #B81736;
  width: 20px; height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 18px; top: 15px;
  background: none;
  border: none;
  color: #B81736;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .cookie-close:hover {
  color: #252A35;
}
.cookie-modal .category-desc {
  color: #666;
  font-size: 0.93rem;
  margin-left: 28px;
  margin-bottom: 14px;
}

/* --------- TEXT SECTIONS & LISTS --------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section ul, .text-section ol {
  margin-bottom: 8px; margin-left: 38px;
}
.text-section h3 {
  color: #252A35; font-size: 1.16rem; margin-bottom: 7px; margin-top: 17px; font-weight: 700;
}
.text-section li img {
  width: 25px; height: 25px; vertical-align: middle; margin-right: 7px;
}

/* --------- MISC CLASSES --------- */
.section:last-child { margin-bottom: 0; }
.card:last-child { margin-bottom: 0; }
.feature-grid>div:last-child { margin-bottom: 0; }


/* --------- RESPONSIVE DESIGN --------- */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .feature-grid, .card-container, .content-grid {
    gap: 18px 12px;
  }
  header .container { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  header nav { gap: 14px; }
}

@media (max-width: 768px) {
  .container { padding: 0 5vw; }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 32px 0; border-radius: 22px;
    margin-bottom: 32px;
  }
  header .container {
    min-height: 61px;
    flex-direction: row;
    gap: 11px;
    padding: 11px 12px;
  }
  .footer-brand img { height: 30px; }
  .footer-contact { font-size: 0.89rem; }
}

@media (max-width:600px) {
  .container { padding: 0 2vw; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.24rem; }
  h3 { font-size: 1.05rem; }
  .hero p { font-size: 1rem; }
  .feature-grid > div { min-width: 140px; padding: 15px 8px; }
  .testimonial-card { flex-direction: column; gap: 9px; padding: 12px; }
}

@media (max-width: 750px) {
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 7px 12px;
    justify-content: center;
  }
  .footer-contact { margin-bottom: 6px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonials {
    flex-direction: column;
    gap: 15px;
  }
  .feature-item { gap: 7px; }
}

@media (max-width: 970px) {
  header nav {
    display: none;
  }
  .cta-btn.primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 971px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --------- UTILITY/HELPER --------- */
.hide { display: none !important; }
.unselectable { user-select: none; -webkit-user-select: none; }
.nowrap { white-space: nowrap; }

/* --------- PLAYFUL/DECORATIVE ACCENTS --------- */
/* Fun squiggle underline for headings */
h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 6px;
  border-radius: 8px 8px 0 0;
  margin-top: 6px;
  background: #B81736;
  opacity: 0.25;
  margin-left: 2px;
  animation: popin 1.6s cubic-bezier(.32,1.6,.6,1.15);
}

/* Animated blob behind hero h1 */
.hero .container::before {
  content: '';
  position: absolute;
  left: 15%;
  top: 9%;
  width: 210px;
  height: 95px;
  background: #B81736;
  opacity: 0.13;
  filter: blur(4px);
  border-radius: 50% 40% 60% 30% / 50% 40% 60% 40%;
  z-index: 0;
  animation: blobAnimation 14s infinite linear alternate;
  pointer-events: none;
}
@keyframes blobAnimation {
  0%   { border-radius: 50% 40% 60% 30% / 50% 40% 60% 40%; transform: scale(1)   rotate(0deg); }
  40%  { border-radius: 25% 70% 45% 80% / 55% 35% 70% 70%; transform: scale(1.04) rotate(7deg); }
  80%  { border-radius: 60% 40% 40% 50% / 40% 60% 40% 60%; transform: scale(0.97) rotate(-3deg); }
  100% { border-radius: 50% 40% 60% 30% / 50% 40% 60% 40%; transform: scale(1)   rotate(0deg); }
}

/* ------- SCROLLBAR --------- */
::-webkit-scrollbar { width: 11px; background: #FFE3EB; }
::-webkit-scrollbar-thumb {
  background: #B81736;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover { background: #252A35; }

/* ------- ACCESSIBILITY --------- */
:focus-visible {
  outline: 2px solid #B81736;
  outline-offset: 1.5px;
}

/* --------- END OF CSS --------- */
