.categories-courses {
    width: 100%;
}

.categories-courses .mobile {
    display: none;
}

@media (max-width:768px) {

    .categories-courses .mobile {
        display: flex;
        max-width: 9.3rem;
    }
}

.categories-courses .title-center {
    text-align: center;
    margin-bottom: 1rem;
}

.box-title {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.categories-courses .hero {
    width: 100%;
    min-height: 763px;
    position: relative;
    overflow: hidden;
}


@media (max-width:1600px) {
    .categories-courses .hero {
        min-height: auto;
    }
}

.categories-courses .hero .box-flex {
    display: flex;
    gap: 2rem;
}

@media (max-width:768px) {
    .categories-courses .hero .box-flex {
        flex-direction: column;
    }
}

.categories-courses .hero .box-flex .items:nth-child(1) {
    width: 60%;
}


@media (max-width:768px) {

    .categories-courses .hero .box-flex .items:nth-child(1) {
        width: 100%;
    }
}

.categories-courses .hero .box-flex .items:nth-child(2) {
    flex-grow: 1;
}


@media (max-width:768px) {

    .categories-courses .hero .box-flex .items:nth-child(2) {
        display: none;
    }
}

.categories-courses .box-content {
    position: relative;
    padding: clamp(2rem, 7vw, 6.2rem) 0rem 1rem;
    z-index: 999;
}

@media (max-width:768px) {

    .categories-courses .box-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.categories-courses .h1 {
    margin-bottom: 1.5rem;
}



.categories-courses .h3.subtitle {
    margin-bottom: clamp(1rem, 3vw, 2.8rem);
    max-width: 800px;
}

.categories-courses .box-action {
    max-width: 30rem;
    margin-top: clamp(1rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
}

@media (max-width:576px) {
    .categories-courses .box-action {
        max-width: 100%;
    }
}

.categories-courses .position-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: clamp(0.5rem, 9vw, 7rem);
}

@media (max-width:1500px) {
    .categories-courses .position-container {
        right: 0;
        top: 0;
    }
}

@media (max-width:768px) {
    .categories-courses .position-container {
        position: inherit;
        display: none;
    }
}

.categories-courses .position-container .box-flex {
    display: flex;
    gap: 2rem;
    height: 100%;
}

.categories-courses .hero .position-container .items:nth-child(1) {
    width: 70%;
}

.categories-courses .hero .position-container .items:nth-child(2) {
    width: clamp(30rem, 43vw, 41.4rem);
}

.categories-courses .position-container .box-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: start;
}

.categories-courses .position-container .box-img {
    width: 41rem;
    height: auto;
}

@media (max-width:1200px) {

    .categories-courses .position-container .box-img {
        width: 100%;
        height: auto;
    }
}

/* Block - 2 triger */

.categories-courses .triger {
    background: var(--main-color);
}

.categories-courses .triger .h2,
.categories-courses .triger .h3 {
    color: #fff;
}

.categories-courses .triger .box-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.categories-courses .triger .items .box-desc {
    max-width: 22rem;
}

.categories-courses .triger .box-subtitle {
    max-width: 45rem;
}

.categories-courses .triger .box-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
}

.categories-courses .triger .box-flex .box-title {
    margin-bottom: 1rem;
    max-width: 21.5rem;
}

.categories-courses .triger .box-flex .items {
    /* flex-grow: 1;
    width: 21.8rem;
    height: 10.8rem; */
    flex-shrink: 1;
}

.categories-courses .triger .box-items {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.categories-courses .triger .box-items .box-img {
    max-width: 22rem;
    height: 11rem;
    margin-bottom: 1rem;
}

@media (max-width:576px) {
    .categories-courses .triger .box-items .box-img {
        max-width: 19rem;
    }
}

.categories-courses .triger .h4,
.categories-courses .triger p {
    color: #fff;
    margin-bottom: 0;
}

.categories-courses .list-course {
    width: 100%;
}

.categories-courses .list-course .box-title {
    display: flex;
    justify-content: center;
}

.categories-courses .list-course .h2 {
    max-width: 65.6rem;
}

.categories-courses .list-course .course-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.categories-courses .list-course .card {
    width: 100%;
    min-height: 28rem;
    padding: 1.5rem;
    position: relative;
}

.categories-courses .list-course .card::before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 2, 31, 1) 54%, rgba(2, 2, 31, 0.76) 69%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

