@font-face {
    font-family: 'Gill Sans';
    src: url('/OBSANO-UNSIS-UANL/public/data/Gill Sans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.footer {
    background-color: #f5f5f5;
    color: #333;
    padding: 40px 0 20px;
    font-family: 'Gill Sans', sans-serif;
    position: relative;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #008000, #66aa66, #008000);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: space-between;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 160px;
    margin: 0 10px 20px;
    padding-right: 15px;
}

.footer-section h3 {
    font-size: 1.1em;
    color: #006400;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 100, 0, 0.2);
    font-weight: bold;
}

.footer-section h3 a {
    color: #006400;
    text-decoration: none;
}

.footer-section a {
    color: #444;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    font-size: 0.9em;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #232255;
    text-decoration: none;
    padding-left: 3px;
}

.footer-info {
    width: 30%;
    padding-left: 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 25px;
    max-width: 200px;
    pointer-events: none; /* Previene interacciones de hover */
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
    transition: none !important; /* Anula cualquier transición */
    transform: none !important; /* Anula cualquier transformación */
    opacity: 1 !important; /* Asegura que siempre sea 100% visible */
    filter: none !important; /* Anula cualquier filtro */
}

/* Anular específicamente cualquier hover effect que venga de otras secciones */
.footer-logo:hover,
.footer-logo:hover img,
.footer-logo img:hover {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    border: none !important;
    scale: 1 !important;
}

.contact-info {
    margin-bottom: 15px;
    width: 100%;
}

.contact-info h3 {
    font-size: 1.1em;
    color: #006400;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 100, 0, 0.2);
    font-weight: bold;
    text-align: center;
}

.contact-info a {
    display: block;
    color: #444;
    margin-bottom: 5px;
    font-size: 0.9em;
    text-decoration: none;
    text-align: center;
}

.contact-info a:hover {
    color: #232255;
}

.legal-links {
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

.legal-links a {
    display: inline-block;
    margin: 0 8px;
    font-size: 0.85em;
    color: #666;
    text-decoration: none;
}

.legal-links a:hover {
    color: #008000;
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.85em;
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .footer-columns {
        width: 65%;
    }
    
    .footer-info {
        width: 35%;
    }
    
    .footer-logo {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-columns {
        width: 100%;
    }
    
    .footer-info {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 20px 0 0;
        margin-top: 10px;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
        max-width: 220px;
    }
}

@media (max-width: 576px) {
    .footer-section {
        min-width: 140px;
    }
}