/* ======================================
   1MP Static Site – Final Hero Lock-in (Phase 4.2 + Desktop Boost)
   Rounded corners visibly restored on 3 inline hero images + Desktop Responsiveness
   Logo/banner vertical stretch fix + Desktop Size Tuning
   ====================================== */

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

:root {
  --blue: #084e9e;
  --orange: #f29849;
  --green: #31c65b;
  --purple: #c6069f;
  --light-purple: #b878c4;
  --accent-yellow: #FCC600;

  /* Hero card typography controls */
  --hero-card-h2-size-mobile: 1.4rem;
  --hero-card-h2-size-desktop: 1.6rem;
  --hero-card-text-size-mobile: 0.95rem;
  --hero-card-text-size-desktop: 1.2rem;

  --hero-card-h2-line-height-mobile: 1.15;
  --hero-card-h2-line-height-desktop: 1.2;

  --gradient-blue: linear-gradient(to bottom, #4facfe, #00f2fe);
  --gradient-orange: linear-gradient(to bottom, #f9b233, #f27121);
  --gradient-green: linear-gradient(to right, #00d084, #00ffa3);

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

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

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  background-color: #fff;
  color: var(--blue);
  line-height: 1.6;
  font-size: 16px;
}

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.65rem 1rem 0.5rem;
}

.hero-heading h1 {
  font-size: 1.5rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.2rem;
}

.hero-heading h1 .sorted {
  color: var(--orange);
}

.hero-logo-bar {
  background: var(--blue);
  padding: 0.3rem 1rem;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0.3rem auto;
  flex-wrap: wrap;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  box-sizing: border-box;
}

.hero-logo-bar img {
  width: clamp(220px, 80vw, 680px);
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.hero-card-strip {
  background: var(--blue);
  padding: 0.5rem 1rem;
  border-radius: 0;
  display: block;
  margin: 0.75rem auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  box-sizing: border-box;
}

.hero-card {
  background: var(--purple);
  border-radius: 1.25rem;
  padding: 1rem;
  margin: 0.75rem auto;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 6px 12px rgba(0,0,0,0.03);
}

.hero-card h2 {
  color: #fff;
  font-size: var(--hero-card-h2-size-mobile);
  line-height: var(--hero-card-h2-line-height-mobile);
  margin-bottom: 1rem;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 460px;
  text-align: left;
  font-size: var(--hero-card-text-size-mobile);
  color: #Fff
}

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

.hero-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: -0.2rem;
  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: 0.05rem;
    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.6rem auto;
  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.4rem auto 0.4rem;
  max-width: 90%;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  line-height: 1.3;
}

/* Full-bleed single hero image variant */
.hero-image-row.full-bleed {
  padding: 0;
  display: block;
  border-radius: 0;
}
.hero-image-row.full-bleed picture {
  width: 100%;
  border-radius: 0;
}
.hero-image-row.full-bleed picture img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}


/* Limit hero image height on wider screens and keep couple centred */
@media (min-width: 900px) {
  .hero-image-row.full-bleed picture img {
    height: clamp(260px, 35vh, 420px);
    object-fit: cover;          /* crop edges if needed */
    object-position: center;    /* keep couple centred */
  }
}

/* Hero CTA Button */
.hero-cta .cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #00c853 0%, #00e676 100%);
  color: #fff;
  font-weight: 500;
  padding: 1rem 2.5rem;
  border: 2px solid var(--accent-yellow); /* thin yellow border */
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(0, 204, 102, 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(0, 204, 102, 0.7);
}

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

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

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

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

/* Responsive tweaks */
@media (min-width: 768px) {
  .hero-heading h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  .hero-logo-bar img {
    width: clamp(220px, 60vw, 720px);
    height: auto;
  }
  .hero-logo-bar {
    padding: 0.5rem 1rem;
    margin: 0.75rem auto;
  }


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

  .hero-card h2 {
    font-size: var(--hero-card-h2-size-desktop);
    line-height: var(--hero-card-h2-line-height-desktop);
  }

  .hero-features {
    font-size: var(--hero-card-text-size-desktop);
  }

  .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-top: 1rem;
    margin-bottom: 0.8rem;
  }

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

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

/* Testimonial */
.testimonial-wrapper {
  background: #fff;
  border-radius: 1rem;
  padding: 0.5rem 0.5rem 0.5rem;
  margin: 0 auto;
  max-width: 600px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.03);
  font-size: 1rem;
  height: 140px; /* Fixed height to prevent jumping */
  display: flex;
  align-items: center;
  justify-content: center;
}

