/* General Styles */
body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.nav-link,
.accordion-button {
    font-family: "Tektur", sans-serif;
}

a{
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff0000;
}

.mid {
    vertical-align: center;
}
.mid-image {
    margin-top: 83px;
    width: 100%;
}
.mid-image img {
    max-width: 100%;
}
.top-title {
    z-index: 10;
}

/* Navbar Styles */
/* Стили для кнопки полноэкранного режима */
.btn-fullscreen {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-fullscreen:hover {
    opacity: 0.8;
}

.btn-fullscreen:focus {
    outline: none;
}

/* Анимация при наведении */
.fullscreen-icon, .exit-fullscreen-icon {
    transition: transform 0.2s ease;
}

.btn-fullscreen:hover .fullscreen-icon,
.btn-fullscreen:hover .exit-fullscreen-icon {
    transform: scale(1.1);
}


.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 0 0 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
}

.logo-text {
    letter-spacing: 1px;
}

.logo-text svg {
    width: 170px;
}

.logo-text img {
    width: 170px;
}

.bottom-border-gradient {
    position: relative;
}

.bottom-border-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Толщина границы */
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0), /* Прозрачный слева */
            rgba(128, 128, 128, 1), /* Серый в центре */
            rgba(0, 0, 0, 0) /* Прозрачный справа */
    );
}

.nav-link {
    color: #ffffff !important;
    margin: 0 10px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #ff0000 !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -11px;
    left: 0;
    background: linear-gradient(
            to right,
            rgba(255, 0, 0, 0), /* Прозрачный красный слева */
            rgba(255, 0, 0, 1), /* Красный в центре */
            rgba(255, 0, 0, 0)  /* Прозрачный красный справа */
    );
    z-index: 10;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Активный пункт меню */
.nav-link.active {
    color: #ff0000 !important;
}

.nav-link.active::after {
    width: 100%;
}

/* Custom Hamburger Icon */
.navbar-toggler {
    border: none;
    padding: 0;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    transition: opacity 0.3s ease;
}

.navbar-toggler-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-close {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #111111;
    background-image: url("/images/index-image-sonar.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#particle-logo {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 50px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
}

/* Event Info */
.event-info {
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
    /*margin-top: auto;*/
}

.event-date,
.event-location,
.event-organizer,
.event-operator {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 16px;
    font-family: "Tektur", sans-serif;
}

.separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 15px;
    width: 100%;
}

.btn-registration {
    background-color: transparent;
    color: #ff0000;
    padding: 8px 30px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    text-decoration: none;
    border-radius: 0px;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
}

.btn-registration::before,
.btn-registration::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px; /* Толщина границы */
    background: linear-gradient(
            to right,
            rgba(255, 0, 0, 0), /* Прозрачный красный слева */
            rgba(255, 0, 0, 1), /* Красный в центре */
            rgba(255, 0, 0, 0)  /* Прозрачный красный справа */
    );
}

.btn-registration::before {
    top: 0; /* Верхняя граница */
}

.btn-registration::after {
    bottom: 0; /* Нижняя граница */
}

