nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

nav .navbar {
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}

.navbar .logo img {
  width: 200px;
  position: absolute;
  top: 10px;
  background: #ffffff;
}

nav .navbar .nav-links {
  height: 100%;
}

nav .navbar .links {
  display: flex;
}

nav .navbar .links>li {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0 15px;
}

nav .navbar .links li>a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #399bcc;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
  /* transform: rotate(180deg); */
}

nav .navbar .links li .arrow {
  margin-left: 6px;
  font-size: 13px;
  color: #399bcc;
  cursor: pointer;
  transition: .3s;
  line-height: 70px;
}

nav .navbar .links li .sub-menu {
  position: absolute;
  top: 70px;
  left: -50%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .12);
  display: none;
  padding: 8px 0;
  z-index: 999;
}

nav .navbar .links li:hover>.sub-menu {
  display: block;
}

.navbar .links li .sub-menu li {
  display: block;
  padding: 0;
}

.navbar .links li .sub-menu a {
  display: block;
  padding: 12px 20px;
  color: #444;
  transition: .3s;
}

.navbar .links li .sub-menu a:hover {
  background: #399bcc;
  color: #fff;
}

.arrow {
  margin-left: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: .3s;
}

.links>li:hover>.arrow {
  transform: rotate(180deg);
}

.navbar .links li .sub-menu .more-arrow {
  line-height: 40px;
}

.navbar .links li .htmlCss-more-sub-menu {
  /* line-height: 40px; */
}

.navbar .links li .sub-menu .more-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}

.links li .sub-menu .more:hover .more-sub-menu {
  display: block;
}


.navbar .nav-links .sidebar-logo {
  display: none;
}

.navbar .bx-menu {
  display: none;
}

@media (max-width:920px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 25px;
  }

  nav .navbar .logo a {
    font-size: 27px;
  }

  nav .navbar .links li {
    padding: 0 10px;
    white-space: nowrap;
  }

  nav .navbar .links li a {
    font-size: 15px;
  }
}