@media (max-width:768px) {
    .categories-courses .list-course .course-cards .card {
        background-size: cover !important;
    }
}

.categories-courses .flex-items {
    height: 100%;
    display: flex;
    gap: 2rem;
    position: relative;
}

@media (max-width:768px) {
    .categories-courses .flex-items {
        flex-direction: column;
        position: relative;
        z-index: 99;
    }
}

.categories-courses .flex-items .item:nth-child(1) {
    width: 70%;
}

@media (max-width:768px) {
    .categories-courses .flex-items .item:nth-child(1) {
        width: 100%;
    }
}

.categories-courses .flex-items .item:nth-child(2) {
    flex-grow: 1;
    display: flex;
    align-items: end;
    position: relative;
}

.categories-courses .flex-items .title-course {
    font-weight: 900;
    font-size: clamp(2rem, 7vw, 5.7rem);
    color: #fff;
    margin-bottom: 0.5rem;
}

.categories-courses .flex-items .desc-course {
    color: #fff;
}

.categories-courses .flex-skils {
    display: flex;
    flex-wrap: wrap;
    margin-top: clamp(2rem, 6vw, 3.5rem);
    gap: 1rem;
}

.categories-courses .flex-skils .skils {
    flex-grow: 1;
}

.categories-courses .flex-items .list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-width: 25rem;
    padding-left: 2rem;
    padding-top: 0.5rem;
}

.categories-courses .flex-items .skils-list {
    color: #fff;
    position: relative;
}

.categories-courses .flex-items .skils-list::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background: #fff;
    position: absolute;
    left: -20px;
    top: 8px;
}

.categories-courses .flex-items .box-arrow {
    position: absolute;
    right: 0;
    top: 0;
}

.categories-courses .flex-items .arrow-icon {
    transform: rotate(90deg);
}

@media (max-width:500px) {
    .categories-courses .flex-items .arrow-icon {
        transform: rotate(90deg) translateX(-30px);
        width: 20px;
        height: 20px;
    }
}

.categories-courses .flex-items .item .btn-main::before {
    background: none;
}

.categories-courses .flex-items .item .btn-main {
    transition: transform 0.2s ease;
}

.categories-courses .flex-items .item .btn-main:hover {
    transform: scale(0.9);
}

.categories-courses .cards-products {
    width: 100%;
}

.categories-courses .cards-products .box-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.categories-courses .cards-products .card-product {
    width: 596px;
    min-height: 44.5rem;
    padding: 1.5rem;
    background: var(--main-color);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.categories-courses .cards-products .card-product .items:last-child {
    margin-top: auto;
}

.categories-courses .card-product .main-title {
    font-size: clamp(2rem, 3vw, 2.3rem);
    font-weight: 900;
    text-align: center;
}

.categories-courses .card-product .title {
    text-align: center;
    color: #fff;
}

.categories-courses .card-product .desc {
    color: #fff;
}

.categories-courses .card-product .list-option {
    padding: 0.3rem 1rem;
}

.categories-courses .card-product .option {
    color: #fff;
    position: relative;
}

.categories-courses .card-product .option::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50px;
    background: #fff;
    position: absolute;
    top: 7px;
    left: -16px;
}

/* Карта */

.categories-courses .box-roadmap {
    background: var(--main-color);
}

.categories-courses .box-roadmap .title-center {
    color: #fff;
}

.categories-courses .roadmap {
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
}

.categories-courses .box-roadmap .box-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: clamp(2rem, 4vw, 3.1rem);
}

.categories-courses .box-roadmap .box-flex .items {
    flex-grow: 1;
    width: 20rem;
    min-height: 15rem;
    box-shadow: 4px 4px 9px 0px rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem;
}

.categories-courses .box-roadmap .box-flex .box-img {
    max-width: 4.1rem;
    max-height: 4.1rem;
}

.categories-courses .box-roadmap .box-flex .box-title {
    margin-bottom: 0rem;
    margin-top: 1.5rem;
}

.categories-courses .box-roadmap .box-flex .title {
    color: #fff;
}

.categories-courses .box-roadmap .box-flex .h4 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* Popap */

.categories-courses .popup-inner {
    padding: 0;
    background: var(--main-color);
}

.categories-courses .form-courses .form-courses-box {
    margin-bottom: 0;
}

.categories-courses .form-courses {
    padding: 2rem 0rem;
}

.online-course-content {
    margin: 50px 0px;
}