/* Reset de márgenes y paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos globales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Encabezado */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #000;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom-left-radius: 100% 50px;
    border-bottom-right-radius: 100% 50px;
}


.header-content {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}


/* Contenedor de transición con múltiples curvas */
.curve-divider {
    width: 100%;
    height: 150px; /* Ajusta la altura según la profundidad de las curvas */
    background: linear-gradient(to bottom, rgba(229, 241, 230, 0.9), rgba(135, 207, 135, 0.9)), url(https://th.bing.com/th/id/R.401c166b501c2be5efd1c6f988857dcc?rik=mPH1Ajf2zyUBYw&pid=ImgRaw&r=0);
    clip-path: polygon(0% 50%, 10% 60%, 20% 50%, 30% 60%, 40% 50%, 50% 60%, 60% 50%, 70% 60%, 80% 50%, 90% 60%, 100% 50%, 100% 100%, 0% 100%);
    position: relative;
    top: -5px; /* Ajuste para posicionamiento */
    z-index: 999;
}

/* Botón del menú */
.menu-btn {
    font-size: 24px;
    cursor: pointer;
}

/* Menú lateral */
.menu-lateral {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1001; /* Ajustado para que esté encima del header */
}

.menu-lateral.open {
    right: 0;
}

/* Botón de cierre */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
    transition: opacity 0.3s ease;
}

.overlay.show {
    display: block;
}

/* Opciones del menú */
.menu-lateral ul {
    list-style: none;
    padding: 0;
}

.menu-lateral li {
    padding: 10px 0;
}

.menu-lateral a {
    color: black;
    text-decoration: none;
    font-size: 18px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #004d00;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

section {
    padding: 20px;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}










/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

h2, h3 {
    color: #005f73;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

h1 {
    color: #61db61;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Sección Objetivos */
#objetivos {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Objetivo General */
.objetivo-general {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #e8f4f8;
    border-radius: 8px;
    border-left: 5px solid #005f73;
}

.objetivo-general img {
    width: 80px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.objetivo-general h3 {
    color: #005f73;
    font-size: 1.3rem;
    margin: 0;
}

.objetivo-general p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Objetivos Específicos */
.objetivos-especificos {
    padding: 1.5rem;
    background-color: #f0f7f9;
    border-radius: 8px;
    border-left: 5px solid #005f73;
}

.objetivos-especificos h3 {
    color: #005f73;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.objetivos-especificos ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.objetivos-especificos li {
    position: relative;
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.objetivos-especificos li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    color: #008080;
    font-size: 1.2rem;
}

/* Efectos adicionales */
#objetivos h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #005f73;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.objetivo-general:hover, .objetivos-especificos:hover {
    background-color: #d7eef3;
    transition: background-color 0.3s ease;
}





/* Estilos de la Sección Problemática */
#problematica {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#problematica h2 {
    font-size: 1.8rem;
    text-align: center;
    color: #d9534f;
    border-bottom: 2px solid #d9534f;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Contenedor de cada problematica */
.problematica {
    padding: 1.5rem;
    background-color: #fef6f6;
    border-radius: 8px;
    border-left: 5px solid #d9534f;
}

.problematica img {
    width: 80px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
}

.problematica h3 {
    color: #d9534f;
    text-align: center;
    font-size: 1.4rem;
    margin-top: 0;
}

.problematica p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
}

/* Icono decorativo antes de cada párrafo */
.problematica p::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    color: #d9534f;
    font-size: 1.2rem;
}

/* Efecto Hover */
.problematica:hover {
    background-color: #fde1e1;
    transition: background-color 0.3s ease;
}









/* Sección Justificación */
#justificacion {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#justificacion h2 {
    font-size: 1.8rem;
    text-align: center;
    color: #4a90e2;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Contenedor de Justificación */
.justificacion {
    padding: 1.5rem;
    background-color: #f5faff;
    border-radius: 8px;
    border-left: 5px solid #4a90e2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.justificacion img {
    width: 80px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: cover;
}

.justificacion h3 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin: 0;
    text-align: center;
}

/* Estilo del párrafo largo */
.justificacion p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    text-align: justify;
    margin-top: 1.5rem;
    max-width: 800px;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    #justificacion {
        padding: 1.5rem;
    }
    .justificacion p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}








/* Sección Modelo Entidad-Relación */
#entidad-relacion {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#entidad-relacion h2 {
    font-size: 1.8rem;
    color: #4a90e2;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.entidad-relacion {
    padding: 1.5rem;
    background-color: #f0f8ff;
    border-radius: 8px;
    border-left: 5px solid #4a90e2;
    text-align: center;
}

.entidad-relacion img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entidad-relacion h3 {
    color: #4a90e2;
    font-size: 1.4rem;
    margin-top: 1rem;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    #entidad-relacion {
        padding: 1.5rem;
    }

    .entidad-relacion img {
        max-width: 90%;
    }
}













/* Pie de página */

/* Estilo para el footer con borde curvo */
footer {
    background-color: #222; /* Cambia esto por el color que prefieras */
    color: #fff;
    padding: 20px;
    clip-path: ellipse(150% 100% at 50% 100%);
    text-align: center;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    margin: 0 20px;
}

.footer-column h3 {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-column a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3f9c35;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #3f9c35;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 10px;
    margin-top: 20px;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin: 10px 0;
    }
}