/* start partner list */
/* Основные стили для десктопа остаются */
/* Убираем лишние отступы снизу для всех блоков */

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Избегаем горизонтального скролла */
}

/* Исправляем потенциальные проблемы с футером */
footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: auto; /* Делает футер внизу */
    padding-bottom: 0;
}
/* Исправление для кнопки прокрутки вверх */
.scroll-to-top {
    position: fixed;
    bottom: 20px; /* Сделать её фиксированной, но не мешающей основному контенту */
    right: 20px;
    z-index: 1000;
}

.scroll-to-top:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 0.2s;
}

.partners-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #d4122c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.partner-item {
    background: linear-gradient(145deg, #fff 0%, #f0f8ff 100%);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: calc(25% - 20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(212, 18, 44, 0.15);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.2s;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    transform: scale(1.05);
    border-color: #d4122c;
}

.partner-link {
    display: block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #d4122c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
    box-shadow: 0 4px 8px rgba(212, 18, 44, 0.2);
}

.partner-link:hover {
    background: #b30f25;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(212, 18, 44, 0.3);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .partner-item {
        width: calc(40% - 20px); /* Уменьшена ширина карточек для планшетов */
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 20px 0;
    }

    .section-title {
        font-size: 1.4rem; /* Уменьшен размер заголовка */
        margin-bottom: 20px;
    }

    .partner-item {
        width: calc(48% - 15px); /* Уменьшена ширина карточек для телефонов */
        padding: 10px; /* Уменьшен padding внутри карточек */
    }

    .partner-link {
        padding: 6px 14px;
        font-size: 0.8rem; /* Уменьшен размер текста в кнопке */
    }
}

/* end partnerx */

/* start partners detail */
.partner-logo {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contact-card {
    background-color: #a52828;
    color: #fff;  /* Цвет текста белый */
    border: none;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card .card-body {
    padding: 20px;
}

.contact-card .fa {
    color: #f9c62b;
}

.contact-card .card-title {
    font-weight: bold;
    margin-top: 10px;
    color: #fff;  /* Цвет текста белый */
}

.contact-card .card-text {
    margin-top: 10px;
    color: #fff;  /* Цвет текста белый */
}

.contact-card a {
    color: #fff;  /* Цвет текста белый */
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* end partner details */

/* start page login */
.social-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-google {
    background-color: #db4437;
}

.btn-telegram {
    background-color: #0088cc;
}

.btn i {
    margin-right: 8px;
}
/* end page login */

.sex{
    position: absolute;
    top: 70px;
    left: 48px;
    height: 500px;
    width: 100px;
    transform: scaleX(-1);
    z-index: -1;
}
.sex2{
    position: absolute;
    top: 70px;
    right: 48px;
    height: 500px;
    width: 100px;
    z-index: -1;
}

/* Удаляем все новогодние стили */
.snowflake,
.new-year-container,
.new-year-text,
.new-year-text h1,
.christmas-tree {
    display: none !important;
}

/* Удаляем анимацию снега */
@keyframes snowfall {
    from { transform: translateY(-100%); }
    to { transform: translateY(100vh); }
}

/* Удаляем гирлянду */
.garland {
    display: none;
}

/* Удаляем шапку */
.santa-hat,
.santa-hat-mobile,
.santa-hat-right {
    display: none;
}

/* Удаляем огоньки */
.ball {
    display: none;
}

/* Удаляем текст */
.new-year-text {
    display: none;
}

/* Удаляем салют */
.firework {
    display: none;
}