/* ============================================================
   PAGE BUILDER SECTIONS — sections.css
   Add to: /blocksy-child/assets/css/sections.css
   Enqueue in functions.php alongside hero-banner.css
   ============================================================ */

/* ── Global Resets & Utilities ─────────────────────────────── */
.container {
  max-width: 1400px;
  margin: auto;
  width: 100%;
  padding: 0;
  padding-left: 40px;
  padding-right: 40px;
}

.hero-banner .container {
  padding: 0 20px;
}

h2 {
  font-size: 36px;
}

.section {
  padding: 70px 0;
  /* padding-left:40px;
    padding-right:40px; */
}

.image-accordion-section .section-heading {
  max-width: 720px;
  text-align: left !important;
}

.section-heading {
  font-size: 36px;

  color: #1a1a1a;
  margin: 0 0 24px;
  line-height: 1.25;
}

.section-heading.text-center {
  text-align: center;
}

.section-text {
  color: #444;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* .section-heading { color: #555; line-height: 1.7; margin-bottom: 32px; max-width: 720px; } */
.section-subtext {
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn--primary {
  background-color: #7dd2af;
  font-size: 15px;
  font-weight: 500;
  fill: #21201e;
  color: #21201e;
  border-radius: 10px 10px 10px 10px;
  padding: 12px 22px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  border-color: #4db89e;
  margin-right: 14px;
}

.btn--light {
  background-color: #fff;
  font-size: 15px;
  font-weight: 500;
  fill: #21201e;
  color: #21201e;
  border-radius: 10px 10px 10px 10px;
  padding: 12px 24px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1;
  border-color: #4db89e;
}

.btn--primary:hover {
  background-color: #3aa088;
  border-color: #3aa088;
}

.btn--ghost {
  background: transparent;
  color: #4db89e;
  border-color: #4db89e;
  padding: 12px 24px;
  font-size: 15px;
  line-height: 1;
}

.btn--ghost:hover {
  background-color: #4db89e;
  color: #fff;
}

.btn-group {
  display: block;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

/* ============================================================
   SECTION 1: Are You Struggling
   ============================================================ */
.struggling-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.struggling-card {
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background: #f9f9f9;
  border: 1px solid #eee;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.struggling-card:hover {
  transform: translateY(-4px);
}

.struggling-card__img-wrap {
  width: 100%;
  /*aspect-ratio: 1 / 1;*/
  overflow: hidden;
}

.struggling-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.struggling-card:hover .struggling-card__img-wrap img {
  filter: grayscale(0%);
}

.struggling-card__label {
  padding: 10px 8px;
  font-size: 19px;
  font-weight: 500;
  color: #21201e;
  margin: 0;
}

.struggling-section .swiper-wrapper {
  justify-content: center;
  gap: 20px;
}

.struggling-section .swiper-slide.struggling-card {
  max-width: 23%;
  width: 100% !important;
  margin: 10px !important;
}

/* ============================================================
   SECTION 2: Image + Text
   ============================================================ */
.image-text-section {
  background: #fff;
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-id-1761 .image-text-grid {
  align-items: unset;
}

/* Reverse order when image is on the right */
.image-text-section--img-right .image-text-grid {
  direction: rtl;
}

.image-text-section--img-right .image-text-grid>* {
  direction: ltr;
}

.image-text-grid__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.image-text-grid__content .section-heading {
  margin-bottom: 16px;
}

.btn-group .btn--light {
  border: 1px solid #000;
}

.simple-heading-section .container,
.image-text-section .container,
.comparison-table-section .container,
.faq-section .container,
.features-list-section .container,
.treatment-grid-section .container,
.image-accordion-section .container,
.cta-split-section .container,
.why-choose-section .container,
.download-guide-section .container,
.before-after-section .container,
.contact-form-section .container,
.text-image-section .container,
.implant-materials-section .container,
.full-accordion-section .container,
.payment-providers-section .container,
.eligibility-section .container,
.empowered-smiles-section .container,
.grouped-accordion-section .container,
.awards-timeline-section .container,
.comparison-table-section-2 .container,
.treatment-cards-section .container,
.implant-options-detail-section .container {
  width: 94%;
}

.image-text-section .container img {
  border-radius: 20px;
}

.page-id-1761 .image-text-section .container img {
  height: 100%;
  object-fit: cover;
}

.page-id-554 .elementor-element-30605cf2 {
  display: none;
}

/* ===================================
   Treatment Grid Section
=================================== */

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.treatment-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s ease;
}

.treatment-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.treatment-card__content {
  padding: 20px;
}

.treatment-card__title {
  font-size: 18px;
  margin-bottom: 10px;
}

.treatment-card__desc {
  font-size: 14px;
  margin-bottom: 15px;
  color: #555;
}

/* Responsive */
@media (max-width: 1024px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-id-1219 .image-text-grid {
    flex-direction: column !important;
  }
}

/* ============================================================
   SECTION 3: Service Cards
   ============================================================ */
.service-cards-section {
  background: #f8f8f8;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: box-shadow 0.2s ease;
}

.service-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__img-wrap img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 16px;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.service-card__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   SECTION 4: Image + Accordion
   ============================================================ */
.image-accordion-section {
  background: #fff;
}

.image-accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 32px;
}

.image-accordion-grid__image img {
  width: 100%;
  height: 322px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* Accordion */
.accordion-item__trigger {
  font-size: 20px !important;
}

.accordion-item__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  gap: 12px;
}

.accordion-item__icon {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #bfbfbf;
}

.accordion-item--open .accordion-item__icon {
  transform: rotate(45deg);
}

.accordion-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item--open .accordion-item__body {
  max-height: 600px;
}

.accordion-item__content {
  padding: 15px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #e9e9e9;
}

/* ============================================================
   SECTION 5: CTA Dark Banner
   ============================================================ */
.cta-banner-section {
  background: #1a1a2e;
  padding: 60px 0;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-banner__heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.3;
}

.cta-banner-grid__image {
  max-width: 300px;
}

.cta-banner-grid__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ============================================================
   SECTION 6: Icon Cards
   ============================================================ */
.icon-cards-section {
  background: #f8f8f8;
}

.icon-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.icon-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #eee;
  transition: box-shadow 0.2s ease;
}

.icon-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.icon-card__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.icon-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

.main-content-wrapper {
  overflow: hidden;
  max-width: 1400px;
  width: 95%;
  margin: auto;
  background: white;
  border-radius: 40px 40px 40px 40px;
}

/* ===============================
   STRUGGLING SECTION
================================= */

.struggling-section {
  padding: 70px 40px;
}

.struggling-swiper {
  margin-top: 40px;
}

.struggling-card {
  background: #eaeaea;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: 0.3s ease;
}

.struggling-card__img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.struggling-card__label {
  padding: 15px;
  font-size: 19px;
  font-weight: 500;
  color: #21201e;
}

/* Fix swiper slide spacing */
.swiper {
  width: 100%;
}

.swiper-slide {
  height: auto;
}

/* Pagination dots */
.swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.download-guide-section {
  background: #21201e;
  padding: 40px !important;
  position: relative;
}

/* ============================================================
   ACCORDION JS — vanilla, no jQuery needed
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .struggling-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .icon-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wpforms-form .wpforms-field {
    width: 100% !important;
  }

  .wpforms-form .wpforms-field {
    width: 45% !important;
  }

  .contact-form-grid {
    grid-template-columns: 1fr !important;
    /* gap:30px; */
  }

  .struggling-section h2 {
    padding: 35px 0 0 0 !important;
  }

  section {
    padding: 0 30px 70px 30px !important;
  }

  .download-guide-section,
  .before-after-section {
    margin: 0 0 70px 0;
  }

  .before-after-section .container {
    padding-top: 40px;
  }

  .download-guide-text {
    max-width: 800px !important;
  }

  .why-choose-grid {
    padding: 0 0 0 15px;
  }

  .download-guide-section {
    padding: 70px 0 !important;
  }

  /* .section {
    padding: 30px 0 !important;
} */
  .cta-split-grid {
    height: inherit !important;
    display: inline-block !important;
    text-align: center;
  }

  .main-content-wrapper {
    padding: 0;
    width: 100%;
  }

  .struggling-section .swiper-slide.struggling-card {
    max-width: 253px;
  }

  .image-accordion-section .container,
  .treatment-grid-section .container,
  .image-text-section .container {
    width: 100% !important;
  }

  /*     .section { padding: 50px 20px; } */

  .image-text-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .image-text-section--img-right .image-text-grid {
    direction: ltr;
  }

  .image-accordion-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-banner-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-grid__image {
    display: none;
  }

  .struggling-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .icon-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  /* 	.main-content-wrapper{
		width:100%;
	} */
  /* 	.struggling-section .swiper-slide.struggling-card {
	max-width: 225px;
	}
	.struggling-card__img-wrap img {
    width: 100%;
		height: 183px;} */
}

