@media (max-width: 767px) {
    .main-container{
        padding: 0;
    }

    .link-email{
        font-size: 16px;
    }

    /* head */
    .header-section{
        padding: 49px 20px;
        /* background-position: center center;  */
        height: 678px;
        /* height: auto; */
    }
    .header-title{
        font-size: 60px; 
    }
    .header-row{
        flex-direction: column-reverse;
        gap: 32px;
    }
    .header-button-container{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        height: auto;
    }
    .header-description{
        width: 100%;
        font-size: 16px;
    }
    .header-button{
        font-size: 18px;
        /* width: 100%; */
    }

    /* text-block */

    .text-block{
        padding: 52px 20px;
        justify-content: space-between;
        flex-direction: column;
        gap: 26px;
    }

    .text-block h2{
        font-size: 30px;
    }

    .text-block p{
        width: 280px;
        margin-left: auto;
        font-size: 16px;
    }

    .text-block strong{
        font-size: 16px;
    }

    .text-block ul,
    .text-block li{
        width: 100%;
        padding-left: 20px;
    }

    .only-text-section{
        padding: 52px 20px 0 20px;
        justify-content: space-between;
    }

    .only-text-section{
        margin-bottom: 8px;
        color: #fff;
    }

    .only-text-section p {
        color: #fff;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    /* benefits */
    .benefits{
        padding: 0 20px;

        gap: 26px;
    }

    .benefits h2{
        color: #FFF;
        font-family: Handjet;
        font-size: 40px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .benefits .row{
        /* gap: 11px; */
        justify-content: space-between;
        flex-direction: column;
        gap: 10px;
    }

    .benefits-card{
        width: 100%;
    }

    .benefits-card h3{
        color: #FFF;
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    /* services cards */
    .service-section {
        margin: 0px 20px;
        padding: 11px;
        margin-bottom: 27px;
        /* width: 100%; */
    }

    .service-section h3{
        width: 100%;
        text-align: center;

        border-radius: 20px;
        /* background: #3981A1; */
        padding: 10px 12px;
        color: #FFF;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        /* width: fit-content; */
    }

    .cards-layout{
        flex-direction: column;
    }

    .service-section p{
        font-size: 16px;
    }

    .service-section .cards-layout{
        justify-content: space-between;
        padding-bottom: 49;
        gap: 20px;
    }

    .service-card{
        width: 100%;
        gap: 20px;
    }

    .service-card h3{
        width: max-content;

        border-radius: 20px;
        border: 1px solid #FFF;
        background-color: transparent;
        color: #FFF;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .languages{
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .technologies {
        justify-content: flex-start !important;
    }

    .languages .chips{
        padding: 10px 12px;
        
        flex-shrink: 0;
        color: #FFF;
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        border-radius: 20px;
        background: #292929;
    }

    /* how we works cards */
    .how-we-work-cards{
        margin-bottom: 52px;
        padding: 20px;

        flex-direction: column;

        gap: 10px;
    }

    .how-we-work-cards .card{
        width: 100%;
        height: 379px;
        padding: 15px;
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(122, 122, 122, 0.22) 0%, rgba(65, 178, 229, 0.22) 100%);

        justify-content: space-between;
        /* gap: 54px; */

        position: relative;
    }

    .how-we-work-cards .card h3{
        font-size: 16px;
        
        width: 200px;
        height: 31px;
    }

    .how-we-work-cards .card p{
        font-size: 16px;
    }

    .how-we-work-cards .card span{
        position: absolute;
        top: 15px;
        right: 15px;

        color: #FFF;
        text-align: right;
        font-family: Inter;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    /* why choose us */
    .why-choose-us{
        gap: 27px;

        margin-bottom: 52px;

        padding: 20px;
    }

    .why-choose-us h2{
        font-size: 26px;
    }

    .why-choose-us .table{
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-choose-us .title{
        font-size: 20px;
    }

    .why-choose-us .content{
        font-size: 16px;
        padding-left: 64px;
    }

    .why-choose-us strong{
        font-size: 16px;
    }

    /* contact section */
    .contact-section{
        border-radius: 0;
        padding: 75px 21px;
        margin-bottom: 52px;
    }

    .contact-form{
        width: 100%;
        /* height: 543px; */
        padding: 23px 17px;
    }

    .contact-form h2{
        font-size: 26px;
    }

    .contact-form p{
        font-size: 16px;
    }

    .feedback-form input {
        width: 100%;
        padding: 15px;
        margin: 10px 0;
        border-radius: 39px;
        border: 1px solid #FFF;
        background: transparent;

        color: #FFF;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .feedback-form textarea {
        border-radius: 10px;
        border: 1px solid #FFF;
        background: transparent;
        resize: vertical;
        height: 77px;
        width: 100%;
        padding: 15px;
        margin: 10px 0;

        color: #FFF;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .feedback-form button {
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        padding: 9px 25px;

        border-radius: 54px;
        text-align: center;

        color: #141414;
        background: #fff;

        cursor: pointer;
    }

    .form-message {
        font-family: Inter;

        margin-top: 20px;
        padding: 12px 20px;
        border-radius: 5px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .form-message.success {
        background: #D4EDDA;
        border: 1px solid #C3E6CB;
        color: #155724;
    }

    .form-message.error {
        background: #F8D7DA;
        border: 1px solid #F5C6CB;
        color: #721C24;
    }

    .spinner {
        width: 20px;
        height: 20px;
        border: 2px solid #FFF;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
        background: transparent;
        }

        @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    } 

    /* footer */
    .footer{
        padding: 21px 25px; 
        flex-direction: column;
        gap: 20px;
    }

    .footer h2{
        font-size: 26px;
        align-self: flex-start;
        margin-bottom: 61px;
    }

    .footer p, .footer .footer-link{
        font-size: 16px;
        align-self: flex-start;
    }
}