/* ======================================
   The Debt Help Guys - Optimized Stylesheet
   Clean, lean architecture with no wastage
   ====================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue: #1e3a8a;
  --lime: #d5e971;
  --pink: #ed61a4;
  --text: #2a2a2a;
  --background: #f3f4f6;

  --gradient-blue: linear-gradient(to bottom, #3b82f6, #1e3a8a);
  --gradient-lime: linear-gradient(to right, #d9f99d, #bef264);
  --gradient-pink: linear-gradient(to right, #f59ac7, #ed61a4);

  --font-main: 'Montserrat', sans-serif;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  overscroll-behavior: none; /* Prevent bounce/overscroll */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

body {
  font-family: var(--font-main);
  background-color: var(--background); /* Use background variable #f3f4f6 */
  color: var(--blue);
  line-height: 1.6;
  font-size: 16px;
  overscroll-behavior-y: none; /* Prevent vertical bounce */
  position: relative; /* Establish positioning context */
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

section {
  padding: 1.25rem 1rem;
}
/* === HERO SECTION === */
.hero {
  background-color: var(--blue);
  text-align: center;
  padding: 0 1rem 0; /* Remove top padding so banner is at very top */
}



.hero-heading {
  max-width: 90%; /* Match hero card width */
  margin: 0 auto; /* Center like hero card */
  padding: 0 1rem; /* Match hero card padding */
}

.hero-heading h1 {
  font-size: clamp(1.6rem, 5vw, 2.2rem); /* Dynamic font size */
  line-height: 1.2;
  color: var(--background);
  margin-bottom: 0.4rem;
  text-align: center;
}

.hero-logo-bar {
  background: var(--background);
  padding: 0.5rem 1rem;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 auto; /* Remove top/bottom margin to eliminate white space */
  flex-wrap: wrap;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  box-sizing: border-box;

}

.hero-logo-bar img {
  height: 60px;
  object-fit: contain;
}

.hero-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1rem;
  margin: 0 auto; /* Remove top/bottom margins */
  text-align: center;
  max-width: 90%;
  box-shadow: 0 6px 12px rgba(0,0,0,0.03);
}

.hero-card h2 {
  color: var(--pink) !important;
  font-size: 1.2rem;
  font-weight: 500 !important;
  margin-bottom: 1rem;
}

.hero-card h2:last-child {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 460px;
  text-align: left;
  font-size: 1.1rem;
  color: var(--blue);
  display: inline-block;
}

.hero-features li {
  margin-bottom: 0.4rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.3;
  text-align: left;
}

.hero-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Center vertically with text */
  width: 20px;
  height: 20px;
 background: url('../assets/orange-tick.svg') no-repeat center center;
  background-size: contain;
}
@media (min-width: 768px) {
  .hero-features li {
    padding-left: 2.6rem; /* increase padding on desktop */
    line-height: 1.45; /* OPTIONAL — even better balance */
  }

  .hero-features li::before {
    top: 50%;
    transform: translateY(-50%); /* Center vertically with text on desktop */
    width: 30px;
    height: 30px;
  }
}
.hero-image-row {
  background: var(--blue);
  padding: 0.35rem 1rem;
  border-radius: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  margin: 0 auto; /* Remove top/bottom margins */
  overflow-x: auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  box-sizing: border-box;
}

.hero-image-row picture {
  flex: 0 0 auto;
  width: 130px;
  border-radius: 0.9rem;
  overflow: hidden;
}

.hero-image-row picture img {
  border-radius: 0.9rem;
  display: block;
}

.hero-offer {
  background: #fff;
  padding: 0.55rem 1rem 0.3rem;
  border-radius: 1rem;
  margin: 0 auto; /* Remove top/bottom margins */
  max-width: 90%;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  line-height: 1.3;
}

/* Hero CTA Button */
.hero-cta .cta-button {
  display: inline-block;
  background: var(--gradient-lime);
  color: var(--blue);
  font-weight: 500;
  padding: 1rem 2.5rem;
  border: 2px solid var(--lime);
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(213, 233, 113, 0.7);
  animation: pulse 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta .cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(213, 233, 113, 0.7);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(213, 233, 113, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(213, 233, 113, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(213, 233, 113, 0);
  }
}

.hero-cta .cta-button {
  animation: pulse 2s infinite;
}

.hero-smallprint {
  font-size: 0.65rem;
  color: var(--background);
  margin-top: 0.55rem;
  line-height: 1.2;
}

.hero-smallprint a {
  color: var(--background);
  text-decoration: underline;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .hero-heading {
    max-width: 700px; /* Match hero card desktop width */
    padding: 0 2rem; /* Match hero card desktop padding */
  }

  .hero-heading h1 {
    font-size: clamp(2rem, 4vw, 2.5rem); /* Desktop dynamic font size */
    margin-bottom: 0.75rem;
  }



  .hero-logo-bar img {
    height: 77px;
  }

  .hero-card {
    max-width: 700px;
    padding: 2rem 3rem;
  }

  .hero-card h2 {
    font-size: 1.6rem;
  }

  .hero-features {
    font-size: 1.2rem;
  }

  .hero-offer {
    font-size: 1.45rem;
    max-width: 700px;
    margin-top: 1.1rem;
    margin-bottom: 1.1rem;
    padding: 1.1rem 2.5rem;
  }

  .cta-button {
    font-size: 1.4rem;
    padding: 1.1rem 3rem;
  }

  .hero-image-row {
    padding: 1rem 2rem;
    justify-content: center;
    gap: 1.2rem;
  }

  .hero-image-row picture {
    width: 250px;
    border-radius: 1.25rem;
  }

  .hero-image-row picture img {
    border-radius: 1.25rem;
  }

  .hero-cta {
    margin: 0; /* Remove top/bottom margins */
  }

  .hero-smallprint {
    font-size: 0.75rem;
    margin-top: 0.75rem;
  }
}

/* === SOCIAL PROOF SECTION === */
.social-proof-section {
  background: #fff;
  padding: 0 1rem 2rem; /* Remove top padding to eliminate gap */
  text-align: center;
}

/* Testimonial */
.testimonial-wrapper {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1rem 2rem; /* Even more bottom padding */
  margin: 0 auto;
  max-width: 600px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.03);
  font-size: 1rem;
  height: 220px; /* Significantly increased height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
}

#testimonial-carousel {
  width: 100%;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#testimonial-carousel .testimonial {
  display: none; /* Hidden by default, shown by JS */
  width: 100%;
}

