@font-face {
    font-family: 'BerlinSansFBDemi-Bold';
    src: url('../fonts/berlinsansfbdemi-bold.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/berlinsansfbdemi-bold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/berlinsansfbdemi-bold.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/berlinsansfbdemi-bold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/berlinsansfbdemi-bold.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/berlinsansfbdemi-bold.svg#berlinsansfbdemi-bold') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Black';
    src: url('../fonts/roboto_black.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_black.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_black.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_black.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_black.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_black.svg#roboto_black') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Black Italic';
    src: url('../fonts/roboto_black_italic.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_black_italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_black_italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_black_italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_black_italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_black_italic.svg#roboto_black_italic') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Bold';
    src: url('../fonts/roboto_bold.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_bold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_bold.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_bold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_bold.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_bold.svg#roboto_bold') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Bold Condensed';
    src: url('../fonts/roboto_bold_condensed.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_bold_condensed.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_bold_condensed.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_bold_condensed.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_bold_condensed.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_bold_condensed.svg#roboto_bold_condensed') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Bold Condensed Italic';
    src: url('../fonts/roboto_bold_condensed_italic.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_bold_condensed_italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_bold_condensed_italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_bold_condensed_italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_bold_condensed_italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_bold_condensed_italic.svg#roboto_bold_condensed_italic') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Bold Italic';
    src: url('../fonts/roboto_bold_italic.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_bold_italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_bold_italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_bold_italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_bold_italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_bold_italic.svg#roboto_bold_italic') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Italic';
    src: url('../fonts/roboto_italic.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_italic.svg#roboto_italic') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Light';
    src: url('../fonts/roboto_light.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_light.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_light.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_light.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_light.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_light.svg#roboto_light') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Light Italic';
    src: url('../fonts/roboto_light_italic.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_light_italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_light_italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_light_italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_light_italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_light_italic.svg#roboto_light_italic') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Medium';
    src: url('../fonts/roboto_medium.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_medium.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_medium.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_medium.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_medium.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_medium.svg#roboto_medium') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Medium Italic';
    src: url('../fonts/roboto_medium_italic.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_medium_italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_medium_italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_medium_italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_medium_italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_medium_italic.svg#roboto_medium_italic') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Regular';
    src: url('../fonts/roboto_regular.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_regular.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_regular.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_regular.svg#roboto_regular') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Thin';
    src: url('../fonts/roboto_thin.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_thin.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_thin.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_thin.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_thin.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_thin.svg#roboto_thin') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
    font-family: 'Roboto Thin Italic';
    src: url('../fonts/roboto_thin_italic.eot'); /* IE 9 Compatibility Mode */
    src: url('../fonts/roboto_thin_italic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
    url('../fonts/roboto_thin_italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto_thin_italic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
    url('../fonts/roboto_thin_italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/roboto_thin_italic.svg#roboto_thin_italic') format('svg'); /* Chrome < 4, Legacy iOS */
}
main{
    min-height: 100vh;
}
.scroll-container {
    position: fixed; /* Фиксируем контейнер */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Включаем прокрутку */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}
header {
    margin: 20px 0;
    width: 980px;
    height: 91px;
    min-height: 82px;
    background: url('../image/Прямоугольник 2 копия 3.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-self: flex-end;
    align-content: center;
    z-index: 100;
    position: absolute;
    padding: 10px 20px 10px 83px;
    box-sizing: border-box;
    background-position-x: 0px;
    right: 0;
}

header .navbarchik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-family: "Century Schoolbook", serif;
    font-weight: bold;
    font-size: 16pt;
    height: auto;
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    width: 100%;
    color: #3a9c83;
}

.nav-link {
    text-decoration: none;
    color: #0e97ae;
    padding: 10px 15px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1946c6;
}

.logo-mobile {
    display: none;
    font-family: "Engravers MT", serif;
    font-size: 28px;
    color: #1946c6;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #0e97ae;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Мобильная версия */
@media (max-width: 992px) {
    header {
        width: 100%;
        padding: 10px 15px;
        background-position-x: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(25, 70, 198, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        gap: 25px;

    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        color: white !important;
        font-size: 18px;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .hamburger {
        display: flex;
    }

    .logo-mobile {
        display: block;
    }
}

@media (max-width: 576px) {
    header{
        width: 100%;
    }
    .nav-links {
        width: 80%;
    }

    header .navbarchik {
        font-size: 14pt;
    }
}

.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 0;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-title {
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    color: #ecf0f1;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #3498db;
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn img {
    height: 40px;
    width: auto;
}

.footer-bottom {
    background-color: #1a252f;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #3498db;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 5px;
    }
}

.global-notifications {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 350px;
    width: 100%;
}

.notification {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    animation: slideIn 0.5s forwards;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-content {
    flex-grow: 1;
    padding-right: 15px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    line-height: 1;
}

.notification-close:hover {
    opacity: 1;
}

.alert-success {
    background: #4ECDC4;
    border-left: 5px solid #3DBEB5;
}

.alert-error {
    background: #FF6B6B;
    border-left: 5px solid #FF5252;
}

.alert-info {
    background: #54A0FF;
    border-left: 5px solid #2E86DE;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

.notification.hide {
    animation: slideOut 0.5s forwards;
}

@keyframes slideOut {
    from { transform: translateX(0); }
    to { transform: translateX(120%); }
}