
@media screen and (max-width: 480px){
    .topPartsGray {
        padding-top: 180px !important;
    }
}
.topPartsGray {
    padding-top: 10px;
}
@media screen and (max-width: 780px){
    .m-title{
        font-family: 'IBMPlexSans-Bold', sans-serif !important;
        font-size:28px !important;
        font-weight: bold;
        color: #16142F !important;
        line-height: 35px !important;
    }
    .firstSection {

        padding-bottom: 25px;
    }

}

.title-desc {
    font-size: 40px !important;
}

.h1-title {
    font-family: "IBMPlexSans-Bold", sans-serif;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.4px;
    margin: 0 0 16px;
    font-size: 56px;
    line-height: 1.14;
    color: #303337;
}


.h1-title-mob {
    font-family: "IBMPlexSans-Bold", sans-serif;

    font-weight: bold;
    font-stretch: normal;
    font-style: normal;


    /* font-family: IBMPlexSans; */



    line-height: 1.14;
    letter-spacing: 0.4px;
    color: #303337;
    font-size: 38px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.topPartsGray{
    padding-top: 180px;
}

.nav-pills .nav-link {
    text-align: center;
}
.video-container {
    position: relative;
    width: 250px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}
.video-container img {
    display: block;
    width: 250px;

    height: 400px;
    object-fit: cover;
}

.Rectangle {
    position: absolute;
    bottom: 20px; /* задаем отступ от нижней границы контейнера для видео */
    left: 50%; /* устанавливаем блок в середину контейнера */
    transform: translateX(-50%); /* центрируем блок относительно его собственной ширины */
    z-index: 1;
    width: 164px;
    text-align: center;
    height: auto;
    padding: 12px 24px;
    border-radius: 24px;
    background-color: #fff;
}

.slide {
    width: auto;
    height: 200px;
    background-color: #ccc;
    text-align: center;
    line-height: 200px;
    font-size: 48px;
}

.slider_video {
    margin: 0 auto;
    width: 960px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* Update modal styles */
/* Update modal styles */
.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 450px; /* Reduced from 800px to better fit vertical videos */
}

.modal-video {
    width: 100%;
}

/* Improved close button with background plate */
.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    color: #333;
}

.modal-close:hover {
    background-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-container {
        max-width: 340px;
        padding: 15px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 177.77% !important; /* 16:9 aspect ratio for mobile */
    }
}


.slick-slide {
    margin: 0 10px; /* Равные отступы с обеих сторон */
}

.slick-list {
    margin: 0 -10px; /* Компенсируем отступы для правильного центрирования */
}

.review-card-mobile {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 440px;
    margin: 0 auto; /* Центрируем карточку */
    max-width: calc(100% - 20px); /* Учитываем отступы */
}

/* Остальные стили остаются без изменений */
.review-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-name-label {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-overlay::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid rgba(0, 0, 0, 0.8);
    margin-left: 5px;
}
section.parallax {
    padding: 45px 0
}

section.parallax .page-center {
    position: relative
}

section.parallax .mob-video {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

section.parallax .page-center h3, section.parallax .page-center .h3 {
    color: #21174b;
    font-weight: 400!important;
    max-width: 380px;
    font: normal normal normal 31px/40px Helvetica Now Display
}

section.parallax .points {
    position: sticky;
    left: 0;
    top: 40vh;
    margin: 40vh 0;
    width: 5px;
    height: 0;
    z-index: 333
}

section.parallax .points p {
    margin-bottom: 0;
    line-height: 1
}

section.parallax .points p a {
    color: #21174b;
    opacity: .5;
    font-family: Inter,sans-serif!important;
    font-size: 25px
}

section.parallax .points p.active a {
    opacity: 1
}

section.parallax .items {
    display: flex;
    justify-content: space-around;
    margin-top: -80vh
}

section.parallax .items .item {
    width: 45%
}

section.parallax .items .item .col {
    height: calc(100vh - 390px);
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: relative;
}

section.parallax .page-center .items .item p {
    font-size: 18px;
    letter-spacing: 0;
    color: #414141;
    max-width: 450px
}

section.parallax .page-center .items .item p a {
    color: #8693ff
}

section.parallax .items .video {
    transition: all .5s ease;
    position: sticky;
    top: 25vh;
    margin-bottom: 18vh
}

section.parallax .items .item.videos {
    position: relative
}

section.parallax .items .video .fullscreen-bg__video {
    width: 140%;
    margin-left: -7vw
}

@media (max-width: 1000px) {
    section.parallax .items .video .fullscreen-bg__video {
        width:140%;
        margin-left: -8vw
    }
}


.sec-images .my-videos {
    position: fixed;
    top: 155px;
    left: 31%;
    transform: translateX(-50%);
}
.my-points {
    position: fixed;
    top: 50px; /* change this value to adjust the vertical position */
    left: 0;
}

.my-videos {
    position: fixed !important;
    top: 50px; /* change this value to adjust the vertical position */
    right: 0;
    height: 100%;
    overflow: auto;
    padding: 0 20px; /* add some padding to the videos container */
}

.slide {
    width: auto;
    height: auto !important;
    background-color: #ffffff!important;
}

@media (max-width: 767.98px) {
    .img-slider-wrapper {
        height: 250px !important;
    }
    .img-slider {
        height: 100% !important;
        width: auto !important;
        object-fit: cover;

    }
}
#grafikSmenmob {
    position: relative; /* Keep this */
    visibility: hidden; /* Keep this */
    /* Default or desktop offset if needed */
    top: -150px;
}

