/* Шрифты */
@font-face {
    font-family: "Montserrat";
    font-weight: 400;
    font-style: normal;
    src: local("Montserrat"), url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Montserrat";
    font-weight: 600;
    font-style: normal;
    src: local("Montserrat"), url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
}
@font-face {
    font-family: "Jura";
    font-weight: 400;
    font-style: normal;
    src: local("Jura"), url("../fonts/Jura/Jura-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Jura-Medium";
    font-weight: 500;
    font-style: normal;
    src: local("Jura"), url("../fonts/Jura/Jura-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "Jura-SemiBold";
    font-weight: 600;
    font-style: normal;
    src: local("Jura"), url("../fonts/Jura/Jura-SemiBold.ttf") format("truetype");
}


/* Цветовые переменные */
:root {
    --very-dark-blue: #0c121c;
    --light-beige: #f5efe6;
    --medium-gray: #6c757d;
    --light-gray: #f8f9fa;
    --dark-blue: #0a2540;
    --warm-beige: #e8d9c5;
    --accent-gold: #c8a97e;
    --black: #121212;
    --white: #ffffff;
    --beige: #f5f5dc;
    --accent-blue-button: #3c2fff8f;
}
/* Базовые стили */
html {
    overflow-x: hidden;
    }
body {
    font-family: "Jura", sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    color: black;
    line-height: 1.5;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


.card a, .social-links a {
    color: #000 !important;
    text-decoration: none!important;
    }

.btn-dark-custom a, .card-button a {
   color: var(--white)!important;
    text-decoration: none!important;
    }


/* Фоновые цвета */
.bg-very-dark-blue {
    background-color: var(--very-dark-blue);
}
.bg-light-beige {
    background-color: var(--light-beige);
}
.bg-light-gray {
    background-color: var(--light-gray);
}
.bg-beige {
    background-color: var(--beige);
}

/*Навигация*/
  .navbar {
        transition: all 0.3s ease;
    }

    .navbar.scrolled {
        background-color: var(--dark-blue) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-item {
        padding-right: 2vw;
    }

    .nav-buttons {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .nav-button {
        background-color: #d8b08c;
        color: #0c121c;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .nav-button:hover {
        background-color: #ffffff;
        transform: scale(1.1);
    }

    .nav-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    @media (max-width: 991px) {
        .nav-link {
            padding-right: .5rem !important;
            padding-left: .5rem !important;
        }
        /* Специальные стили только для кнопки "Оставить заявку" на мобильных */
        .nav-item:last-child .nav-link {
            display: inline-block;
            width: auto;
            padding: 0.25rem 0.5rem !important;
        }
    }
/* Герой-секции (общие стили) */
.hero-section1, .hero-section {
    background: linear-gradient(rgba(4, 6, 8, 0.8), rgba(37, 61, 98, 0.8));
    background-color: #1a1c30;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-section .card{
    --bs-bg-opacity: 1;
    background-color: #f3f3f31f;
}
.hero-section .card-hover {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.hero-section .card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.hero-section .card-button{
    --bs-bg-opacity: 1;
    background-color: var(--accent-blue-button);
}

.hero-section .card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.hero-section .card-hover:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Стили для описания карточек */
.card-wrapper {
    position: relative;
}

.card-description {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(200% + 1.5rem); /* Ширина как два блока плюс отступ */
    background: rgba(10, 37, 64, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    margin-top: 10px;
}
.card-description p {
    margin-bottom: 0;
    color: var(--light-beige);
    font-size: 0.95rem;
    line-height: 1.6;
}
.card-description strong {
    color: var(--accent-gold);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
}
.card-wrapper:hover .card-description {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) and (max-width: 991.98px) {
   .card-description {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% + 1.5rem);
    max-width: 100%;
    background: rgba(10, 37, 64, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    margin-top: 10px;
    }
}
@media (max-width: 768px) {

    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.25rem;
    }

    /* На мобильных устройствах делаем описания статичными */
    .card-description {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 90%;
        max-width: 90%;
        background: rgba(10, 37, 64, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 0.2rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        z-index: 100;
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        margin-top: 10px;
    }

    .card-wrapper:hover .card-description,
    .card-wrapper.active .card-description {
        display: block;
    }
}

/* Для крайних карточек корректируем позиционирование
@media (min-width: 768px) {
    .cards-row .card-wrapper:first-child .card-description {
        left: 0;
        transform: translateX(0) translateY(-20px);
        width: calc(200% + 0.75rem);
        border-top-left-radius: 0;
    }
    .cards-row .card-wrapper:first-child:hover .card-description {
        transform: translateX(0) translateY(0);
    }

    .cards-row .card-wrapper:last-child .card-description {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(-20px);
        width: calc(200% + 0.75rem);
        border-top-right-radius: 0;
    }
    .cards-row .card-wrapper:last-child:hover .card-description {
        transform: translateX(0) translateY(0);
    }
}*/

/* Герой-секция About Shipov*/

    .hero-section1 {
        padding-top: 100px;
        display: flex;
        align-items: center;
    }

    .hero-content1 {
        max-width: 600px;
    }

    .photo-container-hero {
    position: relative;
    max-width: 400px;
    margin-left: auto;
    }

    .photo-frame {
        overflow: hidden;
    }

    .photo-frame img {
        width: 100%;
        height: auto;
        display: block;
    }

    .name-title1 {
        font-family: "Jura-SemiBold", sans-serif;
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: white;
    }

    .profession {
        font-family: "Montserrat", sans-serif;
        font-size: 1.5rem;
        color: var(--accent-gold);
        margin-bottom: 30px;
        font-weight: 500;
        letter-spacing: 1px;
    }

    .achievements-list {
        font-family: "Jura-Medium", sans-serif;
        list-style-type: none;
        padding: 0;
        margin-bottom: 40px;
    }

    .achievements-list li {
        margin-bottom: 12px;
        font-size: 1rem;
        position: relative;
        padding-left: 25px;
        color: lightgray;
        line-height: 1.6;
    }

    .achievements-list li:before {
        content: "✓";
        color: var(--accent-gold);
        font-size: 1.2rem;
        position: absolute;
        left: 0;
        top: 0;
        font-weight: bold;
    }

    .tagline {
        font-family: "Montserrat", sans-serif;
        font-size: 1.3rem;
        font-weight: 500;
        margin-top: 30px;
        color: white;
        position: relative;
        padding-left: 20px;
    }

    .tagline:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 40px;
        background-color: var(--accent-gold);
    }

    @media (max-width: 992px) {
        .hero-section1 {
            padding-top: 80px;
            text-align: center;
        }

        .photo-container1 {
            margin: 40px auto 0;
            max-width: 350px;
        }

        .hero-content1 {
            margin: 0 auto;
            text-align: left;
        }

        .achievements-list {
            display: inline-block;
            text-align: left;
        }
    }

    @media (max-width: 768px) {
    .name-title1 {
        font-size: 2.2rem;
    }

    .profession {
        font-size: 1.3rem;
    }
}
/* Секционные заголовки */
.section-title {
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid var(--dark-blue);
}

.section-title:hover {
    color: var(--accent-gold);
}

/* Карточки формат - icon -иконки с файлами, эксперпиза - экспертные области на about-shipov*/
.icons-card {
    background-color: var(--warm-beige);
    border-radius: 8px;
    padding: 20px 10px;
    height: 100%;
    transition: all 0.5s ease;
}

.icons-card:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.icons-icon {
    font-size: 1.8rem; /* Уменьшил размер иконок */
    color: var(--dark-blue);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.icons-card:hover .icons-icon {
    color: var(--white);
}

.icons-title {
    margin-bottom: 0;
    font-size: 1.2rem;

    color: #000;
    transition: color 0.3s ease;
}

.icons-card:hover .icons-title {
    color: var(--white);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .icons-card {
        padding: 15px 8px;
    }

    .icons-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .icons-title {
        font-size: 1rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 400px) {
    .icons-title {
        font-size: 0.9rem;
    }
}

.expertise-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

 .expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
}


/*Экспертные области About Shipov*/

    .expertise-section {
        background-color: var(--light-color);
        padding: 3rem 0;
    }

    .expertise-card {
        background-color: white;
        height: 100%;
        margin-bottom: 1.5rem
    }

    .card-icon {
        font-size: 2.5rem;
        color: var(--primary-blue);
        margin-bottom: 1rem;
    }

    .card-title {
        color: var(--dark-color);
        font-weight: 600;
        margin-bottom: 0.75rem!important;
    }

    .card-text {
        color: var(--dark-color);
        opacity: 0.9;
    }

/* отзывы About Shipov*/

    .stat-item {
        transition: all 0.3s ease;
    }

    .stat-item:hover {
        transform: scale(1.05);

    }
    .stat-item p {
        color: var(--accent-gold);
        line-height: 1.2em;

    }

/*Карта тренера About Shipov*/

    .advantages {
        background-color: #1a1c30;
        color: var(--light-color);
    }

    .advantage-item {
        padding: 30px;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.85);
        transition: all 0.3s ease;
    }

    .advantage-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateY(-5px);
    }

    .advantage-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}
    .advantage-title {
        font-weight: 600;
        margin-bottom: 15px;
    }

/*Образование About Shipov*/

    .info-block {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        padding: 30px;
        margin: 30px 0;
    }
    .fact-item,
    .education-item {
        margin-bottom: 15px;
    }
    .fact-title,
    .education-title {
        font-weight: bold;
        color: #001f3f;
    }
    .photo-container-education {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

/* Фотогалерея */

    .gallery-container {
        background-color: #0c121c;
        color: #ffffff;
        padding: 2rem 0;
        overflow: hidden;
    }

    .gallery-scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0;
        margin: 0 -15px;
    }

    .gallery-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .gallery-scroll::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }

    .gallery-scroll::-webkit-scrollbar-thumb {
        background: #d8b08c;
        border-radius: 10px;
    }

    .gallery-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
        width: 300px;
        margin: 0 15px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        cursor: pointer;
    }

    .gallery-item:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

    .gallery-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover .gallery-img {
        transform: scale(1.1);
    }

    .gallery-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(10, 38, 71, 0.9), transparent);
        color: #ffffff;
        padding: 1rem;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .gallery-item:hover .gallery-caption {
        transform: translateY(0);
    }

    /* Modal styles */

    .modal-dialog .modal-img {
        width: 100%;
        object-fit: contain;
    }

    #modalPrevBtn, #modalNextBtn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    @media (max-width: 768px) {
        .gallery-item {
            width: 250px;
        }

        .gallery-img {
            height: 180px;
        }
    }

    @media (max-width: 576px) {
    .gallery-item {
        width: 200px;
    }

    .gallery-img {
        height: 150px;
    }

    .gallery-title {
        font-size: 1.5rem;
    }

    modal-dialog .modal-img {
        max-height: 50vh;
    }
}



