@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

:root{
    --main-color: #008000;
    --black: #222;
    --white: #fff;
    --light-black: #777;
    --light-white: #fff9;
    --dark-bg: rgba(0,0,0.7);
    --light-bg: #eee;
    --light-be: #666;
    --border: .1rem solid var(--black);
    --box-shadow:0 .5rem 1rem  rgba(0,0,0,.1);
    --text-shadow:0 1.5rem 3rem  rgba(0,0,0,.3);


}

*{
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;

}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width: 1rem;
}

html::-webkit-scrollbar-track{
    background-color: var(--white);
}

html::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}
section{
    padding: 5rem 10%;
}

@keyframes fadeIn{
    0%{
        transform: scale(0);
        opacity: 0;
    }
}



.heading-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 6rem;
    text-transform: uppercase;
    color: var(--black);
}

.home{
    padding: 0;
    
}

.home .slide{
    text-align: center;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size:cover !important;
    background-position: center !important;
    min-height: 67rem;


    
}
.home .slide .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); 
 } 
.home .slide .content{
    width: 85rem;
    display: none;
}

.home .swiper-slide-active .content{
    display: inline-block;

}

.home .slide .content span{
display: block;
font-size: 2.2rem;
color: var(--light-white);
padding-bottom: 1rem ;
animation:fadeIn .3s linear backwards .2s;
position: relative;
display: inline-block;

}

.home .slide .content h3{
    font-size: 6vw;
    color: var(--white);
    text-transform: capitalize;
    line-height: 1;
    text-shadow: var(--text-shadow);
    padding: 1rem 0;
    animation:fadeIn .3s linear backwards .4s;
    position: relative;
    display: inline-block;

}



.home .swiper-button-next,
.home .swiper-button-prev{
    top: inherit;
    left: inherit;
    bottom: 0;
    right: 0;
    height: 7rem;
    width: 7rem;

    color: var(--black);

}

.home .swiper-button-next:hover,
.home .swiper-button-prev:hover{
    background: var(--main-color);
    color: var(--white);
}

.home .swiper-button-next::after,
.home .swiper-button-prev::after{
    font-size: 2rem;
}

.home .swiper-button-prev{
    right: 7rem;
}


.home-about{
    display: flex;
    align-items: center;
    flex-wrap: wrap;


}

.home-about .images{
flex: 1 1 41rem;

}

.home-about .images img{
    width: 100%;
}

.home-about .content{
    flex:1 1 41rem;
    padding:3rem;


}

.home-about .content        h1 {
    font-size: 3rem;
    color:var(--black);
    margin-bottom: 20px;
    position: relative;
}
.home-about .content h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--black);
    margin-top: 10px;
}
.home-about .content .company-name {
    font-size: 2.5rem;
    color:var(--black);
    margin-bottom: 20px;
}

.home-about .content  .about-text {
    font-size: 1.5rem;
    color:var(--light-be);
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-button {
    font-size: 1.5rem;
    color: #fff;
    background-color: var(--main-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.about-button:hover {
    background-color: var(--black);
}
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        height: 200px;
    }

    .about-content {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 0.9rem;
    }
}
.how-we-work {

    position: sticky;
    text-align: center;
    
}
.how-we-work h1{  
    font-size: 3rem;
    color:var(--black);
    margin-bottom: 20px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;

}

.how-we-work h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--black);
    margin-top: 10px;
    position: absolute;
    left: 0;
    bottom: -10px; /* Position the block below the text */

}

.how-we-work    .work-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
}
.how-we-work .work-box{
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 350px;
    text-align: center;
    position: relative;
    overflow: hidden;



}

.work-number {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 5rem;
    font-weight: bold;
    color: rgba(0, 123, 255, 0.1);
    z-index: 1;
}

.work-icon {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.work-title{
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.work-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}






.services {

    position: sticky;
    text-align: center;
    
}
.services h1{  
    font-size: 3rem;
    color:var(--black);
    margin-bottom: 20px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;

}

.services h1::after {
    content: '';
    display: block;
    width: 55px;
    height: 3px;
    background-color: var(--black);
    margin-top: 10px;
    position: absolute;
    left: 0;
    bottom: -10px; /* Position the block below the text */

}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
}

.service-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.service-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.more {
    font-size: 1rem;
    color: var(--main-color);
    cursor: pointer;
    text-decoration: underline;
}

.more:hover {
    color: var(--main-color);
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .service-box {
        width: 100%;
        max-width: 400px;
    }
    .work-box {
        width: 100%;
        max-width: 400px;
    }
}

.home-contact {
    padding: 0;

    
}
.home-contact .container {
    padding: 20px;
    min-height: 50rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-size: cover !important;
    background-position: right !important;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: flex-end;

    
}
.home-contact .content{
    
    text-align: center; /* Aligns text to the right within the container */
    padding: 40px;
   
    margin-right: 15px; /* Adds space from the right edge */
    border-radius: 10px;
    max-width: 550px; /* Limits the width of the text container */

 
}
.home-contact .container  h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);

}

.home-contact .container h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 30px;
}
.home-contact .container .tagline2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 25px;
}


.home-contact .container .cta {
    font-size: 1.5rem;
    color: #fff;
    background-color: var(--main-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cta:hover {
    background-color: var(--main-color);
}

.footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta {
        font-size: 1rem;
    }
}


@media (max-width: 991px){

    html{
        font-size: 55%;
    }
    section{
        padding: 3rem 2rem;
        
    }
    .home .slide .content h3{
        font-size: 10vw;
    }
}


@media (max-width: 450px){

    html{
        font-size: 50%;
    }
    .heading-title{
        font-size: 3.5rem;
    }
}