@media (max-width: 480px) {
  .struggling-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* .btn--light {
    background-color: #E9E9E9;
} */

.btn--primary {
  margin-bottom: 10px;
}

/* ============================================================
   SECTION 7 : Image + FAQ Accordion
   ============================================================ */

/* ============================================================
   SECTION 8 : CTA SPLIT SECTION
============================================================ */

.cta-split-section,
.why-choose-section,
.download-guide-section,
.before-after-section,
.payment-providers-section,
.empowered-smiles-section,
.simple-heading-section,
.implant-options-detail-section {
  padding: 80px 0 !important;
}

.cta-split-grid {
  display: grid;
  overflow: hidden;
  background: #21201e;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  border-radius: 30px !important;
}

.cta-split-content {
  color: #fff;
  padding: 60px;
}

.cta-heading {
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #fff;
}

.cta-buttons {
  display: block !important;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  height: 41vh;
  border-radius: 30px;
}

/* ============================================================
   SECTION: Text + Accordion
   ============================================================ */
.text-accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 32px;
}

@media (max-width: 992px) {
  .text-accordion-grid {
    grid-template-columns: 1fr;
  }
}

.text-faq-item {
  background: #fff;
  border: 1px solid #333;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.text-faq-item[open] {
  background: #eaeaea;
  border-color: #eaeaea;
}

.text-faq-question {
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.text-faq-question::-webkit-details-marker {
  display: none;
}

.text-faq-item:not([open]) .text-faq-image-wrapper {
  display: none;
}

.text-faq-image-wrapper {
  width: 100%;
}

.text-faq-image-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.text-faq-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
}

.text-faq-title {
  font-size: 20px;
  font-weight: 300;
  color: #1a1a1a;
}

.text-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #333;
}

.text-faq-item[open] .text-faq-icon {
  transform: rotate(180deg);
}

.text-faq-answer {
  padding: 0 24px 24px 24px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* responsive */

@media (max-width: 900px) {
  .contact-form-gridd {
    gap: 30px !important;
  }

  .cta-split-image {
    order: -1;
  }

  .cta-heading {
    font-size: 30px;
  }
}

/* ===================================
 SECTION 9 : WHY CHOOSE SECTION
=================================== */

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.why-choose-card {
  display: flex;
  margin-left: 50px;
  align-items: center;
  gap: 20px;
  padding: 20px 20px 20px 0;
  border: 2px solid #9dd5c3;
  border-radius: 10px;
  background: #fff;
  transition: 0.3s;
  position: relative;
  min-height: 130px;
}

.why-choose-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.why-choose-icon {
  width: 100px;
  height: 100px;
  min-width: 100px;
  background: #7dd2af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  position: absolute;
  left: -50px;
  justify-content: center;
}

.why-choose-content {
  margin-left: 100px;
}

.why-choose-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.why-choose-title {
  font-size: 20px;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0;
}

@media (min-width: 1200px) {
  .cta-split-grid {
    /* height: 350px; */
    display: flex;
    justify-content: space-between;
  }

  .cta-split-image {
    width: 40%;
    text-align: end;
  }
}

/* responsive */
@media (max-width: 1199px) {
  .why-choose-card {
    border-radius: 20px;
  }

  .why-choose-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }

  .cta-split-content {
    padding: 30px !important;
  }
}

@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .download-guide-grid {
    grid-template-columns: 1fr;
    text-align: center;
    display: block !important;
  }
}

/* ===================================
 SECTION 10 : DOWNLOAD GUIDE SECTION
=================================== */

.download-guide-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.download-guide-heading {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}

.download-guide-text {
  color: #fff;
  margin-bottom: 30px;
  /* max-width:520px; */
}

.download-guide-image img {
  width: 34%;
  height: 48vh;
  object-fit: cover;
  margin: auto !important;
  /* max-width: 100%; */
  display: block;
  /* margin-left: auto; */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
}

.download-guide-image {
  display: flex;
  justify-content: center;
}

/* responsive */

