/* footer.css */
.footer {
    padding: 2rem 1rem;
    color: #fff;
    position: relative;
    border-top: 2px solid rgba(46, 134, 171, 0.3);
    overflow: hidden;
}

.footerBottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.copyright {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
    margin: 0;
}

.backToTop {
    background: linear-gradient(90deg, #2e86ab, #6bbf59);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
    z-index: 2;
}

.backToTop:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #6bbf59;
}

/* Holographic Background Effect */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 134, 171, 0.1) 0%, transparent 70%);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(107, 191, 89, 0.5) 5px, transparent 6px),
        radial-gradient(circle at 70% 50%, rgba(107, 191, 89, 0.4) 4px, transparent 5px),
        radial-gradient(circle at 10% 70%, rgba(107, 191, 89, 0.3) 3px, transparent 4px),
        radial-gradient(circle at 80% 20%, rgba(107, 191, 89, 0.2) 6px, transparent 7px);
    background-size: 200px 200px;
    background-position: 0 0, 100px 50px, 150px 150px, 50px 100px;
    animation: particleMove 6s infinite linear;
    opacity: 0.3;
    z-index: 0;
}

/* Animation for Background Particles */
@keyframes particleMove {
    0% { background-position: 0 0, 100px 50px, 150px 150px, 50px 100px; }
    100% { background-position: -50px -50px, 50px 0, 100px 100px, 0 50px; }
}

/* Pulse Animation for Back to Top Button */
@keyframes pulse {
    0% { box-shadow: 0 0 5px #6bbf59; }
    50% { box-shadow: 0 0 15px #6bbf59; }
    100% { box-shadow: 0 0 5px #6bbf59; }
}

/* Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0.5rem;
    }
    .footerBottom {
        flex-direction: column;
        gap: 1rem;
    }
    .copyright {
        font-size: 0.9rem;
    }
    .backToTop {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .copyright {
        font-size: 0.8rem;
    }
    .backToTop {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}