.service_container {
    max-width: 1120px;
    margin: 30px auto;
    padding: 35px;
    background-color: #16324F;
}

.service_container h1 {
    border-bottom: 2px solid #e1b12c;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info_container {
    display: flex; /* Dispone los elementos en una fila */
    align-items: flex-start; /* Alinea la imagen y el texto en la parte superior */
    gap: 20px; /* Espacio entre la imagen y el texto */
}

.img {
    width: 30%;
    height: auto;
    border-radius: 10px;
}

.containerP {
    flex: 1;
    text-align: justify;
    padding: 0 20px;
}

.containerP p {
    margin-bottom: 1em;
}

.containerP ul, 
.containerP ol {
    margin-bottom: 1em;
    padding-left: 20px;
}

.containerP ul {
    list-style-type: disc;
}

.containerP li {
    margin-bottom: 1em;
}

.btn {
    align-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 20px 0 0 0;
}

.btn-services {
    width: 25%;
    padding: 15px;
    background-color: #F3A712;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    right: 0;
}

.btn-services:hover {
    background-color: #d69106;
}

@media screen and (max-width: 1100px) {
    .service_container {
        padding: 20px;
    }

    .img  {
        height: auto;
    }
    .containerP {
        padding: 0;
    }
}

@media screen and (max-width: 578px) {
    .service_container {
        padding: 20px;
    }

    .info_container {
        flex-direction: column-reverse;
        align-items: center; 
    }

    .info_container p {
        width: 100%;
        padding: 0 0 20px 0;
    } 
    .img {
        width: 100%;
    }

    .btn-services {
        width: 100%;
    }
    .containerP {
        padding: 0;
    }
}
