/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #cce5ff;
}

.section-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

section {
    flex: 1;
    min-width: 250px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

section h2 {
    margin-top: 0;
}

section p {
    margin-bottom: 20px;
}

section ul {
    padding-left: 20px;
}

footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

/* Estilos para imágenes */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Estilos específicos para el contenido */
#servicios {
    background-color: #f7f7f7;
}

#informacion {
    background-color: #f2f9fd;
}

#contacto {
    background-color: #f8f8f8;
}

/* Estilos adicionales para elementos hospitalarios */
.section-divider {
    position: relative;
}

.section-divider:before,
.section-divider:after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: #ccc;
}

.section-divider:before {
    top: -20px;
}

.section-divider:after {
    bottom: -20px;
}
