@import url('popups.css');
@import url('root.css');

.button_brown{
    display: inline-block;
    padding: 12px 30px;
    background-color: #C7B1AF;
    color: #1e1e1e;
    border-radius: 10px;
    transition: .3s;
    font-size: 12px;
}

.button_blue {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: .3s;
}

.button_blue:hover {
    background-color: #0056b3;
}

.title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.title h1{
    font-size: 36px;
    font-weight: 500;
    color: #1e1e1e;
}

.title span{
    width: 50px; 
    height: 4px; 
    border: 10px;
    background-color: #007bff;
}

/* ------ SERVICES ------ */

.services{
    margin-top: 64px;
}

.service__content{
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 36px;
    flex-direction: column;
}

.service__card{
    width: 100%;
    border-radius: 10px;
    background-color: #ECF3F7;
    display: flex;
    transition: .3s;
}

.service__card:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card__content{
    padding: 16px;
}

.card__content p{
    margin-top: 16px;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
}

.service__card img{
    height: 204px;
    border-radius: 10px 0 0 10px;
    object-fit: cover;
}

.service__card h2{
    color: #1e1e1e;
    font-size: 24px;
}

.btns{
    display: flex;
    align-items: center;
    margin-top: 12px;
    gap: 24px;
    justify-content: end;
}

.link__tarif{
    color: #007bff;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

.link__tarif:hover{
    color: #0056b3;
}

@media (max-width: 943px) {
    .service__content{
        gap: 36px
    }

    .service__card{
        flex-wrap: wrap;
    }

    .service__card img{
        border-radius: 10px 10px 10px 10px;
    }
}