@media (max-width: 767px) { /* Or your mobile breakpoint */
    #grafikSmenmob {
        top: 80px; /* Adjust -80px based on actual mobile header height */
    }
}
@media (max-width: 767px) {
    .secondSection p {
        text-align: left !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .camp-table {
        padding-left: 15px;
        padding-right: 15px;
    }
}

 .offerSlider .JSofferSliderNew2 .slick-slide{
     opacity: 1;
 }
.offer__slider_new.offer__slider{
    width: 100%;
}
.offer__slider_new .offerSlider__arrow_prev{
    left: -3px;
}
.offer__slider_new{
    display: flex!important;
}


@media screen and (max-width: 480px){
    .inv {
        padding-top: 10px !important;
    }
}
.inv {
    padding-top: 10px;
}
.nav-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Скрываем скролл */
}

.nav-tabs::-webkit-scrollbar {
    display: none; /* Скрываем скролл для Webkit */
}
#mobile-age-5-8 ul,
#mobile-age-13-plus ul {
    list-style: none;
    padding-left: 15px; /* Оставляем отступ для текста */
}

.kidsSkills.tab-pane {
    height: auto !important; /* Высота будет адаптироваться под контент */
    min-height: 0; /* Убираем минимальную высоту, если она была задана */
    padding-bottom: 35px; /* Оставляем отступ снизу */
    transition: height 0.5s ease; /* Плавное изменение высоты */
}

.age-tab:hover {
    background-color: #1a4bbf;
    transform: translateY(-2px);
}

/* Стили для стрелок */
.scroll-arrow {
    cursor: pointer;
    font-size: 24px;
    color: #2a5dde;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}


.scroll-arrow.left {
    margin-right: 10px;
}

.scroll-arrow.right {
    margin-left: 10px;
}

/* Стили для таба "9-12 лет" */
#mobile-age-9-12 p,
#mobile-age-9-12 ul {
    text-align: left !important;
    margin-left: 0;
    padding-left: 0;
}


#mobile-age-9-12 p {
    font-weight: bold;
    margin-bottom: 10px;
}



.age-group {
    display: none;
}

.age-group.active {
    display: block;
}