.popular-training-card {
    background: white;
    border-radius: 12px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
}

.popular-training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.popular-training-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.popular-training-card:hover::before {
    transform: scaleX(1);
}

.popular-trainings-section .card-body {
    padding: 1.5rem 1.25rem; /* Уменьшенные отступы */
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}
@media (max-width: 768px) {
       .popular-trainings-section .card-body {
            text-align: start;
        }}

.popular-trainings-section .card-title {
    color: var(--dark-blue);
    font-size: 1.4rem; /* Чуть уменьшен размер */
    font-weight: 700;
    margin-bottom: 1rem; /* Уменьшен отступ */
    line-height: 1.4;
}

.popular-trainings-section .card-lead {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.25rem; /* Уменьшен отступ */
    font-size: 0.95rem;
}

.training-features {
    text-align: left;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
    font-weight: 500;
}

.training-features li {
    position: relative;
    padding-left: 1.25rem; /* Уменьшен отступ */
    margin-bottom: 0.6rem; /* Уменьшен отступ между пунктами */
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.training-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.4em; /* Уменьшен размер точки */
    height: 0.4em; /* Уменьшен размер точки */
    background-color: var(--accent-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.training-features li span {
    display: inline-block;
    padding-top: 0.1em; /* Тонкая настройка выравнивания */
}
/*факты о нас*/

    .facts-section {
    background-color: var(--very-dark-blue);
    color: var(--light-beige);
    padding: 4rem 0;
}

.facts-section .section-title {
    color: var(--warm-beige);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    font-size: 2.2rem;
    border-bottom: 2px solid var(--accent-gold);
}

.facts-section .section-title:hover {
    color: var(--white);
}

.facts-section .fact-card {
    background: rgba(10, 37, 64, 0.3);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(200, 169, 126, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.facts-section .fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--dark-blue);
    border-color: rgba(200, 169, 126, 0.4);
}

.facts-section .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.facts-section .fact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--warm-beige);
    margin-bottom: 1rem;
}

