/********** Template CSS **********/
:root {
  --primary: #06a3da;
  --secondary: #f57e57;
  --light: #f6f8fa50;
  --dark: #091e3e;
}

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;
}


.layer-test {
    background-color: rgba(246, 248, 250, 0.15);
}

.bg-card {
    background-color: #1B75B4CC !important;
    width: 60% !important;
    top: 106%;
}

/*=============social-bar====================*/

 .header {
    background-color: #1B75B4CC !important ;
}




#headerNav {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    #headerNav.hidden {
        opacity: 0;
        visibility: hidden;
    }

.navbar-collapse-minimized {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    transition: padding 0.3s ease;
}

@media (max-width: 991.98px) { /* Mobile and tablets (Bootstrap lg breakpoint) */
    #navbarCollapse {
        margin-top: 60px;
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Apply shake on hover */
.fab:hover {
    animation: shake 0.4s ease-in-out;
}

.fab:active {
    animation: shake 0.5s !;
}

/*========price-cards=============*/
.price-cards {
    height: 300px;
}






/*-------------service-slick----------------*/



.mainService {
    text-align: center;
}

/* Ensure the slider items take full height equally */
.services-slick .sItem {
  padding: 15px;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 300px; /* Adjust width as needed */
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  padding-bottom: 20px;
}
 @media (max-width:767px) {
.services-slick .sItem {
      height: 500px;
    }
 }
.sItem > div:last-child {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
} 

.services-slick .sCard {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px;
    min-height: 400px; /* Fixed min height for uniformity */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Image container with fixed height */
.sImage {
    height: 180px;
    overflow: hidden;
    margin-bottom: 10px;
}

    .sImage img {
        object-fit: cover;
        height: 100%;
        width: 100%;
        border-radius: 4px;
    }

    .sItem h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.sItem p {
  font-size: 1rem;
  flex-grow: 1;
}

/* Text content styles */
.sContent h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sContent p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
    margin: 0;
}

/*======================Blog===========================*/

.Blog-slick .BItem {
    height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 300px; /* Adjust width as needed */
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    padding-bottom: 20px;
    margin: 5px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width:767px) {
    .Blog-slick .BItem {
        height: 610px;
    }
}


.BItem img {
    height: 270px;
    object-fit: cover !important;
    width: 100% !important;
    overflow-clip-margin: content-box;
    overflow: clip;
    transition: all 0.5s;
}

.BItem p, .BItem a {
    font-size: 13px;
    padding:0px 10px;
}



.BItem h6 {
    height: 9% !important;
    padding: 0px 10px;
}

.Blog-slick .BItem a {
    cursor: pointer;
}


.Blog-slick .slick-prev:before, .Blog-slick .slick-next:before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #1B75B4;
    background-color: white;
    width: 20px;
    height: 20px;
    font-size: 22px;
    border-radius: 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.Blog-slick .slick-prev:before {
    left: 5px;
}

.Blog-slick .slick-next:before {
    right: 5px;
}

.BItem:hover.BItem img {
    transform: scale(1.1);
}
/*    ==============Pricing===============*/
.pricing-slick {
    margin: auto;
    width: 80%;
    height: 500px;
    background-color: darkgoldenrod;
    align-content: center;
}


    .pricing-slick .item {
        background-color: mediumvioletred !important;
        height: 100%;
        margin: 30px ;
        padding:10px;
    }

    .pricing-slick  .item img {
        width: 100%;
        height: 100% !important;
    }


.team-slick {
    margin: auto;
    padding:20px;
    width: 80%;
    height: 500px;
    align-content: center;
    position:relative;
}


    .team-slick .item {
        height: 100%;
        margin: 10px !important;
        border-radius: 10px;
        box-shadow:0 6px 20px rgba(0,0,0,0.15);
        
    }

        .team-slick .item img {
            width: 100%;
            height: 50%;
        }


        .team-slick .item .position-relative img {
            height: 280px;
            object-fit: cover;
            overflow-clip-margin: content-box;
            overflow: clip;
        }

/*        ===============price-item==============*/

.price-slick {
    height:500px;
}


.price-item .position-relative img {
    height: 250px;
    object-fit: cover;
    width: 100% !important;
    overflow-clip-margin: content-box;
    overflow: clip;
}

/*  =============services===============*/
  .services-slick .slick-prev:before, .services-slick .slick-next:before {
        position: absolute;
        top: 50%;
        z-index: 2;
         background-color: white;
        color: #1B75B4;
        width: 25px;
        height: 25px;
        font-size: 30px; /* arrow icon size */
        border-radius: 50%;

    }

        .services-slick .slick-prev:before {
        left: 5px;
    }

    .services-slick .slick-next:before {
        right: 5px;
    }
.sItem {
    overflow: hidden !important;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    padding: 20px;
    height: 400px;
}
    .sItem img {
        height: 250px;
        object-fit: cover;
        width: 100% !important;
        overflow-clip-margin: content-box;
        overflow: clip;
        border-radius: 10px;
        cursor: pointer;
    }

        .sItem:hover {
            transform: scale(1.1);
        }


    .sItem .text-center {
        display: -webkit-box;
        -webkit-line-clamp: 3; /* number of lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }



        .Testimonial-slick {
            margin: auto;
            width: 80%;
            height: 500px;
            align-content: center;
            background-color: #1B75B478;
            padding: 20px;
        }

.Testimonial-slick .item {
    max-width: 90%; /* Limits width inside parent */
    margin: 0 auto;
    padding: 1rem;
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word;
    white-space: normal; /* Allows wrapping */
    text-align: justify; /* Optional: improves readability */
    border-radius:5px;

}


.pricing{
  font-size: 12px;
  font-weight: bold;
}



.Testimonial-slick {
    position: relative;
}

    /* Style prev/next arrows only for this slider */
    .Testimonial-slick .slick-prev:before, .Testimonial-slick .slick-next:before {
        position: absolute;
        top: 50%;
        z-index: 2;
       color: white;
        background-color: #1B75B4;
        width: 55px;
        height: 55px;
        font-size: 60px; /* arrow icon size */
        border-radius: 50%;

    }

*/
    


.Testimonial-slick h5 {
    font-size: 1rem; /* Reduce font size for better fit */
    line-height: 1.5;
    max-height: 300px; /* Optional: limit height */
    overflow: auto; /* Scroll if it overflows */
    padding: 0.5rem;
}

.Testimonial-slick h6 {
    font-size: 0.9rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .Testimonial-slick h5 {
        font-size: 0.9rem;
    }

    .Testimonial-slick h6 {
        font-size: 0.8rem;
    }
}





    /* Adjust position */
    .Testimonial-slick .slick-prev:before {
        left: 15px;
    }

    .Testimonial-slick .slick-next:before {
        right: 15px;
    }



.team-slick .slick-prev:before, .team-slick .slick-next:before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
     color: #1B75B4;
    background-color: white;
    width: 20px;
    height: 20px;
    font-size: 22px;
    border-radius: 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


    .price-slick .slick-prev:before, .price-slick .slick-next:before {
        position: absolute;
        top: 50%;
        z-index: 1;
       background-color: white;
        color: #1B75B4;
        width: 55px; 
        height: 55px;
        font-size: 60px; /* arrow icon size */
        border-radius: 50%;

    }

    .price-item a {
      top: 87%;
    }

     .price-slick .slick-prev:before {
        left: -15px;
    }

    .price-slick .slick-next:before {
        right: -15px;
    }





.btn {
    font-family: "Jost", sans-serif;
    font-weight: 600;
    transition: 0.5s;
}

.btn-primary,
.btn-secondary {
  color: #ffffff;
}
/*
.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 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;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  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: 18px;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}


.navbar .px-4 {
    padding-right: 1.5rem !important;
    padding-left: 2.7rem !important;
}

.navbar-nav  {
    padding: 5px 0px 0px   !important;
    margin-top:10px;
}

.modal-content {
    z-index: -1 !important;
}


.nav-item {
    margin: 0px 5px !important;
    padding: 20px !important;
    border-radius: 5px;
}

    .nav-item:hover {
        background-color: rgba(93, 173, 226, 0.4) !important;
        color: white !important;
    }



@media (max-width: 768px) {
    .navbar-toggler {
        margin-left: auto; /* Pushes it to the right inside a flex container */
    }

    .navbar-brand {
        flex-grow: .5;
    }

    .navbar-header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}


