// Form Section 
.form-section {
    padding-top: 100px;
    position: relative;

    @media(max-width: 767px) {
        padding-top: 70px;
    }

    .form-inner {
        .inner-wrapper {
            border: 1px solid #1a4123;
            border-radius: 20px;
            padding: 40px;
            padding-bottom: 100px;
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 50px;
            position: relative;
            z-index: 1;

            @media(max-width: 1199px) {
                padding: 30px 15px;
                grid-template-columns: 1fr;
                padding-bottom: 100px;
            }

            .left-section {
                h2 {
                    color: #2d6d3b;
                    font-family: $font-bricolage;
                    font-weight: 300;
                    margin-bottom: 15px;
                    font-size: 45px;

                    @media(max-width: 767px) {
                        font-size: 28px !important;
                    }
                }

                p {
                    color: #515151;
                    line-height: 150%;
                    font-size: 18px;
                    margin-bottom: 20px;

                    br {
                        @media(max-width: 767px) {
                            display: none;
                        }
                    }

                    span {
                        font-weight: 500;

                        @media(max-width: 767px) {
                            display: block;
                        }
                    }
                }

                .form-wrapper {
                    .form-group {
                        margin-bottom: 15px;

                        input {
                            background-color: #f9f6e0;
                            border-radius: 19px;
                            border: none;
                            color: #515151;
                            font-weight: 500;
                            padding: 15px;
                            border: 1px solid transparent;

                            @media(max-width: 767px) {
                                font-size: 15px;
                                padding: 12px;
                                border-radius: 12px;
                            }

                            &:focus {
                                box-shadow: none;
                                border-color: #1a4123;
                            }
                        }

                        textarea {
                            background-color: #f9f6e0;
                            border-radius: 19px;
                            border: none;
                            color: #515151;
                            font-weight: 500;
                            padding: 15px;
                            border: 1px solid transparent;
                            resize: none;
                            height: 198px;

                            @media(max-width: 767px) {
                                font-size: 15px;
                                padding: 12px;
                                border-radius: 12px;
                                height: 130px;
                            }

                            &:focus {
                                box-shadow: none;
                                border-color: #1a4123;
                            }
                        }

                        .submit-wrapper {
                            .submit_btn {
                                width: 100%;
                                background-color: #1a4123;
                                color: $white;
                                font-family: $font-bricolage;
                                font-size: 25px;
                                text-align: center;
                                border: 1px solid #1a4123;
                                border-radius: 19px;
                                padding: 12.7px 15px;
                                transition: 0.6s ease-in-out;
                                position: relative;
                                z-index: 1;
                                overflow: hidden;

                                &::before {
                                    width: 180px;
                                    height: 200px;
                                    background-color: #b8cf63;
                                    position: absolute;
                                    top: -190%;
                                    left: -80%;
                                    transition: 0.5s ease;
                                    transform: rotate(35deg);
                                    content: "";
                                    z-index: -1;
                                    opacity: 0;
                                    visibility: hidden;
                                }

                                &::after {
                                    width: 200px;
                                    height: 200px;
                                    background-color: #b8cf63;
                                    position: absolute;
                                    top: -115%;
                                    right: -90%;
                                    transition: 0.5s ease;
                                    transform: rotate(125deg);
                                    content: "";
                                    z-index: -1;
                                    opacity: 0;
                                    visibility: hidden;
                                }


                                @media(max-width: 767px) {
                                    font-size: 15px;
                                    padding: 8px 12px;
                                }

                                &:hover {
                                    background-color: #b8cf63;
                                    border-color: #b8cf63;

                                    &::before {
                                        opacity: 1;
                                        visibility: visible;
                                        left: 0%;
                                    }

                                    &::after {
                                        opacity: 1;
                                        visibility: visible;
                                        right: 0%;
                                    }
                                }
                            }
                        }
                    }
                    .left-captcha-wrapper{
                        display: grid;
                        grid-template-columns: 1fr 1fr;
                        gap: 24px;
                        align-items: center;
                        @media(max-width: 767px){
                            grid-template-columns: 1fr;
                            gap: 12px;
                        }
                        .right-submit-button{
                            height: 100%;
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            .form-group{
                                margin-bottom: 0;
                            }
                        }
                    }
                }
            }

            .right-section {
                h2 {
                    color: #2d6d3b;
                    font-family: $font-bricolage;
                    font-weight: 300;
                    margin-bottom: 25px;
                    font-size: 45px;

                    @media(max-width: 767px) {
                        font-size: 28px !important;
                    }
                }

                .icon-address-wrapper {
                    display: flex;
                    flex-direction: column;
                    gap: 25px;

                    @media(max-width: 767px) {
                        gap: 20px;
                    }

                    .icon-text-box {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        gap: 15px;

                        @media(max-width: 767px) {
                            gap: 8px;
                        }

                        img {
                            width: 70px;

                            @media(max-width: 767px) {
                                width: 41px;
                            }
                        }
                    }

                    a {
                        font-size: 18px;
                        color: #515151;

                        @media(max-width: 767px) {
                            font-size: 15px !important;
                        }
                    }
                }
            }
        }
    }
}

// Bottom Image Section 
.bottom-image-section {
    .custom-container {
        .bottom-image-inner {
            text-align: right;

            img {
                width: 100%;
                max-width: 1652px;
                margin-top: -60px;
            }
        }
    }
}