/********** Template CSS **********/
:root {
    --primary: #ebc604f7;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}
body{
    position: relative;
    overflow-x: hidden;
}
.text-primary{
    color: var(--primary) !important;
}
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

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

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 16px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.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,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(9 30 62 / 23%);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

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

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

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h4::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h4::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

/* .service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
} */

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #091E3E;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}



/* ---------------------------------custom css starts------------------------- */
.main-logo{
    /* height: 100px !important; */
    width: 95px !important;
    object-fit: fill;
    margin-bottom: 10px;
}

.footer-logo{
    /* height: 100px !important; */
    width: 150px !important;
    object-fit: fill;
    margin-bottom: 10px;
}

/*** Services Start ***/
.services .services-item {
    transition: 0.5s;
    border-radius: 20px;
}

.services .services-item:hover {
    background: var(--bs-primary) !important;
    border-color: var(--bs-secondary) !important;
}

.services .services-item:hover .services-content p,
.services .services-item:hover .services-content h3 {
    color: var(--bs-white);
    transition: 0.5s;
}

.services .services-item:hover .services-content a.btn {
    background: var(--bs-white);
    color: var(--bs-primary) !important;
}

.services .services-item:hover .services-content a.btn:hover {
    color: var(--bs-white) !important;
}

.services .services-item .services-img {
    overflow: hidden;
}

.services .services-item .services-img img {
    transition: 0.5s;
}

.services .services-item .services-img img:hover {
    transform: scale(1.3);
}
.service-text{
    place-content: center;
}
.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.service-image img {
    border-radius: 30px;
    transition: opacity 0.3s;
}

.service-image:hover img {
    opacity: 0.5; /* Reduces image visibility when hovered */
}

/* Purple overlay layer */
.service-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 0, 128, 0); /* Initial transparent purple color */
    border-radius: 30px;
    transition: background-color 0.3s;
    z-index: 1; /* Ensures it sits above the image */
}

.service-image:hover::before {
    background-color: rgba(7, 85, 211, 0.5); /* Purple color with 50% opacity */
}
.service-text{
    border-radius: 20px;
}
/*** Services End ***/
/*** Events Start ***/
.gallery .tab-class .nav-item {
    padding: 0 0 20px 0;
}
.gallery .tab-class .nav-item a.active {
    background: var(--primary) !important;
}

.gallery .tab-class .nav-item a.active span {
    color: var(--light) !important;
}

.gallery .gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .gallery-img img {
    transition: 0.5s;
}

.gallery .gallery-img:hover img {
    transform: scale(1.3);
}

.gallery .gallery-img .gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.gallery .gallery-img .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 2;

}

.gallery .gallery-img:hover .gallery-overlay,
.gallery .gallery-img:hover .search-icon {
    opacity: 1;
}
.tab-container {
    overflow-x: auto;
    white-space: nowrap;
}
.nav-pills{
    margin-bottom: 30px;
}
@media (max-width: 576px) {
    .nav-pills {
        flex-wrap: nowrap;
    }
    .nav-item {
        flex: 0 0 auto;
    }
    .nav-pills{
        margin-bottom: 10px;
    }
}

/*** Events End ***/

/* *******Blog start******* */
.blog-img img{
    height: 280px;
    border-radius: 20px;
}
.blog-item{
    background-color: var(--light);
    border-radius: 20px;
}

/* .blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 50px;
    left: 2px;
    z-index: 5;
} */



.blog .blog-item:hover .blog-img .blog-title span:hover {
    color: var(--bs-dark);
}


.blog .blog-item .blog-img .blogTitle {
    position: absolute;
    bottom: 150px;
   right: 2px;
    z-index: 5;
}

/* .blog-item:hover{
    background-color: var(--primary);
    color: white;
} */
/* copyright section start */

.copyright_section {
    width: 100%;
    /* float: left; */
    background-color: #091E3E !important;
    height: auto;
   padding-bottom: 20px;
    text-align: center;
    padding-top: 20px;
}

.copyright_text {
    width: 100%;
    color: #f8f8f8;
    text-align: center;
    font-size: 16px;
    margin: 20px 0px;
}

.copyright_text a {
    color: #f8f8f8;
}

