:root {
  --aqua: #63c2cd;
  --dark-gray: #646464;
  --peach: #d89875;
  --yellow: #f7ba00;
  --dark-yellow: #e0a800;
  --red: #d92738;
  --dark-blue: #0b3d57;
}

/* Bootstrap heading overrides */
h1, .h1 { font-size: 2.625rem; font-weight: 600; line-height: 1.2; color: var(--dark-gray); }
h2, .h2 { font-size: 2.25rem; font-weight: 600; line-height: 1.25; color: var(--dark-gray); }
h3, .h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.3; color: var(--dark-gray); }
h4, .h4 { font-size: 1.25rem; font-weight: 500; line-height: 1.35; color: var(--dark-gray); }
h5, .h5 { font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--dark-gray); }
h6, .h6 { font-size: 0.875rem; font-weight: 500; line-height: 1.4; color: var(--dark-gray); }

/* Adaptive contrast classes - auto-applied by adaptiveContrast utility */
.contrast-light-text,
.contrast-light-text h1, .contrast-light-text h2, .contrast-light-text h3,
.contrast-light-text h4, .contrast-light-text h5, .contrast-light-text h6,
.contrast-light-text p, .contrast-light-text span, .contrast-light-text a {
  color: #ffffff !important;
}
.contrast-dark-text,
.contrast-dark-text h1, .contrast-dark-text h2, .contrast-dark-text h3,
.contrast-dark-text h4, .contrast-dark-text h5, .contrast-dark-text h6,
.contrast-dark-text p, .contrast-dark-text span, .contrast-dark-text a {
  color: var(--dark-gray) !important;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* Global link styling */
a {
  color: var(--dark-gray);
  font-weight: 600;
  text-decoration: underline;
}
a:hover {
  color: var(--aqua);
}

/* Preserve text color for links in white-text contexts */
.text-white a,
.text-white p a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}
.text-white a:hover,
.text-white p a:hover {
  color: inherit !important;
  text-decoration: underline !important;
}

/* Prevent horizontal scroll on mobile */
html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}

.container-fluid, .row {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100%;
  overflow-x: hidden;
}

.container-fluid, .row {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
}

.bg-aqua {
  background-color: var(--aqua) !important;
}

.top-bar {
  height: 30px;
}

.top-bar .message-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  flex-grow: 1;
}

.top-bar .top-bar-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.top-bar .phone-number {
  display: flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
}

nav.navbar {
  min-height: 60px;
}

.navbar-nav {
  margin-right: 15px;
}

nav.navbar .container-fluid {
  padding-right: 15px !important;
  margin-right: 0;
}

nav.navbar .navbar-brand,
nav.navbar .navbar-nav .nav-link {
  height: 60px;
  display: flex;
  align-items: center;
}

.text-muted {
  text-decoration: none !important;
}

.custom-icon {
  color: var(--dark-gray);
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 0.3rem;
}

/* Hide top bar on screens smaller than 992px */
@media (max-width: 991.98px) {
  .top-bar {
    display: none;
  }
}

/* Dropdown on hover for desktop */
/* @media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
} */

/* Submenu expand to the right */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

/* Fix text wrapping in mega menu items */
.mega-menu .dropdown-item {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.4 !important;
}

.mega-menu ul li {
  white-space: normal !important;
}

.mega-menu .col-lg-2,
.mega-menu .col-md-4,
.mega-menu [class*="col-"] {
  overflow: visible !important;
}

/* Improve mega menu column spacing on medium screens */
@media (min-width: 992px) and (max-width: 1400px) {
  .mega-menu .col-lg-2 {
    flex: 0 0 auto;
    width: 20%;
    min-width: 180px;
    padding: 10px 20px !important;
  }

  .mega-menu .container-fluid {
    max-width: 100% !important;
  }

  .mega-menu .row {
    flex-wrap: wrap !important;
  }
}

.navbar-brand {
  margin-left: 15px;
}

.logo {
  height: 30px;
  width: auto;
  margin-right: 10px;
}