@media (max-width:800px) {

  .navbar .bx-menu {
    display: block;
  }

  .navbar .logo img {
    width: 150px;
    position: relative;
    top: 10px;
  }

  nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 280px;
    width: 100%;
    background: #ffffff;
    line-height: 30px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }

  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .sidebar-logo .logo-name {
    font-size: 25px;
    color: #fff;
  }

  .sidebar-logo i,
  .navbar .bx-menu {
    font-size: 25px;
    color: #3e8da8;
  }

  nav .navbar .links {
    display: block;
    margin-top: 20px;
    padding-left: 10px;
  }

  nav .navbar .links li .arrow {
    line-height: 40px;
  }

  nav .navbar .links li {
    display: block;
  }

  nav .navbar .links>li {
    display: block;
    padding: 0;
  }

  nav .navbar .links>li>a {
    display: inline-block;
    height: auto;
    padding: 12px 0;
  }

  nav .navbar .links li .sub-menu {
    position: relative;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 8px;
  }

  .navbar .links li .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #399bcc;
    white-space: wrap;
  }

  nav .navbar .links li .sub-menu li {
    border-bottom: none;
  }

  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow {
    transform: rotate(0deg);
  }

  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
  }

  .navbar .links li .sub-menu .more span {
    /* background: red; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }

  .links li .sub-menu .more:hover .more-sub-menu {
    display: none;
  }

  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu {
    display: none;
  }

  .navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .more .more-sub-menu {
    display: block;
  }

  .navbar .nav-links.show1 .links .htmlcss-arrow,
  .navbar .nav-links.show3 .links .js-arrow {
    transform: rotate(180deg);
  }

  .navbar .nav-links.show2 .links .more-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width:370px) {
  nav .navbar .nav-links {
    max-width: 100%;
  }
}


/* Hero  */
.hero {
  background-image: url("..//img/hero-bg.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 90vh;
  display: flex;
  align-items: center;
}

/* .hero .container {
  display: flex;
  justify-content: center;
} */

/* .hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */

.hero__text strong {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  display: block;
}

.hero__text h1 {
  font-size: 70px;
  color: #399bcc;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 25px;
}

.headings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* breadcrumb  */
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(101 87 66 / 11%);
  z-index: 1;
}

.carousel-item .carousel-caption .hero-text {
  font-size: larger;
  color: red;
  font-family: cursive;
}

.carousel-item .carousel-caption img {
  width: 50px;
}

.carousel-item .carousel-caption .icon {
  font-size: 30px;
  font-weight: 600;
  color: #ff0016;
}

.carousel-item .carousel-caption .icon span {
  color: #ff0016;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-item .carousel-caption .icon img {
    width: 50px !important;
    height: 50px !important;
  }

  .carousel-item .carousel-caption .icon span {
    margin-left: 50px;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(0, 0, 0, 0.411);
}


/*** Facts ***/
.fact {
  background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-2.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* Service Section  */
.serviceBox {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 0 20px 60px;
  margin: 5px 0 0 5px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.040);
  border-bottom: 10px solid #2e96d2;


}

/* .serviceBox:before{
  content: '';
  background-color: #fff;
  border-bottom: 10px solid #2e96d2;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.040);
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  bottom: 0;
  z-index: -1;
} */
.serviceBox .service-icon {
  color: #ffffff;
  background-color: #ffffff;
  font-size: 35px;
  text-align: center;
  height: 74px;
  width: 160px;
  padding: 7px;
  margin: 0 auto 30px;
  border-radius: 25px;
  position: relative;
  box-shadow: 1px 1px 8px #80808026;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  top: -20px;
}

.serviceBox .service-icon:before {
  box-shadow: 1px 1px 8px #80808026;
  content: '';
  background-color: #ffffff;
  height: 30px;
  width: 30px;
  border-radius: 5px;
  transform: rotate(45deg);
  position: absolute;
  left: 25px;
  bottom: -10px;
  z-index: -1;
}

.serviceBox:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.serviceBox:hover .service-icon {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.serviceBox:hover::before {
  box-shadow: 1px 1px 8px #80808000;
}

.serviceBox .service-icon span {
  background-color: #2e96d2;
  line-height: 60px;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: inline-block;
}

.serviceBox .title {
  color: #2e96d2;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 27px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.serviceBox .description {
  color: #999;
  font-size: 14px;
  line-height: 22px;
  margin: 0;
}

@media only screen and (max-width: 990px) {
  .serviceBox {
    margin: 0 0 30px;
  }
}

/* Gallery  */
.gallery img {
  border: 1px solid #2e96d2;
  border-radius: 4px;
  padding: 5px;
  width: 100%;
}

.gallery img:hover {
  box-shadow: 0 0 2px 1px rgb(119, 118, 118);
  filter: contrast(200%);
}

/*** Testimonial ***/

.testimonials {
  padding: 100px 0;
}

.testimonials h3 {
  margin-bottom: 20px;
}

.testimonials .card {
  border-bottom: 3px #399bcc solid !important;
  transition: 0.5s;
  margin-top: 60px;
}

.testimonials .card i {
  background-color: #399bcc;
  color: #ffffff;
  width: 75px;
  height: 75px;
  line-height: 75px;
  margin: -40px auto 0 auto;
}



/* Footer  */
ul {
  margin: 0px;
  padding: 0px;
}

.footer-section {
  /* background: #151414;
  position: relative;
  background-image: url("..//img/footer.jpeg"); */
  background: rgb(0 0 0 / 82%) url(..//img/footer.png) center / cover no-repeat
}

.footer-cta {
  border-bottom: 1px solid #c1c1c1;
}

.single-cta i {
  color: #399bcc;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}

.cta-text {
  padding-left: 15px;
  display: flex;
  flex-direction: column;
}

.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cta-text span {
  color: #757575;
  font-size: 15px;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 200px;
}

.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
  color: #7e7e7e;
  line-height: 28px;
}

.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}

.footer-social-icon a {
  color: #fff;
  font-size: 16px;
  margin-right: 15px;
}

.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}

.instagram-bg {
  background: #5b51d8;
}

.twitter-bg {
  background: #55ACEE;
}

.google-bg {
  background: #DD4B39;
}

.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}

