
/* =========================================
   FOOTER EDU 1 STYLES
   ========================================= */

.footer-mw {
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 40px;
    position: relative;
    border-top: 4px solid #3e8ed0; /* Brand Blue Line at top */
}

/* --- Social Icons & Logo Section --- */
.footer-logo-social {
    padding-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end; /* Right align on desktop */
    align-items: center;
    height: 100%;
}

.footer-social-icons a {
    color: #f4f4f4; /* Blanco consistente con el texto */
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.footer-social-icons a:hover {
    background: #3e8ed0; /* Brand Blue Hover */
    color: white;
    transform: translateY(-3px);
}

/* Fix: Asegurar que LinkedIn y otros iconos "con marca" respeten el blanco */
.footer-social-icons i {
    color: inherit !important;
}

/* --- Dividers --- */
.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #444, transparent);
    margin: 0 auto 30px auto;
    width: 90%;
}

.footer-second-divider {
    height: 1px;
    background: #333;
    margin: 30px auto;
    width: 100%;
}

.footer-vertical-divider {
    width: 1px;
    background-color: #1a1a1a;
    margin: 0 15px;
    height: auto;
    align-self: stretch;
}

/* --- Main Columns Content --- */
.footer-cols-main {
    padding: 10px 0;
}

.footer-main-content {
    /* Alignment handles by Bootstrap classes, just adding spacing */
    margin-bottom: 20px;
}

.footer-main-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

/* Optional underscore effect for titles */
.footer-main-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #3e8ed0;
    margin-top: 5px;
}

.footer-item {
    font-size: 0.9rem;
    color: #f4f4f4; /* Color mucho más blanco tal como pediste */
    margin-bottom: 10px;
    display: flex;
    align-items: center; /* Alineación vertical perfecta con el texto */
    gap: 5px; /* Espacio limpio de ~3-5px entre icono y texto */
    transition: color 0.2s;
    line-height: 1.4;
    cursor: pointer;
}

.footer-item:hover {
    color: #3e8ed0;
}

.footer-item i {
    color: #3e8ed0; /* Icon color */
    margin-top: 0; /* Eliminado el margen superior para centrado perfecto */
    font-size: 1.1rem;
    margin-right: 3px; /* Refuerzo de 3px específico solicitado */
}

/* --- Bottom Resources --- */
.footer-resources-row {
    padding-bottom: 20px;
}

.footer-resources-col .footer-item {
    font-size: 0.85rem;
    color: #888;
}

/* --- Copyright Section --- */
.footer-bottom {
    background-color: #3e8ed0;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #f4f4f4;
    margin-top: 20px;
    width: 100%;
}

/* --- Back to Top Button --- */
#back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ff651e;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0.8;
}

#back-to-top-btn:hover {
    transform: translateY(-5px);
    background-color: #3273a8;
    opacity: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .footer-vertical-divider {
        display: none; /* Hide vertical lines on mobile/tablet */
    }
    
    .footer-social-icons {
        justify-content: center; /* Center icons on mobile */
        margin-top: 15px;
    }
    
    .text-lg-right {
        text-align: center !important;
    }
    
    .text-left {
        text-align: center !important; /* Center all text on mobile for better stacking */
    }
    
    .footer-main-title::after {
        margin: 5px auto 0 auto; /* Center the underscore */
    }
    
    .footer-item {
        justify-content: center; /* Center details */
    }
}
