/********** Template CSS **********/

body, span{
  font-family: "Red Rose" !important;
  color: #031b4e;
}


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

#success-msg,
#error-msg {
    display: none;
    margin-top: 20px;
}

#success-msg {
    color: green;
}

#error-msg {
    color: red;
}

.fw-medium {
  font-weight: 500;
}

/*** 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;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--bs-dark);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
  position: relative;
  padding: 0 0 10px 10px;
  z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
  font-size: 60px;
}

.icon-box-primary::before,
.icon-box-light::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  left: 0;
  bottom: 0;
  border-radius: 35px;
  transition: 0.5s;
  z-index: -1;
}

.icon-box-primary::before {
  background: var(--bs-primary);
}

.icon-box-light::before {
  background: var(--bs-light);
}

.banner {
  background-repeat: no-repeat;
  background-size: cover;
  height: 53vh;
  margin-top: 2rem;
  overflow: hidden;
}

.contactbannerimg {
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.banner-detail {
  background: white;
  border: none !important;
  height: 50vh;
}

.imagedr.mb-4,
.imageclinic.mb-4 {
  width: 19%;
}

img.doctorimg,
img.clinicimg {
  width: 100%;
  height: auto;
}

section.section1 {
  margin-top: -14rem !important;
}

/*** Navbar ***/
.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 20px 0;
  color: var(--bs-dark);
  font-size: 18px;
  font-weight: 500;
  outline: none;
}

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

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .sticky-top {
    margin-top: -34px;
  }

  .navbar {
    height: 68px;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
@media (min-width: 992px) {
  .header-carousel,
  .page-header {
    margin-top: -34px;
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(3, 27, 78, 0.3);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  background-color: var(--bs-primary);
  border: 15px solid var(--bs-primary);
}

.logo-box{
  width: 150px;
  height: 50px;
}

@media (max-width: 767.98px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/testimonial.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-white);
}

/*** Features ***/
.feature {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/feature.jpg) left center no-repeat;
  background-size: cover;
}

.feature-row {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  background: white;
}

.feature-item {
  border-color: rgba(0, 0, 0, 0.03) !important;
}

.experience .progress {
  height: 5px;
}

.experience .progress .progress-bar {
  width: 0px;
  transition: 3s;
}

.experience .nav-pills .nav-link {
  color: var(--dark);
}

.experience .nav-pills .nav-link.active {
  color: #ffffff;
}

.experience .tab-content hr {
  width: 30px;
}

/*** About ***/
.about-fact {
  width: 220px;
  height: 220px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 576px) {
  .about-fact.mt-n130 {
    margin-top: -130px;
  }
}

.btn-play {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 36px;
  height: 46px;
  border-radius: 100%;
  border: none;
  outline: none !important;
  padding: 18px 20px 20px 28px;
  background: var(--bs-primary);
}

.btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 90px;
  height: 90px;
  background: var(--bs-primary);
  border-radius: 100%;
  animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 90px;
  height: 90px;
  background: var(--bs-primary);
  border-radius: 100%;
  transition: all 200ms;
}

.btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  left: 3px;
  border-left: 30px solid #ffffff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}

.modal-video .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.modal-video .modal-body {
  position: relative;
  padding: 0px;
}

.modal-video .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Service ***/
.container-service {
  position: relative;
}

.container-service::before {
  position: absolute;
  content: "";
  background: var(--bs-light);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
  z-index: -1;
}

.service-item {
  position: relative;
  height: 100%;
  padding: 45px 30px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.service-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: 0.5s;
  background: var(--bs-primary);
}

.service-item:hover::before {
  height: 100%;
  top: 0;
}

.service-item * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
  color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
  background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
  color: var(--bs-white) !important;
}

/*** Team ***/
.container-team {
  position: relative;
}

.container-team::before {
  position: absolute;
  content: "";
  background: var(--bs-light);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
  z-index: -1;
}

.team-item {
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.team-item .team-social {
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  transition: 0.5s;
  background: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-item:hover .team-social {
  width: 100%;
  left: 0;
}

.team-item .team-social .btn {
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-social .btn {
  opacity: 1;
}

/*** Testimonial ***/
.testimonial {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/testimonial.jpg) left center no-repeat;
  background-size: cover;
}

.testimonial-item img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 60px;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-left: 15px;
  color: var(--bs-primary);
  font-size: 30px;
  line-height: 0;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--bs-dark);
}

p.fs-1.fst-italic.showcase.mb-4 {
  font-family: "Red Rose" !important;
  color: #8a91ac !important;
}

/*** Contact ***/
@media (min-width: 992px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 991.98px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0px;
    top: 50%;
    left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

/*** Footer ***/
.footer {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/footer.png) center center no-repeat;
  background-size: contain;
}