.copyright_text a:hover {
    color: #f9b116;
}
footer .footer-mobileView {
    display: none; /* Hide mobile view content by default */
  }

  /* Mobile view styles */
  @media (max-width: 768px) {
    .copyright_section {
       padding-bottom: 70px;
    }
    .mobile-reverse {
		flex-direction: column-reverse;
	}

    footer .footer-mobileView {
      display: block; /* Show mobile footer */
    }

   /* Sticky footer for mobile view */
   footer .footer-mobileView {
    display: flex; /* Show mobile footer as flexbox */
    align-items: center;
    justify-content: space-around; /* Distribute space evenly */
    width: 100%;
    position: fixed; /* Make it fixed */
    bottom: 0; /* Stick to the bottom of the screen */
    left: 0;
    background-color:var(--dark); /* Adjust background color */
    z-index: 1001; /* Ensure it stays on top of other content */
    text-align: center; /* Center text */
    height: 60px; /* Set a fixed height */
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white; /* Ensure text color is visible */

  }

  .footer-content img {
    height: 23px;
    width: 25px;
    margin-bottom: 5px;
  }

  .footer-content a {
    text-decoration: none;
    font-size: 14px;
    color: white;
  }

  /* Larger Home icon and text */
  /* .footer-mobileView .footer-content:nth-child(3) img {
    height: 60px;
    width: 50px;
    border: 1px double white;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px white;
  } */

  /* .footer-mobileView .footer-content:nth-child(3) a {
    font-size: 26px;
  } */
   /* Specific for the Home icon */
   .nav-menu-home {
          align-self: center;
          align-items: center;
          justify-content: center;
          place-items: center;
          position: absolute;
          top: -39px;
          left:50%;
          transform: translateX(-50%);
          z-index: 1002;

  }

  .nav-menu-home i {
    height: 60px; /* Larger icon */
    width: 60px;
    border: 4px double white;
    /* padding: 5px; */
    border-radius: 50%;
    /* box-shadow: 0 0 0 4px white; */
    background-color: var(--theme-primary);
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-self: center;
    padding: 20%;

  }

  .nav-menu-home a {
    font-size: 26px; /* Larger text */
  }

    /* Dropdown Menu */
    .footer-content .dropdown-content {
      display: none; /* Hidden by default */
      position: absolute;
      bottom: 100%; /* Align dropdown above the Gallery item */
      left: 50%;
      transform: translateX(-50%);
      background-color: #f9f9f9;
      min-width: 160px;
      box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
      z-index: 1;
      text-align: center;
    }

    .footer-content .dropdown-content a {
      color: black;
      padding: 10px 16px;
      text-decoration: none;
      display: block;
    }

    .footer-content .dropdown-content a:hover {
      background-color: #f1f1f1;
    }

   .circle{
     border: 2px solid white;
     padding: 10px;
     border-radius: 100%;
     background-color: white;
     color: rgb(234, 134, 134);
   }

   .footer-mobileView .footer-content.active i {
    /* padding: 10px;
    background-color: white; */
    font-size: 22px;
    color: white;
    border-radius: 100%;
    /* opacity: 0.5; */
    }
    .footer-mobileView .footer-content.active a{
      font-weight: bold;
      /* color: #790b0b; */
      font-size: 18px;
    }

  }


.modal-body .first-class {
    width: 45%;
    background: var(--primary);
    -webkit-clip-path: polygon(98% 17%, 100% 34%, 98% 51%, 100% 68%, 98% 84%, 100% 100%, 0 100%, 0 0, 100% 0);
    clip-path: polygon(98% 17%, 100% 34%, 98% 51%, 100% 68%, 98% 84%, 100% 100%, 0 100%, 0 0, 100% 0);
}

.modal-body .row .first-class{
    background-color: var(--primary);
    justify-content: center;
    align-items: center;
}
.appointment-text{
    align-items: center;
    margin-top: 25%;
}
.modal-body .appointment-form{
    background: white;
}
@media (max-width:786px){
    .modal-body .first-class{
        width: 100%;
        margin: 0;
        padding: 30px;
        -webkit-clip-path: none;
        clip-path: none;
    }
    .appointment-text{
        align-items: center;
        margin-top: 15%;
    }
}
  /* ------------------------updates------------------- */
  /* up */
  .carousel-fade .carousel-item{
    height: 650px;
    object-fit: fill;
  }

  .carousel-fade .carousel-item img{
    height: 100%;
    width: 100%;
  }

  @media(max-width:798px){

    .carousel-fade .carousel-item{

        height: 200px;
       
    }

    .carousel-fade .carousel-item img{
        height: 100%;
        width: 100%;
      }

    .brief-con{
      font-size: 13px;
        font-weight: bold;
    }
    .section-title h4{
        font-size: 18px;
    }

    .blog .blog-item .blog-img .blogTitle {
        position: absolute;
        bottom: 170px;
       right: 2px;
        z-index: 5;
    }
  }

/*
.owl-dots {
    text-align: center;
    padding-top: 20px;
}
.owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
}
.owl-dot.active {
    background: var(--bs-primary);
}
.owl-carousel .owl-dots {
    display: block;
    position: relative;
    z-index: 2;
}

 */
