.about-us{
    margin-top: 20px;
}
.about-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}
.ab-logo{
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    margin: 10px 0 20px 0;
}
.ab-logo img{
    max-height: 200px;
}

.ab-logo a{
    text-decoration: none;
    color: var(--logo-color);
    font-size: 44px;
    font-family: 'Montserrat', sans-serif;
    margin-left: 20px;
}

.ab-services-container{
    margin-top: 90px;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}
.ab-services{
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* transition: 0.5 ease; */
}
.ab-service{
    margin: 10px;
    border-radius: 7px;
    box-shadow: -4px 4px 4px 0px rgba(0, 0, 0, 0.25);
    height: 250px;
    flex: 1;
    background-image: url(../images/about/footing.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    cursor: pointer;
    
}

.ab-service:nth-child(2){
    background-image: url(../images/about/steel-fixing.jpg);
}

.ab-service:nth-child(3){
    background-image: url(../images/about/concreting.jpg);
}

.ab-service:nth-child(4){
    background-image: url(../images/about/and-more.jpg);
}
.ab-overlay-container{
    width: 100%;
    height: 100%;
    border-radius: 7px;
    background-color: rgba(0, 0, 0, 0.473);
}
.ab-overlay{
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.ab-overlay h3{
    color: aliceblue;
}

.ab-overlay p{
    color: aliceblue;
    font-size: 16px;
}

.ab-hide{
    display: block;
}

.ab-show{
    display: none;
}

.ab-service:hover{
    transform: scale(1.2);
}

.ab-service:hover .ab-overlay-container{
    background-color: rgba(0, 0, 0, 0.76);
}

.ab-service:hover .ab-hide{
    display: none;
}

.ab-service:hover .ab-show{
    display: block;
}

.bg-about-text{
    /* background: linear-gradient(103deg, #000 27.69%, rgba(200, 0, 0, 0.57) 88.92%); */
    background-image: url(../images/about/bg-ab-text2.svg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 800px;
}
.ab-content-text{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 30px;
}

.ab-text{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    max-width: 1000px;
}
.ab-text img{
    max-width: 50px;
}

.ab-text p{
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.ab-gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.ab-testimony{
    padding-top: 50px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    flex-direction:column ;
    align-items: center;
    display: flex;
    justify-content: center;

}
.ab-testimony h2{
    color: rgb(61, 38, 43);
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    
}
.ab-test-cards{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
}

@media(max-width: 1150px){

    .ab-logo a{
        font-size: 40px;
    }
    
    .ab-overlay h3{
        font-size: 14px;
    }
    .ab-overlay p{
        font-size: 14px;
    }
    .ab-service{
        height: 200px;
        margin: 5px;
    }
    .ab-testimony h2{
        font-size: 36px;
    }
    
}

@media(max-width: 850px){
    .about-content p {
        font-size: 16px;
    }
    .ab-logo img{
        max-height: 160px;
    }
    
    .ab-logo a{
        font-size: 34px;
    }
    
    .ab-services-container{
        margin-top: 20px;
    }

    .ab-testimony h2{
        font-size: 28px;
    }
    
}

@media(max-width: 600px){
    .about-content p {
        font-size: 12px;
    }
    .ab-logo img{
        max-height: 120px;
    }
    
    .ab-logo a{
        font-size: 24px;
    }
    

    .ab-testimony h2{
        font-size: 20px;
    }
    .ab-services{
        flex-direction: column;
        justify-content: space-between;
    }

    .ab-service{
        width: 70%;
        height: 300px !important;
    }
    .ab-service:hover{
        transform: scale(1.4);
    }

    .ab-test-cards{
        flex-wrap: wrap;
    }
    
}