/* ================= FOOTER (REUSABLE COMPONENT) ================= */
:root {
    --primary: #0077b6;
    --secondary: #00b4d8;
    --text-dark: #1a1a1a;
    --white: #ffffff;
}

.footer {
    background: linear-gradient(135deg, #0a3561 0%, #0d4a78 100%);
    color: var(--white);
    padding: 40px 40px;
    position: relative;
    margin-top: auto;
    width: 100%;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.footer-top {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 15px;
}

.team-social {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.member {
    display: flex;
    align-items: center;
    gap: 10px;
}

.member span {
    font-weight: 600;
    font-size: 14px;
}

.member a {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.member a:hover {
    background: #00d9ff;
    color: #0a3561;
    transform: translateY(-3px);
    border-color: #00d9ff;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.member a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.scroll-top {
    position: absolute;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(135deg, #00d9ff 0%, #00b8db 100%);
    color: #0a3561;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
}

.scroll-top:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.scroll-top:active {
    transform: translateY(0);
}

/* ================= RESPONSIVE FOOTER ================= */
@media (max-width: 768px) {
    .footer {
        padding: 25px 20px;
    }

    .footer-top {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .footer-bottom p {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .team-social {
        gap: 20px;
    }

    .member {
        gap: 8px;
    }

    .member span {
        font-size: 13px;
    }

    .member a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .scroll-top {
        right: 20px;
        bottom: 20px;
        padding: 10px 13px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 15px;
    }

    .footer-top {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .footer-bottom p {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .team-social {
        gap: 15px;
        flex-direction: column;
    }

    .member {
        gap: 8px;
        justify-content: center;
    }

    .member span {
        font-size: 12px;
    }

    .member a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .scroll-top {
        right: 15px;
        bottom: 15px;
        padding: 8px 11px;
        font-size: 13px;
    }
}