.age-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.scroll-arrow {
    cursor: pointer;
    font-size: 24px;
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 50%;
    margin: 0 10px;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.age-tab {
    background-color: #2a5dde;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#tab-7 .kidsSkills.tab-pane {
    height: 750px !important;
    min-height: 750px !important;
    overflow-y: auto !important;
}

.age-content {
    height: 100% !important;
}

.age-group {
    height: 100% !important;
    overflow: hidden !important;
}

.age-group.active {
    display: block !important;
}
.slider--services_slide_service {
    min-height: 760px !important;
}
@media (max-width: 767px) {
    .secondSection p {
        text-align: left !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .camp-table {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 480px){
    .topPartsGray {
        padding-top: 180px !important;
    }
}
.topPartsGray {
    padding-top: 10px;
}
@media screen and (max-width: 780px){
    .m-title{
        font-family: 'IBMPlexSans-Bold', sans-serif !important;
        font-size:28px !important;
        font-weight: bold;
        color: #16142F !important;
        line-height: 35px !important;
    }
    .firstSection {

        padding-bottom: 25px;
    }
}

.title-desc {
    font-size: 40px !important;
}
.sec_heading{
    font-family: "IBMPlexSans-Bold", sans-serif;
    font-size: 26px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.23;
    letter-spacing: normal;
    color: #303337;
    margin-bottom: 29px;
    text-align: center;
}
@media (max-width: 767px) {
    .secondSection p {
        text-align: left !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .camp-table {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media screen and (max-width: 480px){
    .topPartsGray {
        padding-top: 180px !important;
    }
}
.topPartsGray {
    padding-top: 10px;
}
@media screen and (max-width: 780px){
    .m-title{
        font-family: 'IBMPlexSans-Bold', sans-serif !important;
        font-size:28px !important;
        font-weight: bold;
        color: #16142F !important;
        line-height: 35px !important;
    }
}

.title-desc {
    font-size: 40px !important;
}

.topPartsGray {
    padding-top: 10px;
}
@media screen and (max-width: 480px){
    .topPartsGray {
        padding-top: 180px !important;
    }
    .firstSection {

        padding-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .secondSection p {
        text-align: left !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .camp-table {
        padding-left: 15px;
        padding-right: 15px;
    }
}

section.parallax {
    padding: 45px 0
}

section.parallax .page-center {
    position: relative
}

section.parallax .mob-video {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

section.parallax .page-center div {
    color: #21174b;
    font-weight: 400!important;
    max-width: 380px;
    font: normal normal normal 31px/40px Helvetica Now Display
}

section.parallax .points {
    position: sticky;
    left: 0;
    top: 40vh;
    margin: 40vh 0;
    width: 5px;
    height: 0;
    z-index: 333
}

section.parallax .points p {
    margin-bottom: 0;
    line-height: 1
}

section.parallax .points p a {
    color: #21174b;
    opacity: .5;
    font-family: Inter,sans-serif!important;
    font-size: 25px
}

section.parallax .points p.active a {
    opacity: 1
}

section.parallax .items {
    display: flex;
    justify-content: space-around;
    margin-top: -80vh
}

section.parallax .items .item {
    width: 45%
}

section.parallax .items .item .col {
    height: calc(100vh - 390px);
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: relative;
}

section.parallax .page-center .items .item p {
    font-size: 18px;
    letter-spacing: 0;
    color: #414141;
    max-width: 450px
}

section.parallax .page-center .items .item p a {
    color: #8693ff
}

section.parallax .items .video {
    transition: all .5s ease;
    position: sticky;
    top: 25vh;
    margin-bottom: 18vh
}

section.parallax .items .item.videos {
    position: relative
}

section.parallax .items .video .fullscreen-bg__video {
    width: 140%;
    margin-left: -7vw
}

@media (max-width: 1000px) {
    section.parallax .items .video .fullscreen-bg__video {
        width:140%;
        margin-left: -8vw
    }
}


.sec-images .my-videos {
    position: fixed;
    top: 155px;
    left: 31%;
    transform: translateX(-50%);
}
.my-points {
    position: fixed;
    top: 50px; /* change this value to adjust the vertical position */
    left: 0;
}

.my-videos {
    position: fixed !important;
    top: 50px; /* change this value to adjust the vertical position */
    right: 0;
    height: 100%;
    overflow: auto;
    padding: 0 20px; /* add some padding to the videos container */
}

.old-price {
    position: relative;
    color: #212529;
    margin-left: 5px;
    font-weight: normal;
}
.old-price:before {
    border-bottom: 27px solid #fc5252;
    position: absolute;
    content: "";
    width: 198px;
    height: 74%;
    opacity: 0.5;
    transform: rotate(359deg);
    margin-left: 0px;
}

.old-price-mob {
    position: relative;
    color: #212529;
    margin-left: 5px;
    font-weight: normal;
}
.old-price-mob:before {
    border-bottom: 9px solid #fc5252;
    position: absolute;
    content: "";
    width: 113px;
    height: 77%;
    opacity: 0.5;
    transform: rotate(359deg);
    margin-left: 0px;
    margin-top: 19px;
}
@media screen and (max-width: 480px){
    .topPartsGray {
        padding-top: 180px !important;
    }
}
.topPartsGray {
    padding-top: 10px;
}
.old-price {
    position: relative;
    color: #212529;
    margin-left: 5px;
    font-weight: normal;
}
.old-price:before {
    border-bottom: 27px solid #fc5252;
    position: absolute;
    content: "";
    width: 198px;
    height: 74%;
    opacity: 0.5;
    transform: rotate(359deg);
    margin-left: 0px;
}

.old-price-mob {
    position: relative;
    color: #212529;
    margin-left: 5px;
    font-weight: normal;
}
.old-price-mob:before {
    border-bottom: 9px solid #fc5252;
    position: absolute;
    content: "";
    width: 113px;
    height: 77%;
    opacity: 0.5;
    transform: rotate(359deg);
    margin-left: 0px;
    margin-top: 19px;
}
.topPartsGray-lager{
    background: #f7f7f9;
    border-bottom-right-radius: 2000px 200px;
    border-bottom-left-radius: 2000px 200px;
    padding-top: 45px;
}