.testimonial-wrapper .testimonial strong {
  display: block;
  font-size: 1.1rem;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.testimonial-wrapper .testimonial .stars {
  color: var(--lime);
  font-size: 1.5rem;
  margin: 0.2rem 0;
}

.testimonial-wrapper .testimonial .name {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 600;
  margin-top: 0.5rem; /* Space above the name */
  padding-bottom: 0; /* Remove extra padding - container handles spacing */
}
/* RESET – prevent browser default spacing */
html, body {
  margin: 0;
  padding: 0;
}

/* First lender banner (after hero) - Partners banner */
.lender-banner-partners {
  background: var(--blue);
  color: var(--lime);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4;
  padding: 1rem;
  margin: 0; /* Remove all margins */

  /* Full width breakout */
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}



/* Second lender banner (before logos) */
.lender-banner-creditors {
  background: var(--blue);
  color: var(--lime);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4;
  padding: 1rem;
  margin: 0 0 1.5rem 0;

  /* Full width breakout */
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.lender-banner-partners > span {
  max-width: 800px;
  width: 100%;
  display: block;
  padding: 0 1rem;
}



.lender-banner-creditors > span {
  max-width: 800px;
  width: 100%;
  display: block;
  padding: 0 1rem;
}

/* Lender Logos Carousel */
.lender-logos-carousel {
  overflow: hidden;
  margin-top: 0.5rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.lender-logos-track {
  display: flex;
  animation: scroll-logos 15s linear infinite; /* Faster animation for mobile */
  width: 200%; /* Always 200% - first set + duplicate set */
}

.lender-logo-item {
  flex: 0 0 20%; /* Each logo takes exactly 20% width (5 visible at once on mobile) */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.05rem; /* Very tight spacing */
  min-width: 0; /* Allow flex to control width */
}

.lender-logo-item img {
  max-height: 80px; /* Bigger logos for mobile */
  max-width: 100%; /* Use full available width */
  object-fit: contain;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Always move by exactly 50% for seamless loop */
  }
}

/* Medium mobile screens - 6 logos */
@media (min-width: 480px) and (max-width: 767px) {
  .lender-logo-item {
    flex: 0 0 16.666%; /* 6 logos visible on larger mobile screens (100/6 = 16.666%) */
    padding: 0 0.1rem; /* Minimal spacing */
  }

  .lender-logos-track {
    animation: scroll-logos 12s linear infinite; /* Even faster on larger mobile */
  }
}

/* Responsive Tweaks */
@media (min-width: 768px) {
  .testimonial-wrapper {
    padding: 2rem 2.5rem 3rem; /* Even more generous bottom padding on desktop */
    max-width: 700px;
    height: 240px; /* Much taller on desktop to accommodate longer testimonials */
  }

  .lender-banner-partners {
    font-size: 1.8rem;
    padding: 1.5rem 2rem;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .lender-banner-partners span {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
  }



  .lender-banner-creditors {
    font-size: 1.8rem;
    padding: 1.5rem 2rem;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .lender-banner-creditors span {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
  }

  .lender-logos-carousel {
    margin-top: 2rem;
  }

  .lender-logos-track {
    animation: scroll-logos 18s linear infinite; /* Slightly slower on desktop for readability */
  }

  .lender-logo-item {
    flex: 0 0 12.5%; /* 8 logos visible on desktop */
    padding: 0 0.3rem; /* Better spacing on desktop */
  }

  .lender-logo-item img {
    max-height: 100px; /* Bigger logos for desktop */
    max-width: 100%; /* Use full available width */
    object-fit: contain;
  }
}

/* === Process Section === */
.process-section {
  padding: 1rem 1rem;
  width: 100%;
  margin: 0;
}

.process-section.process-blue {
  background-color: var(--blue);

  /* Full width breakout like other blue banners */
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

/* Reassurance Section */
.reassurance-section {
  background-color: var(--blue);
  padding: 1rem 1rem;
  width: 100%;
  margin: 0;

  /* Full width breakout like other blue banners */
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.process-section.process-orange {
  background-color: var(--lime);
}

.process-section.process-green {
  background-color: var(--lime);
}

/* Process Steps Section */
.process-steps-section {
  background-color: var(--lime);
  padding: 1rem 1rem;
  width: 100%;
  margin: 0;
}

/* White boxes */
.process-box {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  max-width: 700px;
  margin: 0.5rem auto;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}


/* Headings */
.process-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
  text-align: center;
}

/* Reassurance section paragraph styling - match testimonial quote style */
.process-box.reassurance p {
  text-align: center;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Reassurance list */
.reassurance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reassurance-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.reassurance-list li img {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Quote steps list */
.quote-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.quote-steps-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--blue); /* Changed from #003f8c */
  margin-bottom: 1.4rem; /* Increased vertical spacing between icons */
  line-height: 1.2; /* Tighter line spacing */
}

.quote-steps-list li img {
  width: 42px; /* 50% larger than 28px */
  height: 42px; /* 50% larger than 28px */
  margin-right: 0.75rem; /* Slightly more space for larger icons */
  flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .process-box h2 {
    font-size: 1.8rem;
  }

  .reassurance-list li,
  .quote-steps-list li {
    font-size: 1.1rem;
  }

  .quote-steps-list li img {
    width: 48px; /* 50% larger than 32px */
    height: 48px; /* 50% larger than 32px */
  }
 }

/* === DEBT SOLUTIONS MODAL SECTION === */
.debt-solutions-section {
  background: #f8f9fa;
  padding: 2rem 1rem;
}

.debt-solutions-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.debt-solutions-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
  text-align: center;
}

/* Force line break after "Get Informed." on mobile */
@media (max-width: 767px) {
  .debt-solutions-container h2 {
    white-space: pre-line; /* Allow line breaks */
  }
}

.debt-solutions-intro {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Grid Layout */
.debt-solutions-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: 1x6 */
  gap: 1rem;
  margin-top: 2rem;
}

/* Debt Solution Items (Clickable Buttons) */
.debt-solution-item {
  background: #fff;
  border: 2px solid var(--pink);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  position: relative;
}

.debt-solution-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-color: #d84d8f;
}

.debt-solution-item:active {
  transform: translateY(0);
}

.debt-solution-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.debt-solution-item .solution-summary {
  font-size: 0.9rem;
  color: var(--blue);
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.debt-solution-item .learn-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pink);
  align-self: flex-end;
  margin-top: auto;
}

.scotland-only {
  font-size: 0.8em;
  color: #666;
  font-weight: 500;
  background: #f0f8ff;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* Tablet: 2x3 Grid */
@media (min-width: 768px) {
  .debt-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .debt-solution-item {
    padding: 2rem;
    min-height: 160px;
  }

  .debt-solution-item h3 {
    font-size: 1.3rem;
  }

  .debt-solution-item .solution-summary {
    font-size: 1rem;
  }

  .debt-solutions-container h2 {
    font-size: 2.2rem;
  }
}

/* Desktop: 3x2 Grid */
@media (min-width: 1024px) {
  .debt-solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .debt-solution-item {
    min-height: 180px;
  }

  .debt-solution-item h3 {
    font-size: 1.4rem;
  }
}

/* ================================ */
/* ✅ Fullscreen Form Modal Styles */
/* ================================ */

/* 1. FULL-SCREEN GREY OVERLAY - Layer 1 */
/* Covers 100vw x 100vh with semi-opaque background */
.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-opaque grey as specified */
  z-index: 9999;
  overflow: hidden; /* Freeze background scroll */
}

/* 2. MODAL OVERLAY FLEX CONTAINER - Centers the white container */
.fullscreen-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent grey background */
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Position modal towards top instead of center */
  padding: 16px; /* Minimum padding around container for 320px+ */
  padding-top: 24px; /* Reduced top padding for narrow screens */
  padding-bottom: 32px; /* Bottom padding for mobile browser UI */
  box-sizing: border-box;
}

/* 3. FIXED-SIZE WHITE CONTAINER WITH PINK BORDER - Layer 2 */
/* This container has fixed dimensions that never exceed viewport */
.fullscreen-modal-container {
  position: relative;
  background: white;
  border: 2px solid var(--pink); /* Pink stroke as specified */
  border-radius: 20px; /* Slightly smaller radius for narrow screens */
  box-sizing: border-box;
  overflow: hidden; /* Container itself never scrolls */
  display: flex;
  flex-direction: column;

  /* Mobile-first sizing with safe area for browser UI */
  width: calc(100vw - 16px); /* 8px margin each side */
  height: calc(92vh - 48px); /* Extra space for browser UI */
  max-width: calc(100vw - 16px); /* Never exceed viewport minus margins */
  max-height: calc(92vh - 48px); /* Safe height with browser UI buffer */
  min-height: 280px; /* Minimum for ultra-narrow screens */
}

/* PINK X CLOSE BUTTON - Top-left corner of white container */
.fullscreen-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  color: var(--pink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.2s ease;
}

.fullscreen-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  color: var(--pink);
  transform: scale(1.1);
}

