body {
        font-family: 'Poppins', sans-serif;
        margin: 0;
        background: #e8f4f9;
        color: #2f4f4f;
    }

    .video-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: -2;
    }
    .img-gallery {
    height: 300px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease;
}

.img-gallery:hover {
    transform: scale(1.05);
}
    .background-video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
        filter: blur(15px) brightness(0.5);
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: -1;
    }

    header {
        background: linear-gradient(135deg, #3b5998, #8b9dc3);
        color: white;
        text-align: center;
        padding: 3rem 1rem;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

    header h1 {
        font-family: 'Poppins', sans-serif;
        font-size: 3.5rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    nav {
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    nav .nav-link {
        color: #3b5998;
        font-weight: 500;
        padding: 0.8rem 1.5rem;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    nav .nav-link.active {
        color: #8b9dc3;
        font-weight: 700;
    }

    nav .nav-link:hover {
        color: #e74c3c;
        background-color: #f7f9fc;
        transform: scale(1.05);
    }

    section {
        padding: 4rem 1rem;
        display: none;
        transition: opacity 0.5s ease-in-out;
    }

    section.active {
        display: block;
        opacity: 1;
    }

    section h2 {
        font-size: 2.5rem;
        color: #3b5998;
        margin-bottom: 1rem;
        text-align: center;
    }

    section p,
    section ul,
    section table {
        font-size: 1.2rem;
        color: #34495e;
        line-height: 1.6;
    }

    .card {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border: none;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }

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

    .card img {
        transition: transform 0.3s ease;
        object-fit: cover;
    }

    .card:hover img {
        transform: scale(1.1);
    }

    .btn-primary {
        position: relative;
        overflow: hidden;
        border-radius: 50px;
        background-color: #3b5998;
        color: white;
        font-weight: 600;
        padding: 12px 25px;
        text-transform: uppercase;
        transition: background-color 0.4s ease, transform 0.4s ease;
    }

    .btn-primary:hover {
        background-color: #8b9dc3;
        transform: scale(1.05);
    }

    .btn-primary:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300%;
        height: 300%;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
        transform: translate(-50%, -50%);
    }

    .btn-primary:hover:after {
        width: 0;
        height: 0;
        top: 50%;
        left: 50%;
    }

    footer {
        background: #3b5998;
        color: white;
        text-align: center;
        padding: 1.5rem 0;
        margin-top: 3rem;
    }

    footer .social-icons {
        margin-top: 1rem;
    }

    footer .social-icons a {
        font-size: 1.5rem;
        color: white;
        margin-right: 15px;
        transition: color 0.3s ease;
    }

    footer .social-icons a:hover {
        color: #8b9dc3;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-in-up {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    .btn-primary {
        animation: pulse 1.5s infinite;
    }

    .counter {
        font-size: 3rem;
        font-weight: 700;
        color: #3b5998;
    }
    /* Стили для уведомлений */
.alert {
    border-radius: 12px;
    padding: 18px 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(-10px);
    opacity: 0;
}

.alert.show {
    transform: translateY(0);
    opacity: 1;
}

.alert-success {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
}

.alert-danger {
    background: linear-gradient(135deg, #f44336, #c62828);
    color: white;
    border: none;
}

.alert i {
    margin-right: 12px;
    font-size: 1.5rem;
}

/* Анимация для иконки в уведомлении */
.alert-success i {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Эффект при наведении на уведомление */
.alert:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Анимация закрытия уведомления */
.alert.hide {
    transform: translateY(-50px);
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
/* Стили для уведомления об успехе */
.success-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 1000;
    transform: translateX(150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
}

.success-notification.show {
    transform: translateX(0);
}

.success-notification i {
    font-size: 28px;
    margin-right: 15px;
    color: #ffffff;
    animation: bounce 0.6s ease;
}

.success-notification .content {
    flex: 1;
}

.success-notification h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.success-notification p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.success-notification .close-btn {
    margin-left: 15px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.success-notification .close-btn:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

/* Анимация прогрессбара */
.success-notification .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.success-notification .progress {
    height: 100%;
    background: white;
    width: 100%;
    animation: progress 5s linear forwards;
    transform-origin: left;
}

@keyframes progress {
    0% {transform: scaleX(1);}
    100% {transform: scaleX(0);}
}
/* Стили для видеофона */
.video-header {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.header-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .btn-group {
        flex-wrap: wrap;
    }
    
    .btn-group .btn {
        margin-bottom: 5px;
    }
}
/* Стили для герой-секции */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* Анимированная кнопка скролла */
.scroll-down-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    text-align: center;
    line-height: 46px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    transition: all 0.3s;
}

.scroll-down-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-50%) scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}
.hero-section {
    background: linear-gradient(135deg, #3b5998, #8b9dc3);
    background-size: 200% 200%;
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-section h1 {
    animation: fadeInUp 1s ease;
}

.hero-section p {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Стили для фонового видео */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transition: filter 0.5s ease;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 89, 152, 0.6); /* затемнение поверх видео */
    z-index: 1;
}

/* Контент поверх видео */
.hero-section .container {
    z-index: 2;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(8px) brightness(1.05);
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* лёгкое затемнение */
    z-index: 1;
}
/* Добавьте в конец вашего CSS */
@media (max-width: 768px) {
    h1.display-4 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .counter {
        font-size: 1.5rem;
    }
    
    section {
        padding: 30px 0;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-md-4, .col-4 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .counter {
        font-size: 2rem;
    }
}
.scroll-down-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

.scroll-down-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}