.hero-content {
  display: none;
  background-color: var(--aqua) !important;
  color: #ffffff;
  padding: 20px;
  text-align: left;
  margin-top: 0;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .hero-text {
    display: none;
  }
  .hero-content {
    display: block;
  }
  .hero-tagline {
    white-space: nowrap;
    font-size: 20px;
  }
  .overlay {
    display: none;
  }
  .hero-content p {
    text-align: left;
  }
  .hero-content a {
    display: block;
    text-align: center;
    margin: 20px auto 0 auto;
    background-color: var(--yellow) !important;
    border-color: var(--yellow) !important;
  }
}

.hero-video {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 1;
}

@media (max-width: 767px) {
  .card-title {
    margin-left: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    font-size: 4vw !important;
  }
  .card-subtitle {
    margin-left: 10px !important;
    margin-top: 2px !important;
    font-size: 3vw !important;
  }
}

@media (max-width: 767px) {
  #treatments .card {
    margin-bottom: 5px;
  }

  #treatments .row > div[class*='col-'] {
    margin-bottom: 5px;
  }

  #treatments .gy-4 {
    --bs-gutter-y: 0.375rem;
  }
}

.corner-ribbon {
  width: 150px;
  height: 150px;
  background-color: var(--red, #d92738);
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%) rotate(45deg);
  color: white;
  text-align: center;
  line-height: 150px;
  font-weight: bold;
  z-index: 10;
}

.corner-ribbon::before, .corner-ribbon::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.corner-ribbon::before {
  top: 100%;
  left: 0;
  border-width: 0 75px 75px 0;
  border-style: solid;
  border-color: transparent var(--red, #d92738);
}

.corner-ribbon::after {
  bottom: 100%;
  right: 0;
  border-width: 75px 75px 0 0;
  border-style: solid;
  border-color: var(--red, #d92738) transparent;
}

.card {
  cursor: pointer;
  margin-bottom: 20px;
  border: none !important;
  overflow: hidden;
}

.card-img-overlay {
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background-color 0.5s ease;
}

.card-img-top {
  width: 100%;
  padding-top: 66.6%;
  background: url('#') center center no-repeat;
  background-size: cover;
  transition: transform 0.5s ease;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%; /* Extend gradient to cover the entire image */
  background: linear-gradient(to bottom, rgba(247, 247, 247, 1) 0%, rgba(247, 247, 247, 0.85) 25%, rgba(247, 247, 247, 0) 0%);
  pointer-events: none;
}

.card-body {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px;
  /* background-color: rgba(255, 255, 255, 0.6); Optional: Add a white background with some transparency */
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

.card:hover .card-img-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.card-title, .card-subtitle {
  margin: 0;
  color: var(--dark-gray) !important;
}

.card-subtitle::after {
  content: "➔";
  display: inline-block;
  margin-left: 10px;
  color: var(--dark-gray);
}

.sharp-corners {
  border-radius: 0 !important;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link .card {
  cursor: pointer;
  display: block;
}

.centered-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--aqua);
  color: white;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  transition: height 0.3s ease-in-out, width 0.3s ease-in-out;
}

.btn {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: var(--bs-body-color);
}

.button {
  background-color: white;
  --bs-btn-bg: var(--aqua);
  border: none;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: var(--aqua);
  color: white;
}

.clinic-brand-blade-container.clinic-brand-blade-container {
  padding: 0;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto;
  overflow: hidden;
}

.footer-content {
  padding: 20px 0;
  width: 100%;
}

.footer-row {
  margin-right: 0;
  margin-left: 0;
  width: 100%;
}

.d-flex.align-items-center {
  padding-left: 0;
  padding-right: 0;
}

.footer-content {
  padding-right: 0;
  padding-left: 0;
}

.footer-content > .row {
  margin-right: 0;
  margin-left: 0;
}

.footer-content > .row > div:last-child {
  padding-right: 0;
}

footer .bi, footer .fa {
  color: var(--dark-gray);
  --bs-btn-bg: var(--aqua);
}

.footer-bottom-bar .separator {
  margin: 0 10px;
}

/* Desktop Specific Styles */
@media (min-width: 992px) {
  .centered-content {
    width: 1274px;
    height: 607px;
  }
}

/* Mobile Specific Styles */
@media (max-width: 991px) {
  .centered-content {
    width: 500px;
    height: 739px;
  }

  .container-fluid,
  .row,
  .footer,
  .footer-content,
  .footer-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-content > .row > div:last-child {
    padding-right: 0 !important;
  }
}

footer {
  background-color: #f8f9fa;
  color: #333;
  width: 100%;
  padding: 20px 0;
}

.footer .row {
  margin: 0 auto;
  width: 100%;
}

footer, footer * {
  background-color: #f8f9fa;
}

footer .d-flex, footer .d-flex * {
  background-color: inherit;
}

.footer-bottom-bar {
  background-color: #f8f9fa;
  color: var(--dark-gray);
  text-align: left;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  font-size: 14px;
}

/* Mobile menu specific styles */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    display: none;
  }
  .navbar .dropdown.show .dropdown-menu {
    display: block;
  }
  .navbar .dropdown-menu .dropdown-submenu .dropdown-menu {
    display: none;
  }
  .navbar .dropdown-menu .dropdown-submenu.show .dropdown-menu {
    display: block;
  }
}