@media (min-width: 992px) {
  .footer::after {
    display: none;
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: rgb(255, 255, 255);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright a {
  color: var(--bs-white);
}

.copyright a:hover {
  color: var(--bs-primary);
}

#portfolio .container-fluid,
#portfolio .container-sm,
#portfolio .container-md,
#portfolio .container-lg,
#portfolio .container-xl,
#portfolio .container-xxl {
  max-width: 1920px;
}
#portfolio .container-fluid .portfolio-box,
#portfolio .container-sm .portfolio-box,
#portfolio .container-md .portfolio-box,
#portfolio .container-lg .portfolio-box,
#portfolio .container-xl .portfolio-box,
#portfolio .container-xxl .portfolio-box {
  position: relative;
  display: block;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption,
#portfolio .container-sm .portfolio-box .portfolio-box-caption,
#portfolio .container-md .portfolio-box .portfolio-box-caption,
#portfolio .container-lg .portfolio-box .portfolio-box-caption,
#portfolio .container-xl .portfolio-box .portfolio-box-caption,
#portfolio .container-xxl .portfolio-box .portfolio-box-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(244, 98, 58, 0.9);
  transition: opacity 0.25s ease;
  text-align: center;
}
#portfolio
  .container-fluid
  .portfolio-box
  .portfolio-box-caption
  .project-category,
#portfolio
  .container-sm
  .portfolio-box
  .portfolio-box-caption
  .project-category,
#portfolio
  .container-md
  .portfolio-box
  .portfolio-box-caption
  .project-category,
#portfolio
  .container-lg
  .portfolio-box
  .portfolio-box-caption
  .project-category,
#portfolio
  .container-xl
  .portfolio-box
  .portfolio-box-caption
  .project-category,
#portfolio
  .container-xxl
  .portfolio-box
  .portfolio-box-caption
  .project-category {
  font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-name,
#portfolio .container-sm .portfolio-box .portfolio-box-caption .project-name,
#portfolio .container-md .portfolio-box .portfolio-box-caption .project-name,
#portfolio .container-lg .portfolio-box .portfolio-box-caption .project-name,
#portfolio .container-xl .portfolio-box .portfolio-box-caption .project-name,
#portfolio .container-xxl .portfolio-box .portfolio-box-caption .project-name {
  font-size: 1.2rem;
}
#portfolio .container-fluid .portfolio-box:hover .portfolio-box-caption,
#portfolio .container-sm .portfolio-box:hover .portfolio-box-caption,
#portfolio .container-md .portfolio-box:hover .portfolio-box-caption,
#portfolio .container-lg .portfolio-box:hover .portfolio-box-caption,
#portfolio .container-xl .portfolio-box:hover .portfolio-box-caption,
#portfolio .container-xxl .portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.container-fluid.py-5.section-1 {
  /* margin-top: -15rem !important; */
}

img.slbImage {
  /* width: 100rem; */
}

.container-fluid.sticky-top {
  background: white;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

/* .payment-img {
    width: 9rem;
    height: auto;
}  */

@media (max-width: 767px) {
  .banner {
    background-size: contain !important;
    height: 26vh !important;
    background-repeat: no-repeat !important;
  }

  .icon-box-primary i,
  .icon-box-light i {
    font-size: 50px !important;
  }

  .container-fluid.py-5.section-1 {
    /* margin-top: -4rem !important; */
  }

  .logo-box {
    width: 100% !important;
    height: 50px !important;
    margin-right: 8px !important;
  }

  h1.text-primary.m-0 {
    font-size: 1rem;
}
}

@media (max-width: 374px) {
  .banner {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    height: 21vh !important;
    
  }

  .container-fluid.py-5.section-1 {
    /* margin-top: -5rem !important; */
  }

}

p.fs-1.fst-italic.showcase.mb-4 > p > span {
  font-family: "Red Rose" !important;
  color: #8a91ac !important;
}



.navbar-light .navbar-toggler {
  border-color: white !important;
}

.navbar-toggler {
  padding: 0.25rem 0.25rem;
  font-size: 1rem;
}

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

img.img-fluid.logoimg {
  /* width: 5rem; */
  height: 50px;
  object-fit: contain;
  height: 50px;
  /* width: 150px; */
  object-fit: contain;
}

a.btn.btn-lg.btn-primary.btn-lg-square.rounded-circle.whatsapp {
  position: fixed;
  bottom: 6rem;
  right: 1.8rem;
}

img.img-fluid.gallery-img {
  width: 442px;
  height: 250px;
  object-fit: cover;
}

img#drProfileImg {
  height: 500px;
  object-fit: contain;
}

.container-fluid.header-bg{
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)), url(../img/testimonial.jpg) center center no-repeat;
  background-size: cover;
}

.display-4{
  text-align: center !important;
  font-family: "Red Rose", cursive;
}

@media only screen and (max-width: 768px) {
  .mobileresponsive{
    width: 80%;
    height: auto;
  }
  .doctor_name{
    font-size: 1.5rem;
  }

  .logo-box{
    justify-content: space-between;
  }
}





