/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--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 {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

/* .carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
} */

@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;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(..img/corousal_about2.jpg) center center no-repeat;
    background-size: cover;
    
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

/* cursor */

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 50%;
    position: fixed; /* Changed to fixed to track across the whole page */
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}
@media (max-width: 768px) {
    .cursor {
        display: none;
    }
}

/* .page-header {
    background-image: url('path/to/your/image.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
} */






















.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    padding-left: 5rem;
    /* justify-content: center; */
}
@media(max-width:768px){
    .testimonial-carousel .owl-nav{
        padding: 0rem;
        justify-content: center;
    }
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

.logo-img {
    width: 150px; /* Adjust this value as needed */
    height: auto; /* Keeps the aspect ratio */
    transform: translateY(-30px);
}
.team-item-1{
    /* background-color: #072A19; */
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    color: white;
    border-radius: 2px 4px 2px;
    text-align: center;
}
.box-1{
    background-color: rgba(0, 128, 0, 0.499);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);

}
.box-2{
    background-color: rgba(0, 0, 255, 0.218);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);

}
.box-3{
    background-color:  #ffc107;;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    

}
.card-2{
    transform: scale(1.05); /* Adjust scale as needed */
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.15); 
}
.testimonial-item{
    height: 300px;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.testimonial-item img {
    width: 250px; /* Ensures the image is responsive */
    height:250px;
    margin-top: 50px;
    padding: 10px;
    
}




.card{ transition: all .2s ease-in-out;
    border: none;
    font-size: 2.1em;

}
.card:hover{
    transform: scale(1.1);
    /* border: none; */
}


.quick_whtsp{
    font-size: 20px;
      width: 50px;
      height: 50px;
      display: flex;
      padding: 10px;
      align-items: center;
      justify-content: center;
      color: white;
      border: 2px solid;
      border-radius: 5px;
      position: fixed;
      right: 10px;
      bottom: 25%;
      z-index: 999;
      background: linear-gradient(15deg, #15774a, #26a76b);
      transform: translateX(100%);
      opacity: 0;
      transition: 1s;
}

.quick_whtsp {
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid;
    border-radius: 5px;
    position: fixed;
    right: 10px;
    bottom: 25%;
    z-index: 999;
    background: linear-gradient(15deg, #15774a, #26a76b);
    transform: translateX(0); /* Adjusted from 100% to 0 */
    opacity: 1; /* Changed from 0 to 1 to make it visible */
    transition: transform 1s, opacity 1s; /* Specify which properties to transition */
}
.quick_call {
    font-size: 18px;
    width: 50px;
    height: 50px;
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid;
    border-radius: 5px;
    position: fixed;
    right: 10px;
    bottom: 15%;
    z-index: 999;
    background: linear-gradient(15deg, #065767, #1093ad);
    transform: translateX(0); /* Adjusted from 100% to 0 */
    opacity: 1; /* Changed from 0 to 1 to make it visible */
    transition: transform 1s, opacity 1s; /* Specify which properties to transition */
}
/* External CSS file */
.text-green {
    color: #4caf4fda; /* You can adjust the green shade to your preference */
}

.text-white {
    color: #FFFFFF; /* White color */
}
/* Ensure the image covers the column */
.img-fluid {
    width: 100%; /* Make the image span the full width of its container */
    height: auto; /* Maintain the aspect ratio */
}

/* Optional: Additional styling */
.rounded {
    border-radius: 0.5rem; /* Adjust as needed */
}

.btn-primary {
    background-color: #007bff; /* Adjust to match your theme */
    border: none; /* Remove default border */
}

.fs-5 {
    font-size: 1.25rem; /* Adjust as needed */
}

.fw-bold {
    font-weight: 700; /* Bold text */
}

.text-primary {
    color: #007bff; /* Primary color */
}

.display-5 {
    font-size: 2.5rem; /* Adjust as needed */
}
/* Add this to your external CSS file (e.g., styles.css) */
.team-item-2 {
    width: 80%; 
    height: auto; 
    margin: 0 auto; 
    display: block;
    font-size: 0.1em;
    h4{
        font-size: 18px;
        padding-top: 10px;
    }


}


.small-headline {
    font-size: 1.25rem; /* Adjust this value to make the headline smaller */
}


/* styles.css */
.custom-card {
    border-radius: 15px; /* Adjust the border radius as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adjust the shadow as needed */
}

.custom-icon {
    border-radius: 50%; /* Circle icon */
    background-color: #f8f9fa; /* Light background for icon */
    padding: 15px; /* Adjust padding as needed */
}

.custom-icon i {
    font-size: 30px; /* Adjust icon size */
}

.custom-heading {
    font-size: 1.25rem; /* Adjust heading size */
    margin-bottom: 0.5rem;
}

.custom-text {
    color: #6c757d; /* Text color */
}
/* Styles for the card container */
.custom-card {
    border-radius: 10px; /* Rounded corners for the card */
    padding: 20px; /* Padding inside the card */
    margin-bottom: 20px; /* Spacing below each card */
    margin-left: 10px;
}

/* Optional: Customize the card icon container */
.custom-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* Background color for the icon container */
}

/* Adjustments for responsiveness */
@media (max-width: 1000px) {
    .custom-card {
        margin-bottom: 15px; /* Reduced spacing for medium screens */
    }
}

@media (max-width: 2000px) {
    .custom-card {
        margin-bottom: 10px; /* Further reduced spacing for small screens */
    }
}

.container-xxl{
    background-color:white;
}
.img-1 {
    width: 100%; /* Default width to 100% of the parent container */
    max-width: 48rem; /* Limit maximum width */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center the image */
}

/* For larger screens */
@media (min-width: 768px) {
    .img-1 {
        width: 80%; /* Set a smaller width for medium-sized screens */
    }
}

/* For extra large screens */
@media (min-width: 1200px) {
    .img-1 {
        width: 48rem; /* Keep the original size for large screens */
    }
}
.testimonial-carousel{
  
  
  padding: 5px;
  
  /* #3 */
  outline: 5px solid white;
  
  /* #4 AND INFINITY!!! (CSS3 only) */
  box-shadow:
      0 0 0 10px white,
      0 0 0 15px white;
}
.card-text{
    font-size:15px;
}
.card-text-1{
    font-size:1rem;
}
.dropdown-item:hover {
    background-color: rgba(0, 128, 0, 0.499);
    color:white; /* Optional: Change text color on hover */
}


/* For smaller screens, ensure the hover effect remains the same */
@media (max-width: 414px) {
    .dropdown-item:hover {
        background-color: rgba(0, 128, 0, 0.5);
        color: white;
    }
}

.dropdown-item:hover {
    background-color: rgba(0, 128, 0, 0.5) !important;
    color: white !important;
}

.card-box{
    background-color:none;
}
.card-box{ transition: all .2s ease-in-out;
    border: none;
    font-size: 2.1em;

}
/* .card-box:hover{
    transform: scale(1.1);
   
} */

.waste-collection-img{
    height:440px;
    width:650px;
}
#construction-11{
    height: 270px;;
}
#medical-waste-1{
    height: 270px;
}
#chemical-waste-1{
    height: 270px;
}
#compost{
    height: 270px;
}
#cardd-1-imgg{
    margin-top:10px;
}
.d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
/* --------- get a quote ---------- */

.collapse .d-lg{
    display: flex !important;
    justify-content: center;
    align-items: center;
}
@media (max-width:768px){
    .collapse .d-lg{
        display: none !important;
    }
}


/* Custom CSS for Modal */
.modal-dialog {
    max-width: 600px; /* Adjust the width of the modal */
    margin: 30px auto; /* Ensure proper margin */
}

.modal-content {
    background-color: #fff; /* White background */
    border-radius: 10px; /* Optional rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Adds subtle shadow */
    opacity: 1 !important; /* Ensure full opacity */
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5); /* Dim the backdrop */
}

.modal-body {
    padding: 20px; /* Padding for content */
}

.modal-header {
    border-bottom: none; /* Remove border under header */
}

.modal-header h5 {
    font-weight: bold; /* Bolder heading */
}

.modal-header .btn-close {
    outline: none; /* Remove outline on close button */
}

.modal-footer {
    border-top: none; /* Remove border above footer */
}
.card-body-1{
    color:white;
    background-color:  #0F4229;;
    font-size: large;
    height:450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    /* text-align: center; */
    /* margin-right:30px; */
}
@media (max-width: 768px) {
    .card-body-1 {
        padding: 15px; 
    }
}