@media (max-width: 900px) {
  .download-guide-image img {
    position: inherit !important;
    transform: inherit !important;
  }

  /* .section {
    padding: 25px 0 !important;
} */

  .download-guide-image img {
    margin: auto;
  }

  .download-guide-heading {
    font-size: 30px;
  }
}

/* ===================================
 SECTION 11 : BEFORE AFTER CAROUSEL
=================================== */

.before-after-section {
  background: #21201e;
  /* padding: 80px 0; */
  color: #fff;
}

.before-after-section .section-heading {
  color: #fff;
}

.before-after-section .section-intro {
  color: #fff;
  margin-bottom: 25px;
}

.before-after-swiper {
  margin-top: 40px;
}

.before-after-card {
  color: #fff;
}

.before-after-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.before-after-meta {
  margin-top: 10px;
  font-size: 16px;
  color: #fff;
}

.before-after-swiper .swiper-slide {
  width: 320px;
}

/* ===================================
 SECTION 12 : Image + Contact Form
=================================== */

.before-after-meta P {
  margin-bottom: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap:30px; */
  align-items: center;
}

.contact-form-image img {
  width: 85%;
  border-radius: 20px;
}

.contact-form-content {
  max-width: 90%;
}

/* .contact-form-section .section-heading{
font-size:40px;
margin-bottom:20px;
}
 */
.contact-form-section .section-text {
  margin-bottom: 35px;
  line-height: 1.7;
  color: #666;
}

/* FORM STYLE */

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
  margin-bottom: 25px;
  background: transparent;
}

.contact-form-wrapper button,
.contact-form-wrapper input[type="submit"] {
  background: #8cb6a7;
  border: none;
  padding: 12px 40px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.contact-form-wrapper button:hover {
  opacity: 0.9;
}

/* MOBILE */

.image-accordion-section .accordion-item:first-child .accordion-item__trigger {
  margin-top: 0;
}

.image-accordion-section .accordion-item__trigger {
  margin-top: 10px;
  background: #e9e9e9 !important;
  padding: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: hsl(0deg 0% 92.55%) !important;
}

/* 2 column layout */
.wpforms-form .wpforms-field-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wpforms-form .wpforms-field {
  width: 47%;
}

/* textarea full width */
.wpforms-form .wpforms-field-textarea {
  width: 100%;
}

/* submit button style */
.wpforms-submit-container {
  width: 100%;
}

.wpforms-container .wpforms-field {
  padding: 0 !important;
}

.wpforms-submit {
  background: #7fa193;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
}

/* remove box style */
.wpforms-form input,
.wpforms-form select,
.wpforms-form textarea {
  background: transparent;
  border: none !important;
  border-bottom: 1px solid #bdbdbd !important;
  border-radius: 0;
  padding: 10px 0;
  font-size: 16px;
}

/* focus effect */
.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #333;
}

/* textarea height */
.wpforms-form textarea {
  min-height: 120px;
}

/* placeholder color */
.wpforms-form ::placeholder {
  color: #3e3e3e;
}

/* remove default field spacing */
.wpforms-form .wpforms-field {
  padding: 10px 0;
}

/* submit button style */
.wpforms-form .wpforms-submit {
  padding: 12px 40px;
  border-radius: 10px;
  margin-top: 20px !important;
  background: #7dd2af !important;
  border-radius: 10px !important;
  color: #21201e !important;
}

.wpforms-container textarea.wpforms-field-medium {
  height: 0 !important;
}

/* ============== Treatment page ============ */

.page-id-34 .image-text-section {
  /* margin-top: 40px; */
  border-radius: 40px;
}

.page-id-34 .cta-split-image {
  width: 50%;
}

/* ========All on implants section ======== */

.page-id-890 .struggling-section .swiper-slide.struggling-card {
  max-width: 368px;
}

.text-image-grid {
  display: flex;
  gap: 80px;
  /* align-items: center; */
}

.text-image-content,
.text-image-image {
  width: 50%;
}

.text-image-image img {
  border-radius: 20px;
}

.page-id-890 .image-text-grid {
  gap: 80px;
}

.image-section .container {
  padding-left: 80px;
  padding-right: 80px;
}

.image-section img {
  border-radius: 20px;
  height: 75vh !important;
  object-fit: cover;
  object-position: bottom;
  width: 100%;
}

.section.image-text-section.image-text-section--img-right .image-text__image {
  display: flex;
  justify-content: flex-end;
}

.section.image-text-section.image-text-section--img-right .image-text__image img {
  width: 100%;
  height: 52vh;
  object-fit: cover;
}