.facts-section .fact-card h4 {
    color: var(--warm-beige);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.facts-section .fact-card p {
    color: var(--light-beige);
    line-height: 1.6;
    margin-bottom: 0;
}
/*Принципы ДЭП*/
.principle-card {
    background-color: var(--warm-beige);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.5s ease;
}

.principle-card:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.principle-icon {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-weight: bold;
}

.principle-card:hover .principle-icon {
    color: var(--white);
}

.principle-card h3 {
    margin-bottom: 15px;
    color: inherit;
}

.principle-card p {
    margin-bottom: 0;
    color: inherit;
}
/*Спектр*/
 .spectr-section {
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    background-color: var(--dark-blue);
    color: var(--white);
}

.spectr-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--beige);
}

.spectr-list {
    max-width: 800px;
    margin: 0 auto;
}

.spectr-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spectr-item:last-child {
    border-bottom: none;
}

.letter-char {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--beige);
    width: 80px;
    margin-right: 30px;
    text-align: center;
}

.letter-desc {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.5;
}

.spectr-footer {
    margin-top: 50px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

    .spectr-item {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        text-align: center;
    }

    .letter-char {
        font-size: 3rem;
        margin-right: 0;
        margin-bottom: 10px;
        width: auto;
        text-align: center;
    }

    .letter-desc {
        font-size: 1rem;
        padding-left: 0;
        text-align: center;
    }
}

