/* Hero Section */
.main-banner{
    --initial-width: 200px;
    --mobile-width: 180px;
    width: 100%;
    height: 90vh;
    transition: 0.3s ease-in;
    background: url(../images/home-section/earthWorksBg.jfif);
    background-size: cover;
    background-repeat: no-repeat;
    background-size: cover;
}
main h1{
    color: #0e0e0e;
    font-size: 60px;
    font-style: normal;
    font-weight: 800;
    line-height: 94.5px;
    width: 1291px;
    height: auto;
    text-align: center;
}

.hero-section{
    padding-top: 200px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    transition: 0.3s ease-in;
}

.text-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 40px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.322);
}

.hero-text{
    padding-top: 10px;
    color: #0e0e0e;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    max-width: 900px;
}

.hero-button{
    margin-top: 40px;
    display: flex;
    height: 65px;
    width: 200px;  
}
.hero-button a{
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-image: url(../images/1.home/hero-bg.svg);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

@media(max-width: 1300px){

    .text-content{
        padding-left: 30px;
        padding-right: 30px;
    }

    main h1{
        font-size: 40px;
        font-weight: 800;
        line-height: 80px;
        width: 100%;    
    }
    
}

/* @media(max-width: 1150px){
    .text-content{
        padding-left: 10px;
        padding-right: 10px;
    }
} */

@media(max-width: 1000px){
    .hero-section{
        padding-top: 140px;
    }
    main h1{
        font-size: 30px;
        font-weight: 700;
        line-height: 60px;
        width: 100%;    
    }
    .hero-text{
        font-size: 16px;
    }

    .hero-button{
        height: 60px;
        width: 180px;  
    }
    .hero-button a{
        font-size: 18px;
    }

}

@media(max-width: 600px){
    main h1{
        font-size: 24px;
        font-weight: 700;
        line-height: 40px;
        width: 100%;    
    }
    .hero-text{
        font-size: 12px;
    }
    
    .main-banner{
        height: 90vh;
        
    }
}


/* Our Mission (done)*/
.ab-logo img{
    max-width: 150px;
} 
.our-mission{
    background-color: #999999;
}
.m-text-conatiner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}




/* Services Section */

.services-section{
    /* background-image: url(../images/services-section/services-bg.svg); */
    background-size: contain;
    background-repeat: repeat;
    background-position: bottom;
    transition: 0.3s ease-in;
    
}


.service-wrapper{
    width: 1000px;
    transition: 0.3s ease-in;
}

