@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/*General styles*/
/* h1 {
    
    font-weight: lighter;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 3rem !important;
    text-transform: uppercase;
    padding-left: 5rem;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
} */

section header h2 {
    font-family: "DM Sans", sans-serif;
}

h2,
.nav-item {
    font-weight: 700 !important;
    font-family: "DM Sans", sans-serif;
}

p,
.nav-item,
.btn,
form {
    font-size: 15px;
    font-family: "DM Sans", sans-serif;
}

body {
    overflow-x: hidden !important;
}

.bebas-neue-regular {
    font-weight: 400;
    font-style: normal;
}

.bg-light {
    background-color: white !important;
}

.bg-custom {
    background-color: whitesmoke;
    color: #02961F !important;
}

@media(max-width:800px) {
    h1 {
        font-size: 30px !important;
    }
}

section {
    padding: 4rem 0;
}

section h2:hover {
    color: #02961F;
    cursor: pointer;
}

@media(max-width:800px) {
    section {
        padding: 2rem 0;
    }
}

body section .section-head:hover {
    color: #000 !important;
    cursor: pointer;
}

body {
    overflow-x: hidden !important;
}

.btn-success,
.bg-success {
    background-color: #02961F !important;
}

.text-success {
    color: #02961F !important;
}

/*End General styles*/
/*navbar*/
.navbar {
    z-index: 1000 !important;
    /* Set a higher z-index for the navbar */
    padding: 1rem;
}

.navbar .nav-item .btn {
    border: #02961F solid 2px;
}

.navbar .nav-item .btn:hover {
    background-color: #fff !important;
    border: #02961F 2px solid;
}

.header_wrapper .navbar-brand i {
    border: none;
}

.header_wrapper .navbar-toggler:focus {
    box-shadow: none !important;
}

.header_wrapper .nav-item {
    margin: 0 0.625rem;
}

.header_wrapper .nav-item .nav-link {
    font-size: 0.9379rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-black);
    display: inline-block;
}

.header_wrapper .nav-item .active {
    color: #02961F !important;
}

.header_wrapper .nav-item .nav-link:hover {
    color: #02961F !important;
}

/*End navbar*/
/*hero*/
.hero-wrapper {
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
  }
  
  .hero-slider .slider > div {
    height: 100vh;
    width: 100vw;
  }
  
  .hero-slider .slider > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  
  .hero-slider .slider img {
    object-fit: cover;
  }
  
  .overlay-text {
    z-index: 10;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0.5rem;
    position: absolute;
    color:white;
    text-align: center;
    top:50%;
    left:50%;
    transform: translate(-50%, 0%) !important;
  }
  /* text-center text-white position-absolute top-50 start-50 translate-middle */
  @media screen and (max-width:768px) {
    .overlay-text{
        width:100%;
        height: 100%;
        justify-content: center;
        display: flex;
        flex-flow: column;
        border-radius: 0rem;
    }
    .hero-slider .slider > div img {
        height:auto;width:100vw;
    }
    .hero-slider {
        width: 100%;
        height: initial;
        position: relative;
    }
    
    .hero-slider .slider > div {
        height: initial;
        width: 100vw;
    }
    .overlay-text{
        top:0px !important;
        bottom:0px !important;
        transform: none;
        height: inherit;
    }
    .display-6{
        font-size: 2rem !important;
    }
    .lead{
        font-size: 1.25rem !important;
    }
  }
  @media screen and (max-width:576px) {
    .display-6{
        font-size: 1.25rem !important;
    }
    .lead{
        font-size: 1rem !important;
    }
  }
  
/*End hero*/
/*services*/
.services .big-card {
    border-radius: 2px;
    height: auto !important;
    border: none;
    margin-bottom: 15px;
}

.services .service-img {
    overflow: hidden;
    width: 50% 50%;
    height: auto;
}

.services .card {
    padding: 2px;
}

.services .card .card-title {
    font-size: 22px !important;
}

.services .card .card-body i:hover {
    color: #02961F;
    background-color: #fff;
}

.services .card .card-body i {
    font-size: 28px !important;
    text-align: center !important;
    border: #02961F solid 2px;
    padding: 1rem;
    border-radius: 50%;
    background-color: #02961F;
    color: white;
    margin: 1rem;
}

/*our work*/
.our-work-wrapper .card a {
    text-decoration: none;
    color: brown;
    font-size: 15px;
}

.our-work-wrapper .single-logo-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    -webkit-transition: all .4s ease 0s;
    transition: all .4s ease 0s;
}