.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: 15px 0;
  }
}



.carousel-caption {
    z-index: 2;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}





@media (min-width: 576px) {
    .carousel-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .carousel-title {
        font-size: 4rem;
    }
}













.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 h5::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 3px;
  right: -55px;
  bottom: 11px;
  background: var(--primary);
}

.section-title h5::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 3px;
  right: -75px;
  bottom: 11px;
  background: var(--secondary);
}

.twentytwenty-wrapper {
  height: 100%;
}

.hero-header {
  background: url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}


.bg-appointment {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.img-item {
    width: 44px;
    height: 44px;
    cursor: pointer;
}



.appointment-form {
  background: rgba(6, 163, 218, 0.7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
  transition: 0.5s;
}

.service-item:hover img {
  transform: scale(1.15);
}


.team-item11 img{
    width:44px;
    height:44px;
}

.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, 0.7);
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
  opacity: 1;
}

.bg-offer {
    background: url(../img/offer.jpg) center center no-repeat;
    background-size: cover;
}




/*=================team=====================*/
.team-mcardImg {
    position: relative;
    height: 200px;
    width: 200px;
    border-radius: 50%;
}

    .team-mcardImg img {
        object-fit: cover;
        height: 100%;
        width: 100%;
        border-radius: 50%;
        border: 2px solid #06a3da;
    }




    .offer-text {
        background: rgba(6, 163, 218, 0.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: 0.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: 0.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, 0.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: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}

.testimonial-carousel .owl-item img {
  width: 120px;
  height: 120px;
}

/* =============price============= */
/* Uniform card text styling */
.price-item {
    font-size: 16px; /* Set a base font size */
    line-height: 1.5;
    color: #333;
}

    .price-item h6 {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 10px;
    }



@media (max-width:767px) {
    .price-item .whitenP {
        padding-bottom: 20px !important;
    }
}

@media (min-width: 768px) {
    .price-item h6 {
        font-weight: 500;
    }
}

@media (min-width: 1024px) {
    .price-item h6 {
        font-weight: 600;
    }
}




    .price-item p,
    .price-item span {
        font-size: 1rem;
        margin: 0;
    }

.price-item ul.pricing li {
    font-size: 16px;
}

.price-item .btn {
    font-size: 16px;
    padding: 10px 20px;
}

/* Optional: Make all cards the same height if desired */
.price-item {
    min-height: 100%;
    margin: 15px ;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Price tag container */
    .price-item .price-label {
        font-size: 1rem !important;
        font-weight: bold;
        color: #fff;
        border-radius: 8px;
    }


/*Footer*/

/*====================Video style=======================*/

.video-bg {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.carousel-item {
    height: 100vh;
}

.layer-test {
    background: rgba(246, 248, 250, 0.15);
    z-index: 1;
}



.carousel-title {
    font-size: 2rem;
}


/*=================Blogs Pages=====================*/
.BlogBorder {
    width:90%;
    margin:auto
}
#headBlog1 {
    height: !important;
    margin-top: 90px;
    padding: 0px;
}

.headBlog6Img {
    height: 274px !important;
    background: url(../img/Blog1Page.jpg) center center no-repeat;
    background-size: cover;
}

.headBlog3Img {
    height: 274px !important;
    background: url(../img/Blog3.jpg) center center no-repeat;
    background-size: cover;
}

.headBlog4Img {
    height: 274px !important;
    background: url(../img/Blog4Page.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
/*    background-position: center;*/
}

.headBlog1Img {
    height: 274px !important;
    background: url(../img/blog1.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
/*        background-position: center;*/
}

.headBlog2Img {
    height: 274px !important;
    background: url(../img/Gumlightening.jpg) center center no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    /*        background-position: center;*/
}

#headBlog1 h6 {
    background-color: #8BBBDC;
}

.blog6Steps h6, .blog3Steps h6, .blog4Steps h6,
.blog1Steps h6, .blog2Steps h6 {
    color: #1B75B4;
    font-weight: bold !important;
}

.blog6Steps li, .blog3Steps li, .blog4Steps li,
.blog1Steps li, .blog2Steps li {
    color: black;
    padding: 0px;
}

.blog6Contact, .blog3Contact, .blog4Contact,
.blog1Contact, .blog2Contact {
    background-color: #94BEDC !important;
    margin-top: 20px;
}

    .blog3Contact img, .blog6Contact img, .blog4Contact img,
    .blog1Contact img, .blog2Contact img {
        cursor: pointer;
    }

    .blog6Contact h6, .blog3Contact h6, .blog4Contact h6,
    .blog1Contact h6, .blog2Contact h6 {
        color: white !important;
    }



html, body {
    overflow-x: hidden;
    width: 100%;
}
