footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 4rem 10%;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--hover-background);
}

footer .container {
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    max-width: 300px;
    height: auto;
    filter: brightness(1.1);
    margin-top: 1.5rem;
}

.footer-tagline {
    color: var(--muted-color);
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-headline {
    font-family: 'Gloock', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    opacity: 0.3;
    border-radius: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: var(--muted-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin: 0 0 0 -15px;
    position: relative;
}

.footer-links li a::before {
    font-family: 'boxicons' !important;
    content: '\f17e';
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-links li a:hover {
    color: var(--primary-color);
    margin: 0;
}

.footer-links li a:hover::before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--muted-color);
    font-size: 0.95rem;
}

.footer-contact li i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 0.1rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.footer-contact li a {
    color: var(--muted-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--muted-color);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--muted-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal span {
    color: var(--muted-color);
    opacity: 0.3;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        margin-top: 4rem;
        padding: 3rem 4%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2rem;
    }

    .footer-column {
        gap: 1rem;
    }

    .footer-logo {
        max-width: 180px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2.5rem 4%;
    }

    .footer-headline {
        font-size: 1.1rem;
    }

    .footer-bottom p,
    .footer-legal a {
        font-size: 0.85rem;
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}