:root {
    --primary: #16227a;
    --primary-dark: #0b1142;
    --accent: #d4281d;
    --smooth-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    background-color: #f3f4f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto;
    background-color: var(--primary);
    color: #ffffff;
    padding: 80px 0 30px 0;
    position: relative;
}

.footer-container {
    width: 90%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 350px;
}

.footer-col h4 {
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    opacity: 0.5;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    text-decoration: none;
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s var(--smooth-easing);
    transform: translateX(0);
}

.footer-link::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    margin-right: 0;
    transition: all 0.4s var(--smooth-easing);
    opacity: 0;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 12px;
    margin-right: 12px;
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s var(--smooth-easing);
}

.footer-bottom a:hover {
    color: var(--accent);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.site-footer {
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    .footer-container {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 600px;
    }

}

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 30px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-nav {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 50px 0 20px 0;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-brand img {
        max-width: 120px;
        height: auto;
    }

    .footer-description {
        line-height: 1.5;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .footer-link {
        padding: 8px 0;
    }

    @media (max-width: 375px) {
        .footer-grid {
            gap: 30px;
        }

        .footer-brand img {
            max-width: 120px;
        }

        .footer-bottom div {
            width: 100%;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

    }

}