@media (min-width: 1281px){
    #section_3{
        width: 100%;
        height: 1050px;
        background-color: #F9F9F9;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .section_3_text_container{
        margin-top: 100px;
        width: 94%;
        height: 135px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .section_3_text_container>span:first-child{
        color: #2C2C2C;
        font-family: Ubuntu;
        font-size: 40px;
        font-weight: 500;
        line-height: 45.96px;
        text-align: center;
    }
    
    .section_3_text_container>span:last-child{
        color: #898989;
        font-family: Nunito;
        font-size: 20px;
        font-weight: 300;
        line-height: 24px;
        text-align: center;
    }
    
    .slider-1 {
        width: 75%;
        margin: auto;
    }
    
    .slider-1 .slick-slide {
        margin: 0 20px; /* Расстояние между слайдами */      
    }
    
    /* Изначальный стиль карточки */
.card-1 {
    border-radius: 16px;
        background-color: #2C2C2C;
        color: #FFFFFF;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative !important;
}

.card_text_container {
    height: 300px;
        margin: 20px;
        display: flex;
        flex-direction: column;
        padding: 20px;
}

.packages {
    font-family: Nunito;
    font-size: clamp(12px, 4vw, 20px);
    font-weight: 300;
    line-height: 20px;
    color: #F3F3F3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.сourse_name {
    font-family: Nunito;
        font-size: clamp(18px, 6vw, 34px);
        font-weight: 300;
        line-height: 44px;
        text-align: left;
        color: white;
}

.about_the_course {
    font-family: Nunito;
        font-size: clamp(12px, 4vw, 20px);
        font-weight: 300;
        line-height: 24px;
        text-align: left;
        color: #F3F3F3;
        margin-top: 36px;
}

.card_photo-container {
    border-radius: 16px;
        height: 100%;
        bottom: 0;
        width: 100%;
        right: 0;
        float: right;
        margin-top: auto;
        position: relative;
        overflow: hidden;
}

.card_photo-container img {
    border-radius: 16px;
    height: 100%;
    float: right;
    display: block;
}

/* Кнопки переключения слайдера */
.slider-btn-2 {
    position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: #B8B8B8;
        border: none;
        color: white;
        font-size: 2rem;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        cursor: pointer;
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
}

.left-btn-2 {
    left: 0px;
}

.right-btn-2 {
    right: 0px;
}

.slider-btn-2:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Скрытый hover контент */
.card-1-hover {
    display: none;
        border-radius: 16px;
        background-color: #ffffff;
        color: #2C2C2C;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        top: 0;
        position: absolute !important;
}


/* Показ скрытого контента при наведении */
.card-1:hover .card-1-hover {
    display: block;
}

/* Стили для hover-содержимого */
.card_text_container-hover {
    height: 300px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.packages-hover {
    font-family: Nunito;
        font-size: clamp(12px, 4vw, 20px);
        font-weight: 300;
        line-height: 20px;
        color: #898989;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
}

.сourse_name-hover {
    font-family: Nunito;
        font-size: clamp(18px, 8vw, 34px);
        font-weight: 300;
        line-height: 44px;
        text-align: left;
        color: #2C2C2C;
}

.achivements-hover-container {
    font-family: Nunito;
        height: 150px;
        display: flex;
        margin-top: 20px;
        flex-direction: column;
   
        justify-content: space-between;
        gap: 10px;
}

.achivements-hover {
    display: flex;
        flex-direction: row;
        align-items: center;
}

.achivements-hover img {
    width: 20px;
        height: 20px;
        background-color: #FFFFFF;
        border-radius: 20px;
}

.achivements-hover span {
    font-family: Nunito;
        font-size: clamp(12px, 4vw, 20px);
        font-weight: 400;
        line-height: 16px;
        margin-left: 15px;
        text-align: left;
        color: #2C2C2C;
}

/* Кнопки внутри hover */
.hoverBtnBlock {
    width: 90%;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        position: absolute;
}

.hoverBtnBlock button {
    width: 40%;
    height: 50px;
    font-size: clamp(12px, 4vw, 18px);
    position: relative;
    z-index: 3;
}

.hoverBtn-left {
    border: none;
    border-radius: 8px;
    font-family: Nunito;
    font-size: 3vw;
    font-weight: 700;
    line-height: 20px;
    background-color: #2C2C2C;
    color: #FFFFFF;
}

.hoverBtn-right {
    border: solid 1px #2C2C2C;
    border-radius: 8px;
    font-family: Nunito;
    font-size: 3vw;
    font-weight: 700;
    line-height: 20px;
    background-color: #FFFFFF;
    color: #2C2C2C;
}

.card_photo-hover-container {
    border-radius: 16px;
    height: 100%;
    bottom: 0;
    width: 100%;
    right: 0;
    float: right;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.card_photo-hover-container img {
    height: 100%;
        float: right;
        display: block; 
        border-radius: 16px;
}




   
}

@media (min-width: 601px) and (max-width: 1280px){
    #section_3{
        width: 100%;
        min-height: 1050px;
        background-color: #F9F9F9;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .section_3_text_container{
        /* margin-top: 100px; */
        width: 94%;
        min-height: 135px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .section_3_text_container>span:first-child{
        color: #2C2C2C;
        font-family: Ubuntu;
        font-size: 40px;
        font-weight: 500;
        line-height: 45.96px;
        text-align: center;
    }
    
    .section_3_text_container>span:last-child{
        color: #898989;
        font-family: Nunito;
        font-size: clamp(16px, 1.6vw, 20px);
        font-weight: 300;
        line-height: 24px;
        text-align: center;
        margin-top: 20px;
    }
    
    .slider-1 {
        width: 90%;
        margin: auto;
    }
    
    .slider-1 .slick-slide {
        margin: 0 20px; /* Расстояние между слайдами */
    }
    
    .card-1 {
        border-radius: 16px;
        background-color: #2C2C2C;
        color: #FFFFFF;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative !important;
    }
    
    .card_text_container{
        height: 300px;
        margin: 20px;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    
    .packages{
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 300;
        line-height: 20px;
        color: #F3F3F3;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .сourse_name{
        font-family: Nunito;
        font-size: clamp(18px, 8vw, 34px);
        font-weight: 300;
        line-height: 44px;
        text-align: left;
        color: white;
    }
    
    .about_the_course{
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 300;
        line-height: 24px;
        text-align: left;
        color: #F3F3F3;
        margin-top: 36px;
    }
    
    .slider-btn-2 {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: #B8B8B8;
        border: none;
        color: white;
        font-size: 2rem;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        cursor: pointer;
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .left-btn-2 {
        left: 0px;
    }
    
    .right-btn-2 {
        right: 0px;
    }
    
    .slider-btn-2:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }   

    .card_photo-container{
        border-radius: 16px;
        height: 100%;
        bottom: 0;
        width: 100%;
        right: 0;
        float: right;
        margin-top: auto;
        position: relative;
        overflow: hidden;
    }

    .card_photo-container img{
        /* height: 100%; */
        float: right;
        margin-right: -10vw;
        display: block; 
    }


     /* Скрытый hover контент */
     .card-1-hover {
        display: none;
        border-radius: 16px;
        background-color: #ffffff;
        color: #2C2C2C;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        top: 0;
        position: absolute !important;
    }


    /* Показ скрытого контента при наведении */
    .card-1:hover .card-1-hover {
        display: block;
    }

    /* Стили для hover-содержимого */
    .card_text_container-hover {
        height: 300px;
        margin: 20px;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .packages-hover {
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 300;
        line-height: 20px;
        color: #898989;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .сourse_name-hover {
        
        font-family: Nunito;
        font-size: clamp(18px, 8vw, 34px);
        font-weight: 300;
        line-height: 44px;
        text-align: left;
        color: #2C2C2C;
    }

    .achivements-hover-container {
        font-family: Nunito;
        height: 150px;
        display: flex;
        margin-top: 20px;
        flex-direction: column;
   
        justify-content: space-between;
        gap: 10px;
    }

    .achivements-hover {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .achivements-hover img {
        width: 20px;
        height: 20px;
        background-color: #FFFFFF;
        border-radius: 20px;
    }

    .achivements-hover span {
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 400;
        line-height: 16px;
        margin-left: 15px;
        text-align: left;
        color: #2C2C2C;
    }

    /* Кнопки внутри hover */
    .hoverBtnBlock {
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        position: absolute;
        bottom: 50px;
    }

    .hoverBtnBlock button {
        width: 40%;
        height: 50px;
        font-size: clamp(12px, 4vw, 18px);
        position: relative;
        z-index: 3;
    }

    .hoverBtn-left {
        border: none;
        border-radius: 8px;
        font-family: Nunito;
        font-size: 3vw;
        font-weight: 700;
        line-height: 20px;
        background-color: #2C2C2C;
        color: #FFFFFF;

    }

    .hoverBtn-right {
        border: solid 1px #2C2C2C;
        border-radius: 8px;
        font-family: Nunito;
        font-size: 3vw;
        font-weight: 700;
        line-height: 20px;
        background-color: #FFFFFF;
        color: #2C2C2C;
    }

    .card_photo-hover-container {
        border-radius: 16px;
        height: 100%;
        bottom: 0;
        width: 100%;
        right: 0;
        float: right;
        margin-top: auto;
        position: relative;
        overflow: hidden;
    }

    .card_photo-hover-container img {
        float: right;
        margin-right: -10vw;
        display: block; 
        border-radius: 16px;
    }

}

@media (max-width: 600px){
    #section_3{
        width: 100%;
        background-color: #F9F9F9;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section_3_text_container{
        /* margin-top: 100px; */
        width: 90%;
        min-height: 135px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .section_3_text_container>span:first-child{
        color: #2C2C2C;
        font-family: Ubuntu;
        font-size: clamp(18px, 9vw, 34px);
        font-weight: 500;
        line-height: 45.96px;
        text-align: center;
    }
    
    .section_3_text_container>span:last-child{
        color: #898989;
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 300;
        line-height: 24px;
        text-align: center;
        margin: 20px 0 40px 0;
    }
    
    .slider-1 {
        width: 90%;
        margin: auto;
    }
    
    .slider-1 .slick-slide {
        margin: 0 20px; /* Расстояние между слайдами */
    }
    
    .card-1 {
        border-radius: 16px;
        background-color: #2C2C2C;
        color: #FFFFFF;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative !important;
    }
    
    .card_text_container{
        height: 300px;
        margin: 20px;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    
    .packages{
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 300;
        line-height: 20px;
        color: #F3F3F3;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .сourse_name{
        font-family: Nunito;
        font-size: clamp(18px, 8vw, 34px);
        font-weight: 300;
        line-height: 44px;
        text-align: left;
        color: white;
    }
    
    .about_the_course{
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 300;
        line-height: 24px;
        text-align: left;
        color: #F3F3F3;
        margin-top: 36px;
    }
    
    .slider-btn-2 {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: #B8B8B8;
        border: none;
        color: white;
        font-size: 2rem;
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        cursor: pointer;
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .left-btn-2 {
        left: 0px;
    }
    
    .right-btn-2 {
        right: 0px;
    }
    
    .slider-btn-2:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }   

    .card_photo-container{
        border-radius: 16px;
        height: 100%;
        bottom: 0;
        width: 100%;
        right: 0;
        float: right;
        margin-top: auto;
        position: relative;
        overflow: hidden;
    }

    .card_photo-container img{
        float: right;
        margin-right: -10vw;
        display: block; 
    }


     /* Скрытый hover контент */
     .card-1-hover {
        display: none;
        border-radius: 16px;
        background-color: #ffffff;
        color: #2C2C2C;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        top: 0;
        position: absolute !important;
    }


    /* Показ скрытого контента при наведении */
    .card-1:hover .card-1-hover {
        display: block;
    }

    /* Стили для hover-содержимого */
    .card_text_container-hover {
        height: 300px;
        margin: 20px;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .packages-hover {
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 300;
        line-height: 20px;
        color: #898989;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .сourse_name-hover {
        
        font-family: Nunito;
        font-size: clamp(18px, 8vw, 34px);
        font-weight: 300;
        line-height: 44px;
        text-align: left;
        color: #2C2C2C;
    }

    .achivements-hover-container {
        font-family: Nunito;
        height: 150px;
        display: flex;
        margin-top: 20px;
        flex-direction: column;
   
        justify-content: space-between;
        gap: 10px;
    }

    .achivements-hover {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .achivements-hover img {
        width: 20px;
        height: 20px;
        background-color: #FFFFFF;
        border-radius: 20px;
    }

    .achivements-hover span {
        font-family: Nunito;
        font-size: clamp(12px, 4vw, 18px);
        font-weight: 400;
        line-height: 16px;
        margin-left: 15px;
        text-align: left;
        color: #2C2C2C;
    }

    /* Кнопки внутри hover */
    .hoverBtnBlock {
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        position: absolute;
        bottom: 50px;
    }

    .hoverBtnBlock button {
        width: 40%;
        height: 50px;
        font-size: clamp(12px, 4vw, 18px);
        position: relative;
        z-index: 3;
    }

    .hoverBtn-left {
        border: none;
        border-radius: 8px;
        font-family: Nunito;
        font-size: 3vw;
        font-weight: 700;
        line-height: 20px;
        background-color: #2C2C2C;
        color: #FFFFFF;
    }

    .hoverBtn-right {
        border: solid 1px #2C2C2C;
        border-radius: 8px;
        font-family: Nunito;
        font-size: 3vw;
        font-weight: 700;
        line-height: 20px;
        background-color: #FFFFFF;
        color: #2C2C2C;
    }

    .card_photo-hover-container {
        border-radius: 16px;
        height: 100%;
        bottom: 0;
        width: 100%;
        right: 0;
        float: right;
        margin-top: auto;
        position: relative;
        overflow: hidden;
    }

    .card_photo-hover-container img {
        float: right;
        margin-right: -10vw;
        display: block; 
        border-radius: 16px;
    }
}