@media (max-width: 1340px){
    .container{
        max-width: none;
        width: 90%;
    }

    .hero-title{
        font-size: 44px;
    }

    .subtitle-text{
        font-size: 16px;
        line-height: 22px;
    }

    .hero-stats{
        gap: 14px;
        margin-bottom: 0;
    }

    .hero-actions{
        margin-bottom: 35px;
    }

    .stat-value{
        font-size: 18px;
    }

    .hero-block, .block-item{
        margin: 40px 0 80px;
    }

    .subtitle{
        font-size: 16px;
        line-height: 22px;
    }

    .who-subtitle {
        font-size: 14px;
        line-height: 18px;
    }

    .who-card h3 {
        margin-bottom: 10px;
    }

    .who-text {
        padding: 15px;
    }

    .list-who{
        gap: 15px;
        margin: 30px 0 0;
    }

    h2{
        font-size: 36px;
    }

    .subtitle-h3{
        gap: 40px;
    }

    .subtitle-h3 h3 {
        min-width: 30%;
        max-width: 30%;
    }

    .skill-card{
        max-width: 32%;
    }

    .skills-list{
        justify-content: flex-start;
    }

    .revies-list, .courses-list, .resume-layout, .secondary-salary-list, .grade-list, .salary-list, .how-layout{
        gap: 15px;
    }

    .step-card{
        padding: 12px;
    }

    .review-header{
        flex-wrap: wrap;
    }
}

@media (max-width: 1070px){
    .hero-block{
        gap: 20px;
    }

    .salary-banner{
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .grade-list{
        flex-wrap: wrap;
    }

    .grade-item{
        padding: 15px;
        min-width: 210px;
    }

    .grade-salary{
        margin: 15px 0;
    }

    .grade-info.margin{
        margin-bottom: 10px;
    }

    .grade-info-title{
        line-height: 16px;
        margin-bottom: 5px;
    }

    .secondary-salary-list{
        flex-direction: column;
    }

    .secondary-salary-info{
        flex-direction: row;
        flex-wrap: wrap;
    }

    .secondary-badge-text{
        line-height: 1.2;
    }

    .secondary-salary-list .grade-title{
        margin-bottom: 10px;
    }

    .forecast-items{
        width: 100%;
    }

    .course-card:nth-child(1){
        grid-area: 1 / 1 / 2 / 4;
    }
    
    .course-card:nth-child(7) {
        grid-area: 3 / 1 / 4 / 4;
    }

    .course-card:nth-child(2), .course-card:nth-child(3), .course-card:nth-child(4){
        grid-area: auto;
    }

    .course-card-body{
        padding: 10px;
    }

    h3.course-title{
        font-size: 18px;
        line-height: 22px;
    }

    .course-subtitle{
        font-size: 14px;
        line-height: 18px;
    }

    .course-media{
        max-height: 200px;
    }

    .review-card{
        width: 45%;
    }

    .cta-banner{
        gap: 15px;
        grid-template-columns: 1fr;
    }

    .how-steps{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px){
    .hero-block{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .list-who{
        flex-wrap: wrap;
    }
    
    .who-card{
        flex: auto;
    }

    .who-card img{
        max-height: 300px;
        object-fit: cover;
        width: 100%;
        object-position: center;
    }

    .grade-item{
        min-width: 44%;
    }

    .skill-card{
        max-width: 48%;
    }

    .review-card {
        width: 45%;
    }

    .cv-header{
        padding-top: 0;
    }

    .resume-layout{
        grid-template-columns: 1fr;
    }

    .salary-info{
        width: 100%;
    }
}

@media (max-width: 700px){
    .courses-list{
        display: flex;
        flex-wrap: wrap;
    }
    
    .course-card{
        width: 48%;
    }
    
    .course-card:nth-child(1), .course-card:nth-child(7), .course-card:nth-child(6), .course-card:nth-child(10){
        width: 100%;
    }
    
    .course-card-body{
        height: auto;
    }

    .review-card {
        width: 95%;
    }

    .how-layout{
        display: flex;
        flex-direction: column;
    }

    .how-side{
        width: 100%;
    }
}

@media (max-width: 580px){
    .hero-title {
        font-size: 34px;
    }

    .btn-primary{
        font-size: 14px;
        width: 100%;
    }

    .hero-stats{
        flex-direction: column;
        gap: 5px;
    }

    h2 {
        font-size: 24px;
    }

    h3{
        font-size: 18px;
        line-height: 22px;
    }

    .text-main{
        margin: 5px 0;
        font-size: 26px;
    }

    .salary-list{
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .salary-badge{
        padding: 10px;
    }

    .grade-salary{
        font-size: 20px;
        padding: 9px;
    }

    .subtitle-h3 {
        gap: 0;
        flex-direction: column;
        align-items: start;
    }

    .subtitle-h3 h3 {
        min-width: auto;
        max-width: none;
    }

    .subtitle{
        margin: 10px 0;
    }

    .cta-banner{
        padding: 25px;
    }

    .cta-title{
        font-size: 24px;
    }

    .cta-text{
        font-size: 16px;
        line-height: 20px;
    }

    .cv-body{
        display: flex;
        flex-direction: column;
    }
    
    .course-card{
        width: 100%;
        height: max-content;
    }
    
    .course-card-body{
        height: auto;
    }
}

@media (max-width: 480px){
    .grade-list{
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .courses-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .skill-card {
        max-width: 100%;
    }

    .how-steps {
        grid-template-columns: repeat(1, 1fr);
    }
}
