/* Importar Bootstrap Grid y utilidades necesarias */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap-grid.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap-utilities.min.css');

.footer {
    background: linear-gradient(135deg, #0a2e52 0%, #1a3a5f 100%);
    color: #fff;
    padding: 3rem 0 1.5rem;
    /* margin-top: 4rem; */
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #FFC107;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFC107, #FFA000);
}

.footer h5 {
    color: #FFC107;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FFC107, #FFA000);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer .social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #FFC107;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background: #FFC107;
    color: #3E2723;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    border-color: transparent;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    transition: transform 0.2s ease;
}

.footer ul li:hover {
    transform: translateX(5px);
}

.footer ul li i {
    color: #FFC107;
    width: 24px;
    text-align: center;
    margin-top: 0.4rem;
    font-size: 1.1rem;
}

.footer p {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.footer .small {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.footer .border-top {
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin: 2.5rem 0 1.5rem;
}

/* Sección de sellos */
.footer-certifications {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-certifications img {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0 5px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.footer-certifications img:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: rgba(255, 193, 7, 0.3);
}

/* Estilos para el logo en el footer */
.footer-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

/* Estilos para el texto descriptivo */
.footer-description {
    color: #e0f7fa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
    opacity: 0.9;
}

/* Ajustes responsivos */
@media (max-width: 991.98px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer h5 {
        margin-top: 1.5rem;
    }
    
    .footer-certifications {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .footer {
        text-align: center;
        margin-top: 3rem;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .text-md-end,
    .footer .text-md-start {
        text-align: center !important;
    }
    
    .footer .social-icons {
        justify-content: center;
        margin: 1.5rem auto;
    }
    
    .footer ul li {
        justify-content: center;
    }
    
    .footer .border-top {
        margin: 2rem 0 1.5rem;
    }
}
