/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.5;
}

/* Меню */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(68, 68, 68, 0.9);
    transition: background-color 0.3s ease;
}

.menu.scrolled {
    background-color: rgba(54, 121, 200, 0.95);
}

.menu__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu__logo {
    display: flex;
    align-items: center;
}

.menu__logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.menu__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu__list a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.menu__list a:hover {
    opacity: 0.8;
}

.menu__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu__toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

.menu__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu__toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Секции */
.section {
    position: relative;
}

.section__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Общий заголовок секции */
.section-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3679c8;
    margin: 15px auto 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu__list {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(68, 68, 68, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu__list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu__toggle {
        display: flex;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}
