/* Footer Styles - Diseño Mejorado */
.footer {
    background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 50%, #06b6d4 100%);
    color: #ffffff;
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
    border-top: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    text-align: left;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    text-align: left;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.7s forwards;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
}

/* Partículas animadas - MEJORADAS Y MÁS VISIBLES */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(34, 211, 238, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    animation: float 6s infinite linear;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                0 0 40px rgba(34, 211, 238, 0.6),
                0 0 60px rgba(6, 182, 212, 0.4);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 7s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 9s;
    width: 7px;
    height: 7px;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 6s;
    width: 9px;
    height: 9px;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 8s;
    width: 12px;
    height: 12px;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 7s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 9s;
    width: 7px;
    height: 7px;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 7s;
    animation-duration: 8s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 7s;
    width: 9px;
    height: 9px;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
        transform: translateY(90vh) rotate(36deg) scale(1);
    }
    20% {
        opacity: 1;
        transform: translateY(80vh) rotate(72deg) scale(1.1);
    }
    50% {
        opacity: 1;
        transform: translateY(50vh) rotate(180deg) scale(1);
    }
    80% {
        opacity: 0.9;
        transform: translateY(20vh) rotate(288deg) scale(1.1);
    }
    90% {
        opacity: 0.6;
        transform: translateY(10vh) rotate(324deg) scale(0.9);
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Contenido sobre las partículas */
.footer-content,
.footer-bottom {
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column {
        text-align: left;
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    .footer-links {
        padding-left: 0;
    }

    .footer-links a:hover {
        transform: translateX(5px);
    }

    .footer-bottom {
        text-align: center;
    }
    
    .particle {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 30px;
    }

    .footer-links a {
        font-size: 14px;
    }
    
    .particle {
        width: 5px;
        height: 5px;
    }
}