@media(max-width: 950px){
    .how-it-works {
        .cards-wrap{
            padding: 0;
        }
    }
}

@media(max-width: 790px) {
    .main-container{
        padding: 120px 0;
    }
    
    .hero{
        width: 90%;
        .title{
            font-size: 60px;
            line-height: 60px;
        }
    }

    .how-it-works{
        row-gap: 26px;
        width: 90%;
        .cards-wrap{
            column-gap: 26px;
        }
    }

    .why-choose-us {
        & .cards-container {
            .card {
                min-height: 400px;
            }
        }
    }

    .section-title{
        font-size: 50px;
        text-align: center;
    }

    .section-subtitle{
        font-size: 15px;
    }
}

@media (max-width: 738px){

    .main-container{
        gap: 100px;
    }

    .how-it-works {
        row-gap: 16px;
        .cards-wrap{
            flex-direction: column;
            column-gap: 0;
            justify-content: center;
            align-items: center;
            width: 90%;
            row-gap: 36px;
            margin: auto;
            padding-top: 36px;

            .drivers, .employers{
                width: 100%;
                box-shadow: 14px 10px 1px 0px var(--shadow-color);
            }

            .line-with-circle{
                flex-direction: row;

                .line{
                    width: 200px;
                    min-height: 2px;
                }

                /* .circle{

                } */
            }
        }

    }
    .why-choose-us {
        & .cards-container {
            .card {
                min-height: 420px;
            }
        }
    }

    .join-wrap{
        .text-wrap{
            gap: 8px;
            bottom: 32px;
            h3{
                font-size: 50px;
                padding: 16px;
                line-height: 1.25;
            }

            p{
                padding: 16px;
                font-size: 15px;
            }

            .btn-container{
                gap: 8px;
                button{
                    padding: 12px 36px;
                    width: fit-content;
                }
            }
        }
    }

    .app-wrap{

        .title-text-wrap{
            gap: 16px;
        }

        .app-container > .text-wrap, .title-text-wrap{
            h3{
                font-size: 50px;
                line-height: 1.15;
            }
        }

        .app-container{
            height: 100vh;
        }
    }

    .remarks{
        .title{
            h1{
                font-size: 48px;
            }
        }
    }
}

@media(max-width: 652px){
    .why-choose-us {
        & .cards-container {
            flex-direction: column;
            row-gap: 24px;
            width: 90%;
            margin: auto;
            
            .card {
                width: fit-content;
                min-height: 316px;
            }
        }
    }

}

@media(max-width: 465px){

    .main-container{
        padding:120px 0 120px 0;
        gap: 80px;
        /* background: #000; */
    }

    .hero{
        
        .title{
            font-size: 40px;
            line-height: 50px;
        }

        .sub-title{
            font-size: 16px;
        }

        .rm-small{
            display: none;
        }
    }

    .how-it-works {
        .cards-wrap{
            width: 100%;
            padding-left: 12px;
            padding-right: 12px;
        }
    }

    .join-wrap{
        .text-wrap{
            .btn-container{
                button{
                    padding: 12px 18px;
                    width: fit-content;
                    font-size: 16px;

                    svg{
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
    }

    .app-wrap{
        .app-container > .text-wrap, .title-text-wrap{
            h3{
                font-size: 40px;
                line-height: 1.15;
            }
        }
    }

    .about-us-wrap{
        gap: 24px;

        h3{
            font-size: 56px;
            font-weight: 700;
        }
        
        p{
            font-size: 16px;
        }

        button{
            font-size: 16px;

            svg{
                width: 20px;
                height: 20px;
            }
        }
    }

    .carousel-testimonials{
        gap: 32px;
    }

    .remarks{
        .title{
            padding-right: 10px;
            padding-left: 10px;
            h1{
                font-size: 34px;
            }
        }
    }

    .section-title{
        font-size: 40px;
    }

    .section-subtitle{
        font-size: 14px;
    }
}

@media(max-width: 380px){
    .carousel-testimonials{
        padding-left: 15px;
        padding-right: 15px;
        .section-title{
            font-size: 32px;
        }
    }
}