#footerSubscribeIframe {
  background-color: transparent;
  width: 100%;
  border: none;
}

.float-right-on-desktop {
  float: left;
  font-size: 12px;
}

@media (min-width: 992px) {
  .float-right-on-desktop {
    float: right;
  }
}

@media (max-width: 991px) {
  .float-right-on-desktop::before {
    content: "\A";
    white-space: pre;
  }
}

/* New Mobile Styles for Mega Menu */
@media (max-width: 767.98px) {
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-left: 15px;
  }

  .mega-menu {
    width: 100vw;
    left: 0;
  }

  .mega-menu .row {
    justify-content: flex-start;
  }

  .close-btn {
    display: none;
  }

  .mobile-buttons {
    width: 100%;
    padding: 10px;
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .navbar-collapse {
    overflow: hidden;
  }

}

/* Ensure full width for sections following authorized-providers-logos.php */
@media (max-width: 767.98px) {
  .container-fluid,
  .row,
  .footer,
  .footer-content,
  .footer-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-content > .row > div:last-child {
    padding-right: 0 !important;
  }
}

/* Ensure full width for authorized providers section and other sections following it */
@media (max-width: 767.98px) {
  .authorized-providers {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .footer-bottom-bar {
    margin-left: 1px;
    margin-right: 1px;
  }
}

/* Specific styles for .map-opening-hours to ensure left alignment */
.map-opening-hours .col-md-6 {
  text-align: left;
  padding-left: 0 !important;
  margin-left: 25px;
}

.map-opening-hours .container-fluid,
.map-opening-hours .row {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.map-opening-hours .col-md-6 a,
.map-opening-hours .col-md-6 p,
.map-opening-hours .col-md-6 h3,
.map-opening-hours .col-md-6 h4,
.map-opening-hours .col-md-6 ul {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

@media (max-width: 767px) {
  .map-opening-hours .col-md-6 {
    text-align: left;
    padding-left: 0 !important;
  }

  .map-opening-hours .container-fluid,
  .map-opening-hours .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .map-opening-hours .col-md-6 a,
  .map-opening-hours .col-md-6 p,
  .map-opening-hours .col-md-6 h3,
  .map-opening-hours .col-md-6 h4,
  .map-opening-hours .col-md-6 ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* New CSS to make the map edge to edge on mobile */
@media (max-width: 767.98px) {
  .map-opening-hours .col-md-5 {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
  }

  .map-opening-hours .map-container {
    height: auto;
    min-height: 300px;
  }

  .map-opening-hours .col-md-6 {
    margin-top: 15px !important;
  }

  .map-opening-hours iframe {
    width: 100%;
    height: auto;
    border: none;
    padding: 0;
    margin: 0;
  }
}

.survey-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.survey-popup .popup-content {
  padding: 20px;
}
.survey-popup .popup-header,
.survey-popup .popup-question {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
.survey-popup .popup-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.survey-popup .popup-option {
  flex: 0 1 calc(25% - 10px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}
.survey-popup .popup-option:hover {
  background: #f0f0f0;
}
.survey-popup .popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--dark-gray);
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.survey-popup .popup-close:hover {
  color: #333;
}

.reviews-badge {
  display: inline-block;
  width: 60%;
  height: auto;
  background: url('https://cdn.ivonne.ca/i/badge_background.webp') no-repeat center center;
  background-size: contain;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  --badge-scale: 1.1;
}

@media (max-width: 768px) {
  .reviews-badge {
    width: 70%;
    --badge-scale: 1;
  }
}

.reviews-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  background: none;
}

.reviews-count {
  font-size: calc(1.3em * var(--badge-scale));
  color: #646464;
  margin-bottom: calc(-3px * var(--badge-scale));
  background: none;
}

.reviews-rating {
  font-size: calc(1em * var(--badge-scale));
  color: #f7ba00;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0px;
  background: none;
  line-height: 1.1;
}

.reviews-label {
  font-size: calc(0.9em * var(--badge-scale));
  font-weight: 600;
  color: #646464;
  background: none;
  margin-top: 0px;
  line-height: 1.1;
}

.reviews-star {
  color: #f7ba00;
  font-size: calc(1.2em * var(--badge-scale));
  background: none;
}

.reviews-fractional-star {
  position: relative;
  font-size: calc(1.2em * var(--badge-scale));
  display: inline-block;
  color: lightgray;
  background: none;
}

.reviews-fractional-star .filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f7ba00;
  background: none;
}

.reviews-badge {
  display: inline-block;
  width: 50%;
  height: auto;
  background: url('https://cdn.ivonne.ca/i/badge_background.webp') no-repeat center center;
  background-size: contain;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
}



.reviews-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: none;
}

.reviews-count {
  font-size:min(1.5vw,20px);
  color: #646464;
  margin-bottom: -5px;
  background: none;
}

.reviews-rating {
  font-size: 0.8em;
  color: #f7ba00;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0px;
  background: none;
}

.reviews-label {
  font-size: min(1vw,15px);
  font-weight: 600;
  color: #646464;
  background: none;
  margin-top: 0px;
}

.reviews-star {
  color: #f7ba00;
  font-size: 1vw;
  background: none;
}

.reviews-fractional-star {
  position: relative;
  font-size: 1vw;
  display: inline-block;
  color: lightgray;
  background: none;
}

.reviews-fractional-star .filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f7ba00;
  background: none;
}

.reviews-google-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(0.8em * var(--badge-scale));
  color: #646464;
  background: none;
  margin-top: 2px;
  line-height: 1.1; 
}