.services-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.services-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.services-cards{
    transition: 0.3s ease-in;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

/* service card type1 */
.service-card1{
    overflow: visible;
    margin-top: 50px;
    transition: 0.3s ease-in;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 300px;
    width: 100%;
    background: #bbc4d4;
}
.service-card1 img {
    max-width:450px;
    max-height: 330px;
}
.service-card1:hover{
    scale: 1.02;
}

.s-card-content{
    height: 100%;
    display: flex;
    justify-content: center;
}
.card-design{
    position: relative;
    width: 11px;
    height: 71px;
    top: 200px;
    background-color: var(--logo-color);
}
.s-card-text{
    transition: 0.3s ease-in;
    padding-top: 30px;
    padding-left: 60px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 460px;
}


.s-card-link{
    
    transition: 0.3s ease-in;
    padding-top: 50px;
    text-decoration: none;
    color: #272727;
    font-size: 18px;
    font-weight: 500;
}

.s-card-link:hover{
    scale: 1.1;
}


/* Service card type2 */

.service-reverse{
    flex-direction: row-reverse; 
}

.r-background{
    background: #c3d8e7;
}

.card-design2{
    top: 20px;
}

.no-padding{
    padding-left: 0;
}


.s-arrow-svg{
    height: 15px;
    width: 15px;
}


/* service gallery */

.service-container{
    width: 100%;
    transition: 0.3s ease-in;
}

.service-gallery{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in;
    /* background-color: #0e0e0e28; */
    
}

.s-g1{
    display: none;
}
.s-g2{
    display: none;
}
.s-g3{
    display: none;
}

.s-img-container{
    width: 90%;
    margin: 60px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    grid-gap: 30px;
    transition: 0.3s ease-in;
}

.s-img-container img{
    width: 100%;
    cursor: pointer;
    transition: 0.4s;
}

.slider-link{
    cursor: pointer;
}

@media(max-width: 1000px){

    .s-card-link{
        font-size: 16px;
    }
    .service-wrapper{
        width: 800px;
    }

    .service-card1{
        height: 260px;
    }
    .service-card1 img {
        max-width:350px;
        max-height: 300px;
    }

    .card-design{
        top: 50px;
    }

    .s-arrow-svg{
        height: 10px;
        width: 10px;
    }


}

@media(max-width: 810px){

    .s-card-link{
        font-size: 12px;
    }
    .service-wrapper{
        width: 550px;
    }

    .service-card1{
        height: 260px;
    }
    .service-card1 img {
        display: none;
    }

    .s-card-text{
        width: 100%;
        padding-left: 30px;
        padding-right: 10px;
    }

    .card-design{
        top: 50px;
    }
    .s-arrow-svg{
        height: 8px;
        width: 8px;
    }

    .s-img-container{
        grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
        grid-gap: 30px;
        margin: 20px auto 20px;
    }
}

@media(max-width: 600px){

    .services-cards{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    .s-card-link{
        font-size: 12px;
    }
    .service-wrapper{
        width: 300px;
    }

    .service-card1{
        height: 260px;
    }
    .service-card1 img {
        display: none;
    }

    .s-card-text{
        width: 100%;
        padding-left: 30px;
        padding-right: 10px;
    }

    .card-design{
        top: 50px;
    }
    .s-arrow-svg{
        height: 8px;
        width: 8px;
    }
}





/* about section */

/* about section */


/* banner section */
.about-banner{
    width: 100%;
    height: auto;
    transition: 0.3s ease-in;
    background:url(../images/home-section/earthWorksBg.jfif);
    background-size:100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
}

.a-banner-content{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.a-banner-text{
    height: 100%;
    max-width: 525px;
    background-color: rgba(87, 158, 238, 0.842);
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 20px 10px 20px;
}

.a-banner-text-points{
    padding-top: 20px;
}

.a-banner-text-points p{
    padding-top: 20px;
}

@media(max-width: 700px){
    .about-banner{
        height: auto;
    }
    .a-banner-text-points p{
        font-size: 14;
    }  
}

@media(max-width: 500px){
    .a-banner-text-points p{
        font-size: 12;
    }  
}




@media(max-width: 1200px){
    .a-quote-box{
        min-width: none;
        width: 100%; 
    }

    .a-svg1{
        top: 41px;
        left: -434px;
    }
    
    .a-svg2{
        top: -34px;
        left: 411px;
    }
    .a-svg-size{
        width: 90px;
        height: 90px;
    }
}

@media(max-width: 950px){
    .a-quote-box{
        padding: 30px 20px;
        height: 300px;
        width: 100%;
    }

    .a-svg1{
        top: 41px;
        left: -332px;
    }
    
    .a-svg2{
        top: -34px;
        left: 222PX;
    }
}

@media(max-width: 800px){
    .a-svg1{
        top: 41px;
        left: -232px;
    }
}

@media(max-width: 600px){
    .a-quote-box{
        height: 400px;
    }

    .a-svg1{
        top: 41px;
        left: -132px;
    }

    .a-svg2{
        top: -34px;
        left: 100px;
    }
}





/* Team Section */
.ab-text{
    max-width: 1000px;
    padding-top: 10px;
}
.meet-our-team{
    padding-top: 100px;
    margin-bottom: 50px;
}

.bg-team-text{
    /* background: linear-gradient(103deg, #003968 27.69%, rgba(13, 83, 129, 0.57) 88.92%); */
    background-color: #D9D9D9;
    border-radius: 0px 100px;
}
.team{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
}


@media(max-width: 900px){
    .t-content{
        display: flex;
        flex-direction: column;
        padding-top: 30px;
        flex-flow: column-reverse;
        justify-items: center;
        align-items: center;
    }

    .team h2{
        font-size: 28px;
    }
    
}

@media(max-width: 450px){
    .t-text img{
        max-width: 30px;
    }
    
    .t-text p{
        font-size: 12px;
    }

    .t-content-text{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin: 30px;
    }

    .team h2{
        font-size: 24px;
    }
    
}


.p-gallery{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-img-container{
    width: 80%;
    margin: 60px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    grid-gap: 30px;
}

.p-img-container img{
    width: 100%;
    cursor: pointer;
    transition: 0.4s;
}

.p-img-container img:hover{
    transform: scale(1.02);
    border-radius: 15px;
    box-shadow: 0 32px 75px rgba(68,77,136, 0.2);
}

@media screen and (max-width: 900px) {
    .p-projects{
        flex-direction: column;
        padding: 0 20px;
    }
    .p-img-container{
        grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
        grid-gap: 20px;
        margin: 40px auto 30px;
    }
    
}

@media screen and (max-width: 850px) {
    .p-content p{
        font-size: 16px;
    }
    .p-img-container{
        grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
        grid-gap: 30px;
        margin: 20px auto 20px;
    }
    
}
@media screen and (max-width: 600px) {
    
    .p-content p{
        font-size: 12px;
    }

    .p-image{
        width: 100%;
    }
    
}






/* Our process */

.process-section{
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(87, 157, 238, 0.452);
    width: 100%;
    padding: 50px 0px;
}

.p-header{
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-timeline-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
}

.p-timeline{
    background-image: url(../images/timeline.png);
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 50px;
    background-repeat: no-repeat;
}

.p-steps{
    display: flex;
    flex-direction: row;
    justify-content: center;

    padding-top: 5px;
}

.p-step1{
    max-width: 350px;
    padding: 0px 20px;
}

.p-step1 p{
    padding-top: 15px;
}

.p-svg{
    padding-top: 20px;
    display: none;
    width: 40px;
    height: 60px;
}



@media(max-width: 600px){
    .p-timeline{
        display: none;
    }

    .p-steps{
        flex-direction: column;

    }

   .p-svg{
    display: block;
   }
}
