@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Marcellus&display=swap");

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

:root {
  --heading-font: "Marcellus", sans-serif;
  --accent-font: "Marcellus", sans-serif;
  --text-font: "Lato", sans-serif;
  --green: #1f3d3f;
  --blue: #33a9b1;
  --gray: #dee8de;
}

html,
body {
  background: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
b,
strong,
label,
ul,
li,
a {
  margin-bottom: 0;
  text-decoration: none;
  color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
}

p,
span,
ul,
li,
label,
span {
  font-family: var(--text-font);
}

/* all */
.padding_70 {
  padding: 70px 0px;
}

p.dscp {
  font-size: 14px;
  font-family: var(--text-font);
  font-weight: 400;
}

/* Common button styling */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--accent-font);
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  width: fit-content;
}

.blue_btn {
  background: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  color: #fff !important;
}

.blue_btn i {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
}

.transparent_btn {
  background: transparent;
  color: #000;
  border: 1px solid #000 !important;
}

.banner_slider .transparent_btn {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

.transparent_btn i {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
}

/* HEADER */

.top_box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top_box i {
  min-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: 14px;
}

.top_box p {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

.work_box {
  justify-content: center;
}

.social_icons {
  justify-content: flex-end;
}

header.header {
  transition: 0.3s ease;
  background: transparent;
  position: absolute;
  width: 100%;
  z-index: 9999;
}

header .navbar {
  background: #fff;
  border-radius: 50px;
  padding: 10px 10px;
  margin-top: 20px;
}

header.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 5px #000;
  z-index: 9999;
  transition: 0.3s ease;
}

header.fixed .navbar {
  margin-top: 0;
}

header .logo_img {
  max-width: 100px;
  height: auto;
}

.nav-link {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--accent-font);
  color: #000;
}
.nav-link:focus,
.nav-link:hover,
a.dropdown-item:hover,
a.dropdown-item:focus {
  color: var(--blue);
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  /* color: var(--blue); */
}

.navbar-toggler {
  box-shadow: none !important;
}

/* footer */