.reviews-google-logo i {
  font-size: min(.5vw,10px);
  color: #63c2cd;
  margin-right: 2px;
  background: none;
}

.reviews-google-logo span {
  background: none;
  color: #646464;
  font-size: min(.5vw,10px);
}



.offer-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: white;
  font-size: 24px;
  text-align: center;
}

.offer-card-title {
  margin-top: 10px;
  text-align: center;
}

.offer-card-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 767px) {

  .reviews-badge {
    width: 60%;
    --badge-scale: 0.9;
  }

  .reviews-count {
    font-size: 2rem;
    margin-top: -9px;
  }

  .reviews-star, .reviews-fractional-star {
    font-size: 1.2rem;
  }
  
  .reviews-label {
    font-size: 1rem;
    margin-top: 2px;
  }

  .reviews-google-logo {
    margin-top: 4px;
  }

  .reviews-google-logo i,.reviews-google-logo span {
    font-size: .8rem;
  }
}

@media (max-width: 550px) {

  .reviews-count {
    font-size: 1.2rem;
  }

  .reviews-star, .reviews-fractional-star {
    font-size: 0.9rem;
  }
  
  .reviews-label {
    font-size: 0.7rem;
  }

  .reviews-google-logo {
    margin-top: 4px;
  }

  .reviews-google-logo i,.reviews-google-logo span {
    font-size: .6rem;
  }
}

@media (min-width: 768px) {
  .offer-card-placeholder {
    height: 200px;
  }
}



.toc-item, .toc-subitem {
  line-height: 1.5;
  margin: 0;         
  padding: 0;        
}

.toc-subitem {
  margin-left: 20px;
}

ul.list-unstyled {
    margin-bottom: 0;
    padding-bottom: 0;
}

a.d-block {
    display: block;
    margin-bottom: 0;
}

.treatment-hero-section {
  position: relative;
  height: 25em;
  background-size: cover;
  background-position: center;
}

.treatment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.treatment-hero-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: left;
  padding-left: 1.875em;
  padding-right: 1.875em;
}