/*Компании полоса*/
/* Компании полоса */
.horizontal-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.horizontal-scroll-wrapper {
    display: flex;
    width: max-content;
}

.horizontal-scroll-container img {
    height: 200px;
    width: auto;
    object-fit: contain;
}

/*Команда */
    .team-scroll::-webkit-scrollbar {
        display: none;
    }
    .team-scroll {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .scroll-btn {
        width: 40px;
        height: 40px;
        z-index: 1;
    }
    .scroll-btn:hover {
        background-color: #f8f9fa !important;
    }
    .object-fit-cover {
        object-fit: cover;
    }

/* Форма отзывы */
#id_text{
    height: 320px;
    max-height: 70vh;
    resize: none;

}
   .review-container {
        background-color: var(--white);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(10, 25, 47, 0.1);
        transition: all 0.3s ease;
        height: 650px;
        overflow: hidden;
        position: relative;
        min-height: 330px;
    }

    .review-container:hover {
        box-shadow: 0 15px 35px rgba(10, 25, 47, 0.15);
    }

    .review-scroll {
        height: 100%;
        overflow-y: auto;
        padding: 2rem;
        scrollbar-width: thin;
        scrollbar-color: var(--dark-blue) var(--warm-beige);
    }

    .review-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .review-scroll::-webkit-scrollbar-track {
        background: var(--beige);
        border-radius: 10px;
    }

    .review-scroll::-webkit-scrollbar-thumb {
        background-color: var(--dark-blue);
        border-radius: 10px;
    }

    .review-item {

        animation: fadeIn 0.5s ease forwards;
        opacity: 0;
    }

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

    .review-item:nth-child(1) { animation-delay: 0.1s; }
    .review-item:nth-child(2) { animation-delay: 0.2s; }
    .review-item:nth-child(3) { animation-delay: 0.3s; }
    .review-item:nth-child(4) { animation-delay: 0.4s; }
    .review-item:nth-child(5) { animation-delay: 0.5s; }

    .review-author {
        font-weight: 600;
        color: var(--dark-blue);
        margin-bottom: 0.5rem;
    }

    .review-text {
        color: var(--black);
        line-height: 1.6;
    }

    .review-divider {
        height: 3px !important;
        background-color: var(--dark-blue);
        margin: 1.5rem 0;
        border: none;
    }

    .review-form-container {
        background-color: var(--white);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(10, 25, 47, 0.1);
        padding: 2rem;
        transition: all 0.3s ease;
        height: 650px;
    }

    .review-form-container:hover {
        box-shadow: 0 15px 35px rgba(10, 25, 47, 0.15);
    }

    .form-title {
        color: var(--dark-blue);
        font-weight: 600;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

    .form-label {
        color: var(--dark-blue);
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .form-control, .form-control:focus {
        background-color: var(--beige);
        border: 1px solid rgba(10, 25, 47, 0.1);
        border-radius: 8px;
        padding: 0.75rem 1rem;
        color: var(--black);
        box-shadow: none;
    }

    .form-control:focus {
        border-color: var(--dark-blue);
    }



    .form-error {
        color: #dc3545;
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

    @media (max-width: 991px) {
        .review-container, .review-form-container, #id_text {
            height: auto;
            margin-bottom: 2rem;
        }

        .review-scroll {
            max-height: 50vh;
        }
    }
/* Ошибки */
    .alert-error {
        color: #a94442;
        background-color: #f2dede;
        border-color: #ebccd1;
    }

    .alert-success {
        color: #3c763d;
        background-color: #dff0d8;
        border-color: #d6e9c6;
    }

/* Контакты */
  .contact-section {
        padding: 3rem 0;
    }

    .contact-title {
        color: var(--dark-blue);
        font-weight: 700;
        margin-bottom: 2rem;
        position: relative;
    }

    .contact-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 170px;
        height: 3px;
        background-color: var(--dark-blue);
    }

    .contact-description {
        color: var(--black);
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .contact-info-item {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
        color: var(--black);
        transition: all 0.3s ease;
    }

    .contact-info-item:hover {
        color: var(--dark-blue);
    }

    .contact-icon {
        font-size: 1.25rem;
        color: var(--dark-blue);
        margin-right: 1rem;
        width: 24px;
        text-align: center;
    }

    .contact-section .social-icons {
        display: flex;
        gap: 1rem;
        margin: 1.5rem 0;
        flex-wrap: wrap;

    }

    .contact-section .social-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: var(--dark-blue);
        color: var(--white);
        transition: all 0.3s ease;
    }

    .contact-section .social-icon:hover {
        background-color: var(--warm-beige);
        color: var(--dark-blue);
        transform: translateY(-3px);
    }

    .social-icons a {
     text-decoration: none;
     }

    .phone-link {
        color: var(--black);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .phone-link:hover {
        color: var(--dark-blue);
    }

    .contact-form-card {
        background-color: var(--white);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(10, 25, 47, 0.1);
        border: none;
        transition: all 0.3s ease;
        height: 100%;
    }

    .contact-form-card:hover {
        box-shadow: 0 15px 35px rgba(10, 25, 47, 0.15);
    }

    .contact-form-title {
        color: var(--dark-blue);
        font-weight: 600;
        margin-bottom: 1.5rem;
    }



    @media (max-width: 991.98px) {
        .contact-section {
            padding: 3rem 0;
        }

        .contact-info-col {
            margin-bottom: 3rem;
        }

    }

/* Тренинги страница */

/* Ассертивность определение */
.assertiveness-core {
    background-color: white;
    padding: 60px 0;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.assertiveness-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.assertiveness-visual {
    flex: 1 1 45%;
    position: relative;
    min-width: 300px;
}

.assertiveness-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.assertiveness-keypoint {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dark-blue);
    color: var(--warm-beige);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 80%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.assertiveness-content {
    flex: 1 1 45%;
    min-width: 300px;
}

.assertiveness-heading {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    line-height: 1.3;
}

.assertiveness-feature {
    margin-bottom: 25px;
}

.assertiveness-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    width: 4px;
    background: var(--accent-gold);
}

.assertiveness-list {
    list-style-type: none;
    padding-left: 0;
}

.assertiveness-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--very-dark-blue);
}

