.contact-section {
    width: 100%;
    padding: 50px 0;
    background-color: #ffffff;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    flex: 1;
    padding-right: 20px;
}

.contact-form h2 {
    font-size: 2.5rem;
    color: #1E3A7B;
}

.contact-form p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    margin-top: 1rem;
    font-family: "Poppins",sans-serif;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-row input, .form-row textarea {
    width: 48%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-row textarea {
    width: 100%;
    height: 100px;
    resize: none;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #1E3A7B;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #163056;
}

.contact-map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}
.contact-info {
    font-family: "Poppins",sans-serif;
    text-align: center;
    margin-top: 30px;
    font-size: 1rem;
    display: flex;
    color: #555;
    justify-content: space-around;
}
.contact-section {
    width: 100%;
    padding: 50px 0;
    background-color: #ffffff;
    margin-top: 7rem;
}

.contact-info p {
    margin: 5px 0;
}
nav a {
    color: #1e3a7b;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}
.form-row input, .form-row textarea {
    width: 48%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid #ccc;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }
    .contact-map {
        flex: 1;
        border-radius: 10px;
        overflow: hidden;
        width: 100%;
    }
    .contact-info {
        font-family: "Poppins",sans-serif;
        text-align: center;
        margin-top: 30px;
        font-size: 1rem;
        display: flex;
        flex-direction: column;
        color: #555;
        padding: 10px 95px;
        justify-content: space-around;
    }

    .form-row input, .form-row textarea {
        width: 100%;
    }
}

.palliative-care-section {
    margin-top: 7rem;
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
   
}

.palliative-care-title {
    font-size: 3.5rem;
    color: #1D3C6E; /* Color azul oscuro */
    font-weight: bold;
}

.palliative-care-description {
    font-family: "Poppins",sans-serif;
    font-size: 1.2rem;
    color: #666666; /* Color gris para el texto */
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.juntarse {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.palliative-care-button {
    background-color: #1D3C6E; /* Mismo color azul oscuro */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.palliative-care-button:hover {
    background-color: #164a94; /* Color azul más oscuro al pasar el mouse */
}



.info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: #f8f9fa; /* Color de fondo claro */
    border-radius: 10px;
}

.info-text {
    flex: 1;
    padding-right: 22px;
    padding: 3rem;
    font-size: 21px;
    color: #666666;
    font-family: "Poppins",sans-serif;
}

.info-image {
    flex: 1;
    text-align: right;
}

.info-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Bordes redondeados */
}



.medical-conditions-list {
    list-style-type: disc; /* Eliminar viñetas */
    padding: 0;
    margin: 0;
}

.medical-conditions-list li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 1rem;
}

.highlight {
    font-weight: bold;
    color: #1D3C6E; /* Resaltar texto importante en azul oscuro */
}


@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        text-align: center;
    }
    .medical-conditions-list {
        list-style-type: disc;
        padding: 0;
        margin: 0;
        text-align: left;
    }
    
    

    .info-image {
        text-align: center;
    }
    .info-text {
        margin-bottom: 20px;
        padding: 0;
    }
}