/* Estilos para el Modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1000; /* Asegura que esté sobre otros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Habilita el desplazamiento si es necesario */
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente */
    backdrop-filter: blur(5px); /* Desenfoque de fondo */
}

.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Centra verticalmente */
    padding: 30px;
    border: none;
    width: 80%;
    max-width: 600px; /* Ancho máximo del modal */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-50px);
    opacity: 0;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-btn {
    color: #bbb;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.read-more-btn {
    background-color: #25d366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 30px;
    margin-top: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.read-more-btn:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

.read-more-btn:active {
    transform: translateY(1px);
}

/* Additional styles for the modal content */
.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.modal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.modal-content ul li {
    margin-bottom: 10px;
    color: #444;
}