.page-id-890 .text-image-section:nth-child(6) .text-image-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.features-heading {
  margin-bottom: 25px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-item {
  border: 1px solid #333;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 18px;
  background: #fff;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* .page-id-890 .cta-split-image img {
    height: 41vh;
} */

.implant-options-section img {
  filter: none;
}

.page-id-1219 .text-image-section:nth-child(6) .text-image-grid {
  flex-direction: row;
}

.page-id-1219 .image-text-section:nth-child(7) .image-text-grid {
  flex-direction: row;
}

/* ===============================
   IMPLANT MATERIALS SECTION
================================= */

.materials-btn-group {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  align-items: center;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.material-card {
  background: transparent;
}

.material-card__title {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.material-card__image {
  width: 100%;
  margin-bottom: 24px;
}

.material-card__image img {
  width: 100%;
  height: 32vh;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.material-card__desc {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.material-card__desc strong,
.material-card__desc b {
  color: #1a1a1a;
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
}

.material-card__desc ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.material-card__desc ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  color: #555;
}

.material-card__desc ul li:before {
  content: "-";
  position: absolute;
  left: 0;
  color: #555;
}

@media (max-width: 768px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

.page-id-1219 .text-image-section:nth-child(10) .text-image-grid {
  flex-direction: row;
}

/* .page-id-1434 .main-content-wrapper,
.page-id-1626 .main-content-wrapper {
  padding: 40px 0px;
} */

/* .page-id-1434 .image-text-section:nth-child(1),
.page-id-1626 .image-text-section:nth-child(1) {
  padding-top: 40px;
} */

/* ============================================================
   TEXT ACCORDION SECTION
   ============================================================ */
.text-accordion-section {
  padding: 70px 0;
  background: #fff;
}

.text-accordion-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  /* align-items: start; */
}

/* Accordion Items Container */
.text-accordion-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-faq-item {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  /* allows flex order */
  flex-direction: column-reverse;
}

.text-faq-item[open] {
  background: #eeeeee;
  border-color: transparent;
}

.text-faq-image-wrapper {
  display: none;
  order: 1;
  /* first when open */
  width: 100%;
}

.text-faq-item[open] .text-faq-image-wrapper {
  display: block;
}

.text-faq-image-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.text-faq-question {
  padding: 10px 25px;
  cursor: pointer;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  /* align-items: center; */
  list-style: none;
  outline: none;
  order: 2;
  /* second when open */
  margin: 0;
}

.text-faq-title {
  font-size: 20px;
  font-weight: 300;
  color: #333;
}

.text-faq-item[open] .text-faq-header-content {
  padding: 10px 0;
}

.text-faq-item[open] .text-faq-question {
  padding-bottom: 0;
}

.text-faq-item[open] .text-faq-title {
  font-size: 22px;
}

.text-faq-question::-webkit-details-marker {
  display: none;
}

.text-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: transform 0.3s ease;
}

.text-faq-item[open] .text-faq-icon {
  transform: rotate(180deg);
  /* points up */
}

.text-faq-answer {
  padding: 0 25px 25px 25px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  order: 3;
  /* third when open */
}

@media (max-width: 991px) {
  .text-accordion-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   TREATMENT CARDS SECTION
   ============================================================ */
.treatment-cards-section {
  padding: 70px 0;
  background: #fff;
}

.treatment-cards-header {
  margin-bottom: 50px;
}

.treatment-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tc-card-title {
  font-size: 24px;
  font-weight: 300;
  color: #333;
  margin-bottom: 20px;
}

.tc-card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media (max-width: 991px) {
  .treatment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .treatment-cards-grid {
    grid-template-columns: 1fr;
  }
}

.page-id-1626 .image-text-section .image-text__image img {
  max-height: 60vh;
  height: 100%;
  width: 60vh;
  object-fit: cover;
}

.page-id-1626 .section.image-text-section.image-text-section--img-right .image-text__image img {
  height: auto;
}

/* Responsive css added 4-4-26 OLK start */
/* Treatments page start*/
.btn--light {
  background-color: #e9e9e9;
}

.contact-form-image img {
  height: 100%;
  display: flex;
}

.contact-form-grid {
  border: 1px solid #cfc3b3;
  border-radius: 25px;
}

/* Treatments page end*/

/* All on page start */
.struggling-section .swiper-slide.struggling-card {
  height: auto;
}

/* .text-image-section.text-image-section--reverse .swiper-pagination { */
.text-image-section .swiper-pagination {
  bottom: 0 !important;
  margin: 0;
  height: 100%;
  width: 12px !important;
  right: 0px;
  padding: 0 8px;
  background: white;
  left: unset !important;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-image-section span.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: transparent;
  opacity: 1;
  border: 2px solid #d5c1a9;
}

.text-image-section span.swiper-pagination-bullet-active {
  background: #d5c1a9;
}

.text-image-section .swiper-slide {
  padding-right: 20px;
}

.text-image-section .smile-slide-card {
  background: #e9e9e9;
  border-radius: 20px;
}

.smile-slide-content {
  padding: 20px;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

/* All on page end */

/* common on all page slider design */
.before-after-section .swiper-wrapper {
  padding-bottom: 50px;
}

.before-after-section .swiper-button-prev,
.before-after-section .swiper-button-next,
.before-after-section .swiper-button-lock {
  bottom: 0px;
  top: unset !important;
  background-color: white;
  opacity: 1 !important;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  pointer-events: unset;
}

.before-after-section .swiper-button-prev {
  right: 50.5%;
  left: unset;
}

.before-after-section .swiper-button-next {
  left: 50.5%;
}

.before-after-section .swiper-button-prev:after,
.before-after-section .swiper-button-next:after {
  font-size: 16px;
  color: #000;
  font-weight: 800;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-banner {
    padding: 0px !important;
  }

  .hero-banner__title {
    font-size: 46px;
    line-height: 1.2;
  }

  .before-after-section {
    margin: 0px;
  }

  .implant-options-detail-section,
  .comparison-table-section-2,
  .treatment-cards-section,
  .text-accordion-section,
  .implant-materials-section,
  .faq-section,
  .video-testimonials-section,
  .comparison-table-section,
  .features-list-section,
  .image-section,
  .text-image-section,
  .struggling-section,
  .contact-form-section,
  .before-after-section,
  .why-choose-section,
  .cta-split-section,
  .treatment-grid-section,
  .image-text-section {
    padding: 40px 20px !important;
  }

  .implant-options-detail-section .container,
  .comparison-table-section-2 .container,
  .eligibility-section .container,
  .payment-providers-section .container,
  .full-accordion-section .container,
  .treatment-cards-section .container,
  .text-accordion-section .container,
  .implant-materials-section .container,
  .faq-section .container,
  .video-testimonials-section .container,
  .comparison-table-section .container,
  .features-list-section .container,
  .image-section .container,
  .text-image-section .container,
  .struggling-section .container,
  .contact-form-section .container,
  .before-after-section .container,
  .why-choose-section .container,
  .cta-split-section .container,
  .image-accordion-section .container,
  .treatment-grid-section .container,
  .image-text-section .container {
    width: 100%;
    max-width: 100% !important;
    padding: 0px;
  }

  .contact-form-content {
    padding: 20px;
    width: 100%;
    max-width: 100%;
  }

  .contact-form-image img,
  .cta-split-image {
    width: 100% !important;
  }

  .btn--primary {
    margin-right: 0px;
  }

  .why-choose-grid {
    padding-left: 0;
  }

  .why-choose-content {
    margin-left: 75px;
  }

  .image-text-grid {
    gap: 20px !important;
  }

  .text-image-grid {
    flex-direction: column;
    gap: 20px;
  }

  .text-image-content,
  .text-image-image {
    width: 100%;
  }

  .struggling-section h2 {
    padding: 0 !important;
    margin: 0;
  }

  .struggling-swiper {
    margin-top: 0;
  }

  .image-section img {
    height: auto !important;
  }

  .video-testimonials-section .video-card {
    width: 100% !important;
    height: auto !important;
  }

  .before-after-section .swiper-button-next {
    left: 55%;
  }

  .before-after-section .swiper-button-prev {
    right: 55%;
  }

  .text-image-section .text-image-grid {
    flex-direction: column !important;
  }

  .comparison-table-section table td,
  .comparison-table-section table th {
    padding: 10px;
    min-width: 150px !important;
  }

  .image-text-section:nth-child(7) .image-text__image img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
  }

  .struggling-section .swiper-wrapper {
    justify-content: start;
    gap: 20px;
  }

  .struggling-section .swiper-slide.struggling-card {
    max-width: 100%;
    margin: 20px 0 0 !important;
  }

  .contact-form-grid form .wpforms-field {
    width: 100% !important;
  }

  /* h2 */
  .section-heading,
  .faq-section-heading,
  .cta-heading {
    font-size: 36px !important;
  }

  .text-accordion-grid {
    margin-top: 0;
  }

  .btn--primary,
  .btn--light {
    min-width: 240px;
    text-align: center;
  }

  .btn--light .btn-icon {
    margin-left: 0;
  }
}

.btn--light {
  background: #fff !important;
  border: 1px solid #585756 !important;
}

/* ============================================================
   SECTION: Full Width Accordion (Payment Options Style)
   ============================================================ */
.full-accordion-section {
  padding: 60px 0;
  background: #fff;
}

.full-accordion-heading {
  font-weight: 300;
  color: #333;
  text-align: left;
  margin-bottom: 30px;
}

.full-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.full-accordion-item {
  width: 100%;
}

.full-accordion-item__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  background: #e9e9e9;
  border: none;
  border-radius: 8px;
  text-align: left;
  font-size: 1.15rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.full-accordion-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #555;
}

/* Active state for trigger */
.full-accordion-item--open .full-accordion-item__trigger {
  background: #7dd2af;
  color: #1a1a1a;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.full-accordion-item--open .full-accordion-item__icon {
  transform: rotate(180deg);
  color: #1a1a1a;
}

.full-accordion-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.full-accordion-item--open .full-accordion-item__body {
  max-height: 2000px;
  /* large value */
}

.full-accordion-item__content {
  padding: 24px 10px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  background: #fff;
}

.full-accordion-item__content p {
  margin-bottom: 1em;
}

.full-accordion-item__content p:last-child {
  margin-bottom: 0;
}

.elementor-kit-7 button,
.elementor-kit-7 button:hover {
  background-color: #e9e9e9;
  padding: 6px;
  padding-left: 12px;
  padding-right: 12px;
}

/* ============================================================
   SECTION: Payment Providers Section
   ============================================================ */
.payment-providers-section {
  /* padding: 80px 0; */
  background: #fff;
}

.payment-providers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.payment-providers-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.payment-providers-desc {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.payment-providers-logos-image img {
  width: 100%;
  max-width: 400px;
  height: 130px;
  display: block;
}

@media (max-width: 900px) {
  .payment-providers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   SECTION: Eligibility Criteria Section
   ============================================================ */

.eligibility-header {
  margin-bottom: 40px;
}

.eligibility-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 45px;
}

.eligibility-card {
  width: calc(33.333% - 40px);
  min-width: 280px;
  max-width: 380px;
  position: relative;
  margin-left: 45px;
}

.eligibility-card__content {
  border: 1px solid #7dd2af;
  border-radius: 8px;
  padding: 24px 24px 24px 60px;
  min-height: 100px;
  display: flex;
  align-items: center;
  background: transparent;
}

.eligibility-card__text p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #333;
}

.eligibility-card__icon-wrap {
  position: absolute;
  left: -45px;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  background: #7dd2af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eligibility-card__icon-wrap img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .eligibility-card {
    width: calc(50% - 40px);
  }
}

@media (max-width: 768px) {
  .eligibility-grid {
    flex-direction: column;
    align-items: center;
  }

  .eligibility-card {
    width: 100%;
    margin-left: 45px;
  }
}

/* Responsive css added 4-4-26 OLK end */

/* ============================================================
   SMOOTH SCROLL BASE CSS FIXES
   These rules ensure that scrolling libraries (Lenis, Locomotive) 
   allow touch panning on mobile and regular scrollbar dragging 
   on desktop.
   ============================================================ */

/* Lenis Scroll Default Styles */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Locomotive Scroll Base Styles */
html.has-scroll-smooth {
  overflow: hidden;
}

html.has-scroll-dragging {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.has-scroll-smooth body {
  overflow: hidden;
}

.has-scroll-smooth [data-scroll-container] {
  min-height: 100vh;
}

.btn-group .btn--light,
.btn--primary {
  border: 1px solid #7dd2af;
}

.btn--primary:hover {
  background: #fff;
  color: black;
  border: 1px solid #585756;
}

a.btn.btn--light:hover {
  background: #7dd2af !important;
  color: black !important;
  border: 1px solid #7dd2af !important;
}

/* Accessing superannuation info */
/* .page-id-1946 .image-text-grid:nth-child(1) {
  display: block;
} */

/* ============================================================
   EMPOWERED SMILES GALLERY SECTION
   ============================================================ */
.empowered-smiles-section {
  /* padding: 80px 0; */
  background: #fff;
}

.smiles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.smiles-filter-btn {
  background: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 8px 24px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
}

.smiles-filter-btn.active {
  background: #e9e9e9;
  border-color: #e9e9e9;
}

.smiles-filter-btn:hover {
  background: #f5f5f5;
}

.smiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.smile-card {
  display: flex;
  flex-direction: column;
}

.smile-card.hidden-item {
  display: none !important;
}

.smile-card__image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.smile-card__image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.smile-card__info {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.smile-card__treatment,
.smile-card__time {
  margin: 0 0 4px 0;
}

.smiles-show-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

.btn--show-more {
  min-width: 200px;
  border-radius: 6px;
  padding: 12px 30px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .smiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .smiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .empowered-smiles-section {
    padding: 40px 20px !important;
  }
}

@media (max-width: 480px) {
  .smiles-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HEADING SECTION
   ============================================================ */
.simple-heading-section {
  /* padding: 80px 0; */
  background: #fff;
  padding-bottom: 0;
}

.page-id-40 .image-text-section:nth-child(2) {
  padding-top: 0 !important;
}

.page-id-40 .image-text__image img:nth-child(1) {
  width: 95%;
}

.simple-heading-text {
  font-size: 36px;
  font-weight: 300;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .simple-heading-section {
    padding: 40px 20px !important;
  }

  .simple-heading-text {
    font-size: 28px;
  }
}

/* ============================================================
   CLINICIANS SECTION
   ============================================================ */
.clinicians-section {
  padding: 80px 0;
  background: #fff;
}

.clinicians-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.clinician-card {
  display: flex;
  flex-direction: column;
}

.clinician-card__image {
  background: #e6e6e6;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.clinician-card__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.clinician-card__name {
  font-size: 24px;
  font-weight: 300;
  color: #333;
  margin: 0 0 5px 0;
}

.clinician-card__role {
  font-size: 14px;
  color: #666;
  margin: 0;
}

@media (max-width: 991px) {
  .clinicians-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .clinicians-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .clinicians-section {
    padding: 40px 20px !important;
  }
}

/* ============================================================
   GROUPED ACCORDION SECTION
   ============================================================ */
.grouped-accordion-section {
  padding: 80px 0;
  background: #fff;
}

.grouped-accordion-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  align-items: flex-start;
}

.grouped-accordion-row:last-child {
  margin-bottom: 0;
}

.grouped-accordion-row__header {
  width: 35%;
  padding-right: 40px;
}

.grouped-accordion-row__header h3 {
  font-size: 36px;
  font-weight: 300;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.grouped-accordion-row__content {
  width: 65%;
}

.grouped-accordion-item {
  border-bottom: 1px solid #71817c;
}

.grouped-accordion-item:first-child {
  border-top: 1px solid #71817c;
}

.grouped-accordion-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  background: none !important;
}

.grouped-accordion-item__title {
  font-size: 22px;
  font-weight: 300;
  color: #333;
}

.grouped-accordion-item__icon {
  transition: transform 0.3s ease;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grouped-accordion-item.opened .grouped-accordion-item__icon {
  transform: rotate(180deg);
}

.grouped-accordion-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.grouped-accordion-item.opened .grouped-accordion-item__body {
  max-height: 1000px;
}

.grouped-accordion-item__content {
  padding-bottom: 24px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.grouped-accordion-item__button-wrapper {
  margin-top: 20px;
  text-align: right;
}

.grouped-btn {
  background-color: #8cd4b6;
  color: #333;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  transition: background-color 0.3s;
}

@media (max-width: 991px) {
  .grouped-accordion-row {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .grouped-accordion-row__header {
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .grouped-accordion-row__content {
    width: 100%;
  }

  .grouped-accordion-row__header h3 {
    font-size: 28px;
  }

  .grouped-accordion-item__title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .grouped-accordion-section {
    padding: 40px 20px !important;
  }
}

.page-id-2670 .image-text-section:nth-child(3) {
  padding: 0;
}

/* ============================================================
   SECTION: Awards Timeline
   ============================================================ */
.awards-timeline-section {
  padding: 80px 0;
  background: #fff;
}

.awards-timeline-list {
  margin: 0 auto;
}

.awards-timeline-year-block {
  display: flex;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 2px solid #bce1ce;
}

.awards-timeline-year-block:last-child {
  border-bottom: none;
}

.awards-timeline-year {
  width: 140px;
  flex-shrink: 0;
  font-size: 40px;
  font-weight: 300;
  color: #333;
  line-height: 1;
}

.awards-timeline-awards {
  flex-grow: 1;
  padding-left: 20px;
}

.awards-timeline-award {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

.awards-timeline-award:last-child {
  margin-bottom: 0;
}

.awards-timeline-award__image {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  margin-right: 24px;
}

.awards-timeline-award__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.awards-timeline-award__content {
  flex-grow: 1;
}

.awards-timeline-award__title {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin: 0 0 8px 0;
}

.awards-timeline-award__desc {
  font-size: 15px;
  color: #777;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
}

.awards-timeline-award__more {
  margin-top: 8px;
}

.awards-timeline-award__toggle {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  color: #888;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}

.awards-timeline-award__toggle:hover {
  color: #555;
}

.awards-timeline-award__toggle .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: transform 0.3s;
}

.is-open>.awards-timeline-award__toggle .icon {
  transform: rotate(45deg);
}

.awards-timeline-award__extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.is-open>.awards-timeline-award__extra {
  max-height: 500px;
}

.awards-timeline-award__extra-inner {
  padding-top: 12px;
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .awards-timeline-year-block {
    flex-direction: column;
    padding: 30px 0;
  }

  .awards-timeline-year {
    margin-bottom: 24px;
  }

  .awards-timeline-awards {
    padding-left: 0;
  }

  .awards-timeline-award {
    flex-direction: column;
  }

  .awards-timeline-award__image {
    margin-bottom: 16px;
  }
}

/* FAQ section */

.faq-section {
  padding: 0;
}

.faq-section-heading {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 300;
  font-size: 2.5rem;
  color: #333;
}

.faq-item {
  background: #eeeeee;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 25px 30px;
  font-size: 1.15rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: #333;
  margin: 0;
  outline: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

/* Hide default triangle */
.faq-answer {
  padding: 0 30px 30px 30px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: #555;
}

.faq-item[open] .faq-question {
  padding-bottom: 15px;
}

ul:not(header ul, .features-right ul) {
  list-style: none;
  padding-left: 0;
}

ul:not(header ul, .features-right ul) li {
  position: relative;
  padding-left: 15px;
}

ul:not(header ul, .features-right ul) li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #555;
}

/* customize css */

/* Olk css start */
/* .hero-banner__media{
    transform: translateY(40px) scaleX(-1);
} */
.page-id-2369 .hero-banner__media img,
.page-id-2775 .hero-banner__media img,
.page-id-2670 .hero-banner__media img,
.page-id-2564 .hero-banner__media img {
  object-position: top;
}

.page-id-1946 .hero-banner__media {
  transform: translateY(20px);
}

.page-id-1946 .hero-banner__media img {
  object-position: top;
}

.image-text__image:not(:has(img, video)) {
  display: none;
}

.image-text__image:not(:has(img, video))+.image-text__content {
  grid-column: span 2;
}

.image-text__image video {
  max-width: 100%;
}

.eligibility-card {
  display: flex;
  height: auto;
  width: calc(25% - 15px);
}

.text-faq-answer p,
.text-faq-item {
  margin-bottom: 0;
}

.treatment-cards-section .treatment-cards-grid {
  margin: 20px 0 0;
}

.text-faq-item[open] .text-faq-question {
  padding: 0;
}

.text-faq-item[open] .text-faq-header-content {
  padding: 15px 25px;
}

.page-id-1434 .treatment-card {
  display: flex;
  flex-direction: column-reverse;
}

.treatment-card__content {
  padding: 20px 0;
}

.treatment-card__title {
  font-size: 24px;
  margin: 0;
}

.treatment-card__desc {
  margin-top: 15px;
}

.treatment-card__image img {
  border-radius: 15px;
}

.page-id-2775 .text-image-section .text-image-grid .text-image-image img {
  border-radius: 20px;
  max-height: 336px;
  width: 100%;
  object-fit: cover;
}

.page-id-2936 .image-text-grid,
.page-id-2369 .image-text-grid {
  gap: 80px;
  align-items: unset;
}

/* .page-id-2936 .image-text-section .container img,
.page-id-2369 .image-text-section .container img,
.text-image-image img {
  height: 100%;
  object-fit: cover;
} */

.page-id-2369 .image-text-section .image-text__image img,
.page-id-2936 .image-text-section .image-text__image img,
.text-image-image img {
  height: 100%;
  object-fit: cover;
}

.image-text__content,
.text-image-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-image-content .section-text {
  margin-bottom: 0;
}

.page-id-890 .text-image-section:nth-child(6) .text-image-grid {
  align-items: center;
}

.page-id-2200 .hero-banner__media img {
  object-position: center 25%;
}

.smiles-grid {
  gap: 40px 25px;
}

.grouped-btn {
  border: 1px solid #8cd4b6;
}

.grouped-btn:hover {
  background: white;
  color: #333;
}

.image-accordion-grid__image img {
  height: auto;
  max-height: 375px;
}

.page-id-2564 .smiles-filters {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px 20px;
}

.page-id-3136 .smiles-filters button,
.page-id-2564 .smiles-filters button {
  background-color: white;
}

.page-id-3136 .smiles-filters button:hover,
.page-id-3136 .smiles-filter-btn.active,
.page-id-2564 .smiles-filters button:hover,
.page-id-2564 .smiles-filter-btn.active {
  background-color: #e9e9e9;
}

.awards-timeline-award__image {
  width: 100px;
  height: 100px;
}

.awards-timeline-award,
.awards-timeline-year-block {
  gap: 40px;
}

.awards-timeline-section {
  padding-bottom: 0;
}

.awards-timeline-award__title {
  font-size: 22px;
}

.page-id-3136 .smile-card__image-wrapper {
  max-height: 270px;
  height: 100%;
  margin-bottom: 0;
}

.page-id-3136 .smile-card__image-wrapper img {
  object-fit: cover;
  height: 100%;
  object-position: center;
}

.page-id-3136 .smiles-grid p.smile-card__treatment {
  color: #7dd2af;
}

.page-id-3136 .smiles-grid .smile-card__info {
  padding: 20px;
}

.page-id-3136 .smiles-grid .smile-card {
  border: 1px solid #cfc3b3;
  border-radius: 12px;
}

.page-id-3136 .smiles-show-more-wrapper button {
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .video-testimonials-grid {
    flex-wrap: nowrap !important;
  }

  .video-card {
    max-width: 300px !important;
    height: auto !important;
    width: 100% !important;
  }

  .video-card:nth-child(2) {
    max-width: 380px !important;
  }

  .page-id-3136 .smiles-grid p.smile-card__time {
    font-size: 22px;
  }

  .page-id-3136 .smiles-grid {
    gap: 60px;
  }

  .page-id-2564 .smiles-grid,
  .page-id-3136 .smiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1215px) {
  .page-id-2564 .smiles-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
  }

  .page-id-3136 .smiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-id-3136 .smiles-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {

  .awards-timeline-section,
  .treatment-cards-section,
  .image-accordion-section,
  .section.empowered-smiles-section,
  .eligibility-section,
  .payment-providers-section,
  .full-accordion-section {
    padding: 40px 20px !important;
  }

  .awards-timeline-section .container,
  .treatment-cards-section .container,
  .image-accordion-section .container,
  .grouped-accordion-section .container,
  .clinicians-section .container,
  .simple-heading-section .container,
  .section.empowered-smiles-section .container {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  .payment-providers-section .payment-providers-grid {
    gap: 20px;
  }

  .payment-providers-section .payment-providers-desc p,
  .payment-providers-section .payment-providers-desc {
    margin-bottom: 0;
  }

  .smiles-grid,
  .eligibility-grid {
    gap: 20px;
  }

  .eligibility-card {
    min-width: 0;
    max-width: none;
    width: -webkit-fill-available;
    margin-left: 35px;
  }

  .eligibility-header .btn-group,
  .eligibility-header {
    margin-bottom: 20px !important;
  }

  .eligibility-card__content {
    padding: 15px 15px 15px 40px;
    width: 100%;
  }

  .why-choose-icon img,
  .eligibility-card__icon-wrap {
    width: 70px;
    height: 70px;
    left: -35px;
  }

  .eligibility-card__icon-wrap img {
    max-width: 30px;
    max-height: 30px;
  }

  .full-accordion-item__content {
    padding: 10px;
  }

  .clinicians-section .section-heading.text-center,
  section.section.video-testimonials-section h2.section-heading {
    margin-bottom: 20px !important;
  }

  .treatment-grid-section .treatment-card__content {
    padding: 20px 0;
  }

  .image-accordion-section .image-accordion-grid {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .why-choose-content {
    margin-left: 62px;
  }

  .page-id-2775 .text-image-section .text-image-grid .text-image-image img {
    min-height: 300px;
    max-height: 300px;
  }

  .image-text-grid {
    gap: 20px;
  }

  .awards-timeline-award,
  .awards-timeline-year-block {
    gap: 20px;
  }

  .page-id-3136 .smiles-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.gform_title {
  display: none !important;
}

.gform-theme--foundation .gfield textarea.large {
  min-block-size: 0 !important;
}

.gform_title {
  display: none !important;
}

.ginput_container input,
select,
textarea {
  border: none !important;
  outline: none !important;
  border-bottom: 1px solid #cfc3b3 !important;
  font-size: 16px !important;
  color: rgba(0, 0, 0, 0.5) !important;
  box-shadow: none !important;
  padding-bottom: 6px !important;
}

input#gform_submit_button_2 {
  margin-top: 10px !important;
  background: #7dd2af !important;
  border-radius: 10px !important;
  color: #21201e !important;
  padding: 15px 20px;
  font-size: 16px;
}

.page-id-3316 .image-text-section:nth-child(4) {
  padding-bottom: 20px !important;
}

.comparison-table-section-2 {
  padding-top: 0;
}

/* ── Implant Options Detail Section ── */
.implant-options-detail-section {
  padding: 80px 0;
}

.implant-options-detail-subtext {
  margin-bottom: 40px;
  max-width: 900px;
}

/* 2-column grid, stacks to 1 on mobile */
.implant-options-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 50px;
}

@media (max-width: 768px) {
  .implant-options-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.implant-options-detail-card {
  display: flex;
  flex-direction: column;
}

.implant-options-detail-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 4px;
}

.implant-options-detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.implant-options-detail-card__desc {
  font-size: 0.95rem;
  line-height: 1.75;
}

.implant-options-detail-card__desc p {
  margin-bottom: 12px;
}

.implant-options-detail-card__desc p:last-child {
  margin-bottom: 0;
}

/* date: 4-17-26 additional css */

.page-id-4782 .hero-banner__media img {
  object-position: top;
}

.comparison-table,
.comparison-table th,
.comparison-table td {
  border: none !important;
  background: transparent;
}

.comparison-table thead th {
  background: transparent !important;
  border-top: none !important;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  border-left: 1px solid #a8dfcd !important;
}

.comparison-table tbody tr,
.comparison-table tbody td,
.comparison-table tbody th {
  background: transparent !important;
}

.comparison-table tbody tr:nth-child(odd) td,
.comparison-table tbody tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(odd) th,
.comparison-table tbody tr:nth-child(even) th {
  background: transparent !important;
}

.page-id-3480 .struggling-section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.page-id-3480 .struggling-section .container .swiper-horizontal,
.page-id-3480 .struggling-section .container .section-heading.text-center {
  max-width: 48%;
  margin: 0;
}

.page-id-3480 .struggling-section .container .swiper-horizontal .swiper-slide.struggling-card {
  max-width: 100%;
}

.page-id-3480 .struggling-section .container .swiper-horizontal .struggling-card__img-wrap img {
  height: 300px;
  object-position: center;
}

.page-id-4938 .treatment-cards-section .treatment-cards-grid .treatment-card,
.page-id-5358 .treatment-cards-section .treatment-cards-grid .treatment-card,
.page-id-5214 .treatment-cards-section .treatment-cards-grid .treatment-card,
.page-id-4782 .treatment-cards-section .treatment-cards-grid .treatment-card,
.page-id-4606 .treatment-cards-section .treatment-cards-grid .treatment-card,
.page-id-4487 .treatment-cards-section .treatment-cards-grid .treatment-card {
  display: flex;
  flex-direction: column-reverse;
}

.page-id-4194 .image-text-section .container .image-text__image img {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
  object-position: 0 -100px;
}

.page-id-5358 .hero-banner__title,
.page-id-5358 .image-text-section.image-text-section--img-right .image-text__content h2 {
  word-break: break-word;
}

@media (min-width: 1200px) {
  .page-id-4487 .treatment-cards-section .treatment-cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-id-5214 .treatment-cards-section .treatment-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .page-id-4782 .treatment-cards-section .treatment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-id-4782 .treatment-cards-section .treatment-card__image img {
    height: 285px;
  }
}

@media (max-width: 768px) {
  .page-id-5214 .hero-banner__media img {
    object-position: 68% 0%;
  }

  .page-id-5214 .treatment-cards-grid {
    gap: 10px;
  }

  .comparison-table-section-2 .container {
    width: 100%;
    max-width: 100% !important;
    padding: 0px;
  }

  .comparison-table-section-2 .container .comparison-table td,
  .comparison-table-section-2 .container .comparison-table th {
    min-width: 160px;
  }

  .page-id-3480 .struggling-section .container {
    gap: 0px;
  }

  .page-id-3480 .struggling-section .container .swiper-horizontal,
  .page-id-3480 .struggling-section .container .section-heading.text-center {
    max-width: 100%;
  }

  .page-id-4487 .image-text-section:nth-child(1 of .image-text-section) .image-text__content,
  .page-id-4359 .image-text-section:nth-child(2 of .image-text-section) .image-text__content,
  .page-id-4359 .image-text-section:nth-child(1 of .image-text-section) .image-text__content,
  .page-id-3316 .image-text-section:nth-child(1 of .image-text-section) .image-text__content {
    order: -1 !important;
  }

  .faq-section-heading {
    margin-bottom: 20px;
  }

  .features-grid {
    gap: 30px;
  }
}

.page-id-3316 .struggling-section .swiper-slide.struggling-card {
  max-width: 30%;
}

.comparison-table td,
.comparison-table th {
  padding: 20px 40px !important;
}

.page-id-4938 .hero-banner__media {
  transform: translateY(40px) scaleX(-1);
}

/* .btn--light {
  padding: 14px 24px;
} */

.btn--black {
  background-color: #000 !important;
  font-size: 15px;
  font-weight: 500;
  fill: #21201e;
  color: #fff !important;
  border-color: #000 !important;
  border-radius: 10px 10px 10px 10px;
  padding: 12px 22px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  border-color: #4db89e;
  margin-right: 14px;
}

.btn--black:hover {
  background-color: #333;
  border-color: #333;
}

.image-section iframe {
  width: 100%;
  height: 73vh !important;
}

.youtube-custom {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 25px;
}

.youtube-custom img {
  width: 100%;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 40px;
  padding-left: 10px;
}

.page-id-5358 .hero-banner__media img {
  object-position: 50% 0%;
}

@media (max-width: 768px) {
  .play-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    padding-left: 5px;
  }
}

.video-testimonial {
  width: 100%;
  height: 55vh !important;
}

.video-testimonials-grid .video-card:nth-child(2) .youtube-custom.video-testimonial {
  height: 66vh !important;
}

.smile-design-swiper .swiper-slide.swiper-slide-active {
  padding: 0;
}

.smile-design-swiper .swiper-button-prev,
.smile-design-swiper .swiper-button-next {
  padding: 10px 20px;
  background: #0000004f;
  border-radius: 8px;
  transition: background .3s ease-in-out;
}

.smile-design-swiper .swiper-button-prev:hover,
.smile-design-swiper .swiper-button-next:hover {
  background: #0000008f;
}

.smile-design-swiper .swiper-button-next:after,
.smile-design-swiper .swiper-button-prev:after {
  font-size: 20px;
}

.smile-design-swiper img {
  max-height: 400px;
  width: 100%;
}

.page-id-6144 .main-content-wrapper {
  overflow: visible;
}

.video-testimonials-section .video-card:nth-child(2) iframe {
  height: 66vh;
}

.video-testimonials-section .video-card iframe {
  height: 57vh;
}

.video-card:nth-child(2) .test-video {
  height: 70vh !important;
}

.video-card:nth-child(2) img {
  height: 66vh !important;
}

.video-card img {
  height: 57vh !important;
}