/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 99;
}

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50%;
}

.btn.btn-primary {
  background: #1b63b1 !important;
  color: var(--bs-white) !important;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  transition: 0.5s;
  border: 1px solid white !important;
}

.btn.btn.btn-primary:hover {
  background: #fe3d6e !important;
  color: #6c2500;
  border: 1px solid black;
}

.btn.btn-secondary {
  background: transparent;
  color: #6c2500;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  border: none;
  transition: 0.5s;
}

.btn.btn-secondary:hover {
  color: var(--bs-primary) !important;
}

/*** Section Title Start ***/
.section-title {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.section-title .sub-style {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.section-title .sub-style::before {
  content: "";
  width: 100px;
  position: absolute;
  bottom: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-bottom: -6px;
  margin-left: -100px;
  border: 1px solid #6c2500 !important;
}

.section-title .sub-style::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-top: -8px;
  margin-left: -50px;
  border: 1px solid var(--bs-primary) !important;
}

.sub-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.sub-title::before {
  content: "";
  width: 100px;
  position: absolute;
  bottom: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-bottom: -8px;
  margin-right: -100px;
  border: 1px solid #6c2500 !important;
}

.sub-title::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-top: -6px;
  margin-right: -50px;
  border: 1px solid var(--bs-primary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
  transition: 0.5s;
}

.topbar {
  padding: 2px 10px 2px 20px;
  background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
  transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
  color: #6c2500 !important;
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}
/*** Topbar End ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  color: var(--bs-primary) !important;
  font-size: 17px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #fe3d6e !important;
}

.navbar-light .navbar-brand img {
  max-height: 90px;
  transition: 0.5s;
}

.sticky-top .navbar-light .navbar-brand img {
  max-height: 80px;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }
}

.dropdown .dropdown-menu a:hover {
  background: var(--bs-primary);
  color: #6c2500;
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light) !important;
  transition: 0.5s;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-top {
    position: relative;
    background: var(--bs-white);
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
    border: 1px solid var(--bs-primary) !important;
    color: var(--bs-primary);
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
  }

  .navbar-light .navbar-brand img {
    max-height: 60px;
  }
}

@media (min-width: 991.98px) {
  .sticky-top .navbar-light {
    background: white !important;
  }

  /*** Top and Bottom borders go out ***/
  .navbar-light .navbar-nav .nav-link:after,
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    top: 30px;
    bottom: 30px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0;
    transition: all 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:before {
    bottom: auto;
  }

  .navbar-light .navbar-nav .nav-link:after {
    top: auto;
  }

  .navbar-light .navbar-nav .nav-link:hover:before,
  .navbar-light .navbar-nav .nav-link.active:before {
    top: 20px;
    opacity: 1;
  }

  .navbar-light .navbar-nav .nav-link:hover::after,
  .navbar-light .navbar-nav .nav-link.active::after {
    bottom: 20px;
    opacity: 1;
  }
}

#searchModal .modal-content {
  background: rgba(240, 245, 251, 0.5);
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  background:
    linear-gradient(rgba(0, 58, 102, 0.9), rgba(0, 58, 102, 0.8)),
    url(../img/breadcrumb.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-size: cover;
  padding: 100px 0 60px 0;
}
/*** Single Page Hero Header End ***/

.face-smile-header {
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4));
  z-index: -1;
}

.header-doctor-img {
  max-height: 520px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .carousel-header {
    height: 700px !important;
  }

  .carousel-header .carousel-control-prev .carousel-control-prev-icon,
  .carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-top: 500px;
  }

  .carousel-header .carousel-control-prev .carousel-control-prev-icon {
    margin-left: 0px;
  }

  .carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-right: 0px;
  }

  .carousel-header .carousel .carousel-indicators {
    padding: 0;
  }
}
/*** Carousel Hero Header End ***/

/*** Counter Facts Start ***/
.counter-facts {
  background:
    linear-gradient(rgba(255, 255, 255, 0.322), rgba(255, 255, 255, 0.212)),
    url(../img/breadcrumb.png);
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
}

.counter-facts .counter {
  position: relative;
  text-align: center;
  width: 200px;
  min-height: 215px;
  padding: 10px 15px;
  margin: 0 auto;
  border-radius: 100px;
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
  background: var(--bs-white);
}

.counter-facts .counter:before {
  content: "";
  position: absolute;
  height: 105px;
  width: 100%;
  left: 0;
  top: 0;
  border-radius: 10px 10px 0 0;
  background-color: var(--bs-primary);
}
.counter-facts .counter .counter-icon {
  position: relative;
  width: 120px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 10px 10px 0 0;
  transform: translateY(-20px);
  font-size: 50px;
  line-height: 90px;
  color: #6c2500;
  background: rgba(1, 143, 252, 0.5);
  clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 90px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px 10px 0 0;
  background: rgba(0, 58, 102, 0.5);
  z-index: -1;
  clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
  transform: rotate(360deg);
  transition: all 0.3s ease;
}
.counter-facts .counter h3 {
  color: var(--bs-primary);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
  font-size: 30px;
  font-weight: 700;
  display: block;
  color: #fd3a6e;
}

