/********** Template CSS **********/
:root {
  --primary: #13c5dd;
  --secondary: #354f8e;
  --light: #eff5f9;
  --dark: #1d2a4d;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
input,
button,
select,
textarea {
  font-family: "Poppins", sans-serif;
}

p, li {
  color: #3d3d4e !important;
}

/* Color exceptions for paragraphs and lists on dark or themed backgrounds */
.footer-about-text,
.footer-copyright p,
.association-label,
.contact-text,
.treatment-label {
  color: #ffffff !important;
}

.contact-card-text,
.contact-card-text a {
  color: #31d9c4 !important;
}

.mega-menu-submenu-header {
  color: #212529 !important;
}


.btn {
  font-weight: 700;
  transition: 0.5s;
}

.btn:hover {
  -webkit-box-shadow: 0 8px 6px -6px #555555;
  -moz-box-shadow: 0 8px 6px -6px #555555;
  box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  margin-left: 60px;
  padding: 25px 0;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  outline: none;
  transition: 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
  .logo-img {
    height: 50px !important;
  }
}

/* Hover Dropdown Menu on Desktop */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
  }
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Carousel Styles */
#hero-carousel {
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 6%;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.8rem;
  height: 2.8rem;
}

/* About Doctor Section */
.about-doctor-section {
  background-image: url("../images/backgroundimg1.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat;
  background-size: auto;
  position: relative;
  padding: 90px 10%;
  overflow: hidden;
}

.about-doctor-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* Soft white overlay */
  z-index: 1;
  pointer-events: none;
}

.about-doctor-section > .container {
  position: relative;
  z-index: 2;
}

.about-doctor-section .about-label {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #000;
  margin-bottom: 6px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.about-doctor-section .doctor-name {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #31d9c4;
  margin-bottom: 4px;
  line-height: 1.2;
}
.about-doctor-section .doctor-namee {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: #31d9c4;
  margin-bottom: 4px;
  line-height: 1.2;
}

.about-doctor-section .doctor-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin-bottom: 30px;
  text-transform: capitalize;
  letter-spacing: 0.2px;
}

.about-doctor-section .about-p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #3d3d4e;
  margin-bottom: 20px;
  text-align: justify;
}

.btn-read-more {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  text-align: center;
  letter-spacing: 0.2px;
}

.btn-read-more:hover {
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
}

.about-doctor-section .doctor-img {
  max-height: 550px;
  width: auto;
  object-fit: contain;
}

/* Treatments Section */
.treatments-section {
  background-image: url("../images/gh.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 90px 8%;
  overflow: hidden;
}

.treatments-section .section-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.78); /* Dark overlay to match mockup */
  z-index: 1;
}

.treatments-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: capitalize;
}

