html {
    scroll-behavior: smooth;
}
body {
    margin: 10px;
    font-family: Arial, sans-serif;
    border: 1px dashed #bbb;
    border-radius: 15px;
}
@media (min-width: 992px) {
    .container-fluid {
        display: flex;
        width: 100%;
        height: calc(100vh - 22px);
        overflow: hidden;
        transition: transform 0.3s ease;
        padding: 0;
        border-radius: 15px;
    }
}
.column {
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}
.first-column {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}
.first-column::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('../images/bg/default-bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 1;
    opacity: 0.9;
}
.first-column > * {
    position: relative;
    z-index: 2;
    color: #fff;
}
.second-column {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
/* Для мобильной версии скрыть вторую колонку */
@media (max-width: 992px) {
    .first-column {
        min-height: calc(100vh - 2px);
    }
    .first-column .masclogo > .logoname {
        font-size: 100% !important;
    }
    .first-column .masclogo > .logoslogan {
        font-size: 58% !important;
    }
    .contacts {
        margin-top: 80px !important;
    }
    .contacts span{
        padding: 5px 40px;
    }
    .side-menu{
        display: none;
    }
    .second-column {
        display: none !important;
        overflow-y: auto !important;
    }
    body {
        margin: 0;
    }
    .container-fluid {
        --bs-gutter-x: 0rem;
        overflow-y: auto !important;
    }
    .column .container-fluid {
        padding-top: 70px;
        overflow-y: auto !important;
    }
    .navbar{
        padding: 10px 20px;
    }
    .section {
        min-height: auto !important;
    }
    #our-team .card-body{
        display: inline !important;
    }
    #our-team .card-body img{
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        object-position: 50% 5% !important;
        border-radius: 6px;
    }
    #our-team .card-body p {
        font-size: 14px;
    }
}

/* Секции для мобильной навигации */
.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    text-transform: capitalize;
}

.second-column::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('../images/bg/dots-pattern.png');
    background-repeat: repeat-y;
    background-size: auto 200%;
    background-position: center;
    filter: blur(3px);
    z-index: 1;
    animation: nudge 40s linear infinite alternate-reverse;
}
.second-column h2 {
    text-align: center;
    margin-top: 0;
    z-index: 99;
}
.second-column a {
    text-decoration: none;
    color: #000;
    margin: 5px 0;
    font-size: 160%;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
    text-transform: uppercase;
    z-index: 99;
}
.second-column a:nth-child(-n+6) {
    border-bottom: 1px solid #eee;
}
.second-column a:hover {
    color: #222;
}
.hidden {
    display: none;
}
.third-column {
    background-color: #f9f9f9;
    display: none;
    padding: 10px;
    overflow-y: auto; /* Включить вертикальную прокрутку */
    height: 100%; /* Убедитесь, что колонка занимает всю высоту */
}

.third-column.active {
    display: block;
    overflow-y: auto;
}

.sections {
    height: 100%; /* Занять доступное пространство */
    overflow-y: auto; /* Включить прокрутку для дочерних элементов */
    display: flex;
    flex-direction: column; /* Расположение секций вертикально */
    gap: 20px; /* Расстояние между секциями */
}
.section {
    min-height: calc(60vh - 70px);
    flex-shrink: 0;
    border: 1px dashed #bbb;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    overflow-y: auto;
}
.reset-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}
.reset-container.hidden {
    display: none;
}

@keyframes nudge {
    0% {
        background-position: 0% 0%; /* Начальная позиция */
    }
    100% {
        background-position: 0% 100%; /* Конечная позиция по вертикали */
    }
}
.toggle-link {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-link.active {
    background-color: #ffc107;
    color: #222;
    font-weight: bold;
}

.img-responsive {
    display: block;
    min-width: 180px;
    min-height: 140px;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.about-us{
    height: 440px;
    width: 100%;
    object-fit: cover;
    object-position: 50% 44%;
}
#our-team .card-body{
    display: flex;
    align-items: flex-start;
}
#our-team .card-body img{
    height: 160px;
    width: auto;
    object-fit: cover;
    object-position: 50% 44%;
        border-radius: 6px;
}
#our-team .card-body p{
    font-size: 14px;
}
.contacts{
    margin-top: 20px;
}
.contacts span{
    display: block;
    padding: 5px 40px;
    font-size: 140%;
}
.contacts span a{
    text-decoration: none;
    color: #ffcd00;
}
.contacts span a:hover{
    color: #da9d00;
}
.contacts span i{
    padding-right: 5px;
}