@media screen and (max-width: 1200px) {
  .counter-facts .counter {
    margin-bottom: 40px;
  }
}
/*** Counter Facts End ***/

/*** service Start ***/
.service .service-item {
  position: relative;
  overflow: hidden;
}

.service .service-item .service-inner .service-title {
  position: relative;
  margin-top: -30px;
  text-align: center;
  transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
  position: absolute;
  bottom: -100%;
  left: 0;
  margin-left: 30px;
  margin-right: 30px;
  text-align: center;
  border-radius: 10px;
  background: #6c2500;
  opacity: 0;
  transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
  bottom: 0;
  opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
  border-bottom: 1px solid rgba(256, 256, 256, 0.1);
}

.service .service-item .service-inner .service-title .service-title-name {
  transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
  opacity: 0;
}

.service .service-item .service-inner .service-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  transition: 0.5s;
  opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
  height: 100%;
  opacity: 1;
}

.service .service-item .service-inner .service-img img {
  transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
  transform: scale(1.3);
}
/*** Service End ***/

/*** Features Start ***/
.features .feature-item {
  position: relative;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.features .feature-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  background: rgba(0, 58, 102, 0.1);
  z-index: -1;
  transition: 0.5s;
}

.features .feature-item:hover::after {
  height: 100%;
}

.features .feature-item .feature-icon {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bs-light);
  transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
  border-radius: 50%;
  background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
  transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
  color: #6c2500 !important;
  transform: rotate(360deg);
  transition: all 0.5s ease;
}
/*** Features End ***/

/*** Country Start ***/
.country .country-item {
  position: relative;
}

.country .country-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 58, 102, 0.7);
  border-radius: 10px;
  transition: 0.5s;
  z-index: 1;
}

.country .country-item:hover::after {
  height: 100%;
}

.country .country-item .country-flag {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s;
  z-index: 2;
}

.country .country-item .country-flag img {
  border: 5px solid var(--bs-white);
  transition: 0.5s;
}

.country .country-item:hover .country-flag img {
  border: 5px solid var(--bs-white);
  transform: rotate(360deg);
  transition: all 0.5s ease;
}

.country .country-item .country-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
  opacity: 0;
  z-index: 3;
}

.country .country-item:hover .country-name {
  opacity: 1;
}

.country .country-item img {
  transition: 0.5s;
}

.country .country-item:hover img {
  transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
  transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
  color: #6c2500 !important;
}
/*** Country End ***/

/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
  position: relative;
}

.testimonial
  .owl-carousel.testimonial-carousel
  .testimonial-item
  .testimonial-content {
  position: relative;
  border-radius: 10px;
  background: var(--bs-light);
}

.testimonial
  .owl-carousel.testimonial-carousel
  .testimonial-item
  .testimonial-content::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 45px;
  bottom: -20px;
  left: 30px;
  transform: rotate(45deg);
  background: var(--bs-light);
  z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
  position: absolute;
  top: -60px;
  right: 0;
  display: flex;
  font-size: 40px;
  color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
  margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
  transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
  color: #6c2500;
}
/*** testimonial end ***/

/*** training Start ***/
.training .training-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.4s ease;
  background: #f9f9f9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.training .training-item:hover {
  transform: translateY(-5px);
}

.training .training-item .training-inner {
  position: relative;
  overflow: hidden;
}

.training .training-item .training-inner img {
  width: 100%;
  height: auto;
  transition:
    filter 0.5s ease,
    transform 0.5s ease;
}

.training .training-item:hover .training-inner img {
  filter: blur(2px) brightness(0.8);
  transform: scale(1.1);
}

/* Glass popup content */
.training .training-item .training-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 150%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 20px;
  width: 90%;
  text-align: center;
  opacity: 0;
  transition: all 0.5s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
  z-index: 2;
}

