html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: block;
}

.modern-footer {
    background: linear-gradient(90deg, #c043e5, #4a7aff);
    border-top: 1.5px solid black;
    color: white;
    padding: 1.2% 5%;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3%;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5%;
    flex: 1;
}

.footer-branding h3 {
    font-size: clamp(14px, 1.8vw, 20px);
    color: white;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
    font-family: 'Montserrat', sans-serif;
}

.footer-branding p {
    font-size: clamp(10px, 1vw, 13px);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 1.5%;
    align-items: center;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid white;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: right;
    padding-top: 0;
}

.footer-bottom p {
    font-size: clamp(9px, 1vw, 12px);
    color: rgba(255, 255, 255, 0.7);
    margin: 6px 0;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .modern-footer {
        padding: 2% 3%;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5%;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 1rem;
    }

    .footer-branding h3 {
        font-size: 16px;
    }

    .footer-branding p {
        font-size: 12px;
    }

    .footer-socials {
        justify-content: center;
        width: 100%;
    }

    .footer-socials a {
        width: 32px;
        height: 32px;
    }

    .footer-socials svg {
        width: 16px;
        height: 16px;
    }

    .footer-bottom {
        text-align: center;
        width: 100%;
    }

    .footer-bottom p {
        font-size: 10px;
        margin: 4px 0;
    }
}

@media screen and (max-width: 480px) {
    .modern-footer {
        padding: 1.5% 2%;
    }

    .footer-container {
        gap: 1rem;
    }

    .footer-branding h3 {
        font-size: 14px;
    }

    .footer-branding p {
        font-size: 11px;
    }

    .footer-socials a {
        width: 28px;
        height: 28px;
    }

    .footer-socials svg {
        width: 14px;
        height: 14px;
    }
}