/* 4. MODAL CONTENT WRAPPER - Layer 3 (Dynamically sized form content) */
/* This contains the lime-bordered form content and must fit within white container */
.fullscreen-modal-content {
  padding: 12px; /* Reduced padding for narrow screens */
  flex: 1;
  overflow: hidden; /* NO SCROLLING - content must fit within container */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
}

/* Global overflow prevention for all modal content */
.fullscreen-modal-content *,
.modal-form-container *,
.form-step * {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* FORM CONTAINER - Fills available space within content wrapper */
.modal-form-container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* No scrolling within form container */
  margin-top: 32px; /* Reduced space between X button and form content */
  position: relative; /* Allow absolute positioning of floating button */
}

/* FORM STEPS - Lime stroke box (retains existing lime green outline) */
.modal-form-container .form-step {
  display: none; /* Hide all steps by default - CRITICAL */
  background: #fff;
  border: 3px solid var(--lime); /* Existing lime green outline */
  border-radius: 1.2rem; /* Slightly smaller radius for narrow screens */
  /* Compact padding for narrow screens */
  padding: clamp(0.75rem, 3vw, 1.5rem);
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* NO SCROLLING - all content must fit */
  min-height: 0; /* Allow flexbox to shrink */
}

.modal-form-container .form-step.active {
  display: flex !important; /* Override display: none - CRITICAL */
  flex-direction: column;
  justify-content: flex-start; /* Start from top */
  height: 100%; /* Take full height of container */
  max-height: 100%; /* Never exceed container height */
  flex: 1; /* Take available space within container */
}

/* BUTTON OPTIONS - Adaptive spacing that scales with screen size */
.modal-form-container .button-options {
  display: flex;
  flex-direction: column;
  /* Tighter gap for narrow screens */
  gap: clamp(0.3rem, 2vw, 1rem);
  /* Reduced margin for narrow screens */
  margin-bottom: clamp(0.4rem, 2.5vw, 1.2rem);
  flex: 1; /* Take available space */
  overflow: hidden; /* No scrolling */
}