.our-work-wrapper .single-logo-item:hover {
    border: 0.0625rem solid transparent;
    box-shadow: 0 0.5rem 1.875rem #02961F;
}

.our-work-wrapper .card {
    transition: 2ms;
}

.our-work-wrapper .card:hover {
    color: #02961F;
}

.our-work-wrapper .card p {
    font-size: 20px;
}

.our-work-wrapper .card:hover {
    cursor: pointer;
}

/*End our work*/
/*team*/
.team-wrapper .card {
    transition: 2ms;
}

.team-wrapper .card:hover {
    color: #02961F;
    cursor: pointer;
}

/*End team*/
/*form*/
input,
textarea {
    border: #02961F 1px solid !important;
}

.contact .section-title {
    text-align: center;
    margin: 25px;
}

.contact .contact-form {
    background-color: white;
    box-shadow: rgba(0, 0, 0, .2) 0px 5px 15px;
    padding: 40px;
}

.contact .contact-form .btn {
    background: #02961F;
    padding: 10px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.contact .map-area {
    width: 600px;
    height: 500px;
    background: #fff;
    box-shadow: rgba(0, 0, 0, .2) 0px 5px 15px;
}

.contact .map-area iframe {
    height: 100%;
    width: 100%;
    border: none;
}

@media(max-width:700px) {
    .contact .contact-form {
        margin-bottom: 30px;
    }

    .contact .map-area {
        width: 100%;
        height: 400px;
    }
}

@media(min-width:700px) {
    .contact .contact-form {
        margin-bottom: 30px;
    }

    .contact .map-area {
        width: 100%;
        height: 500px;
    }
}

/****End form****/
/*footer*/
.social-icon {
    display: flex;
    justify-content: center;
    background-color: #02961F;
}

.social-icon a {
    background-color: white;
    text-decoration: none;
    padding: 10px;
    margin: 10px;
    border-radius: 50%;
}

.social-icon a i {
    font-size: 1.2em;
    color: #02961F;
    opacity: 0.9;
}

.social-icon a:hover {
    background-color: #000;
    transition: 0.5s;
}

.social-icon a i:hover {
    color: white;
    transition: 0.5s;
}

.footernav {
    margin: 30px, 0;
}

.footernav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.footernav ul li a {
    color: white;
    text-decoration: none !important;
    font-size: 1rem;
    opacity: 0.8;
    transition: 0.5s;
    margin: 10px, 0;
}

.footerbottem {
    display: flex;
    justify-content: center;
}

.footerbottem:hover {
    cursor: pointer;
}

.h1-responsive:hover {
    cursor: pointer !important;
}

/*End footer*/
/*side nav*/
@media(min-width:1000px) {
    .sidenav {
        display: none;
        text-transform: uppercase !important;
    }

    .sidenav .nav-link {
        font-size: 20px !important;
    }

    .span {
        display: none;
    }
}

@media(max-width:1000px) {
    nav {
        display: none !important;
    }

    .sidenav {
        height: 100%;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #02961F !important;
        color: white !important;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
    }

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 15px;
        color: white;
        display: block;
        transition: 0.3s;
        font-family: "oswald";
    }

    .sidenav a:hover {
        color: #000;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    @media screen and (max-height: 450px) {
        .sidenav {
            padding-top: 15px;
        }

        .sidenav a {
            font-size: 18px;
        }
    }
}

.why-choose-cards .slick-track{
    display: flex;
    justify-content: stretch;
    overflow: visible;
    padding: auto 20px;
}

@media screen and (min-width:769px) {
    .why-choose-cards .slick-track .slick-slide{
        opacity: 0.4;
        transform: scale(0.85);
        transition: transform 0.5s ease, opacity 0.5s ease;   
        pointer-events: none; 
    }
    
    .why-choose-cards .slick-track .slick-slide.slick-center{
        opacity: 1;
        transform: scale(1);
        pointer-events: all;
        color:#02961F;
    }
}

@media screen and (max-width:768px) {
    .why-choose-cards .slick-track .slick-slide{
        margin-left:5px;
        margin-right:5px;
    }
}

#masonry-grid {
    transition: opacity 0.3s ease;
    min-height: 200px; /* prevent collapse during filter change */
    position: relative;
}


.masonry-item {
    width: 33.333%;
    padding: 0.5rem;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .masonry-item {
        width: 50%;
    }
}

.masonry-item {
    transition: all 0.3s ease;
  }

.masonry-item.hidden {
    display: none !important;
}

.logo{
    max-width: 50px;
}