.btn-registration:hover {
    background-color: #ff0000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Левый нижний угловой бордер */
.left-bottom-border-gray {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 50px;
    height: 50px;
    pointer-events: none;
    background:
            linear-gradient(
                    to right,
                    rgba(128, 128, 128, 1) 0%, /* Серый цвет слева */
                    rgba(128, 128, 128, 0) 100% /* Прозрачный справа */
            ) bottom left/50px 2px, /* Горизонтальная линия */
            linear-gradient(
                    to top,
                    rgba(128, 128, 128, 1) 0%, /* Серый цвет снизу */
                    rgba(128, 128, 128, 0) 100% /* Прозрачный сверху */
            ) bottom left/2px 50px; /* Вертикальная линия */
    background-repeat: no-repeat;
}

/* Правый нижний угловой бордер */
.right-bottom-border-gray {
    content: '';
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 50px;
    height: 50px;
    pointer-events: none;
    background:
            linear-gradient(
                    to left,
                    rgba(128, 128, 128, 1) 0%, /* Серый цвет справа */
                    rgba(128, 128, 128, 0) 100% /* Прозрачный слева */
            ) bottom right/50px 2px, /* Горизонтальная линия */
            linear-gradient(
                    to top,
                    rgba(128, 128, 128, 1) 0%, /* Серый цвет снизу */
                    rgba(128, 128, 128, 0) 100% /* Прозрачный сверху */
            ) bottom right/2px 50px; /* Вертикальная линия */
    background-repeat: no-repeat;
}

/* Кнопка "Вверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e60000;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}


/* Стили для модального окна с прокруткой */
.registration-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.registration-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.registration-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.registration-modal-body {
    padding: 20px;
    overflow-y: auto; /* Добавляем прокрутку для содержимого */
    max-height: calc(80vh - 70px); /* Вычитаем высоту заголовка */
}

/* Стили для скроллбара (для лучшего UX) */
.registration-modal-body::-webkit-scrollbar {
    width: 8px;
}
.registration-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.registration-modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.registration-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Registration Modal */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.registration-modal.show {
    opacity: 1;
    visibility: visible;
}

.registration-modal-content {
    background-color: #ffffff;
    color: #000000;
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.registration-modal.show .registration-modal-content {
    transform: translateY(0);
}

.registration-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
}

.registration-modal-header h5 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.registration-modal-body {
    padding: 20px;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #ff0000;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}

/* Introduction Section */
.intro-section {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.intro-section-2 {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-image: url("/images/index-image-sonar.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* New styles for discussed topics cards */
.discussed-topic-card {
    background-color: #f8f8f8;
    color: #000000;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    align-items: center; /* Vertically align content */
}

.discussed-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.discussed-topic-card p {
    font-size: 1.1rem;
    margin-bottom: 0; /* No margin if it's just a title */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

.separator-red {
    height: 3px;
    background-color: #ff0000;
    width: 80%;
    margin: 30px auto;
    position: relative;
}

.separator-red {
    position: relative;
}

/* Основная красная точка */
.separator-red::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff0000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Чтобы точка была поверх волн */
}

/* Первая волна сонара */
.separator-red::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: sonar1 2s linear infinite;
}

/* Вторая волна сонара (через дополнительный элемент) */
.separator-red > span {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: sonar2 2s linear infinite;
}

/* Анимация для первой волны */
@keyframes sonar1 {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.7;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* Анимация для второй волны (с задержкой) */
@keyframes sonar2 {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.red-text {
    background: #ff0000;
    padding: 10px 6px;
    color: white;
    max-width: fit-content;
}

.separator-green {
    height: 3px;
    background-color: #28a745;
    width: 80%;
    margin: 30px auto;
    position: relative;
}

.separator-green::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #28a745;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.green-text {
    background: #28a745;
    padding: 10px 6px;
    color: white;
    max-width: fit-content;
}

.text-center {
    text-align: center;
}

.mse-auto {
    margin-left: auto;
    margin-right: auto;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* Features Section (Black Background) */
.features-section {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/*.features-section::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);*/
/*    pointer-events: none;*/
/*}*/

.features-section .section-title {
    color: #000000;
    margin-bottom: 50px;
}

.features-content {
    padding-right: 30px;
}

.features-content .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.features-list li:hover {
    transform: translateX(5px);
}

.features-list li i {
    color: #ff0000;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 3px;
}

.features-image {
    border: 2px solid #333;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3);
}

.features-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.features-image:hover img {
    transform: scale(1.05);
}

/* Services Section (Red Background with Video) */
.services-section {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-image: url(/images/index-image-sonar.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

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

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

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.services-section .section-title {
    color: #ffffff;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, background-color 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 0, 0, 0), /* Прозрачный красный слева */ rgba(255, 0, 0, 1), /* Красный в центре */ rgba(255, 0, 0, 0) /* Прозрачный красный справа */);
    transition: height 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background-color: rgba(20, 20, 20, 0.9);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

/* Стили для иконок */
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.service-card:hover .service-icon {
    transform: scale(1.2) translateY(-5px);
    color: #ff0000;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover h3 {
    color: #ff0000;
    transform: translateY(-5px);
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: center;
    transition: opacity 0.3s ease;
}

.service-card:hover p {
    opacity: 1;
}

/* Comparison Section (Black Background) */
.comparison-section {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/*.comparison-section::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%);*/
/*    pointer-events: none;*/
/*}*/

.comparison-section .section-title {
    color: #000000;
    margin-bottom: 10px;
}

.comparison-section .section-subtitle {
    color: #aaa;
    margin-bottom: 40px;
}

.comparison-tabs {
    max-width: 900px;
    margin: 0 auto 50px;
    background-color: rgba(30, 30, 30, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-tabs {
    border-bottom: none;
    background-color: rgb(0 24 36);
    padding: 10px 10px 0;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 5px 5px 0 0;
    padding: 12px 20px;
    font-weight: 500;
    color: #fff !important;
    transition: all 0.3s ease;
    margin-right: 5px;
    background-color: rgba(50, 50, 50, 0.5);
}

.nav-tabs .nav-link:hover {
    background-color: rgba(255, 0, 0, 0.2);
    color: #ff0000 !important;
}

.nav-tabs .nav-link.active {
    background-color: rgba(255, 0, 0, 0.8);
    color: #ffffff !important;
    border-bottom: none;
}

.tab-content {
    padding: 30px;
    background: #143b4d;
    color: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.3);
}

.comparison-table th.us {
    background-color: rgba(255, 0, 0, 0.3);
    color: #ffffff;
}

.comparison-table th.them {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.comparison-table td.us {
    background-color: rgba(255, 0, 0, 0.1);
}

.comparison-table td.them {
    background-color: rgba(255, 255, 255, 0.05);
}

.comparison-table i.bi-check-circle-fill {
    color: #28a745;
}

.comparison-table i.bi-x-circle-fill {
    color: #dc3545;
}

.comparison-cta {
    text-align: center;
    margin-top: 50px;
}

.comparison-cta h4 {
    margin-bottom: 20px;
    font-weight: 500;
    color: #ffffff;
}

.btn-danger {
    background-color: #ff0000;
    border-color: #ff0000;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-danger:hover {
    background-color: #e60000;
    border-color: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Venue Section (New) */
.show-photo {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.show-photo .magnifier-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.show-photo:hover .magnifier-icon {
    opacity: 1;
}

.show-photo .magnifier-icon i {
    transition: transform 0.3s ease;
}

.show-photo:hover .magnifier-icon i {
    transform: scale(1.2);
}

.venue-section {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/*.venue-section::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);*/
/*    pointer-events: none;*/
/*}*/

.venue-section .section-title {
    padding-bottom: 40px;
}

.venue-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.venue-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3);
}

.venue-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.venue-content {
    padding: 20px;
}

.venue-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.venue-address {
    font-size: 1.1rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    color: #aaa;
}

.venue-address i {
    color: #ff0000;
    margin-right: 10px;
    font-size: 1.3rem;
}

.venue-features {
    margin-bottom: 30px;
}

.venue-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.venue-feature:hover {
    transform: translateX(5px);
}

.venue-feature i {
    color: #ff0000;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 3px;
}

.venue-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.venue-feature p {
    margin: 0;
    /*color: #aaa;*/
}

.venue-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-outline-danger {
    color: #ff0000;
    border-color: #ff0000;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #ff0000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* FAQ Section (White Background) */
.faq-section {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 0;
}

.faq-section .section-title {
    color: #000000;
    margin-bottom: 50px;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: #f8f8f8;
    color: #000000;
    font-weight: 600;
    padding: 15px 20px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #ff0000;
    color: #ffffff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-collapse {
    transition: all 0.3s ease-out;
}

.accordion-body {
    padding: 20px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.accordion-body p {
    margin-bottom: 15px;
}

.accordion-body ul,
.accordion-body ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.accordion-body li {
    margin-bottom: 5px;
}

/* Contacts Section with Video Background */
.contacts-section {
    position: relative;
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0;
    overflow: hidden;
    z-index: 1;
}

.contacts-section .video-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 30px; /* Space between items */
    margin-bottom: 30px;
    align-items: center; /* Center items horizontally on mobile */
}

@media (min-width: 992px) {
    .contact-info {
        flex-direction: row; /* Display in a row on desktop */
        justify-content: center; /* Center the group of items */
        align-items: stretch; /* Ensure equal height for items */
        gap: 30px; /* Space between items */
    }

    .contact-item {
        flex: 1; /* Allow items to grow and shrink, taking equal space */
        max-width: 300px; /* Optional: Limit max width for very wide screens */
    }
}


.contact-item {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-item i {
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-form-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    color: #ffffff;
    margin-bottom: 5px;
    display: block;
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ff0000;
    color: #ffffff;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contact-form .form-check-input:checked {
    background-color: #ff0000;
    border-color: #ff0000;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 20px 0;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #ff0000;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.8s ease-in-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-in-out;
}

.zoom-in {
    animation: zoomIn 0.8s ease-in-out;
}

/* Стиль для изображения, чтобы показать, что оно кликабельно */
.gallery-trigger {
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-trigger:hover {
    opacity: 0.9;
}

/* Стили для модального окна галереи */
.modal-content {
    border-radius: 8px;
    overflow: hidden;
}

.carousel-item img {
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.border-angle {
    position: relative;
}

/* Левый нижний угол (ваш исходный стиль) */
.border-angle::before {
    content: '';
    position: absolute;
    left: 6px;
    bottom: 6px;
    width: 50px;
    height: 50px;
    pointer-events: none;
    background:
            linear-gradient(to right, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) bottom left / 50px 2px,
            linear-gradient(to top, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) bottom left / 2px 50px;
    background-repeat: no-repeat;
}

/* Правый нижний угол */
.border-angle::after {
    content: '';
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 50px;
    height: 50px;
    pointer-events: none;
    background:
            linear-gradient(to left, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) bottom right / 50px 2px,
            linear-gradient(to top, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) bottom right / 2px 50px;
    background-repeat: no-repeat;
}

/*!* Левый верхний угол *!*/
/*.border-angle > span::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 6px;*/
/*    top: 6px;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    pointer-events: none;*/
/*    background:*/
/*            linear-gradient(to right, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) top left / 50px 2px,*/
/*            linear-gradient(to bottom, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) top left / 2px 50px;*/
/*    background-repeat: no-repeat;*/
/*}*/

/*!* Правый верхний угол *!*/
/*.border-angle > span::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    right: 6px;*/
/*    top: 6px;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    pointer-events: none;*/
/*    background:*/
/*            linear-gradient(to left, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) top right / 50px 2px,*/
/*            linear-gradient(to bottom, rgba(128, 128, 128, 1) 0%, rgba(128, 128, 128, 0) 100%) top right / 2px 50px;*/
/*    background-repeat: no-repeat;*/
/*}*/

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Основные стили скроллбара (для Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px;  /* ширина вертикального скроллбара */
    height: 12px; /* высота горизонтального скроллбара */
}

/* Трек (фон) скроллбара */
::-webkit-scrollbar-track {
    background: #000000;
}

/* Бегунок скроллбара */
::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 6px;
    border: 2px solid #000000; /* создает отступ вокруг бегунка */
}

/* При наведении на бегунок */
::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0; /* светло-серый при наведении */
}

/* Углы скроллбара (пересечение горизонтального и вертикального) */
::-webkit-scrollbar-corner {
    background: #333333; /* темно-серый */
}

/* Стили для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #ffffff #000000; /* бегунок и трек */
}

/* Стили для IE и Edge (устаревший метод) */
body {
    -ms-overflow-style: none; /* для IE 10+ */
}

/* Для IE (устаревший метод) */
body::-ms-scrollbar {
    width: 12px;
}

body::-ms-scrollbar-track {
    background: #000000;
}

body::-ms-scrollbar-thumb {
    background: #ffffff;
    border-radius: 6px;
}



/* Responsive Adjustments */
@media (max-width: 992px) {

    .nav-link::after {
        bottom: 4px;
        max-width: 100px;
    }
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 15px;
        border-radius: 5px;
        margin-top: 10px;
        transition: all 0.3s ease;
    }

    .event-info .col-md-4 {
        text-align: center !important;
        margin-bottom: 20px;
    }

    .separator {
        margin: 15px auto;
    }

    .features-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .venue-content {
        margin-top: 30px;
    }

    .venue-cta {
        flex-direction: column;
    }

    .venue-cta .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .separator-red {
        width: 90%;
    }

    .service-card {
        padding: 20px;
    }

    .comparison-tabs {
        margin-bottom: 30px;
    }

    .tab-content {
        padding: 20px;
    }

    .contact-form-container {
        padding: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 20px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .event-info {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .registration-modal-content {
        width: 90%;
    }

    .features-list li {
        margin-bottom: 10px;
    }

    .accordion-button {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 15px;
        font-size: 0.9rem;
    }

    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .venue-feature {
        flex-direction: column;
    }

    .venue-feature i {
        margin-bottom: 10px;
    }
}