.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #399bcc;
}

.footer-widget ul {
  display: flex;
  flex-direction: column;
}

.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 50%;
  margin-bottom: 12px;
}

.footer-widget ul li a:hover {
  color: #399bcc;
}

.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}

.subscribe-form {
  position: relative;
  overflow: hidden;
}

.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #000000;
  border: 1px solid #000000;
  color: #fff;
}

.subscribe-form button {
  position: absolute;
  right: 0;
  background: #399bcc;
  padding: 13px 20px;
  border: 1px solid #399bcc;
  top: 0;
}

.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}

.copyright-area {
  background: #202020;
  padding: 25px 0;
}

.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}

.copyright-text p a {
  color: #fb0102;
}

.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}

.footer-menu li:hover a {
  color: #fb0102;
}

.footer-menu li a {
  font-size: 14px;
  color: #878787;
}


/* .page-header{
  background-image: url("..//img/hero-bg.jpeg");
  height: 50vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */


/* back to top  */
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}


/* STICKY BUTTON  */
.sticky-button {
  position: fixed;
  bottom: 15px;
  display: block;
  right: 25px;

  /* display: none; */
}

.sticky-button .icon {
  background-color: rgb(35 94 162 / 50%);
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  border-radius: 50%;
  margin: 5px 0px;

}

.sticky-button img {
  width: 30px;
}

@media(min-width: 992px) {
  .sticky-button img {
    width: 40px;
  }
}

/* Service page template */
.hero-image {
  height: 420px !important;
  object-fit: cover !important;
}

@media(max-width:468px) {
  .hero {
    height: 60vh;
  }

  .hero__text h1 {
    font-size: 40px;
  }

  .hero-image {
    height: 500px !important;
  }
}

/* Service page template */
.service-sidebar {
  position: sticky;
  top: 80px;
  z-index: 10;
}

/* Service Sidebar  */
.service-sidebar {
  position: sticky;
  top: 80px;
  z-index: 10;
}

@media(max-width:991px) {
  .service-sidebar {
    position: static;
    top: auto;
    margin-top: 40px;
  }
}

.doctor-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.doctor-top {
  background: linear-gradient(135deg, #0d6efd, #3b82f6);
  color: #fff;
  padding: 35px 20px 70px;
  text-align: center;
}

.doctor-image {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  margin-top: -60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.doctor-body {
  padding: 25px;
  text-align: center;
}

.doctor-body h4 {
  font-weight: 700;
  margin-bottom: 5px;
}

.doctor-body p {
  color: #6c757d;
}

.doctor-highlights {
  margin-top: 25px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: .3s;
}

.highlight-item:hover {
  background: #eef5ff;
  transform: translateY(-2px);
}

.highlight-item i {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d6efd;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
}

.highlight-item strong {
  display: block;
  font-size: 15px;
}

.highlight-item span {
  color: #6c757d;
  font-size: 13px;
}

.cta-card {
  margin-top: 25px;
  padding: 35px 25px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 20px 45px rgba(13, 110, 253, .25);
  overflow: hidden;
  position: relative;
}

.cta-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  top: -70px;
  right: -70px;
}

.cta-icon {
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 50%;
  background: #fff;
  color: #0d6efd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-card h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-card p {
  color: rgba(255, 255, 255, .9);
  margin-bottom: 25px;
}

.cta-card .btn {
  border-radius: 50px;
  font-weight: 600;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-button {
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  font-size: 1rem;
  padding: 18px 22px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-body {
  background: #f8f9fc;
  color: #4b5563;
  padding: 18px 22px;
  line-height: 1.7;
}

.faq-accordion .accordion-button::after {
  transition: transform 0.25s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}