/*

.blog-carousel {
    position: relative;
}


.blog-carousel .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}


.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 50%;
    font-size: 22px;
    transition: 0.3s;
    opacity: 0.8;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    opacity: 1;
}


.blog-carousel .owl-nav .owl-prev {
    position: absolute;
    left: -30px;
}

.blog-carousel .owl-nav .owl-next {
    position: absolute;
    right: -30px;
}


@media (max-width: 768px) {
    .blog-carousel .owl-nav .owl-prev {
        left: 30px;
    }

    .blog-carousel .owl-nav .owl-next {
        right: 30px;
    }

    .blog-carousel .owl-nav .owl-prev,
    .blog-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
} */

/* ✅ Ensure blog carousel is positioned relative */
.blog-carousel {
    position: relative;
}

/* ✅ Position arrows in the middle of the card */
.blog-carousel .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

/* ✅ Styling for the navigation arrows (Yellow, No Background) */
.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
    font-size: 32px; /* Increase size for better visibility */
    color: #091E3E; /* ✅ Set arrow color to yellow */
    transition: 0.3s;
}

/* ✅ Hover effect */
.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    color: #FFD700; /* Brighter yellow on hover */
}

/* ✅ Adjust positioning for the arrows */
.blog-carousel .owl-nav .owl-prev {
    position: absolute;
    left: -30px; /* Adjust as needed */
}

.blog-carousel .owl-nav .owl-next {
    position: absolute;
    right: -30px; /* Adjust as needed */
}

/* ✅ Adjustments for smaller screens */
@media (max-width: 768px) {
    .blog-carousel .owl-nav .owl-prev {
        left: 30px;
    }

    .blog-carousel .owl-nav .owl-next {
        right: 30px;
    }

    .blog-carousel .owl-nav .owl-prev,
    .blog-carousel .owl-nav .owl-next {
        font-size: 28px; /* Slightly smaller for mobile */
    }
}



/* .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the container without stretching 
}
 










/*   intervention image */

/* Ensure the parent container is a flex container */
.course-item {
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    align-items: stretch; /* Stretch child elements to match the container's width */
    width: 100%; /* Ensure the container takes up the full available width */
  }
  
  /* Style the image container */
  .img-conts {
    width: 100%; /* Ensure the image container fills the parent width */
    height: 200px; /* Set the desired height */
    overflow: hidden; /* Hide any overflowed content */
    position: relative;
    background-color: green; /* Optional: Set a background color */
    background-size: cover;
  }
  
  /* Style the images to cover the container without distortion */
  .product-imgs {
    width: 100%;
    height: 100%;
    /* Ensures the image covers the container area */
    object-position: center; /* Centers the image within the container */
  }

/*   intervention image */




.gallery-item {
    width: 100%; /* Ensures full width */
    height: 300px; /* Fixed height as per your image display */
    overflow: hidden; /* Prevents overflow */
    display: flex; /* Enables flexbox for centering */
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 100%; /* Ensures image covers width */
    height: 100%; /* Ensures image covers height */
    /* Ensures the image fills the container while maintaining aspect ratio */
    border-radius: 10px; /* Optional: Adds rounded corners */
}



/* carousel arrows */

.fa-angle-right {
    color:rgb(0, 0, 0);
    font-size:30px;
}

.fa-angle-left {
    color:rgb(0, 0, 0);
    font-size:30px;
}

@media(min-width:789px){
    .fa-angle-right {
        display: block;
        color:rgb(0, 0, 0);
        font-size:35px;
    }
    
    .fa-angle-left {
        display: block;
        color:rgb(0, 0, 0);
        font-size:35px;
    }
}

/* carousel arrows */


.about-img {
    height:400px;
    object-fit: fill;
}

.blog .blog-item .blog-img .blogTitle {
    position: absolute;
    bottom: 101px;
    right: 2px;
    z-index: 5;
}
.navbar-light .navbar-brand{
    color: rgba(0, 0, 0, 0.9);
    height: 105px;
    display: flex;
    object-fit: fill;
}
.navbar-brand img{
    height: 100%;
    /* width: 100%; */
}
.foot-logo{
    height: 150px;
    display: flex;
    object-fit: fill;
}
.foot-logo img{
    height: 100%;
    width: 200px;
}
@media (min-width:798px){
    .clinic-pix{
        margin-top: 100px !important;;
    }
 
    
}

@media (max-width:768px) {
    .navbar-light .navbar-brand{
        color: rgba(0, 0, 0, 0.9);
        height: 85px !important;
        display: flex;
        object-fit: fill;
    }
    .navbar-brand img{
        height: 100%;
        /* width: 100%; */
    }
    .main-logo{
        /* height: 100px !important; */
        width: 75px !important;
        object-fit: fill;
        margin-bottom: 10px;
    }


}


.services-content {
    text-align: end;


}
@media (max-width:768px) {
    .services-content {
        text-align: center;
    
    }
}




@media (max-width:798px){
  .blog .blog-item .blog-img .blogTitle {
        position: absolute;
        bottom: 125px;
        right: 2px;
        z-index: 5;
    }
}



