﻿/* Ensure the page is set up for sticky footer */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    color: #1a1a1a;
    position: relative;
    width: 100%;
    flex-shrink: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.social-media {
    max-width: 50%;
}

    .social-media h4 {
        font-size: 18px;
        font-weight: 600;
        color: #ff4d4d;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .social-media p {
        font-size: 14px;
        color: #4a4a4a;
        line-height: 1.5;
    }

.card {
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body {
    display: flex;
    gap: 20px;
}

    .card-body a {
        display: inline-block;
        transition: transform 0.3s ease, filter 0.3s ease;
    }

        .card-body a:hover {
            transform: translateY(-3px);
            filter: brightness(1.2);
        }

    .card-body img {
        width: 32px;
        height: 32px;
        transition: all 0.3s ease;
    }

.footer-bottom {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    font-size: 13px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.legal a {
    color: #1a1a1a;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .legal a:hover {
        color: #ff4d4d;
        text-decoration: none;
    }

.copyright {
    color: #4a4a4a;
    font-weight: 400;
}

/* Responsive Styles */
@media screen and (max-width: 760px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .social-media {
        max-width: 100%;
    }

        .social-media h4 {
            font-size: 16px;
        }

        .social-media p {
            font-size: 13px;
        }

    .card-body img {
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
        font-size: 12px;
    }

    .legal a {
        margin: 0 10px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .social-media h4 {
        font-size: 14px;
    }

    .social-media p {
        font-size: 12px;
    }

    .card-body img {
        width: 24px;
        height: 24px;
    }

    .footer-bottom {
        font-size: 11px;
    }

    .legal a {
        font-size: 11px;
        margin: 0 8px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-top, .footer-bottom {
    animation: fadeIn 0.5s ease forwards;
}
