/* Modern Footer CSS */

.footer {
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1b2e 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(31, 58, 147, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Footer Columns */
.footer [class*='col-'] {
    margin-bottom: 2rem;
}

.footer h5 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Lists */
.footer ul.list-unstyled {
    list-style: none;
}

.footer ul.list-unstyled li {
    margin-bottom: 0.75rem;
}

.footer ul.list-unstyled li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer ul.list-unstyled li a:hover {
    color: white;
    padding-left: 5px;
}

.footer ul.list-unstyled li a::before {
    content: '→';
    color: var(--secondary);;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer ul.list-unstyled li a:hover::before {
    opacity: 1;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(31, 58, 147, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 1px solid rgba(31, 58, 147, 0.3);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(31, 58, 147, 0.3);
}

/* Footer Divider */
.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer [class*='col-'] {
        margin-bottom: 1.5rem;
    }

    .footer h5 {
        font-size: 1.1rem;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

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

    .footer [class*='col-'] {
        margin-bottom: 1.5rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        width: 100%;
        justify-content: flex-start;
    }

    .footer hr {
        margin: 2rem 0 1.5rem;
    }
}

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

    .footer h5 {
        font-size: 1rem;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .footer ul.list-unstyled li a {
        font-size: 0.85rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-bottom a {
        font-size: 0.8rem;
    }

    .footer hr {
        margin: 1.5rem 0 1rem;
    }
}

/* Animation */
.footer {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer [class*='col-'] {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: backwards;
}

.footer .col-md-4:nth-child(1) {
    animation-delay: 0.1s;
}

.footer .col-md-4:nth-child(2) {
    animation-delay: 0.2s;
}

.footer .col-md-4:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
