.about-intro {
  margin-top: var(--nav-h);
  padding: 80px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.about-intro-content {
  padding-right: 20px;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0px 20px;
}

.about-intro-content .eyebrow {
  color: var(--purple);
  margin-bottom: 18px;
}

.about-intro-heading {
  font-family: var(--f-heading);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 28px;
}

.about-intro-body {
  font-family: var(--f-body);
  font-size: 16px;
  color: #555;
  line-height: 1.78;
  max-width: 520px;
}

.about-intro-img {
  border-radius: 4px;
  overflow: hidden;
  height: 420px;
  background: #102D21;
}

.about-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Journey section — dark bg, image left, text right */
.about-journey {
  background: #111;
  padding: 80px 0px;
  gap: 72px;
  align-items: center;
}

section.about-journey .container {
  display: flex;
  gap: 40px;
  align-items: anchor-center;
}

.about-journey-img {
  width: 100%;
  max-width: 50%;
}

.about-journey-img {
  border-radius: 4px;
  overflow: hidden;
  height: 440px;
  background: #102D21;
}

.about-journey-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-journey-content .eyebrow {
  color: var(--purple);
  margin-bottom: 18px;
}

.about-journey-heading {
  font-family: var(--f-heading);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
}

.about-journey-body {
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

/* Belong section — light bg, text left, image right */
.about-belong {
  padding: 80px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-belong-content .eyebrow {
  color: var(--purple);
  margin-bottom: 18px;
}

.about-belong-heading {
  font-family: var(--f-heading);
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.14;
  margin-bottom: 24px;
}

.about-belong-body {
  font-family: var(--f-body);
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  max-width: 520px;
}

.about-belong-img {
  border-radius: 4px;
  overflow: hidden;
  height: 460px;
  background: #102D21;
}

.about-belong-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Growth section — image left, text right */
.growth-sec {
  background: var(--light);

}


.form-group {
  padding-bottom: 20px;
}


.ci-item {
  padding-bottom: 20px;
}

input#submitBtn {
  margin-top: 20px;
}

.about-growth {
  padding: 80px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  background: var(--light);
  margin: 0 auto;
}

.about-growth-img {
  border-radius: 4px;
  overflow: hidden;
  height: 440px;
  background: #102D21;
}

.about-growth-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-growth-content .eyebrow {
  color: var(--purple);
  margin-bottom: 18px;
}

.about-growth-heading {
  font-family: var(--f-heading);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 24px;
}

.about-growth-body {
  font-family: var(--f-body);
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  max-width: 520px;
}

/* Why Us — dark bg, left text + 3 cards */
.about-why {
  background: #111;
  padding: 80px 56px;
}

.about-why-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.about-why-label {
  display: block;
  font-family: var(--f-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}

.about-why-headline {
  font-family: var(--f-heading);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
}

.about-why-card {
  display: flex;
  flex-direction: column;
}

.about-why-card-img {
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #333;
}

.about-why-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-why-card-title {
  font-family: var(--f-label);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.about-why-card-body {
  font-family: var(--f-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Doctor Reviews section */
.about-reviews {
  background: var(--white);
  padding: 80px 56px;
  border-top: 1px solid var(--border);
}

.about-reviews-header {
  max-width: var(--max-w);
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.about-reviews-header .eyebrow {
  color: var(--purple);
}

.about-reviews-title {
  font-family: var(--f-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
}

.about-reviews .slider-outer,
.about-client-reviews .slider-outer {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Equal-height cards within the same row */
.about-reviews .slider-track,
.about-client-reviews .slider-track {
  align-items: stretch;
}

/* Doctor review card — width set by JS initSlider(breakpoints) */
.doctor-card {
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow .25s, transform .25s;
}

.doctor-card:hover {
  box-shadow: 0 8px 32px rgba(107, 92, 231, 0.12);
  transform: translateY(-2px);
}

.doctor-card-photo {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #d8d4f0;
  flex-shrink: 0;
}

.doctor-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}

.doctor-card:hover .doctor-card-photo img {
  transform: scale(1.04);
}

.doctor-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.doctor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #d8d4f0;
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-avatar-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--av-color, var(--purple));
  color: #fff;
  font-family: var(--f-label);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor-name {
  font-family: var(--f-label);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.doctor-location {
  font-family: var(--f-label);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.doctor-rating {
  font-family: var(--f-label);
  font-size: 12px;
  color: var(--dark);
  font-weight: 600;
}

.doctor-rating .star-icon {
  color: #f4a01c;
  margin-right: 3px;
}

.doctor-bio {
  font-family: var(--f-body);
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.doctor-patient-review {
  font-family: var(--f-body);
  font-size: 13px;
  color: #333;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
  flex: 1;
}

.doctor-reviewer-name {
  font-family: var(--f-label);
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
}

.doctor-reviewer-stars {
  font-size: 13px;
  color: #f4a01c;
  letter-spacing: 1px;
}

/* Join Team section */
.about-join {
  background: var(--white);
  padding: 80px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-join-heading {
  font-family: var(--f-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-join-body {
  font-family: var(--f-body);
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
}

.about-join-img {
  border-radius: 4px;
  overflow: hidden;
  height: 440px;
  background: #102D21;
}

.about-join-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Client Reviews section */
.about-client-reviews {
  background: var(--light);
  padding: 80px 56px;
  border-top: 1px solid var(--border);
}

.about-client-reviews .about-reviews-header {
  margin-bottom: 40px;
}

/* Client review card — width set by JS initSlider(breakpoints) */
.client-review-card {
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow .25s, transform .25s;
}

.client-review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}

/* Google-style card header row */
.cr-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cr-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cr-color, var(--purple));
  color: #fff;
  font-family: var(--f-label);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cr-header-meta {
  flex: 1;
  min-width: 0;
}

.cr-name {
  font-family: var(--f-label);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-stars {
  font-size: 13px;
  color: #f4a01c;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* Google G logo */
.cr-google-logo {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.cr-text {
  font-family: var(--f-body);
  font-size: 13.5px;
  color: #333;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.cr-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cr-location {
  font-family: var(--f-label);
  font-size: 11px;
  color: var(--muted);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cr-date {
  font-family: var(--f-label);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* About page full-width wrappers */
.about-intro-wrap,
.about-belong-wrap,
.about-growth-wrap,
.about-join-wrap {
  background: var(--white);
}

.about-growth-wrap {
  background: var(--light);
}

/* ============================================================
   CONTACT US PAGE
   ============================================================ */

.contact-hero {
  margin-top: var(--nav-h);
/*   background: linear-gradient(135deg, #3a3a8f 0%, #6B5CE7 100%); */
	background: radial-gradient(circle at center, #0D653B 0%, #0D5734 38%, #0F3B27 68%, #0C2D22 100%);
  padding: 72px 72px 56px;
  text-align: center;
}

.contact-hero-eyebrow {
  display: block;
  font-family: var(--f-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.contact-hero-title {
  font-family: var(--f-heading);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-hero-sub {
  font-family: var(--f-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Main contact layout */
.contact-body {
  padding: 72px 0px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

/* Left info column */
.contact-info-col {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.contact-info-heading {
  font-family: var(--f-heading);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 10px;
}

.contact-info-sub {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0eefe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}

.ci-content {}

.ci-label {
  font-family: var(--f-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.ci-value {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--dark);
  line-height: 1.6;
}

.ci-value a {
  color: var(--purple);
  transition: opacity .2s;
}

.ci-value a:hover {
  opacity: 0.7;
}

.contact-divider {
  height: 1px;
  background: var(--border);
  margin: 36px 0;
}

.contact-social-label {
  font-family: var(--f-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.contact-socials {
  display: flex;
  gap: 10px;
}

/* Right form column */
.contact-form-col {}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}

.contact-form-title {
  font-family: var(--f-heading);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-form-sub {
  font-family: var(--f-body);
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--f-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--dark);
}

.form-label span {
  color: var(--purple);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 92, 231, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  accent-color: var(--purple);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-consent-txt {
  font-family: var(--f-body);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.form-consent-txt a {
  color: var(--purple);
  font-weight: 600;
}

.btn-submit {
  display: block;
  width: 100%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--f-label);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .3px;
}

.btn-submit:hover {
  background: #102d21;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Map strip */
.contact-map {
/*   height: 320px; */
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.contact-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e5f5, #d8d4f0);
  color: var(--muted);
  font-family: var(--f-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  gap: 10px;
}
 .contact-body {
    padding: 56px 40px;
    gap: 48px;
  }
/* ============================================================
   ABOUT & CONTACT — RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {

  .about-intro,
  .about-belong,
  .about-join {
    padding: 60px 0px;
    gap: 48px;
  }

  .about-journey,
  .about-growth {
    padding: 60px 0px;
    gap: 48px;
  }

  .about-why {
    padding: 60px 0px;
  }

  .about-why-inner {
    grid-template-columns: 220px 1fr 1fr 1fr;
    gap: 24px;
  }

  .about-reviews,
  .about-client-reviews {
    padding: 60px 0px;
  }

  .contact-body {
    padding: 56px 40px;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
    padding: 48px 0px;
    align-items: start;
  }

  .about-intro-img {
    height: 320px;
    order: -1;
  }

  .about-intro-content {
    padding-right: 0;
  }

  .about-journey {
    grid-template-columns: 1fr;
    padding: 56px 0px;
  }

  .about-journey-img {
    height: 300px;
  }

  .about-belong {
    grid-template-columns: 1fr 1fr;
    padding: 56px 0px;
  }

  .about-belong-img {
    height: 320px;
  }

  .about-growth {
    grid-template-columns: 1fr 1fr;
    padding: 56px 0x;
  }

  .about-growth-img {
    height: 300px;
  }

  .about-why {
    padding: 56px 0px;
  }

  .about-why-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .about-why-inner>div:first-child {
    grid-column: 1 / -1;
  }

  .about-reviews,
  .about-client-reviews {
    padding: 56px 0px;
  }

  .doctor-card,
  .client-review-card {
    min-width: calc(80% - 8px);
  }

  .about-join {
    grid-template-columns: 1fr 1fr;
    padding: 56px 0px;
  }

  .about-join-img {
    height: 300px;
  }

  .contact-hero {
    padding: 56px 28px 44px;
  }

  .contact-body {
    grid-template-columns: 1fr;
    padding: 48px 28px;
    gap: 48px;
  }

  .contact-info-col {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 32px 24px;
  }




.about-journey-img {
    max-width: 100%;
}
}

@media (max-width: 600px) {

  .about-intro,
  .about-journey,
  .about-belong,
  .about-growth {
    padding: 44px 0px;
  }
	.about-intro {
    display: flex;
    flex-direction: column-reverse;
}

section.about-journey .container {
    display: flex;
    flex-direction: column-reverse;
}

.about-belong {
    display: flex;
    flex-direction: column;
}

.about-growth {
    display: flex;
    flex-direction: column-reverse;
}


.about-why-inner {
    grid-template-columns: 1fr;
}

section.about-why {
    padding: 60px 0px !IMPORTANT;
}

section.about-reviews {
    padding: 60px 0px !IMPORTANT;
}

.about-join {
    display: flex;
    flex-direction: column;
}

  .about-why {
    padding: 44px 0px;
  }

  .about-why-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-why-inner>div:first-child {
    grid-column: 1 / -1;
  }

  .about-why-card-img {
    height: 180px;
  }

  .about-reviews,
  .about-client-reviews {
    padding: 44px 0px;
  }

  .doctor-card,
  .client-review-card {
    min-width: 88%;
  }

  .about-join {
    padding: 44px 0px;
  }

  .contact-hero {
    padding: 44px 20px 36px;
  }

  .contact-body {
    padding: 40px 20px;
  }

  .contact-form-card {
    padding: 28px 18px;
  }

  .contact-map {
    height: 240px;
  }
}

/* ── CONTACT SUCCESS POPUP ───────────────────────────────── */
.contact-success-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.contact-success-popup.active {
  display: flex;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.popup-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  animation: popupIn .35s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(.88) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  line-height: 1;
  transition: color .2s;
}

.popup-close:hover {
  color: var(--dark);
}

.popup-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6B5CE7 0%, #3a3a8f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.popup-check {
  color: #fff;
}

.popup-title {
  font-family: var(--f-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.popup-body {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.popup-dismiss {
  width: 100%;
  justify-content: center;
}

section.before-after .before-after-flx {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

section.before-after .ba-slider {
    width: 32.5%;
    height: 300px;
}

section.before-after {
    padding: 56px 0;
}
section.before-after .ba-handle-btn {
    font-size: 20px;
    color: #fff;
}
@media (max-width: 767px) {
section.before-after .ba-slider {
    width: 100%;
    height: 300px;
}
}


.before-after-grid-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8faf8 0%, #ffffff 100%);
  overflow: hidden;
}

.before-after-grid-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Heading */
.ba-grid-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.ba-small-title {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0d3829;
  font-weight: 600;
  margin-bottom: 14px;
}

.ba-grid-head h2 {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.1;
  color: #0d3829;
  font-weight: 800;
}

.ba-grid-head p {
  margin: 0;
  color: #5f6f68;
  font-size: 16px;
  line-height: 1.7;
}

/* Grid */
.ba-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* Card */
.ba-result-card {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 20px 55px rgba(13, 56, 41, 0.12);
  transition: all 0.35s ease;
  overflow: hidden;
}

.ba-result-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(13, 56, 41, 0.18);
}

.ba-result-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: rgba(13, 56, 41, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* Image */
.ba-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: #eef3ef;
}

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content */
.ba-card-content {
  padding: 18px 8px 6px;
  text-align: center;
}

.ba-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px dashed rgba(13, 56, 41, 0.45);
  border-radius: 999px;
  color: #0d3829;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ba-card-content h3 {
  margin: 0;
  color: #0d3829;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}
.ba-result-card {
  box-shadow: 0 10px 35px rgba(13, 56, 41, 0.12);
}

.ba-result-card:hover {
  box-shadow: 0 18px 55px rgba(13, 56, 41, 0.18);
}

/* Tablet */
@media (max-width: 991px) {
  .ba-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .ba-grid-head h2 {
    font-size: 38px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .before-after-grid-section {
    padding: 55px 0;
  }

  .ba-results-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ba-grid-head {
    margin-bottom: 30px;
  }

  .ba-grid-head h2 {
    font-size: 32px;
  }

  .ba-grid-head p {
    font-size: 15px;
  }

  .ba-result-card {
    border-radius: 22px;
    padding: 12px;
  }

  .ba-img-wrap {
    border-radius: 18px;
    aspect-ratio: 4 / 5;
  }
}