/* BUTTONS - Dynamically sized to fit within container */
.modal-form-container .button-options button,
.modal-button {
  background: linear-gradient(to bottom, #3b82f6, #1e3a8a);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: clamp(16px, 4vw, 9999px); /* Responsive border radius */
  color: white;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%; /* Prevent overflow */
  font-family: var(--font-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;

  /* Fluid sizing that scales with viewport */
  min-height: clamp(28px, 8vw, 44px); /* Scales from 28px to 44px */
  height: auto;
  /* Fluid padding that scales with viewport */
  padding: clamp(0.25rem, 2vw, 0.8rem) clamp(0.5rem, 3vw, 1.2rem);
  /* Fluid font size that scales with viewport */
  font-size: clamp(0.75rem, 3.5vw, 1rem);
  line-height: 1.2; /* Slightly more breathing room */
  margin: 0; /* Remove margin to save space */
  flex-shrink: 1; /* Allow buttons to shrink if needed */
  word-wrap: break-word; /* Allow text to wrap if needed */
  overflow-wrap: break-word;
  text-overflow: ellipsis;
  hyphens: auto; /* Allow hyphenation for long words */
}

.modal-form-container .button-options button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* FORM LABELS - Adaptive styling */
.modal-form-container .form-step label {
  /* Smaller font size for narrow screens */
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  font-weight: 600;
  color: var(--text);
  /* Reduced margin for narrow screens */
  margin-bottom: clamp(0.4rem, 1.5vw, 0.8rem);
  display: block;
  line-height: 1.2; /* Tighter line height */
}

/* FORM INPUTS - Compact styling for contact form */
.modal-form-container .form-step input {
  padding: 0.4rem; /* Reduced padding */
  border: 2px solid #e5e7eb;
  border-radius: 6px; /* Smaller radius */
  font-size: 0.85rem; /* Smaller font */
  margin-bottom: 0.6rem; /* Reduced margin */
  width: 100%;
  box-sizing: border-box;
}

/* SUBMIT BUTTON - Special styling */
.modal-form-container .submit-button {
  background: var(--lime) !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
  min-height: 44px !important;
  margin-top: 0.5rem;
}

/* MULTI-SELECT STEPS - Better spacing for readability */
.modal-form-container .button-options.multi-select {
  gap: 0.6rem; /* Increased gap for better breathing room */
}

.modal-form-container .button-options.multi-select button {
  min-height: 28px; /* Smaller minimum for multi-select on narrow screens */
  font-size: clamp(0.75rem, 1.8vw, 0.85rem); /* Responsive font for multi-select */
  padding: clamp(0.2rem, 1vw, 0.3rem) clamp(0.4rem, 2vw, 0.6rem); /* Very compact padding */
  line-height: 1.1;
}

/* CONTINUE BUTTON - Compact styling */
.modal-form-container .multi-select-continue {
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.modal-form-container .continue-btn {
  background: var(--lime) !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
}

/* MODAL FORM LEGENDS - Adaptive styling */
.modal-form-container .form-step legend,
.dynamic-heading {
  font-family: var(--font-main);
  font-weight: 700;
  /* Fluid font size that scales with viewport */
  font-size: clamp(0.9rem, 4vw, 1.4rem);
  color: var(--pink);
  text-align: center;
  /* Fluid margin that scales with viewport */
  margin-bottom: clamp(0.3rem, 2.5vw, 1rem);
  /* Fluid padding that scales with viewport */
  padding: 0 clamp(0.4rem, 2vw, 1rem);
  background: #fff;
  width: 100%;
  max-width: 100%; /* Prevent overflow */
  border: none;
  flex-shrink: 0; /* Don't shrink the title */
  box-sizing: border-box;
  word-wrap: break-word; /* Allow text to wrap if needed */
  overflow-wrap: break-word;
  hyphens: auto; /* Allow hyphenation for long words */
  line-height: clamp(1.1, 1.3, 1.4); /* Responsive line height */
}

/* MODAL PROGRESS BARS - Compact styling */
.modal-form-container .progress-bar,
.progress-wrapper {
  background: #e5e7eb;
  border-radius: clamp(3px, 1.5vw, 8px); /* Responsive radius */
  height: clamp(3px, 1.2vw, 6px); /* Responsive height */
  margin-bottom: clamp(0.4rem, 2vw, 0.8rem); /* Responsive margin */
  overflow: hidden;
  flex-shrink: 0; /* Don't shrink the progress bar */
  width: 100%; /* Ensure it never exceeds container width */
  max-width: 100%; /* Prevent overflow */
  box-sizing: border-box;
}

.modal-form-container .progress-fill {
  background: var(--pink);
  height: 100%;
  transition: width 0.3s ease;
}

/* Show modal when active */
.fullscreen-modal.active {
  display: block;
}

/* Prevent body scroll when modal is open - freeze the page */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

/* ================================ */
/* RESPONSIVE BREAKPOINTS - TARGETED FIXES */
/* ================================ */

/* 320px-359px: Fix horizontal overflow and button stretching */
@media (min-width: 320px) and (max-width: 359px) {
  .fullscreen-modal-overlay {
    padding: 4px;
    padding-top: 8px;
    padding-bottom: 24px; /* Extra bottom space for browser UI */
  }

  .fullscreen-modal-container {
    width: calc(100vw - 8px);
    height: calc(92vh - 48px);
    max-width: calc(100vw - 8px);
    max-height: calc(92vh - 48px);
    border-radius: 12px;
    min-height: 260px;
  }

  .fullscreen-modal-content {
    padding: 4px;
  }

  .fullscreen-modal-close {
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .modal-form-container {
    margin-top: 14px;
  }

  .modal-form-container .form-step {
    padding: 0.4rem;
    border-radius: 0.8rem;
    border-width: 2px; /* Thinner border for space */
  }

  .modal-form-container .button-options {
    gap: 0.2rem;
    margin-bottom: 0.3rem;
  }

  .modal-form-container .button-options button,
  .modal-button {
    min-height: 24px;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 12px; /* Fixed radius instead of 9999px */
    line-height: 1.1;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .modal-form-container .form-step legend,
  .dynamic-heading {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    padding: 0 0.2rem;
    line-height: 1.1;
  }

  .modal-form-container .progress-bar,
  .progress-wrapper {
    height: 3px;
    margin-bottom: 0.3rem;
  }

  .modal-form-container .form-step label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
    line-height: 1.1;
  }
}

/* 360px-389px: Preserve good behavior, minor adjustments */
@media (min-width: 360px) and (max-width: 389px) {
  .fullscreen-modal-overlay {
    padding: 6px;
    padding-top: 12px;
    padding-bottom: 20px; /* Bottom space for browser UI */
  }

  .fullscreen-modal-container {
    width: calc(100vw - 12px);
    height: calc(92vh - 48px);
    max-width: calc(100vw - 12px);
    max-height: calc(92vh - 48px);
    border-radius: 16px;
    min-height: 300px;
  }

  .fullscreen-modal-content {
    padding: 6px;
  }

  .fullscreen-modal-close {
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .modal-form-container {
    margin-top: 18px;
  }

  .modal-form-container .form-step {
    padding: 0.6rem;
    border-radius: 1rem;
    border-width: 2px;
  }

  .modal-form-container .button-options {
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .modal-form-container .button-options button,
  .modal-button {
    min-height: 28px;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 14px;
    line-height: 1.2;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .modal-form-container .form-step legend,
  .dynamic-heading {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    padding: 0 0.3rem;
    line-height: 1.2;
  }

  .modal-form-container .progress-bar,
  .progress-wrapper {
    height: 4px;
    margin-bottom: 0.4rem;
  }
}

/* 390px-419px: Fix overflow issues in this critical range */
@media (min-width: 390px) and (max-width: 419px) {
  .fullscreen-modal-overlay {
    padding: 8px;
    padding-top: 16px;
    padding-bottom: 24px; /* Extra bottom space for browser UI */
  }

  .fullscreen-modal-container {
    width: calc(100vw - 16px);
    height: calc(92vh - 48px);
    max-width: calc(100vw - 16px);
    max-height: calc(92vh - 48px);
    border-radius: 18px;
    min-height: 320px;
  }

  .fullscreen-modal-content {
    padding: 8px;
  }

  .fullscreen-modal-close {
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    font-size: 14px;
  }

  .modal-form-container {
    margin-top: 22px;
  }

  .modal-form-container .form-step {
    padding: 0.7rem;
    border-radius: 1.1rem;
    border-width: 3px;
  }

  .modal-form-container .button-options {
    gap: 0.5rem;
    margin-bottom: 0.6rem;
  }

  .modal-form-container .button-options button,
  .modal-button {
    min-height: 32px;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    border-radius: 16px;
    line-height: 1.2;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-overflow: ellipsis;
  }

  .modal-form-container .form-step legend,
  .dynamic-heading {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding: 0 0.4rem;
    line-height: 1.3;
    max-width: 100%;
    box-sizing: border-box;
  }

  .modal-form-container .progress-bar,
  .progress-wrapper {
    height: 4px;
    margin-bottom: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .modal-form-container .form-step label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* 420px+: Larger screens - PRESERVE EXISTING GOOD BEHAVIOR */
@media (min-width: 420px) {
  .fullscreen-modal-overlay {
    padding: 12px;
    padding-top: 30px;
    padding-bottom: 120px;
  }

  .fullscreen-modal-container {
    width: calc(100vw - 24px);
    height: calc(100vh - 180px);
    max-width: min(370px, calc(92vw - 32px)); /* Ensure it never exceeds safe area */
    max-height: min(650px, calc(92vh - 48px)); /* Use consistent safe area calculation */
    border-radius: 24px; /* Restore larger radius for wider screens */
    min-height: 400px; /* Restore larger minimum for wider screens */
  }

  .fullscreen-modal-content {
    padding: 16px;
  }

  .modal-form-container {
    margin-top: 40px;
  }

  .modal-form-container .form-step {
    padding: 1.2rem;
    border-radius: 1.5rem;
    border-width: 3px;
  }

  .modal-form-container .button-options button,
  .modal-button {
    min-height: 40px;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Special handling for short viewports (≤568px height) */
@media (max-height: 568px) {
  .fullscreen-modal-overlay {
    padding-top: 8px !important;
    padding-bottom: 32px !important; /* Extra space for browser UI */
  }

  .fullscreen-modal-container {
    height: calc(90vh - 48px) !important; /* More conservative height */
    max-height: calc(90vh - 48px) !important;
    min-height: 240px !important; /* Reduced minimum for short screens */
  }

  .fullscreen-modal-content {
    padding: 4px !important;
  }

  .modal-form-container {
    margin-top: 12px !important;
  }

  .modal-form-container .form-step {
    padding: 0.4rem !important;
  }

  .modal-form-container .button-options {
    gap: 0.3rem !important;
    margin-bottom: 0.3rem !important;
  }

  .modal-form-container .button-options button,
  .modal-button {
    min-height: 26px !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  .modal-form-container .form-step legend,
  .dynamic-heading {
    font-size: 0.8rem !important;
    margin-bottom: 0.2rem !important;
  }

  .modal-form-container .progress-bar,
  .progress-wrapper {
    height: 3px !important;
    margin-bottom: 0.2rem !important;
  }
}

/* 431px+: Large phones and tablets - Enhanced spacing */
@media (min-width: 431px) {
  .fullscreen-modal-container {
    max-width: 500px;
    max-height: 750px;
  }

  .fullscreen-modal-content {
    padding: 18px;
  }

  .modal-form-container {
    margin-top: 45px;
  }

  .modal-form-container .button-options {
    gap: 1rem;
  }

  .modal-form-container .button-options button {
    min-height: 40px;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
}

/* Tablet: 768px - FIXED Modal: 600px x 850px */
@media (min-width: 768px) {
  .fullscreen-modal-container {
    width: 600px;
    height: 850px;
    max-width: 90vw; /* Ensure it doesn't exceed viewport width */
    max-height: 90vh; /* Ensure it doesn't exceed viewport height */
  }

  .fullscreen-modal-content {
    padding: 16px; /* Minimum outer padding */
  }

  .fullscreen-modal-close {
    top: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .modal-form-container {
    margin-top: 50px; /* More generous top margin for tablets */
    display: flex;
    justify-content: center; /* Center the lime form box horizontally */
    align-items: flex-start;
  }

  .modal-form-container .form-step {
    padding: 1.25rem;
    max-width: 480px; /* Limit width to center within white container */
    width: auto; /* Allow natural width within max-width */
    margin: 0 auto; /* Center horizontally within container */
  }

  .modal-form-container .button-options {
    gap: 1.5rem; /* Significant breathing room between buttons */
  }

  .modal-form-container .button-options button {
    min-height: 44px;
    font-size: 16px;
    padding: 0.6rem 1.2rem;
    width: 100%; /* Full width within the form-step */
    margin: 0;
  }
}

/* Desktop: 1024px+ - FIXED Modal: 700px x 900px */
@media (min-width: 1024px) {
  .fullscreen-modal-container {
    width: 700px;
    height: 900px;
    max-width: 90vw; /* Ensure it doesn't exceed viewport width */
    max-height: 90vh; /* Ensure it doesn't exceed viewport height */
  }

  .fullscreen-modal-content {
    padding: 16px; /* Minimum outer padding */
  }

  .modal-form-container {
    margin-top: 60px; /* Most generous top margin for desktop */
    display: flex;
    justify-content: center; /* Center the lime form box horizontally */
    align-items: flex-start;
  }

  .modal-form-container .form-step {
    padding: 1.5rem;
    max-width: 520px; /* Limit width to center within white container */
    width: auto; /* Allow natural width within max-width */
    margin: 0 auto; /* Center horizontally within container */
  }

  .modal-form-container .button-options {
    gap: 1.75rem; /* Generous breathing room between buttons */
  }

  .modal-form-container .button-options button {
    min-height: 48px;
    font-size: 16px;
    padding: 0.75rem 1.5rem;
    width: 100%; /* Full width within the form-step */
    margin: 0;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: #fff;
  border-radius: 1.5rem;
  border: 4px solid var(--pink);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 0;
  margin: 0;
  position: relative;
  background: #ffffff;
  background-color: #ffffff;
  z-index: 100;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.modal-body h3 {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
  background-image: url('../assets/back_button.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.modal-close:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.modal-body {
  padding: 1rem 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.modal-section {
  margin-bottom: 1.5rem;
}

/* Pros and cons intro styling */
.pros-cons-intro {
  text-align: center;
  margin: 2rem 0 1rem 0;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--blue);
}

.pros-cons-intro p {
  margin: 0;
  font-style: italic;
  color: var(--blue);
  font-weight: 500;
}

/* Benefits and considerations container */
.benefits-considerations-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefits-section,
.considerations-section {
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 0;
}

.benefits-section {
  background-color: #e8f5e8;
  border-left: 4px solid #28a745;
}

.considerations-section {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
}

.benefits-section h4 {
  color: #155724;
  margin-bottom: 1rem;
}

.considerations-section h4 {
  color: #856404;
  margin-bottom: 1rem;
}

/* Responsive layout for larger screens */
@media (min-width: 768px) {
  .benefits-considerations-container {
    flex-direction: row;
    gap: 1.5rem;
  }

  .benefits-section,
  .considerations-section {
    flex: 1;
  }
}

.modal-section h4 {
  color: var(--blue);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-section p {
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.modal-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.modal-checklist li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  text-align: left;
  color: var(--text);
  line-height: 1.4;
  font-size: 0.9rem;
}

.modal-checklist li::before {
  content: '';
  background-image: url('../assets/green-tick.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  margin-right: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.modal-checklist li strong {
  display: inline;
  font-weight: bold;
  white-space: nowrap;
}

.modal-cta {
  background: #DAEA54;
  color: var(--blue);
  border: none;
  border-radius: 0.8rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(218, 234, 84, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-cta:hover {
  background: #d1e03f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(218, 234, 84, 0.4);
}

.modal-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(218, 234, 84, 0.3);
}

.modal-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.modal-cta:hover::before {
  left: 100%;
}

/* FORM SECTION */
/* Green reassurance header inside form section */
.form-intro-box {
  background: var(--lime);
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.form-intro-text {
  font-size: 1.3rem; /* Adjust here */
  line-height: 1.2;
  font-weight: 300;
  color: var(--blue);
}


.form-intro-start {
  color: var(--blue); /* Changed from #003f8c */
  font-weight: 900;
  font-size: 1.8rem;            /* <== Adjust emphasis line font size here */
  margin-top: 0.5rem;
}



.form-intro-start {
  color: var(--blue); /* Changed from #003f8c */
  font-weight: 900;
  font-size: 1.8rem;            /* <== Adjust emphasis line font size here */
  margin-top: 0.5rem;
}

.quote-form-section {
  text-align: center;
  padding: 30px 0.1rem;
  background: #fff;
}

.process-box.green-box {
  background: var(--lime); /* Changed from #31c65b */
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  max-width: 700px;
  margin: 0.5rem auto;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}


.form-intro-start {
  color: var(--blue); /* Changed from #003f8c */
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Form card - Mobile-first design */
.form-step {
  background: #fff;
  border: 3px solid var(--lime);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin: 0.5rem auto;
  max-width: 500px;
  min-width: 320px;
  max-height: 100vh;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  overflow-y: auto;
}

/* Hide all steps by default */
.form-step {
  display: none;
}

/* Show only the active step */
.form-step.active {
  display: block;
}

/* Dynamic section headings */
.form-step legend {
  font-family: system-ui;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--pink);
  text-align: center;
  margin-bottom: 1rem;
  padding: 0 0.75rem;
  background: #fff;
}

/* Progress bar - Simple fill bar without numeric labels */
.progress-bar {
  background: #e5e7eb;
  border-radius: 8px;
  height: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-fill {
  background: var(--pink);
  height: 100%;
  transition: width 0.3s ease;
}

/* Progress fill states */
.progress-fill.step-1 {
  width: 25%;
}

.progress-fill.step-4 {
  width: 100%;
}

/* Hide step labels (numeric indicators) */
.step-label {
  display: none;
}

/* Question text */
label {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1.2rem;
  color: var(--text);
  line-height: 1.4;
}

/* Required */
.required {
  color: red;
  font-weight: 400;
}

/* Button options */
.button-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Tactile button styling with strong gradients */
.button-options button,
.step-button,
.button-option {
  background: linear-gradient(to bottom, #3b82f6, #1e3a8a);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  display: flex;
  min-height: 48px;
  height: 56px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 5px 0;
  font-family: var(--font-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect for tactile feel */
.button-options button:hover,
.step-button:hover,
.button-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Name fields (Step 3) */
.name-fields {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Consent section styling */
.consent-section {
  margin: 1rem 0;
  padding: 0.75rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.consent-checkbox:last-child {
  margin-bottom: 0;
}

.consent-checkbox input[type="checkbox"] {
  margin: 0;
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.consent-checkbox label {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.3;
  cursor: pointer;
  margin: 0;
}

.consent-checkbox label a {
  color: var(--blue);
  text-decoration: underline;
}

.consent-checkbox label a:hover {
  color: var(--blue-dark);
}

/* Floating submit button overlay */
.floating-submit-container {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  padding: 0 2rem;
  z-index: 999999;
  pointer-events: auto;
}

/* Full screen dark overlay behind the button */
.floating-submit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999998; /* Behind the button but above everything else */
  pointer-events: none; /* Don't interfere with button clicks */
}

.floating-submit-btn {
  /* Inherit all existing submit button styles */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1000000;
  /* Initial state - invisible */
  opacity: 0;
  transform: scale(1);
  /* Smooth transitions */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-submit-btn:hover {
  transform: scale(1.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Loading animation for submit button */
.loading-animation {
  animation: rocketPulse 1s ease-in-out infinite;
}

.loading-text {
  animation: textGlow 1.5s ease-in-out infinite alternate;
}

@keyframes rocketPulse {
  0%, 100% { transform: scale(1.2); }
  50% { transform: scale(1.3); }
}

@keyframes textGlow {
  0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
  100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(0, 123, 255, 0.6); }
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(2px);
  }
}

@keyframes buttonPulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .floating-submit-btn {
    transform: scale(1.1);
    max-width: 90%;
    width: auto;
    padding: 1rem 2rem;
  }

  .floating-submit-btn:hover {
    transform: scale(1.15);
  }
}

/* Mobile-specific compact styling */
@media (max-width: 768px) {
  .consent-section {
    margin: 0.75rem 0;
    padding: 0.5rem;
  }

  .consent-checkbox {
    margin-bottom: 0.5rem;
    gap: 0.4rem;
  }

  .consent-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 0.1rem;
  }

  .consent-checkbox label {
    font-size: 0.75rem;
    line-height: 1.2;
  }
}


/* Submit button */
.submit-button {
  display: inline-block;
  background: var(--gradient-lime);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border: 2px solid var(--lime);
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  text-align: center;
  font-family: var(--font-main);
  box-sizing: border-box;
  margin-top: 1rem;
}

.submit-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(213, 233, 113, 0.7);
}



/* HOW IT WORKS */
/* === How It Works Section === */

.how-it-works-section {
  background-color: var(--pink);
  padding: 2rem 1rem;
  color: #fff;
}

.how-it-works-wrapper {
  background: #fff;
  border-radius: 1rem;
  padding: 1.0rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  color: #184796;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.how-it-works-wrapper h2 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #184796;
  margin-bottom: 2rem;
}

.how-it-works-wrapper p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #184796;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.how-step {
  text-align: center;
}

.how-step img {
  display: block;
  margin: 0 auto 1rem;
  width: 60px; /* restore original size for mobile (matches your reference screenshot) */
  height: 60px; /* force height */
  box-sizing: border-box;
}


.how-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step p {
  font-size: 0.9rem;
  color: var(--blue);
  line-height: 1.5;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .how-it-works-wrapper h2 {
    font-size: 2rem;
  }

  .how-steps {
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
  }

  .how-step {
    flex: 1;
    padding: 0 1rem;
  }

  .how-step img {
    width: 64px;
    margin-bottom: 1rem;
  }

  .how-step h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    min-height: 2.8rem;
  }

  .how-step p {
    font-size: 0.9rem;
  }
}


/* === Why Choose Us Section === */

.why-choose-section {
  background-color: #f3f4f6;
  padding: 2rem 1rem;
  color: #fff;
}

.why-choose-box {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  color: #184796;
}

.why-choose-box h2 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #184796;
  margin-bottom: 2rem;
}

.why-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-step {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 1.5rem;
}

.why-step img {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.why-step-content {
  flex: 1;
}

.why-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.why-step p {
  font-size: 0.9rem;
  color: var(--blue); /* Changed from --purple */
  line-height: 1.5;
  margin-bottom: 0;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .why-choose-box h2 {
    font-size: 2rem;
  }

  .why-steps {
    flex-direction: row;
    justify-content: space-between;
  }

  .why-step {
    flex: 1;
    padding: 0 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .why-step img {
    width: 80px;
    height: 80px;
    margin-top: 0;
  }

  .why-step-content {
    text-align: center;
  }
}



/* === Ready To See Section === */

.ready-section {
  background-color: var(--lime); /* Changed from --green */
  padding: 2rem 1rem;
  color: #fff;
}

.ready-box {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--text);
  text-align: center;
}

.ready-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 1rem;
}

.ready-box p {
  font-size: 1rem;
  color: var(--blue);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ready-box .ready-bold {
  font-weight: 700;
  color: var(--blue);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(to right, #f8a028, #f76b1c);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  margin: 1rem 0;
  font-size: 1.1rem;
}

.terms-link a {
  display: inline-block;
  color: var(--blue);
  text-decoration: underline;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .ready-box h2 {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 1.2rem;
  }
}


/* FOOTER */
.site-footer {
  background: var(--pink);
  color: white;
  padding: 3rem 1rem;
  font-size: 0.85rem;
}

.footer-compliance {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ico-registration {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-policy-links {
  font-size: 1.1rem;
  margin: 0;
}

.footer-links a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links a.open-privacy-modal,
.footer-links a.open-complaints-modal,
.footer-policy-links a.open-privacy-modal,
.footer-policy-links a.open-complaints-modal {
  color: var(--blue) !important;
  font-weight: 700;
  text-decoration: underline;
}

.footer-links a.open-privacy-modal:hover,
.footer-links a.open-complaints-modal:hover,
.footer-policy-links a.open-privacy-modal:hover,
.footer-policy-links a.open-complaints-modal:hover {
  color: var(--blue) !important;
  text-decoration: underline;
}

/* Responsive Tweaks */
@media (min-width: 768px) {
  .hero-heading h1 {
    font-size: 2.5rem;
  }

  .hero-image-row {
    flex-wrap: nowrap;
  }

  .name-fields {
    flex-direction: row;
  }

  .form-step {
    padding: 2.5rem;
    max-width: 600px;
  }

  .form-step legend {
    font-size: 1.5rem;
  }

  .button-options {
    flex-direction: row;
    gap: 1.5rem;
  }

  .button-options button,
  .step-button,
  .button-option {
    font-size: 1.1rem;
    height: 60px;
  }

  .how-it-works-wrapper, .why-us-wrapper, .cta-final-wrapper {
    padding: 3rem;
  }

  .cta-button-large {
    font-size: 1.5rem;
  }
}

/* iPhone 13 and similar mobile devices optimization */
@media (max-width: 414px) {
  .form-step {
    margin: 0.25rem auto;
    padding: 1.25rem;
    border-width: 2px;
  }

  .form-step legend {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .button-options {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .button-options button,
  .step-button,
  .button-option {
    height: 52px;
    font-size: 0.95rem;
  }

  label {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .progress-bar {
    margin-bottom: 1.25rem;
  }
}
/* Simple Modal Base Style - Updated to match debt solutions */
.simple-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  padding: 1rem;
}

.simple-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.simple-modal-content {
  background-color: #fff;
  border-radius: 1.5rem;
  border: 4px solid var(--pink);
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Add modal header styling */
.simple-modal-header {
  text-align: center;
  padding: 1rem 2rem 1rem;
  border-bottom: 2px solid #eee;
  position: relative;
  background: white;
  z-index: 10;
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
  background-image: url('../assets/back_button.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.simple-modal-close:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Add modal body styling */
.simple-modal-body {
  padding: 1.5rem 2rem 2rem;
  text-align: left;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.simple-modal-content h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
}

.simple-modal-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.simple-modal-content ul {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}

.simple-modal-content ul li {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  color: #333;
  text-align: left;
}

.simple-modal-content ul li:before {
  content: "✓";
  color: #22c55e;
  font-weight: bold;
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: 0;
}

.simple-modal-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.simple-modal-content ol li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.simple-modal-content a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 500;
}

.simple-modal-content a:hover {
  color: var(--pink);
  text-decoration: none;
}

.simple-modal-content strong {
  color: var(--blue);
  font-weight: 700;
}

/* THANK YOU PAGE STYLES */
/* Blue background for body */
.thank-you-body {
  background-color: var(--blue);
}

/* Hero banner */
.thank-you-hero {
  padding: 20px 0;
  margin: 0;
  background-color: white;
  width: 100%;
}

.thank-you-hero-banner {
  width: 80%;
  display: block;
   margin: 20px auto 10px auto; /* Center it and add a little spacing */
}

/* Thank You Card */
.thank-you-card {
  padding: 20px;
}

/* Tweak 3 — purple intro text styling */

.thank-you-card-content {
  background-color: white;
  border-radius: 20px;
  padding: 20px 15px;
  max-width: 500px;
  margin: 20px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Chat buttons */
.thank-you-chat-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.chat-button {
  text-align: center;
  font-weight: bold;
  color: var(--pink);
  text-decoration: none;
}

.chat-button img {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto 8px;
}

/* Flow diagram */
.thank-you-flow-diagram {
  margin: 20px 0;
  text-align: center;
}

.flow-box {
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  font-weight: 500;
}

.flow-box.purple {
  background-color: var(--pink);
  color: white;
}

.flow-box.green {
  background-color: var(--lime);
  color: var(--text);
}

.flow-arrow img {
  width: 40px;
  margin: 10px auto;
}

/* Hours text */
.thank-you-hours {
  font-size: 14px;
  color: var(--blue);
  text-align: center;
  margin-top: 20px;
}
/* Tweak 3 — purple intro text styling */
.thank-you-subtext {
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .thank-you-hero-banner {
    max-width: 460px; /* Match the white thank-you card box */
    margin: 20px auto 10px auto; /* Maintain centered alignment */
    display: block;
  }
}

/* Bottom CTA Button (match top CTA) */
.ready-box .cta-button {
  display: inline-block;
  background: var(--gradient-lime);
  color: var(--blue);
  font-weight: 500;
  padding: 1rem 2.5rem;
  border: 2px solid var(--lime);
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(213, 233, 113, 0.7);
  animation: pulse 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ready-box .cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(213, 233, 113, 0.7);
}

/* Form CTA Button (match hero and ready-box CTA) */
.cta-container {
  text-align: center;
  margin: 2rem 0;
}

.cta-container .cta-button {
  display: inline-block;
  background: var(--gradient-lime);
  color: var(--blue);
  font-weight: 500;
  padding: 1rem 2.5rem;
  border: 2px solid var(--lime);
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(213, 233, 113, 0.7);
  animation: pulse 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-container .cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(213, 233, 113, 0.7);
}


/* Compliant Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #333;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  border-top: 3px solid var(--blue);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 600;
}

.cookie-banner p {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reject-btn {
  background: #6c757d;
  color: white;
}

.reject-btn:hover {
  background: #5a6268;
}

.manage-btn {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.manage-btn:hover {
  background: var(--blue);
  color: white;
}

.accept-btn {
  background: var(--lime);
  color: white;
}

.accept-btn:hover {
  background: var(--lime);
  filter: brightness(0.9);
}

.cookie-policy-link {
  margin: 0;
  font-size: 0.8rem;
}

.cookie-policy-link a {
  color: var(--blue);
  text-decoration: underline;
}

/* Cookie Preferences Modal */
.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--blue);
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--lime);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

input:disabled + .toggle-slider {
  background-color: var(--blue);
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-banner-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-modal-buttons {
    flex-direction: column;
  }
}