.training .training-item:hover .training-content {
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* Title on image */
.training .training-title-name {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 0;
  z-index: 1;
}

/*** training End ***/

/*** Contact Start ***/
.contact .office .office-item {
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
  background: var(--bs-light);
  transition: 0.5s;
}

.contact .office .office-item:hover {
  box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.contact .office .office-item .office-img img {
  transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
  transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
  transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
  color: #fe3d6e !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
  color: #fe3d6e !important;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background: #3d7abd;
}
.footer .footer-item a {
  line-height: 30px;
  color: var(--bs-white);
  transition: 0.5s;
}

.footer .footer-item p {
  line-height: 30px;
}

.footer .footer-item a:hover {
  color: #fe3c6f;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #fe3c6f !important;
}
/*** copyright end ***/

.faq-heading {
  font-family: Lato;
  font-weight: 400;
  font-size: 19px;
  -webkit-transition: text-indent 0.2s;
  text-indent: 20px;
  color: #333;
}

.faq-text {
  font-family: Open Sans;
  font-weight: 400;
  color: #919191;
  width: 95%;
  padding-left: 20px;
  margin-bottom: 30px;
}

.faq {
  width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 4px;
  position: relative;
  border: 1px solid #e1e1e1;
}
.faq label {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 56px;
  padding-top: 1px;

  background-color: #fafafa;
  border-bottom: 1px solid #e1e1e1;
}

.faq input[type="checkbox"] {
  display: none;
}

.faq-section {
  padding: 50px 15px;
  background-color: #f8f9fa;
}
.faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.accordion-button:focus {
  box-shadow: none;
}

@media screen and (max-width: 768px) {
  .carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 80vh;
  }
}

/* ================================
   Face & Smile Clinic About Section
================================ */

.about-section {
  background: #ffffff;
}

.clinic-icon {
  color: #1b63b1;
}

/* Icon hover effect */
.about-section i:hover {
  transform: scale(1.1);
  transition: 0.3s ease;
}

/* Sub title */
.sub-title {
  font-weight: 600;
  color: #1b63b1;
  position: relative;
}

.sub-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #1b63b1;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* Image shadow */
.about-section img {
  border-radius: 12px;
}

/* Mobile spacing fix */
@media (max-width: 768px) {
  .display-5 {
    font-size: 2rem;
  }
}

/* ================================
   Parallax Counter Section
================================ */

.parallax-counter {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.counter-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 100, 177, 0.377);
  z-index: 0;
}

.counter {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 45px 25px;
  border-radius: 18px;
  text-align: center;
  transition: 0.4s ease;
  height: 100%;
}

.counter:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.534);
}

/* ICONS */
.counter-icon {
  width: 85px;
  height: 85px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-icon i {
  font-size: 38px;
  color: #ffffff;
}

/* TEXT */
.counter-content h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.counter-value {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
}

.counter-symbol {
  margin-left: 6px;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
}

/* Mobile fix */
@media (max-width: 768px) {
  .parallax-counter {
    background-attachment: scroll;
  }
}

/* ================================
   Services Section
================================ */

.service-section {
  background: #f8fbff;
}

.sub-title {
  color: #1b63b1;
  font-weight: 600;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.service-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27, 99, 177, 0.95),
    rgba(27, 99, 177, 0.6)
  );
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: 0.5s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-overlay h4 {
  color: #fd3a6e;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-overlay p {
  font-size: 15px;
  margin-bottom: 20px;
}

.service-overlay .btn {
  font-weight: 600;
}

/* ================================
   Features Section
================================ */

.features-section {
  position: relative;
  background: url("img/feature-bg.jpg") center center / cover fixed;
  overflow: hidden;
}

.features-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 99, 177, 0.85); /* #1b63b1 */
  z-index: 1;
}

.features-section .container {
  z-index: 2;
}

/* Feature Box */
.feature-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 40px 25px;
  height: 100%;
  transition: 0.4s ease;
}

.feature-box:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.2);
}

/* Icons */
.feature-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 42px;
  color: #ffffff;
}

/* Text */
.feature-box h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-box p {
  color: #eaeaea;
  font-size: 15px;
  line-height: 1.7;
}

/* Button */
.features-section .btn-primary {
  background: #ffffff;
  color: #1b63b1;
  border: none;
  font-weight: 600;
}

.features-section .btn-primary:hover {
  background: #0f4fa0;
  color: #ffffff;
}
/* ================================
   Gallery Section
================================ */

.gallery-section {
  position: relative;
  background: url("../img/carousel-2.png") center center / cover fixed;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 100, 177, 0.582); /* #1b63b1 */
  z-index: 1;
}

.gallery-section .container {
  position: relative;
  z-index: 2;
}

/* Gallery Card */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.15);
}

/* Hover Layer */
.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s ease;
}

.gallery-card:hover .gallery-hover {
  opacity: 1;
}

.gallery-hover i {
  color: #ffffff;
  font-size: 36px;
  background: rgba(27, 99, 177, 0.9);
  padding: 22px;
  border-radius: 50%;
}


.doctor-card img {
  transition: transform 0.3s ease;
}

.doctor-card img:hover {
  transform: scale(1.03);
}