#testimonial-carousel {
  width: 100%;
  text-align: center;
}

.testimonial {
  display: none; /* Hidden by default, shown by JS */
}

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

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

.testimonial-wrapper .testimonial .name {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 600;
}
/* RESET – prevent browser default spacing */
html, body {
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Lender Banner */
.lender-banner {
  background: var(--blue);
  color: var(--accent-yellow);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  padding: 1rem;
  margin: 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 > span {
  max-width: 800px;
  width: 100%;
  display: block;
  padding: 0 1rem;
}

/* Lender Logos Grid */
.lender-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
  margin-top: 0.5rem;
  justify-items: center;
  align-items: center;

  /* Constrain width */
  max-width: 900px; /* Match blue banner width */
  margin-left: auto;
  margin-right: auto;
}

.lender-logos img {
  max-height: 60px; /* Mobile default size */
  max-width: 120px;
  object-fit: contain;
}

/* Responsive Tweaks */
@media (min-width: 768px) {
  .testimonial-wrapper {
    padding: 1.8rem 2rem 1.2rem;
    max-width: 700px;
    height: 160px; /* Slightly taller on larger screens for better proportions */
  }

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

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

  .lender-logos {
    grid-template-columns: repeat(3, 1fr); /* Keep your perfect 3x2 grid */
    gap: 2rem 3rem;
    margin-top: 2rem;
  }

  .lender-logos img {
    max-height: 80px; /* Desktop size */
    max-width: 150px;
    object-fit: contain;
  }
}

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

.process-section.process-blue {
  background-color: #074da2;
}

.process-section.process-orange {
  background-color: #f68b29;
}

/* 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: #003f8c;
  margin-bottom: 1rem;
  text-align: center;
}

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

.reassurance-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #003f8c;
  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: #003f8c;
  margin-bottom: 0.75rem;
}

.quote-steps-list li img {
  width: 28px;
  height: 28px;
  margin-right: 0.5rem;
}

/* 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: 32px;
    height: 32px;
  }
 }
/* FORM SECTION */
/* Green reassurance header inside form section */
.form-intro-box {
  background: #00c853;
  color: #fff;
  padding: 2rem 1.5rem;         /* <== Adjust padding here */
  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;
}


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



.form-intro-start {
  color: #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: 0.1rem 0.1rem;
  background: #fff;
}

.process-box.green-box {
  background: #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: #003f8c;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Form card */
.form-step {
  background: #fff;
  border: 6px solid #00c853;
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 1rem auto;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
}
/* Hide all steps by default */
.form-step {
  display: none;
}

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

/* Legend (Quote Request) */
.form-step legend {
  font-size: 1.8rem;
  font-weight: 700;
  color: #c6069f;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0 0.75rem;
  background: #fff;
}

/* Progress bar */
.progress-bar {
  background: #eee;
  border-radius: 8px;
  height: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, #f97316, #fbbf24);
  height: 100%;
  transition: width 0.3s ease;
}

/* Step label */
.step-label {
  font-weight: bold;
  color: #f97316;
  margin-bottom: 1rem;
}

/* Question text */
label {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1.2rem;
  color: #003f8c;
}

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

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

.button-options button {
  appearance: none;
  background-image: linear-gradient(135deg, #4B7BF5 0%, #5AC9FF 100%);
  border: 0;
  border-radius: 16px !important;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,
              rgba(45, 35, 66, .3) 0 7px 13px -3px,
              rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 56px;
  justify-content: center;
  align-items: center;
  line-height: 1;
  overflow: hidden;
  padding: 16px 20px !important;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
  font-size: 1.1rem;
  font-weight: 700;
  width: 100% !important;
  margin: 5px 0 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* 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;
}

.form-consent-note {
  font-size: 0.9rem;
  text-align: center;
  color: #555;
  margin: 1rem 0 0.5rem 0;
}


/* Submit button */
.submit-button {
  display: inline-block;
  background: linear-gradient(90deg, #00c853 0%, #00e676 100%);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border: 2px solid var(--accent-yellow);
  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: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin-top: 1rem;
}

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

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

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

.how-it-works-section {
  background-color: var(--purple);
  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: var(--text);
    box-sizing: border-box;
  overflow-wrap: break-word;
}

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

.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;
}

.how-step p {
  font-size: 0.9rem;
  color: var(--purple);
  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;
  }

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


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

.why-choose-section {
  background-color: var(--blue);
  padding: 2rem 1rem;
  color: #fff;
}

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

.why-choose-box h2 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 2rem;
}

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

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

.why-step img {
  display: block;
  margin: 0 auto 1rem;
  width: 80px;
  height: 80px;
}

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

.why-step p {
  font-size: 0.9rem;
  color: var(--purple);
  line-height: 1.5;
  margin-bottom: 1rem;
}

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

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

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



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

.ready-section {
  background-color: var(--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(--purple);
  margin-bottom: 1rem;
}

.ready-box p {
  font-size: 1rem;
  color: var(--purple);
  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(--purple);
  color: white;
  padding: 3rem 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: yellow;
  font-weight: 600;
}

.footer-credit {
  margin-top: 2rem;
  text-align: center;
}

/* 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: 3rem;
  }

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

  .cta-button-large {
    font-size: 1.5rem;
  }
  }
/* 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); /* dark overlay */
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  color: #000;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modal-content ol {
  padding-left: 1.2rem;
}

.modal-content ul {
  padding-left: 1rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #000;
  cursor: pointer;
}
/* Simple Modal Base Style */
.simple-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.simple-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  max-height: 90%;
  overflow-y: auto;
  color: #333;
}

.simple-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.simple-modal-close:hover,
.simple-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.simple-modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
}

