﻿/* Footer Animations */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Footer Styling */
.modern-footer {
    background: linear-gradient(135deg, #1E5959 0%, #3B8C6E 100%);
    position: relative;
    overflow: hidden;
}

    .modern-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #89D99D 0%, #3B8C6E 50%, #89D99D 100%);
        background-size: 200% 100%;
        animation: gradient 3s linear infinite;
    }

.footer-section {
    animation: footerFadeIn 0.8s ease-out;
}

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

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

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

.footer-title {
    color: #89D99D;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: #89D99D;
        transition: width 0.3s ease;
    }

.footer-section:hover .footer-title::after {
    width: 60px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

    .footer-link::before {
        content: '›';
        position: absolute;
        left: -15px;
        opacity: 0;
        transition: all 0.3s ease;
        color: #89D99D;
    }

    .footer-link:hover {
        color: #89D99D;
        padding-left: 15px;
        transform: translateX(5px);
    }

        .footer-link:hover::before {
            opacity: 1;
            left: 0;
        }

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-icon {
    color: #89D99D;
    margin-right: 0.8rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    animation: iconBounce 0.6s ease;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-contact-link:hover {
        color: #89D99D;
    }

.footer-divider {
    border-color: rgba(137, 217, 157, 0.3);
    margin: 2.5rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.4rem;
}

    .social-link:hover {
        background-color: #89D99D;
        color: #1E5959;
        transform: translateY(-5px) rotate(5deg);
        box-shadow: 0 5px 15px rgba(137, 217, 157, 0.4);
    }

.footer-bottom {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-copyright {
    display: flex;
    align-items: center;
}

    .footer-copyright i {
        color: #89D99D;
        margin: 0 0.3rem;
    }

/* Footer Navigation List */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-nav-list li {
        margin-bottom: 0.6rem;
    }

/* Responsive */
@media (max-width: 768px) {
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }
}
