i.fas, i.fab {
    font-size: 1.4rem;
    margin-right: 13px;
    color: #ccfacc;
}

.contact i.fas,
.contact i.fab {
    font-size: 1.7rem;
    color: #d0fdd0;
    margin-right: 1rem;
}
.header-top {
    background-color: #02571d;
    color: #f5f9f6;
}
.nav-link {
    font-weight: bold;
    color: #02a502;
}

.nav-link.active {
    font-weight: bold;
    border-bottom: 2px solid #02a502;
}

.nav-link:hover {
    color: #027802;
}
.carousel-caption h1 {
    font-size: 4rem;
    font-weight: bold;
    /* background: linear-gradient(to right, #fbece9, #e8d8f8,  #f8fbc3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    /* font-family: 'Lobster', cursive; */
    /* font-family: "Tinos", serif;
    font-weight: 700;
    font-style: normal; */
    color: #05d305;
}
.carousel-caption span.h5 {
    font-size: 2.8rem;
    /* font-family: 'Lobster', cursive;
    font-weight: bold; */
    /* font-family: "Tinos", serif;
    font-weight: 700;
    font-style: normal; */
    color: #f9fdf9;
}
.mid_container_cont{
    background-color: #2a866192;
    color: #dafbee;
}
.mid_container_cont h2 {
    font-size: 2.3rem;
    font-weight: bold;
    color: #befce3;
}
.btn {
    background-color: #1f9365;
    font-weight: bold;
    color: #f3f2f2;
}
.btn:hover {
    background-color: #24a974;
}
.image-container {
    background-image: url('../images/bg-img.jpg');
    background-size: cover;
    background-position: center;
}
.image-container h1 {
    color: #015e70;
    font-size: 5rem;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.image-container h2 {
    color: #eff3f4;
    font-size: 2rem;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.mid_container {
    background-image: url('/assets/images/bg-img3.jpg');
    background-size: cover;
    background-position: center;
}

/* counter block start */
.logo_slide_header,  .services_head {
    color: #038003;
}
.counter_header, .footer_title {
    color: #f2fbf2;
}

.counter-block {
    border: 1.5px solid #799b79;
    border-bottom: 3px solid #799b79;
    border-radius: 8px;
    background-color: #fffffff9;
    height: 250px;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.counter-section .counter-display {
    color: #0e6c0e;
    font-weight: 500;
    font-size: 3rem;
}

.counter-section .counter-title {
    font-size: 1rem;
    color: #0b570bfd;
}

.counter-section {
    background: #236123d4;
}
footer {
    border-top: 1px solid #125801;
    background: #016501f0;
    color: #fefefe;
}

/* logo slider */
#owl_carousel_1 {
    background: #f5f6f6e0;
    width: 75%;
}
#owl_carousel_1 img {
    height: 130px;
    width: 180px;
    object-fit: contain;
}

/* sponsers slider */
#owl_carousel_2 {
    width: 90%;
}

#owl_carousel_2 .item{
    width: 250px;
}
#owl_carousel_2 h6 {
    font-weight: bold;
    font-size: 1.1rem;
}
#owl_carousel_2 img {
    height: 200px;
    width: 200px;
    object-fit: contain;
}

 .owl-dots {
    display: none;
}


.slider {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.static-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.background-image.active {
    opacity: 1;
    /* z-index: 2; */
}


/* .background-images {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.background-image {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.background-image.active {
  opacity: 1;
} */


#owl_carousel_1 .item {
    height: 150px; /* Adjust this value to your desired height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

#owl_carousel_1 .item img {
    max-height: 200px; /* Ensures the image fits within the item */
    width: auto; /* Keeps the aspect ratio of the image */

}

.setBGWhite {
    background: white;
}

.LET_footer
{
    line-height: 27px;
}


