body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    background-color: #004022;
    color: white;
    padding: 2rem 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    align-items: flex-start;
}

.logo-social-container {
    display: flex;
    flex-direction: column;
    margin-right: 2rem;
}

.footer-logo {
    width: 200px;
    height: auto;
    align-self: flex-start;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.footer-column {
    flex: 1;
    margin: 0 1rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.footer-column ul li {
    margin: 0.5rem 0;
}

.footer-column ul li a:link, 
.footer-column ul li a:visited, 
.footer-column ul li a:hover, 
.footer-column ul li a:active {
    color: #fff;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.footer-contact li a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact li a:hover {
    color: #00a650;
}

.footer-contact li i {
    color: #00a650;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.footer-update {
    text-align: right;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-legal {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #fff;
    font-family: Arial, sans-serif;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal p {
    margin: 0.5rem 0;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .logo-social-container {
        margin-right: 0;
        margin-bottom: 2rem;
        align-items: center;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        margin: 2rem 0;
        width: 100%;
        text-align: left;
    }

    .footer-column h3 {
        font-size: 1.4rem;
        font-weight: bold;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        padding-bottom: 0.8rem;
        margin-bottom: 1rem;
    }

    .footer-column ul {
        text-align: left;
        padding-left: 1rem;
    }

    .footer-column ul li a {
        font-size: 1.1rem;
        padding: 0.6rem 0;
        display: block;
    }

    .footer-contact li {
        justify-content: flex-start;
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }

    .footer-update {
        text-align: center;
        margin-top: 2rem;
    }

    .footer-legal {
        text-align: center;
        margin: 2rem 0;
    }
}

@media (max-width: 479px) {
    .footer-logo {
        width: 150px;
    }

    .footer-column h3 {
        font-size: 1.3rem;
    }

    .footer-column ul li a {
        font-size: 1rem;
    }

    .footer-contact li {
        font-size: 1rem;
    }
}