.treatments-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #31d9c4; /* teal matching mockup */
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.treatment-card {
  border: 1px solid transparent;
  padding: 25px 15px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.treatment-card:hover {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.treatment-card img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

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

.treatment-label {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Testimonials Section */
.testimonials-section {
  background-image: url("../images/backgroundimg1.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat;
  background-size: auto;
  position: relative;
  padding: 90px 10%;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* Soft white overlay */
  z-index: 1;
  pointer-events: none;
}
.eapps-widget-toolbar-panel-wrapper {
  display: none !important;
}
.testimonials-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #31d9c4; /* teal matching mockup */
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Associations Section */
.associations-section {
  background-image: url("../images/gh.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 90px 10%;
  overflow: hidden;
}

.associations-section .section-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Dark overlay to match mockup */
  z-index: 1;
}

.associations-title {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: #ffffff !important;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.association-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.association-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(20% - 32px); /* 5 columns on desktop */
  min-width: 140px;
  text-align: center;
}

.association-logo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 4px solid #ffffff; /* White border as seen in mockup */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 20px;
}

.association-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* perfect circular crop */
}

.association-logo-wrap:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.association-label {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
  margin-top: 10px;
}

@media (max-width: 991.98px) {
  .associations-section {
    padding: 60px 5%;
  }
  .association-row {
    gap: 30px;
  }
  .association-item {
    width: calc(33.33% - 20px); /* 3 items per row on tablet */
  }
  .association-logo-wrap {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 575.98px) {
  .association-item {
    width: calc(50% - 15px); /* 2 items per row on mobile */
  }
  .association-logo-wrap {
    width: 110px;
    height: 110px;
  }
  .association-label {
    font-size: 13px;
  }
}

/* Appointment CTA Section */
.appointment-cta-section {
  background-image: url("../images/backgroundimg1.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat;
  background-size: auto;
  position: relative;
  padding: 90px 10%;
  overflow: hidden;
}

.appointment-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* Soft white overlay */
  z-index: 1;
  pointer-events: none;
}

.cta-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin-bottom: 8px;
}

.cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: #31d9c4; /* Teal cyan #13C5DD */
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.btn-cta {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  text-align: center;
  letter-spacing: 0.2px;
  margin-top: 10px;
}

.btn-cta:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .appointment-cta-section {
    padding: 60px 5%;
  }
  .cta-subtitle {
    font-size: 20px;
  }
  .cta-title {
    font-size: 32px;
  }
  .btn-cta {
    padding: 10px 28px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .cta-subtitle {
    font-size: 18px;
  }
  .cta-title {
    font-size: 26px;
  }
}

/* Main Footer Section */
.main-footer {
  background-image: url("../images/gh.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 90px 10% 60px 10%;
  overflow: hidden;
}

.main-footer .section-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay to match mockup */
  z-index: 1;
}

.footer-heading {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 65px; /* Short white underline matching mockup */
  height: 2px;
  background-color: #ffffff;
}

.footer-about-text {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 33px;
  color: #ffffff;
  text-align: justify;
  margin-bottom: 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  color: #ffffff;
  font-size: 18px;
  margin-right: 15px;
  margin-top: 4px;
  width: 18px;
  text-align: center;
}

.contact-text {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  color: #ffffff;
}

.footer-map-container {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.footer-map-container iframe {
  display: block;
}

/* Footer Copyright Strip */
.footer-copyright {
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.footer-copyright p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.85;
  letter-spacing: 0.2px;
}

@media (max-width: 991.98px) {
  .main-footer {
    padding: 60px 5% 40px 5%;
  }
}

/* Treatments Mega Menu Dropdown */
.mega-menu {
  background-color: #eaeaea !important; /* light grey as seen in mockup */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border-radius: 0 0 8px 8px;
  padding: 25px 20px !important;
  transition: all 0.3s ease;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  margin-top: 0 !important;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

@media (min-width: 992px) {
  .navbar .nav-item.dropdown .dropdown-menu.mega-menu {
    top: 100% !important;
    transform: translateY(15px) !important;
  }
  .navbar .nav-item.dropdown:hover .dropdown-menu.mega-menu {
    transform: translateY(0) !important;
  }
}

.mega-menu-list {
  margin: 0;
  padding: 0;
}

.mega-menu-list li {
  margin-bottom: 2px;
}

.mega-menu-list .dropdown-item {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700 !important; /* bold font as seen in mockup */
  text-transform: uppercase;
  color: #495057 !important;
  padding: 6px 12px !important;
  background-color: transparent !important;
  border: none;
  transition: all 0.2s ease;
  white-space: normal;
}

.mega-menu-list .dropdown-item:hover {
  color: var(--primary) !important; /* teal */
  background-color: rgba(19, 197, 221, 0.08) !important;
  padding-left: 18px !important; /* smooth slide-in */
}

/* lift categories */
.mega-menu-submenu-header {
  font-size: 14px;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: #212529 !important;
  margin-top: 10px;
  padding: 6px 12px !important;
}

.mega-menu-submenu-item .dropdown-item {
  font-size: 13px;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  color: #6c757d !important;
  padding-left: 20px !important;
}

.mega-menu-submenu-item .dropdown-item:hover {
  padding-left: 26px !important;
  color: var(--primary) !important;
}

@media (max-width: 991.98px) {
  .mega-menu {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
    border-radius: 0;
  }
  .mega-menu-list .dropdown-item {
    font-size: 13px;
    padding: 8px 10px !important;
    font-weight: 600 !important;
  }
  .mega-menu-list .dropdown-item:hover {
    padding-left: 10px !important;
  }
  .mega-menu-submenu-item .dropdown-item {
    padding-left: 18px !important;
  }
  .mega-menu-submenu-item .dropdown-item:hover {
    padding-left: 18px !important;
  }
}

/* About Page Custom Wrapper for Repeating Icon Background */
.about-banner {
  background: #c3f4ef;
  height: 300px;
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-title {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 25px;
}

.title-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.title-line span {
  width: 6px;
  height: 6px;
  background: #2cc6b7;
  border-radius: 50%;
}

.center-line {
  width: 35px !important;
  height: 6px !important;
  border-radius: 20px !important;
}

.wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-shape svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Mobile */

@media (max-width: 768px) {
  .banner-title {
    font-size: 42px;
  }

  .about-banner {
    height: 220px;
  }
}
.blog-container {
  padding: 90px 4%;
}

/* Blog Page Styles */
.blog-image-container {
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.blog-image-container img {
  transition: transform 0.5s ease;
}

.blog-image-container:hover img {
  transform: scale(1.04);
}

.blog-post-title {
  font-family: "Poppins", sans-serif;
  color: #1d1f45;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-post-text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #3d3d4e;
  text-align: justify;
}

.blog-read-more {
  font-family: "Poppins", sans-serif;
  color: #354f8e;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
}

.blog-read-more::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.blog-read-more:hover {
  color: var(--primary);
  text-decoration: none;
}

.blog-read-more:hover::after {
  width: 100%;
}

/* Contact Page Styles */
.contact-card {
  background-color: #000000;
  color: #31d9c4; /* Teal color matching mockup */
  padding: 30px 20px;
  border-radius: 4px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(49, 217, 196, 0.25);
}

.contact-card-icon {
  font-size: 45px;
  color: #31d9c4;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  display: inline-block;
  line-height: 1;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.15);
}

.contact-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #31d9c4;
}

.contact-card-text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 0;
  color: #31d9c4;
}

.contact-card-text a {
  color: #31d9c4;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-card-text a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Contact Form & Map Section Styles */
.contact-container {
     padding: 90px 4%;
}
.contact-form-title {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #111111;
  margin-bottom: 18px;
}

.contact-label {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 8px;
}

.contact-input {
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 6px !important;
  padding: 8px 14px !important;
  font-size: 15px !important;
  font-family: "Poppins", sans-serif !important;
  color: #333333 !important;
  transition: all 0.3s ease !important;
}

.contact-input:focus {
  background-color: #ffffff !important;
  border-color: #13C5DD !important;
  box-shadow: 0 0 0 0.25rem rgba(19, 197, 221, 0.15) !important;
}

.contact-submit-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  padding: 10px 30px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

.contact-submit-btn:hover {
  background-color: #354F8E !important; /* Secondary dark blue color */
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-map-wrapper {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

/* Media Dropdown Menu Styles (matching Treatment Mega Menu styling) */
.media-dropdown-menu {
  background-color: #eaeaea !important; /* same light grey as treatment mega menu */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border-radius: 0 0 8px 8px !important;
  padding: 15px 10px !important;
  border: none !important;
  min-width: 220px !important;
  transition: all 0.3s ease;
}

.media-dropdown-menu .dropdown-item {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700 !important; /* bold as seen in treatments mega menu */
  text-transform: uppercase;
  color: #495057 !important;
  padding: 8px 14px !important;
  background-color: transparent !important;
  border: none;
  transition: all 0.2s ease;
  white-space: normal;
  display: block;
  width: 100%;
}

.media-dropdown-menu .dropdown-item:hover {
  color: var(--primary) !important; /* primary teal */
  background-color: rgba(19, 197, 221, 0.08) !important;
  padding-left: 20px !important; /* smooth slide-in hover effect */
}

@media (max-width: 991.98px) {
  .media-dropdown-menu {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
    border-radius: 0 !important;
  }
  .media-dropdown-menu .dropdown-item {
    font-size: 13px;
    padding: 8px 10px !important;
    font-weight: 600 !important;
  }
  .media-dropdown-menu .dropdown-item:hover {
    padding-left: 10px !important;
  }
}

/* Article Page Gallery Styles */
.articles-container {
  padding: 90px 4%;
}
.article-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #eef2f5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.article-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.article-img-link::before {
  content: "\f00e"; /* Search plus icon from FontAwesome */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 24px;
  color: #ffffff;
  background-color: rgba(19, 197, 221, 0.9); /* teal overlay */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.article-img-link:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.article-img-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.article-img-link:hover::after {
  opacity: 1;
}

.article-thumbnail {
  transition: transform 0.5s ease;
  object-fit: cover;
  height: 280px; /* fixed height for grid neatness */
}

.article-img-link:hover .article-thumbnail {
  transform: scale(1.05);
}

/* Lightbox Modal Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 35px;
  padding: 15px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
  color: var(--primary);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Gallery Page Card Styles */
.gallery-container {
  padding: 90px 4%;
}
.gallery-card {
  background-color: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-img-wrapper.contain img {
  object-fit: contain;
  padding: 15px;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.04);
}

.gallery-img-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gallery-card-body {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  min-height: 90px;
}

.gallery-card-text {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #3d3d4e;
  margin-bottom: 0;
}

.treatmet-container {
  padding: 90px 4%;
}
.treatmet-containerr {
  padding: 50px 4%;
}
/* Cosmetic Surgery Page Styles */
.cosmetic-img-container {
  border: 3px solid #31d9c4; /* cyan border matching mockup */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  
 /* Compressed image height */
}
.cosmetic-img-containerr {
  border: 3px solid #31d9c4; /* cyan border matching mockup */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  height: 250px;
  width: 100%;
 /* Compressed image height */
}

.cosmetic-img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cosmetic-img-containerr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cosmetic-img-container:hover img {
  transform: scale(1.03);
}
.cosmetic-img-containerr:hover img {
  transform: scale(1.03);
}
.about-pp{
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: #3d3d4e;
    text-align: justify;
}

.see-more-link {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #111111;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.see-more-link:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Dimple Creation Page Styles */
.bg-light-cyan {
  background-color: #DDF9F6 !important; /* Soft, light cyan background matching mockup */
}

.dimple-info-box {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}

.dimple-info-box:hover {
  transform: translateY(-2px);
}

/* Risks Section Styles */
.risks-title {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #1d2a4d; /* dark blue to match theme */
  text-transform: capitalize;
}

.risks-text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3d3d4e;
  font-weight: 400;
  text-align: justify;
}

.risks-list {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3d3d4e;
}

.risks-list li {
  margin-bottom: 10px;
}

/* Service Images (Before & After) Gallery Styles */
.filter-btn-group {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #eff5f9;
  display: inline-flex;
}

.filter-btn {
  border-radius: 30px !important;
  padding: 8px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 1px solid transparent !important;
  color: #495057 !important;
  background-color: transparent !important;
  transition: all 0.3s ease !important;
  margin: 4px;
}

.filter-btn:hover {
  color: var(--primary) !important;
  background-color: rgba(19, 197, 221, 0.08) !important;
}

.filter-btn.active {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(19, 197, 221, 0.25) !important;
}

.gallery-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #1d2a4d;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.patient-case-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #354f8e !important;
  margin-top: 10px;
}

.before-after-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.before-after-img-wrapper {
  position: relative;
  border-radius: 6px;
  border: 3px solid #31d9c4; /* cyan border as in abdominoplasty page */
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  background-color: #f8f9fa;
  cursor: zoom-in;
  height: 260px; /* Uniform height for all grid items */
  display: flex;
  align-items: center;
  justify-content: center;
}

.before-after-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops image to fill the container uniformly */
  display: block;
  transition: transform 0.5s ease;
}

.before-after-img-wrapper:hover img {
  transform: scale(1.05);
}

.service-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.ba-badge-container {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
  z-index: 3;
}

.ba-badge {
  background-color: rgba(29, 42, 77, 0.85); /* dark blue theme overlay */
  color: #ffffff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ba-badge.before {
  background-color: rgba(29, 42, 77, 0.9) !important;
  color: #ffffff !important;
}

.ba-badge.after {
  background-color: rgba(49, 217, 196, 0.95) !important; /* teal accent */
  color: #ffffff !important;
}

.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 197, 221, 0.75); /* translucent primary teal overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.before-after-img-wrapper:hover .ba-overlay {
  opacity: 1;
}

.ba-overlay i {
  font-size: 24px;
  margin-bottom: 8px;
}