.footer_sec {
  background: url(../images/footer_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.col_2 {
  padding-left: 100px;
}

.col_3 {
  padding-left: 50px;
}

.ftr_logo {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 150px;
}

.footer_sec h3.ftr_title {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 400;
  padding-bottom: 12px;
  color: #fff;
}

.footer_sec ul {
  list-style: none;
  padding-left: 0px;
}

.footer_sec ul.ftr_links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

ul.ftr_links a {
  font-size: 16px;
  line-height: 24px;
  font-family: var(--accent-font);
  font-weight: 400;
  color: #fff;
}

.copyright {
  border-top: 1px solid #ccc;
  color: #fff;
}

.footer_sec .info p.dscp,
p.cpy_txt,
.cpy_box a {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

.cpy_box {
  text-align: right;
}

/* HOMEPAGE */

.banner_slider .item_1 {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 100%;
  height: 700px;
  display: flex;
  align-items: center;
}

.sub_heading_box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub_heading_img {
  max-width: 50px;
}

.info p.sub_heading {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

.info h1.heading,
.info h1.heading span {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 64px;
  line-height: 76px;
  text-transform: capitalize;
  color: #fff;
}

.info p.dscp {
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}

.banner_slider .info p.sub_heading,
.banner_slider .info p.dscp {
  color: #fff;
}

.banner_slider .info {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner_slider .owl-dots {
  position: absolute;
  top: 0;
  right: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.owl-theme .owl-dots .owl-dot span {
  background: #fff !important;
  opacity: 1;
}

.owl-theme .owl-dots .owl-dot:hover span,
.owl-theme .owl-dots .owl-dot:focus span,
.owl-theme .owl-dots .owl-dot.active span {
  border: 5px solid #9d9a9a !important;
  border-radius: 50% !important;
  width: 20px !important;
  height: 20px !important;
}

.btm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-top: 2px solid #ccc;
}

.btm_lft {
  display: flex;
  align-items: center;
  gap: 10px;
}

p.designation {
  font-size: 10px;
}

p.name {
  font-size: 14px;
}

/* about_sec */

section.about_sec {
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.info h2.heading {
  font-size: 40px;
  line-height: 50px;
}

/* services_sec */

.custom_info .sub_heading_box {
  justify-content: center;
}

.blue_bg_img {
  background: url(../images/footer_bg.webp) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 100%;
  height: 100%;
}

.custom_info {
  width: 50%;
  margin: auto;
}

.owl-theme .owl-dots,
.owl-theme .owl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service_box {
  position: relative;
}

.service_box .overlay_text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 15px;
  padding-bottom: 30px;
  z-index: 1;
  margin: auto;
}

.overlay_link {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
}

.overlay_link i {
  background: #fff;
  color: var(--blue);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 10px #ccc;
}

.service_box .service_img {
  width: 100%;
  height: 100%;
}

.service_box h3.title {
  color: #fff;
  border-bottom: 1px solid #fff;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
}

/* quality_sec */

.quality_sec .btn_box {
  justify-content: flex-end;
}

.faq-item:nth-child(1) {
  border-top: 1px solid #ccc;
}

.faq-item {
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-icon {
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0; /* Hidden by default */
  overflow: hidden;
  transition: max-height 0.3s ease-out; /* Smooth slide animation */
  color: #555;
  margin-bottom: 0px;
}

.faq_box {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 500px;
  width: 100%;
}

.faq_box h3.title {
  font-size: 24px;
  line-height: 34px;
}

/* --- ACTIVE STATES --- */

.faq-item.active .faq-icon {
  transform: rotate(-45deg); /* Turn + into x */
}

.start_icon {
  background: var(--green);
  color: #fff;
  width: 60px;
  height: 60px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  border-radius: 50%;
  font-size: 16px;
}

.faq-icon.start_icon {
  width: 40px;
  height: 40px;
}

.faq-question p.dscp {
  max-width: 400px;
  width: 100%;
}

.faq-item.active .faq-question h3.title {
  color: var(--blue);
  transition: all 0.3s ease;
}

.faq-item.active .faq-question .start_icon {
  background: var(--blue);
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  margin-bottom: 20px;
}

.faq-answer img {
  border-radius: 20px;
}

/* excellence_sec */
/* Left Column Layout */
.image-container {
  height: 400px;
  object-fit: cover;
  width: 100%;
  border-radius: 20px;
}

.brand_slider {
  background: var(--blue);
  padding: 35px;
  border-radius: 20px;
  height: 100px;
  margin: auto;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
  width: auto;
}

.brand_slider .slide-track {
  animation: scroll 10s linear infinite;
  display: flex;
  width: calc((100%) * 2);
}

.brand_slider .slide {
  height: 30px;
  width: 100%;
}

.excellence_sec marquee {
  background: var(--blue);
  padding: 40px;
  border-radius: 20px;
  height: 100px;
  margin-top: 20px;
  position: relative;
  width: 100%;
}

p.marquee_text {
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  font-family: var(--text-font);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc((-100%) * 1));
  }
}

/* Play Button & Circle Text */
.play-wrapper {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 10px solid var(--green);
  border-radius: 50%;
  z-index: 10;
}

.play-btn-circle {
  width: 100px;
  height: 100px;
  background-color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 18px;
  box-shadow: 0 0 0 10px rgba(15, 33, 34, 1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-btn-circle i {
  background: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Rotating Text Simulation */
.rotating-text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  pointer-events: none;
  animation: spin 10s linear infinite;
}

.rotating-text-svg {
  width: 100%;
  height: 100%;
  fill: white;
  opacity: 0.8;
  font-size: 7px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.progress_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

/* Custom Progress Bars */
.custom-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
}

.custom-progress-label span {
  font-family: var(--heading-font);
}

.progress-container {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}

.progress-line-bg {
  width: 100%;
  height: 2px;
  background-color: var(--blue);
  position: absolute;
}

.progress-line-fill {
  height: 2px;
  background-color: var(--accent-teal);
  position: absolute;
  left: 0;
}

.progress-dot {
  width: 12px;
  height: 12px;
  background-color: white;
  border: 2px solid var(--accent-teal);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--blue);
}

/* recovery_steps_sec */
.left-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Right Side: Steps List */
.steps-container {
  padding-left: 2rem;
}

.step-item {
  margin-bottom: 1.5rem;
  cursor: pointer;
  /* Indicates clickable */
}

.step-label {
  font-family: var(--accent-font);
  font-size: 22px;
  line-height: 35px;
  margin-bottom: 0.5rem;
  color: #333;
}

.step-pill {
  display: block;
  width: 100%;
  max-width: 350px;
  padding: 12px 20px;
  border-radius: 50px;
  color: white;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: var(--accent-font);
  background-color: var(--green);
}

/* Hover effect for inactive steps */
.step-item:not(.active) .step-pill:hover {
  background-color: var(--blue);
}

/* Active State Styles applied by JS */
.step-item.active .step-pill {
  background-color: var(--blue);
}

.step-item.active .step-pill:hover {
  background-color: var(--blue);
}

/* Info Box */
.info-box {
  background-color: #f1f0f0;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  max-width: 350px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;

  /* Hidden by default */
  display: none;

  /* Animation for opening */
  animation: fadeIn 0.4s ease-in-out;
}

.step-item.active .info-box {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* feedback_sec */

.feedback_sec {
  background-color: var(--green);
  position: relative;
  /* Removed fixed min-height to let flexbox handle it */
}

/* Layout Fix:
           The row must stretch items to equal height.
        */
.feedback_sec .row-equal-height {
  display: flex;
  flex-wrap: wrap;
}

/* Left Side Image Fix:
           1. Height 100% to fill the flex container.
           2. Min-height for mobile view so it doesn't disappear.
        */
.feedback_sec {
  height: 100%;
  min-height: 500px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Right Side Content */
.feedback_sec .content-column {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Slider Styling */
.feedback_sec .testimonial-text {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin: 20px 0px;
  color: #fff;
  font-family: var(--accent-font);
}

.feedback_sec .stars {
  color: #d4a057; /* Gold color for stars */
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.feedback_sec .user-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Testimonial Image Fix:
           Owl Carousel forces 'width: 100%' on images by default.
           We use !important to override this and restore the circular profile pic.
        */
.feedback_sec .owl-carousel .item .user-profile img.user-img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  display: inline-block;
}

.feedback_sec .user-info h5 {
  font-family: var(--heading-font);
  font-size: 24px;
  line-height: 34px;
  margin: 0;
  color: #fff;
}

.feedback_sec .user-info span {
  font-size: 16px;
  line-height: 26px;
  color: #fff;
  font-family: var(--accent-font);
}

/* Custom Nav Buttons */
.feedback_sec .custom-nav {
  margin-top: 40px;
  display: flex;
  gap: 15px;
}

.feedback_sec .nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-weight: 600;
  background-color: #fff;
  color: var(--blue);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.feedback_sec .nav-btn:hover {
  background-color: var(--blue);
  color: #fff;
}

/* pricing_sec */

/* Toggle Switch Styling */
.pricing_sec .toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 48px; /* Converted from 3rem */
  font-size: 14px; /* Converted from 0.9rem */
  color: #555;
  font-weight: 600;
}

.pricing_sec .toggle-label {
  cursor: pointer;
  transition: color 0.3s;
  font-size: 16px;
  line-height: 24px;
  font-family: var(--accent-font);
}

.pricing_sec .toggle-label.active {
  color: var(--blue);
}

.pricing_sec .switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.pricing_sec .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

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

.pricing_sec .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing_sec input:checked + .slider {
  background-color: var(--blue);
}

.pricing_sec input:checked + .slider:before {
  transform: translateX(24px);
}

.pricing_sec .pricing-card {
  border-radius: 20px;
  color: white;
  padding: 60px 30px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  gap: 15px;
}

.pricing_sec .pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Left Card: Teal with a wavy/glow feel */
.pricing_sec .bg-teal-gradient {
  background: url("../images/blue_img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Adding a pseudo-element for the wavy abstract effect */
  z-index: 1;
}

/* Right Card: Dark Green/Black */
.pricing_sec .bg-dark-gradient {
  background: url("../images/green_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Adding a pseudo-element for the wavy abstract effect */
  z-index: 1;
}

/* Floating Icon */
.pricing_sec .card-icon {
  position: absolute;
  top: 0;
  left: 30px;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px; /* Converted from 1.5rem */
  color: white;
  z-index: 2;
}

.pricing_sec .card-subtitle {
  font-size: 16px;
  line-height: 26px;
}

.pricing_sec .currency,
.pricing_sec .amount {
  font-size: 44px;
  line-height: 54px;
  font-family: var(--accent-font);
}

.pricing_sec .price-period {
  font-size: 30px;
  line-height: 40px;
  font-family: var(--accent-font);
}

.divider {
  height: 1px;
  background: #afafaf;
  width: 100%;
}

ul.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.feature-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

ul.feature-list .check-icon {
  width: 20px;
  height: 20px;
  background-color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;
}

ul.feature-list .time-badge {
  position: relative;
  padding-left: 15px;
}

.time-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background-color: #fff;
}

.feature-left,
ul.feature-list .time-badge {
  font-size: 18px;
  line-height: 26px;
  font-family: var(--accent-font);
}

.pricing_sec .transparent_btn {
  position: relative;
  color: #fff;
}

.green_btn {
  background: var(--green) !important;
  border: 1px solid var(--green) !important;
  font-size: 18px;
  line-height: 26px;
  position: relative;
}

.pricing_sec .transparent_btn i {
  position: absolute;
  right: 25px;
}

/* book_appointment_sec */

.book_appointment_sec .contact-label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
  font-family: var(--text-font);
}

.contact-value {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--accent-font);
  font-size: 16px;
  color: var(--green);
}

.icon-circle i {
  width: 32px;
  height: 32px;
  background-color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.book_appointment_sec .blue_btn {
  position: relative;
  padding: 12px 20px;
  font-size: 16px;
}

.book_appointment_sec .blue_btn i {
  position: absolute;
  right: 25px;
}

.book_appointment_sec .form-control,
.book_appointment_sec .form-select {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding: 15px 0;
  font-size: 16px;
  color: #555;
  background-color: transparent;
  box-shadow: none !important;
}

textarea.form-control {
  height: 100px;
}

.book_appointment_sec form p {
  margin-bottom: 30px !important;
}

/*------- ABOUT US ------- */

.main_bnr {
  background: url(../images/main_bnr_bg.webp);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* about_sec */

.about_page.about_sec {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  margin-top: 0px;
}

/* what_we_do_sec */

.font-serif-display {
  font-family: var(--heading-font);
}

.feature-wrapper {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.feature-backdrop {
  position: absolute;
  width: 80%;
  height: 80%;
  background: url(../images/blue_card_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0.8;
  border-radius: 30px;
}

/* Top Left - Offset towards top left */
.wrapper-tl .feature-backdrop {
  top: -20px;
  left: -20px;
}

/* Top Right - Offset towards top right */
.wrapper-tr .feature-backdrop {
  top: -20px;
  right: -20px;
}

/* Bottom Left - Offset towards bottom left */
.wrapper-bl .feature-backdrop {
  bottom: -20px;
  left: -20px;
}

/* Bottom Right - Offset towards bottom right */
.wrapper-br .feature-backdrop {
  bottom: -20px;
  right: -20px;
}

.feature-card {
  background: url(../images/green_card_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
  padding: 80px;
  position: relative;
  overflow: hidden;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* Fill wrapper */
  border-radius: 30px;
}

.abt_wwd_sec .feature-card {
  min-height: 400px;
  padding: 30px;
  justify-content: flex-start;
}

.icon-wrapper {
  margin-bottom: 20px;
}

/* Specific text alignment based on card position */
.card-tl,
.card-bl {
  text-align: left;
  align-items: flex-start;
}
.card-tr,
.card-br {
  text-align: right;
  align-items: flex-end;
}

.card-content {
  position: relative;
  z-index: 2;
}

.center-badge-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 180px;
  height: 180px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-badge-bg {
  background-color: #e2e8f0;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  position: absolute;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.center-badge-inner {
  background: url(../images/blue_img.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* testimonial_sec */

.testimonial_sec {
  background: none;
}

.testimonial_wrapper {
  padding: 30px;
  border-radius: 30px;
  position: relative;
}

.testimonial_sec .item {
  text-align: center;
  width: 50%;
  margin: auto;
}

.testimonial_sec .user-profile {
  justify-content: center;
}

.testimonial_sec .owl-carousel .item .user-profile img.user-img {
  width: 100px !important;
  height: 100px !important;
}

.testimonial_sec .custom-nav {
  position: absolute;
  top: 0px;
  right: 25px;
  margin-top: 20px;
}

.testimonial_sec .divider {
  margin: 30px 0px;
}

.testimonial_sec .brand_slider {
  background: transparent;
}

/* --------- OUR EXPERTS ---------- */

.expert_card {
  width: 100%;
  max-width: 400px; /* Adjust based on desired width */
  border: none;
  border-radius: 2.5rem; /* Large rounded corners as seen in image */
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.expert_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.expert_card:hover .expert_img {
  transform: scale(1.05); /* Subtle zoom on hover */
}

.expert_card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%; /* Covers bottom half */
  background: linear-gradient(
    to top,
    rgba(15, 34, 41, 0.95) 0%,
    rgba(15, 34, 41, 0.6) 40%,
    rgba(15, 34, 41, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}

.specialty-text {
  font-size: 11px;
  line-height: 20px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}

.doctor-name {
  font-size: 22px;
  line-height: 32px;
  color: #fff;
}

.treatment-card {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px;
  min-height: 580px;
  text-align: left;
  border-radius: 40px;
}

.bg_green {
  background: var(--green) !important;
}

.bg_gray {
  background: var(--gray) !important;
}

.blue_text {
  color: var(--blue) !important;
  font-family: var(--heading-font);
}

.white_border {
  border: 1px solid #fff !important;
}

/* Actual Links (Level 3 items) */
.navbar .nav-item.has-mega-menu .dropdown-menu ul.dropdown-menu {
  display: block !important; /* Force show nested list */
  position: static;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.navbar .nav-item.has-mega-menu > .dropdown-menu > li > a {
  font-weight: bold;
  text-transform: uppercase;
  color: #222;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
  pointer-events: none; /* Make header unclickable text */
}

.navbar .nav-item.has-mega-menu .dropdown-menu ul.dropdown-menu li a {
  font-weight: normal;
  color: #666;
  padding: 5px 0;
  text-transform: none;
  border: none;
  background: none !important;
}

/* =========================================
   DESKTOP MENU STYLES (Min-width 992px)
   ========================================= */
@media all and (min-width: 992px) {
  /* --- 1. GENERAL DROPDOWN HOVER --- */
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    align-items: center;
  }

  /* Open Dropdowns on Hover */
  .navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: -30px; /* Remove gap */
  }

  /* --- 2. MEGA MENU STYLES --- */
  /* Only applies to items with class 'has-mega-menu' */

  /* Allow full width */
  .navbar .nav-item.has-mega-menu {
    position: static;
  }

  /* Mega Menu Container */
  .navbar .nav-item.has-mega-menu > .dropdown-menu {
    display: none; /* Hidden by default */
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    padding: 30px;
    border-top: 3px solid #0d6efd; /* Highlight color */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

    /* Grid Layout */
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    gap: 20px;
    height: 400px;
    overflow-y: scroll;
  }

  /* Apply Grid when Hovered */
  .navbar .nav-item.has-mega-menu:hover > .dropdown-menu {
    display: grid;
  }

  /* --- 3. MEGA MENU TYPOGRAPHY --- */

  /* Column Headers (Level 2 items) */
  .navbar .nav-item.has-mega-menu > .dropdown-menu > li {
    display: block;
  }

  .navbar .nav-item.has-mega-menu .dropdown-menu ul.dropdown-menu li a:hover {
    color: var(--blue);
  }
}

/* For Level 1+ (Nested menus), position them to the right */
.navbar .dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%; /* Moves it to the right side */
  margin-top: -1px; /* Aligns top borders */
}

/* Mobile adjustments: On small screens, keep them stacked */
@media (max-width: 992px) {
  .navbar .dropdown-menu .dropdown-menu {
    left: 0;
    margin-left: 15px; /* Indent nested menu on mobile */
  }

  .navbar .nav-item.has-mega-menu > .dropdown-menu {
    grid-template-columns: repeat(1, 1fr);
    padding: 10px;
    height: 200px;
    overflow: scroll;
  }

  .navbar .nav-item.has-mega-menu > .dropdown-menu > li > a {
    font-weight: 500;
    text-transform: capitalize;
  }
}
