/* Основные переменные цветов */
:root {
    --accent-light: #89B2CE;
    --bg-1: #D0E3E8;
    --bg-2: #F3F5EE;
    --accent-dark: #2A6E71;
    --text-dark: #1E241A;
    --white: #FFFFFF;
    --shadow: rgba(42, 110, 113, 0.1);
}

/* Глобальные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-2);
    overflow-x: hidden;
}

/* Контейнеры с чередующимися фонами */
.bg-section-1 {
    background-color: var(--bg-1);
}

.bg-section-1 img {
    display: block;
    margin: 0 auto;
}

.bg-section-2 {
    background-color: var(--bg-2);
    padding-top: 60px;
    padding-bottom: 10px;
}

.bg-section-3 {
    background-color: var(--bg-1);
    display: block;
    padding-bottom: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent-dark);
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-light);
}

/* Кнопки */
.btn-primary {
    background-color: var(--accent-dark);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1E4E51;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 110, 113, 0.3);
    color: white;
}

/* Карточки */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 110, 113, 0.15);
}

/* Стили для каруселей */
.swiper {
    width: 100%;
    height: 100%;
    padding: 0px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}


.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-dark);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 100%;
    box-shadow: 0 4px 12px var(--shadow);
    opacity: 0;
    transition: opacity 0.3s ease;
}
swiper-button-next {
    color: red;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-pagination-bullet {
    background-color: var(--accent-light);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-dark);
    opacity: 1;
}

/* Полоса прокрутки */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-1);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .bg-section-1,
    .bg-section-2 {
        padding: 40px 0;
    }
}