.assertiveness-list li::before {
    content: "•";
    color: var(--accent-gold);
    font-size: 1.5rem;
    position: absolute;
    left: 10px;
    top: 2px;
}

.assertiveness-callout {
    background: #f9f9f9;
    border-left: 4px solid var(--accent-gold);
    padding: 20px;
    margin: 1.3rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.assertiveness-question {
    color: var(--dark-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.assertiveness-description {
    margin-bottom: 30px;
}

.assertiveness-skills {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.assertiveness-skills li {
    padding: 10px 15px;
    background: #f9f9f9;
    border-radius: 6px;
    position: relative;
    padding-left: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.assertiveness-skills li::before {
    content: "✓";
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: 15px;
}

@media (max-width: 768px) {
    .assertiveness-wrapper {
        flex-direction: column;
    }

    .assertiveness-keypoint {
        position: static;
        max-width: 100%;
        margin-top: 20px;
    }

    .assertiveness-skills {
        grid-template-columns: 1fr;
    }
}

.assertiveness-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 18, 28, 0.08);
}

.image-overlay-card {
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.sales-image-overlay-card {
    bottom: 10px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

}


 @media (max-width: 768px) {
     .image-overlay-card {
    background: #fffffff0;
        bottom: 0px;
        left: 0px;
        right: 0px;
        padding: 20px;
        border-radius: 6px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        border: 1px solid #f0f0f0;}
}
.overlay-title {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.overlay-text {
    color: var(--medium-gray);
    margin-bottom: 0;
}







        .format-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            border: none;
        }

        .format-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .format-icon {
            font-size: 2.5rem;
            color: var(--dark-blue);
            margin-bottom: 1rem;
        }
    .testimonial-card {
        background-color: var(--light-beige);
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        position: relative;
        margin: 0 15px;
    }

    .testimonial-card::before {
        content: '"';
        font-size: 5rem;
        color: rgba(10, 31, 61, 0.1);
        position: absolute;
        top: 10px;
        left: 20px;
        line-height: 1;
    }

    .testimonial-author {
        font-weight: bold;
        color: var(--dark-blue);
        margin-top: 1.5rem;
    }

    /* Компактные стильные кнопки */
    .compact-carousel-control {
        width: 36px;
        height: 36px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.1);
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .compact-carousel-control:hover {
        background: white;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    }

    .compact-carousel-control:hover .compact-carousel-icon svg {
        stroke: var(--dark-blue);
        transform: scale(1.2);
    }

    .compact-carousel-icon {
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .compact-carousel-icon svg {
        stroke: var(--dark-blue);
        transition: all 0.2s ease;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    /* Анимация появления */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animate-on-scroll {
        animation: fadeIn 0.6s ease forwards;
    }

    /* Адаптация для мобильных */
    @media (max-width: 768px) {
        .testimonial-card {
            padding: 1.5rem;
        }

        .testimonial-card::before {
            font-size: 3rem;
        }

        .compact-carousel-control {
            width: 32px;
            height: 32px;
        }

        .compact-carousel-icon svg {
            width: 14px;
            height: 14px;
        }
    }

 .scroll-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .scroll-btn {
        width: 35px;
        height: 35px;
    }
}
/* Результаты тренинга */
        .results-section{
        background: var(--light-gray);
        }

        .results-section .row {
            margin-bottom: -1.5rem;
        }

        .results-card {
            background: var(--white);
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-left: 4px solid var(--dark-blue);
            height: 100%;
            display: flex;
        }

        .card-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex-grow: 1;
        }

        .results-icon {
            font-size: 1.8rem;
            color: var(--dark-blue);
            margin-bottom: 1rem;
            flex-shrink: 0;
            padding: 0.8rem;
            background-color: rgba(10, 25, 47, 0.1);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            margin-right: auto;
        }

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

        .results-content h4 {
            color: var(--dark-blue);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .results-content ul {
            padding-left: 0;
            margin: 0;
            color: var(--dark-gray);
            line-height: 1.6;
            list-style: none;
        }

        .results-content li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 0;
        }

        .results-content li:before {
            content: '—';
            margin-right: 0.5rem;
            color: var(--dark-blue);
        }

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

        results-section .col-md-6 {
            margin-bottom: 1.5rem;
        }
    /* Призывный блок */
        .cta-section {
        background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
            background-color: var(--dark-blue);
            color: white;
            padding: 4rem 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
        }

        .button-action
        {
            background-color: var(--accent-blue-button);
            color: white;
            border: 2px solid white;
            padding: 0.75rem 2rem;
            min-height: 60px;
            transition: all 0.3s ease;
            }


        .button-action:hover {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .benefit-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
        }

        .benefit-item:hover {
            transform: translateY(-5px);
        }

        .benefit-icon {
            font-size: 2rem;
            color: var(--dark-blue);
            margin-right: 1.5rem;
            flex-shrink: 0;
        }

        .popular-trainings-section .card-title:hover, .benefit-item h5:hover , .benefit-icon:hover, .format-icon:hover, .results-icon:hover, .results-content h4:hover, .card-icon:hover, .expertise-card .card-title:hover {
            color: var(--accent-gold);
        }

        .training_page .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .training_page .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .slogan-card {
        background: linear-gradient(135deg, var(--dark-blue) 0%, #1a3a6a 100%);
        color: white;
        border-radius: 10px;
        padding: 2rem; /* Уменьшен padding для мобильных */
        margin-bottom: 1rem; /* Уменьшен отступ */
        box-shadow: 0 10px 30px rgba(10, 31, 61, 0.2);
        position: relative;
        overflow: hidden;
        min-height: 100%; /* Добавлено для единообразия высоты */
    }

    @media (max-width: 768px) {
        .slogan-card {
            padding: 1.5rem; /* Еще меньше padding на мобильных */
        }
    }

    .slogan-card::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        transform: rotate(30deg);
    }

    .slogan-icon {
        font-size: 2.5rem; /* Уменьшен размер иконок */
        margin-bottom: 1rem; /* Уменьшен отступ */
        color: rgba(255,255,255,0.2);
    }

    .highlight-text {
        color: #ffd700;
        font-weight: bold;
    }

/* Фотки блок */
        .img-container {
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin: 20px 0;
        }

        .img-container img {
            transition: transform 0.5s ease;
        }

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

        .uniform-image {
        width: 100%;
        height: 250px !important;
        object-fit: cover;
    }

    /* Стили для модального окна фотографий */
.modal-image {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.2s ease;
    display: block;
}

.image-container {
    display: inline-block;
    position: relative;
}


/* Стиль для кликабельных изображений */
.clickable-image {
    transition: transform 0.2s ease;
}

.clickable-image:hover {
    transform: scale(1.02);
}

/* График история */
.history-section {
    position: relative;
}

.history-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-blue);
    text-align: center;
    margin-top: -10px;
}

.history-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-blue);
}

.history-quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    padding: 15px 20px;
    border-left: 4px solid var(--accent-gold);
    background-color: rgba(210, 180, 140, 0.1);
    margin: 20px 0;
}

