/* Footer Styles */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    border-top: 3px solid #1a73e8;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-logo {
    width: 120px;
    height: auto;
    /* margin-bottom: 20px; */
}

.footer-description {
    flex: 1;
    margin-right: 20px;
    max-width: 600px;
}

.footer-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.1s ease;
}

.footer-links ul li a:hover {
    color: #1a73e8;
}

/* Footer Bottom Styles */
.footer-bottom {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    margin-top: 20px;
    border-top: none; /* Убедись, что верхняя граница убрана */
}

.footer-bottom p {
    margin: 0;
    color: #999;
}

/* Если есть лишние рамки, убери их */
footer {
    border-top: 3px solid #1a73e8; /* Только верхняя граница для всего футера */
}

.footer-container {
    border-bottom: none; /* Убери нижнюю границу, если она есть */
}

.footer-logo img {
    width: 100%;
    height: auto;
    max-width: 120px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-description {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-links ul {
        padding-top: 20px;
        border-top: 1px solid #444;
    }
}

/* Установить высоту на всю страницу */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Контейнер для всей страницы */
.page-content {
    flex: 1 0 auto; /* Растягиваем основное содержимое */
}

/* Футер всегда внизу */
footer {
    flex-shrink: 0; /* Футер не сжимается и остается на месте */
}