/* our services card */
.services {
    width: 75%;
}
.service-card {
    border: 1px solid #81f9a7;
    border-bottom: 3px solid #81f9a7d0;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    transition: box-shadow 0.3s;
    margin-bottom: 1rem; /* Space between cards */
    height: 165px;
    box-shadow: 2px 4px 8px rgba(2, 97, 53, 0.1);
}

.service-card:hover {
    box-shadow: 0 10px 15px #989e9a8d;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #03872d;
    text-transform: uppercase;
    font-weight: 500;
}

.card-text {
    font-size: 1rem;
}

/* slider */
.carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.carousel-caption h5 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.carousel-caption p {
    font-size: 1.25rem;
    color: #fff;
}

.carousel-caption .btn {
    font-size: 1rem;
}

.Let_team_width{
    width: 300px;
}

/* Photo card */
.photo_card img{
    height: 230px;
    width: 180px;
    object-fit: cover;
}

/* Mobile View Adjustments */

@media (max-width: 400px) {
    .photo_card img{
        height: 180px;
        width: 140px;
        object-fit: cover;
    }
    .photo_card h6 {
        font-size: 0.8rem;
        font-weight: bold;
    }
    .photo_card p {
        font-size: 0.8rem;
    }

}
@media (max-width: 598px) {
    .carousel-control-next, .carousel-control-prev {
        visibility: hidden;
    }
    .service-card {
        padding :0 ;
    }
    .services .card-title {
        font-size: 1.1rem;
    }
    .counter-block {
        height: 245px;
    }

    .counter-section .counter-display {
        font-size: 2.3rem;
    }

    .counter-section .counter-title {
        font-size: 1rem;
    }

    .carousel-caption h1 {
        font-size: 3.1rem;
    }
    .carousel-caption .h5 {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    #owl_carousel_1, #owl_carousel_2 {
        width: 100%;
    }
    .carousel-item img {
        height: 700px;
    }

    .carousel-caption h5 {
        font-size: 1.3rem;
    }

    .carousel-caption p {
        font-size: 1.5rem;
    }

    .carousel-caption .btn {
        font-size: 0.875rem;
    }
    .copyright {
        text-align: center;
    }
    .LET_footer
    {
        line-height: 40px;
    }
    .h1, h1 {
        font-size: calc(1.375rem + .5vw);
    }
    .owl-item.active {
        justify-content: center;
        display: flex;
    }
    .owl-dots
    {
        display: none;
    }
    .photo_card img{
        height: 200px;
        width: 150px;
    }
}

@media (max-width:1200px){
    .services {
        width: 100%;
    }
    .counter-section .counter-display {
        font-size: 2.5rem;
    }
}

.carousel-item {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the color and opacity as needed */
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

.item.p-3.m-1.card{
    border: 2px solid green;
    border-radius: 5%;
}

img.img-fluid.mx-auto.d-block.Let_team_width{
    background: #487c48;
}
.card-fixed-height {
    height: 300px; /* Adjust the height as needed */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-fixed-height img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.card-fixed-height .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
     /* Desktop view - Fixed height for carousel-item */
 .carousel-item {
     height: 600px; /* Set fixed height for the carousel */
     position: relative;
     background-color: #000; /* Set a default background color to avoid white flashes */
     overflow: hidden; /* Hide overflow */
 }

.carousel-item video,
.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Ensure video or image covers the area */
}
.carousel-control-next,.carousel-control-prev{
    z-index: 10!important;
}
.carousel-item video {
    preload: auto; /* Preload video for faster transitions */
}

/* Mobile view - Fullscreen video */
@media (max-width: 768px) {
    .carousel-item {
        height: 100vh; /* Fullscreen height on mobile */
    }

    .carousel-item video,
    .carousel-item img {
        height: 100vh; /* Ensure video/image takes full viewport height */
        width: 100vw;  /* Fullscreen width */
        object-fit: cover; /* Ensure video/image covers the whole screen */
    }

    /* Optional: You can hide the caption on smaller screens if needed */
    .carousel-caption {
        display: none; /* Hide captions on mobile for better visibility */
    }
}