.history-path-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 10px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--dark-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.timeline-item {
    padding: 5px 0px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-top: -40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    top: 40px;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 15px 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.timeline-year:hover {
    color: var(--accent-gold);
}

.timeline-desc {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.timeline-highlight {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-gold);
    font-style: italic;
    padding-left: 15px;
    border-left: 3px solid var(--accent-gold);
    margin-top: 10px;
}

.current-item .timeline-content {
    background-color: var(--dark-blue);
}

.current-item .timeline-year {
    color: white;
}

.current-item .timeline-year:hover {
    color: var(--accent-gold);
}

.current-item .timeline-desc {
    color: rgba(255, 255, 255, 0.9);
}

.current-item p {
    color: rgba(255, 255, 255, 0.8);
}

.current-item .timeline-highlight {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .history-subtitle {
        font-size: 1.4rem;
    }

    .history-quote {
        font-size: 1.1rem;
    }

    .history-path-title {
        font-size: 1.3rem;
    }

    .timeline::after {
        left: 5px;
    }

    .timeline {
        padding: 0px 0 5px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        padding-bottom: 1.5rem;
        margin-top: -40px;
        margin-bottom: 5px;
    }

    .timeline-item:first-child {
        margin-top: 0;
    }

    .timeline-item::after {
        left: 15px;
        width: 16px;
        height: 16px;
        top: 150px;
    }

    .left,
    .right {
        left: 0;
        text-align: left;
        padding-right: 20px;
        padding-left: 60px;
    }

    .left::after, .right::after {
        left: -3px;
    }

    .timeline-content {
        padding: 10px 15px;
        margin-top: 20px;
    }
}

/* Анимации */
        .animate-fade-in {
            animation: fadeIn 1s ease-in-out;
        }

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

        .animate-delay-1 {
            animation-delay: 0.2s;
        }

        .animate-delay-2 {
            animation-delay: 0.4s;
        }

        .animate-delay-3 {
            animation-delay: 0.6s;
        }

        .animate-delay-4 {
            animation-delay: 0.8s;
        }

        .animate-delay-5 {
            animation-delay: 1s;
        }

        .animate-delay-6 {
            animation-delay: 1.2s;
        }

/* Цитаты block, text, author - About Shipov*/
/* Цитаты card, text, author-name, author-img - main и about us*/
.quote-block, .quote-card {
    background-color: #f8f9fa;
    border-left: 15px solid #1d4e89;
    padding: 2rem;
    border-radius: 0.25rem;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

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


.author-img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
}
.author-name {
    font-weight: 600;
}

.quote-text {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--dark-blue);
        }

