/* === Стили для подвала === */
.footer {

    background: #ffffff;
    color: #333333;
    padding: 60px 0 30px;
    position: relative;
    border-top: 1px solid #e0e0e0;
}

.container_footer{
    margin: 0 auto;
    max-width: 1200px;
}

.footer-content {
    display: flex;
    margin-bottom: 50px;
    justify-items: center;
    align-items: flex-start;
    justify-content: space-evenly;
}

.footer-social a{
    text-decoration: none;
    color: #333333;
    transition: all 0.3s
    ease;
}

.footer-social a:hover{
    color: #00b4d8;

}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Логотип */
.footer-logo {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
    font-size: 2.2em;
    font-weight: 800;
}

.logo-main {
    color: #000000;
    font-weight: 800;
}

.logo-line {
    color: #666666;
    font-weight: 300;
    margin-left: 2px;
}

.footer-description {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95em;
    max-width: 300px;
}

/* Заголовки секций */
.footer-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000000;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00b4d8, #0077b6);
}

/* Ссылки */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00b4d8;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #000000;
    padding-left: 5px;
}

.footer-link:hover::before {
    width: 100%;
}

/* Контакты */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666666;
    font-size: 0.95em;
}

.contact-icon {
    font-size: 1.1em;
    width: 20px;
    text-align: center;
    color: #00b4d8;
}

.contact-link {
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #00b4d8;
}

/* Нижняя часть подвала */
.footer-bottom {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    flex-direction: column;
    align-items: center;
}

.footer-bottom a{

    color: #666666;
}

.footer-copyright {
    color: #999999;
    font-size: 0.9em;
    text-align: center;
}

/* Акцентные цвета для hover эффектов */
.footer-link:nth-child(1):hover { color: #00b4d8; } /* Голубой */
.footer-link:nth-child(2):hover { color: #ff6b6b; } /* Розовый */
.footer-link:nth-child(3):hover { color: #9370db; } /* Фиолетовый */
.footer-link:nth-child(4):hover { color: #20bf6b; } /* Бирюзовый */

.footer-link:nth-child(1):hover::before { background: #00b4d8; }
.footer-link:nth-child(2):hover::before { background: #ff6b6b; }
.footer-link:nth-child(3):hover::before { background: #9370db; }
.footer-link:nth-child(4):hover::before { background: #20bf6b; }

/* Адаптивность */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-description {
        max-width: none;
        margin: 0 auto 25px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        font-size: 1.8em;
        justify-content: center;
    }

    .footer-contacts {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }
}

/* Анимации */
.footer {
    animation: slideUpIn 0.8s ease-out;
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Эффекты при наведении на секции */
.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-2px);
}

/* Специфичные стили для политики */
.footer-links li:last-child .footer-link {
    color: #999999;
    font-size: 0.9em;
}

.footer-links li:last-child .footer-link:hover {
    color: #00b4d8;
}