.simple-modal-content p,
.simple-modal-content li {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.footer-links a.open-privacy-modal,
.footer-links a.open-complaints-modal {
  color: #003f8c !important; /* strong blue */
  font-weight: 700;
  text-decoration: underline;
}

.footer-links a.open-privacy-modal:hover,
.footer-links a.open-complaints-modal:hover {
  color: #003f8c !important; /* keep same blue on hover */
  text-decoration: underline; /* keep underline */
}
.footer-links a {
  color: var(--accent-yellow); /* bright yellow */
  font-weight: 700; /* bold */
  text-decoration: underline;
}

.footer-links a:hover {
  color: #fff; /* white on hover for high contrast */
  text-decoration: underline;
}
/* THANK YOU PAGE STYLES */
/* Blue background for body */
.thank-you-body {
  background-color: var(--blue);
}

/* Hero banner */
.thank-you-hero {
  padding: 0;
  margin: 0;
}

.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(--purple)
  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(--purple);
  color: white;
}

.flow-box.green {
  background-color: #00a651;
  color: white;
}

.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: linear-gradient(90deg, #00c853 0%, #00e676 100%);
  color: #fff;
  font-weight: 500;
  padding: 1rem 2.5rem;
  border: 2px solid var(--accent-yellow);
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(0, 204, 102, 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(0, 204, 102, 0.7);
}

/* Reuse pulse animation from hero */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 204, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(0, 204, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 204, 102, 0);
  }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #333;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  padding-right: 1rem;
  flex: 1;
}

.cookie-banner button {
  background: #00c853;
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-banner button:hover {
  background: #00b74f;
}


/* === Trust-style Review Widget === */
.review-widget {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8,78,158,0.06);
}

/* Header strip (rating) */
.rw-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 .75rem;
  background: #F7FBF9; /* subtle greenish tint */
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.rw-stars .star,
.rw-stars-inline {
  color: var(--green);
  letter-spacing: 1px;
}

.rw-rating {
  color: var(--blue);
  font-weight: 700;
  font-size: .95rem;
}

.rw-verified {
  display: inline-block;
  margin-left: .5rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  background: #EAF7EE;
  border: 1px solid #CDEFD9;
  border-radius: 999px;
  padding: .15rem .5rem;
}

/* Viewport + track */
.rw-viewport {
  position: relative;
  overflow: hidden;
  height: 150px; /* lock height on mobile to prevent jump */
}

@media (min-width: 768px) {
  .rw-viewport { height: 170px; }
}

.rw-track {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  will-change: transform;
}

.rw-slide {
  min-width: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card */
.rw-card {
  max-width: 580px;
  text-align: center;
}

.rw-body {
  font-size: 1.05rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: .5rem;
}

.rw-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: var(--blue);
  font-weight: 600;
}

.rw-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f6ff, #f0fff7);
  border: 1px solid rgba(8,78,158,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue);
  font-size: .85rem;
}

/* Controls */
.rw-controls {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  padding: 0 .75rem 0;
  gap: .5rem;
}

.rw-prev, .rw-next {
  appearance: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}

.rw-prev:hover, .rw-next:hover {
  background: #f8fafc;
}

.rw-dots {
  display: flex;
  justify-content: center;
  gap: .35rem;
}

.rw-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #E2E8F0;
  cursor: pointer;
}

.rw-dots button[aria-selected="true"] {
  background: var(--green);
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .rw-track { transition: none !important; }
}