.dark-quote-card {
    background-color: #212529;
}

.dark-quote-card .quote-text {
    color: #f8f9fa;
}

.quote-author {
    color: #6c757d;
    font-weight: 600;
    margin-top: 1rem;
}

.quote-card {
    position: relative;
    padding: 0 0 0 20px;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Кнопки */
.btn-dark-custom {
    background-color: var(--dark-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-dark-custom:hover {
    background-color: #172a45;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 25, 47, 0.4);
            color: var(--white);
}
/* Адаптивные стили для маленьких экранов */
@media (max-width: 767.98px) {

    .author-img {
        max-height: 250px;
    }

    .d-flex.justify-content-end {
        justify-content: center !important;
    }
}
/* О нас отличия, Формат тренинга */

/* Стили для секции */
.differences-section, .training-format-section {
    background-color: var(--very-dark-blue);
    color: var(--light-beige);
    padding: 4rem 0;
}

.differences-section .section-title, .training-format-section .section-title {
    color: var(--warm-beige);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    font-size: 2.2rem;
    border-bottom: 2px solid var(--accent-gold);
}
.differences-section .section-title:hover, .training-format-section .section-title:hover {
    color: var(--white);
}
.differences-section .row, .training-format-section .row {
    margin-bottom: -1.5rem;
}

/* Стили для карточек */
.difference-card, .training-format-card {
    background: rgba(10, 37, 64, 0.3);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(200, 169, 126, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.difference-card:hover, .training-format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--dark-blue);
    border-color: rgba(200, 169, 126, 0.4);
}

.differences-section .card-content, .training-format-section .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.difference-card h4, .training-format-card h4 {
    color: var(--warm-beige);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.difference-card ul, .training-format-card ul {
    padding-left: 0;
    margin: 0;
    color: var(--light-beige);
    line-height: 1.6;
    list-style: none;
    flex-grow: 1;
}

.difference-card li, .training-format-card li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.difference-card li:before, .training-format-card li:before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}


/* Формат тренинга ассерт Стили для заголовка с иконкой */
.training-format-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.training-format-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    padding: 0.8rem;
    background-color: rgba(200, 169, 126, 0.1);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.training-format-header h4 {
    margin-bottom: 0;
    text-align: left;
    flex-grow: 1;
}


@media (max-width: 768px) {
    .training-format-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .training-format-header {
        gap: 0.8rem;
    }
}


/* Стили для контейнера "Почему выбирают именно нас" */
.why-choose-us-alt {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(12, 18, 28, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us-alt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.why-choose-us-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}


.why-choose-us-content {
    text-align: center;
    padding: 0 1.5rem;
}

.why-choose-us-content h3 {
    color: var(--warm-beige);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 0 auto 1.5rem;
}

.why-choose-us-content p {
    color: var(--light-beige);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .why-choose-us-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .why-choose-us-content {
        padding: 0;
    }

    .why-choose-us-content h3 {
        font-size: 1.5rem;
    }
}

/* Отступы между колонками */
.differences-section .col-md-6 {
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .differences-section .section-title {
        font-size: 1.8rem;
    }

    .difference-card {
        padding: 1.5rem;
    }

}

/* благодарности */
    .gratitude-section {
        background-color: var(--white);
        position: relative;
    }



    .gratitude-scroll-container {
        position: relative;
        padding: 0 30px;
    }

    .gratitude-scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 0;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-gold) var(--light-beige);
    }

    .gratitude-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .gratitude-scroll::-webkit-scrollbar-track {
        background: var(--light-beige);
        border-radius: 10px;
    }

    .gratitude-scroll::-webkit-scrollbar-thumb {
        background-color: var(--accent-gold);
        border-radius: 10px;
    }

    .gratitude-item {
        scroll-snap-align: start;
        flex: 0 0 250px;
        height: 420px;
        position: relative;
        cursor: pointer;
        transition: transform 0.3s ease;
        border: 1px solid var(--warm-beige);
        box-shadow: 0 4px 10px rgba(10, 25, 47, 0.1);
    }

    .gratitude-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(10, 25, 47, 0.15);
    }

    .gratitude-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gratitude-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 25, 47, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gratitude-item:hover .gratitude-overlay {
        opacity: 1;
    }

    .gratitude-overlay i {
        color: var(--white);
        font-size: 2rem;
        background: var(--accent-gold);
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    /* Стили модального окна благодарностей */
/* Основные стили изображения */

/* Контейнер для изображения и кнопок */


/* Блок с кнопками управления */
.image-controls {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 8px;
    display: flex;

    gap: 8px;
    z-index: 10;

            flex-direction: row;
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translate(50%, 50%);
}

/* Стили кнопок */
.close-btn {
    opacity: 0.8;
    transition: opacity 0.2s;
    align-self: center;
}

.zoom-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s;
}

.zoom-btn:hover, .close-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .modal-image {
        max-height: 80vh;
        max-width: 95vw;
    }

    .image-controls {
        flex-direction: row;
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translate(50%, 50%);
        border-radius: 16px;
    }

    .close-btn {
        margin-right: 8px;
    }

    .zoom-btn {
        width: 28px;
        height: 28px;
    }
}