.hero-popular-badge {
  position: absolute;
  top: 1em;
  left: 1.25em;
  z-index: 3;
  padding: 0.35em 1em;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  animation: heroPopularFadeIn 0.8s ease-out both;
  animation-delay: 0.4s;
}

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

@media (max-width: 767px) {
  .treatment-hero-section {
    height: 18em;
  }

  .treatment-hero-section .col-md-6 {
    margin-left: 0 !important;
  }

  .treatment-hero-text {
    padding-left: 0.75em;
    padding-right: 0.75em;
  }

  .treatment-hero-text h1 {
    font-size: 2em;
  }

  .treatment-hero-text h2 {
    font-size: 1.5em;
  }

  .hero-popular-badge {
    font-size: 0.6rem;
    top: 0.75em;
    left: 0.75em;
    padding: 0.3em 0.75em;
  }
}


.clinic-client-video-container {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 320px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background-color: #000;
  z-index: 9999;
}

.clinic-client-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}



.accordion-button:not(.collapsed) {
  color: var(--bs-secondary-color) !important;
  background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-secondary-color) !important;
}


.hover-color-white:hover {color:#fff !important;}

.text-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 50px;
  padding: .75rem;
  background: rgba(247, 247, 247, .8);
  color: var(--dark-gray)
}

.swiper-pagination-bullet-active {
  background: var(--aqua) !important;
}

.swiper {
  width: 100%;
  min-height: 300px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  object-fit: cover;
}

[data-href] {
  cursor:pointer;
}


.accordion-button:focus {
  box-shadow: 0 0 3px 1px var(--aqua) !important;

}



.review-rating-container {
  column-gap:2px; 
  flex-wrap:nowrap;
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
}
.star-review {
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:center;
  width:20px;
  height:20px;
  background:#ddd;
}
.star-review > i {
  color:#fff;
}
.star-review.bad-review {
  background:var(--brand-red);
}
.star-review.medium-review {
  background:var(--dark-yellow);
}
.star-review.good-review {
  background:var(--green);
}

.review-initials {
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--aqua);
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:center;
}

.review-initials > span, .review-initials > i {
  color:#fff;
  font-size:20px;
}

.review-card {
  max-width:290px;
  border:1px solid #ddd; 
  border-radius:5px;
  padding:0;
}

.review-container {
  height:300px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.review-container p {
  text-align:left;
}

.review-body {
  display:flex;
  flex-direction: column;
  justify-content: flex-start;
  padding:1rem 1rem .5rem 1rem;
  height:calc(100% - 76px);
  border-bottom:1px solid #ddd; 
  row-gap:10px
}


.review-header {
  display:flex;
  flex-direction:row;
  justify-content: flex-start;
  align-items:center;
  padding-bottom:.5rem;
  column-gap:15px;
}

.review-content {
  font-size: 16px;
  line-height: 1.3;
}

.review-footer {
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  align-items:center;
  padding:.5rem 1rem;
  height:75px; 
  column-gap:10px;
}

.review-google {
  background:#7248B9;
}
.review-footer-title {
  margin-bottom:0;
  font-size:16px;
  font-weight:600;
}
.review-footer-subtitle {
  margin-bottom:0;
  font-size:14px;
  color:gray;
}

.clinic-swiper-button-prev i,
.clinic-swiper-button-next i {
  color:#000;
  cursor:pointer;
}

.clinic-swiper-button-prev.disabled i,
.clinic-swiper-button-next.disabled i {
  color:#ddd;
  cursor:auto;
}

.clinic-swiper-button-prev:not(.disabled):hover i,
.clinic-swiper-button-next:not(.disabled):hover i {
  color:var(--aqua);
}





.border-md-top { border: none; }
.border-md-bottom { border: none; }
.border-md-right { border: none; }
.border-md-left { border: none; }


@media (min-width: 760px) {
  .border-md-top {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #ccc;
  }
  .border-md-bottom {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #ccc;
  }
  .border-md-right {
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #ccc;
  }
  .border-md-left {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #ccc;
  }
}


.summary-card {
  cursor:pointer;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Hero Section - Rotating Words Animation */
.hero-rotating-words {
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}

.hero-word-list {
  display: block;
  transition: transform 0.3s ease-in-out;
}

.hero-word {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
}












