/*=============== CONTACT ===============*/
.contact {
    position: relative;
    padding-block: 205px 45px;
    background-color: #EB2F27;

    .contact__container {
        position: relative;

        .contact__content {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: start;
            width: 100%;
            z-index: 6;

            .contact__data {
                display: flex;
                justify-content: start;
                align-items: start;
                flex-direction: column;
                gap: 24px;
                padding-top: 56px;
                max-width: 605px;
                width: 100%;

                h2 {
                    color: white;
                    font-size: 58px;
                    font-weight: var(--font-bold);
                    text-transform: uppercase;
                }

                p {
                    color: white;
                    font-size: 18px;
                    font-weight: var(--font-medium);
                }

                .contact__info {
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    gap: 80px;
                    width: 100%;
                    background-color: #D12C25;
                    padding: 16px;
                    border-radius: 13px;
                    margin-top: 28px;

                    .contact__card {
                        display: flex;
                        justify-content: center;
                        align-items: self-start;
                        flex-direction: column;
                        gap: 12px;
                        color: white;
                        font-size: 16px;
                        font-weight: var(--font-semi-bold);

                        h3 {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            gap: 10px;
                        }

                        a {
                            color: white;
                        }
                    }

                }
            }

            .form {
                display: flex;
                justify-content: center;
                align-items: start;
                flex-direction: column;
                gap: 24px;
                background-color: white;
                padding-inline: 56px;
                padding-block: 41px 34px;
                max-width: 525px;
                width: 100%;

                .header__form {
                    display: flex;
                    justify-content: start;
                    align-items: start;
                    flex-direction: column;
                    gap: 4px;

                    h2 {
                        color: #14253B;
                        font-size: 32px;
                        font-weight: var(--font-bold);
                        text-transform: uppercase;
                    }

                    p {
                        color: #64748B;
                        font-size: 14px;
                        font-weight: var(--font-regular);
                    }
                }

                form {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    gap: 16px;
                    width: 100%;

                    .form__group {
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        gap: 6px;
                        width: 100%;

                        label {
                            color: #19213D;
                            font-size: 16px;
                            font-weight: var(--font-regular);
                            font-family: var(--paragraph-font);

                            span {
                                color: #FF3C00;
                            }
                        }

                        input,
                        textarea {
                            font-size: 14px;
                            font-weight: var(--font-regular);
                            color: #19213D99;
                            padding: 15px 12px;
                            border-radius: 6px;
                            background-color: #F3F3F3;
                            transition: all 0.3s ease-in-out;
                            outline: none;
                            border: 1px solid transparent;
                            width: 100%;

                            &:focus {
                                border: 1px solid var(--turquoise-light);
                            }
                        }

                        textarea {
                            resize: none;
                            min-height: 120px;
                        }

                    }

                    .btn {
                        background-color: var(--barberry-dark);
                        color: white;
                        border-radius: 2px;
                        padding: 12.5px 16.5px;
                        width: 100%;
                        font-size: 19px;
                        font-weight: var(--font-semi-bold);
                        transition: all 0.3s ease-in-out;
                        cursor: pointer;
                        box-shadow: 0px 4.23px 25.39px 0px #CAC22A66;

                        &:hover {
                            background-color: var(--barberry-light);
                        }
                    }
                }
            }
        }

        &::before {
            content: "Follow the Journey";
            position: absolute;
            bottom: 0;
            left: 0;
            font-size: 48px;
            font-weight: var(--font-bold);
            color: #FFFFFF47;
            text-transform: uppercase;
            z-index: 4;
        }
    }

    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 135px;
        background-image: url("../image/bg-contact.svg");
        background-repeat: no-repeat;
        background-size: cover;
        opacity: 0.1;
        z-index: 4;
    }
}

@media (max-width: 1200px) {

    .contact {

        padding-block: 170px 45px;


        .contact__container {


            .contact__content {

                gap: 50px;


                .contact__data {

                    max-width: 520px;


                    h2 {

                        font-size: 50px;

                    }


                    p {

                        font-size: 17px;

                    }


                    .contact__info {

                        gap: 40px;

                    }
                }


                .form {

                    max-width: 450px;
                    padding-inline: 40px;

                }
            }


            &::before {

                font-size: 40px;

            }
        }
    }
}





@media (max-width: 991px) {

    .contact {

        padding-block: 130px 40px;


        .contact__container {


            .contact__content {


                .contact__data {

                    max-width: 410px;
                    padding-top: 56px;


                    h2 {

                        font-size: 51px;

                    }


                    p {

                        font-size: 16px;

                    }


                    .contact__info {

                        gap: 30px;
                        margin-top: 20px;

                    }
                }


                .form {

                    max-width: 425px;
                    padding-inline: 24px;

                }
            }


            &::before {

                font-size: 38px;

            }
        }
    }
}





@media (max-width: 768px) {

    .contact {

        padding-block: 100px 108px;


        .contact__container {


            .contact__content {
                flex-direction: column;
                gap: 45px;
                width: 100%;


                .contact__data {
                    max-width: 100%;
                    padding-top: 0;
                    gap: 15px;


                    .contact__info {
                        align-items: start;
                        gap: 55px;
                        padding: 18px;
                        margin-top: 0;


                        .contact__card {
                            font-size: 18px;
                        }
                    }
                }


                .form {
                    max-width: 100%;
                    padding-block: 41px 15px;


                    .header__form {


                        h2 {
                            font-size: 28px;
                        }


                        p {
                            font-size: 14px;
                        }
                    }


                    form {


                        .form__group {


                            label {

                                font-size: 16px;

                            }


                            input,
                            textarea {
                                padding: 15px 12px;
                            }


                            textarea {
                                min-height: 112px;
                            }
                        }


                        .btn {

                            font-size: 19px;

                        }
                    }
                }
            }


            &::before {
                font-size: 38px;
                bottom: -85px;
            }
        }


        &::after {
            height: 100px;
        }
    }
}





@media (max-width: 576px) {

    .contact {

        padding-block: 136px 85px;


        .contact__container {


            .contact__content {


                gap: 35px;


                .contact__data {
                    text-align: center;
                    align-items: center;

                    h2 {

                        font-size: 38px;

                    }


                    p {

                        font-size: 14px;

                    }


                    .contact__info {
                        flex-direction: column;
                        gap: 13px;

                        .contact__card {
                            flex-direction: row;
                            font-size: 14px;


                            h3 {
                                gap: 7px;
                            }
                        }
                    }
                }


                .form {

                    padding-inline: 24px;
                    padding-block: 41px 33px;


                    .header__form {


                        h2 {

                            font-size: 24px;

                        }

                        p {
                            font-size: 12px;
                        }
                    }


                    form {


                        gap: 16px;


                        .form__group {


                            gap: 6px;


                            label {

                                font-size: 16px;

                            }


                            input,
                            textarea {

                                font-size: 14px;

                            }

                        }


                        .btn {

                            font-size: 19px;
                            padding: 12.5px 6px;

                        }
                    }
                }
            }


            &::before {

                font-size: 24px;
                bottom: -65px;

            }
        }
    }

    .section {
        padding-inline: 1rem;
    }
}