/* Estilos del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* Contenido del modal */
.modal-content {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: scaleUp 0.3s ease-in-out;
    text-align: left; /* Todo alineado a la izquierda */
}

/* Título centrado */
.modal-content h3 {
    text-align: center;
    color: #1B5E20;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
    border-bottom: 2px solid #E68A00;
    padding-bottom: 10px;
}

/* Información de contacto alineada a la izquierda */
.contact-info {
    margin-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
    margin: 15px 0;
    line-height: 1.6;
}

.contact-info i {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #25D366; /* Verde de WhatsApp */
}

/* Enlaces dentro del modal */
.modal-content a {
    color: #1B5E20;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-content a:hover {
    color: #E68A00;
    transform: scale(1.1);
}

/* Botón de cierre */
.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-button:hover {
    transform: rotate(90deg) scale(1.3);
    color: #E68A00;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.7);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
