.services_header{
    padding: 40px 0;
    background-color: rgb(236, 236, 236);
}

.header_title{
    color: var(--primary);
    text-align: center;
    font-size: 25px;
    font-weight: bold;
}

.header_text{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: top;
    
}
.header_text a{
    text-decoration: none;
    color: var(--secondary);
    font-size: 14px;
    font-weight:bold;
    margin-right: 5px;
}
.header_text a:hover{
    text-decoration: none;
}

.header_text p{
    margin-left: 5px;
    font-size: 14px;
    color: gray;
}

.services_container{
    margin-top: 80px;
}

.services_title{
    text-align: center;
    color: rgb(92, 92, 92);
    font-size: 20px;
    font-weight: bold;
}

.service_desc{
    width: 60%;
    margin: auto;
    text-align: center;
    margin-top: 30px;
}

.services{
    margin: 100px auto;
    width: 60%;

}

.service_illustration{
    padding: 60px 0;
    position: relative;
}

.service_img_container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--primary);
}

.service_img_container img{
    width: 100%;
    height: 100%;
    object-fit:cover;
    opacity: 0.2;
}

.service_illus_text{
    width: 50%;
    margin: auto; 

}

.service_illus_text h2{
    color: white;
    font-size: 30px;
    text-align: center;
    font-weight: bold;
}

.services_content{
    padding: 20px 0;

}

.service_content_text{
    color: rgb(92, 92, 92);
    margin-top: 15px;
    padding: 0 20px;
}

.service_contacts{
    width: 60%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
}

.contact{
    display: flex;
    justify-content: flex-start;
    align-items: center;

}

.contact span:first-of-type{
    color: white;
    padding: 15px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: var(--secondary);
}

.contact span:last-of-type{
    font-size: 14px;
    color: rgb(92, 92, 92);
    font-weight: bold; 
}

@media screen and (max-height: 1100px) {
    .services{
        width: 80%;
    }
}


@media screen and (max-width: 720px) {

    .services_title{
        padding: 0 30px;
    }

    .service_desc{
        width: 100%;
        font-family: 13px;
        color: gray;
        padding:0 50px;
    }

    .services{
        width: 100%;
    }

    .service_contacts{
        width: 100%;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .service_illus_text{
        width: 90%;
    }

    .service_content_text{
        padding: 0 15px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px){

    .service_desc{
        width: 100%;
        font-family: 13px;
        color: gray;
    }
    .services{
        width: 100%;
    }

    .service_contacts{
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .service_illus_text{
        width: 90%;
    }

    .service_content_text{
        padding: 0 15px;
        font-size: 13px;
    }






}