.contact-title-box {
    text-align: center;
    line-height: 1.5;
    margin-bottom: 40px;
}

.contact-title {
    font-size: 72px;
    background-image: linear-gradient(to bottom, #fc7ec3, #FFCD97);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 16px;
    color: #ffffff;
}

.from_box {
    padding: 45px;
    position: relative;
    width: 800px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    align-items: center;
    z-index: 1;
    background-image: linear-gradient(to bottom, #FFCD97, #DEC7F5);

}
.from_box::after{
    background: #1a1a1a;
    content: '';
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 5px;
    z-index: -1

}
.form-table{
    margin-bottom: 31px;
    width: 100%;
}
.name{
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 5px;
}
.input_box{
    border: 1px solid #FFCD97;
    padding: 15px;
    border-radius: 4px;

    width: 345px;
}
input{
    background: unset;
    border: unset;
    max-width: 100%;
    width: 100%;
    outline: unset;
    height: 100%;
}

/*.from_box::after {*/
/*  */
/*    content: '';*/
/*    width: 100%;*/
/*    height:100%;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    z-index: -2;*/
/*    border-radius: 5px;*/
/*}*/

/*.from_box::before {*/
/*    background: #1a1a1a;*/
/*    content: '';*/
/*    width: calc(100% - 6px);*/
/*    height: calc(100% - 6px);*/
/*    position: absolute;*/
/*    top: 3px;*/
/*    left: 48px;*/
/*    border-radius: 5px;*/
/*    z-index: -1*/
/*}*/

.contact-center {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 70px;

}
.form-table{
    display: flex;
    grid-gap: 20px;
}
.from_input_textarea{
    width: 100%;
}
.input_box_textarea{
    width: 100%;
    border: 1px solid #DEC7F5;
    border-radius: 4px;
}
.textarea_box{
    width: 100%;
}
textarea{
    background: unset;
    border: unset;
    max-width: 100%;
    outline: unset;
    width: 100%;
}
.submit-btn-box{
    width: fit-content;
    padding: 15px 60px 15px 60px;
    font-size: 24px;
    border-radius: 5px;
    background-image: linear-gradient(to right, #FFCEBA, #FFCD97,#DEC7F5,#B2CFFF,#FBF6B0);
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    color: #1a1a1a;

}
.contact-welcome-title{
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #a2c5fc;
    margin-top: 40px;
}
.contact-welcome-subtitle{
    font-size: 16px;
    color: #a2c5fc;
    text-align: center;
}
.comm-container{
    border-bottom: 1px solid #333333;;
}
.contact-welcome{
    margin-bottom: 80px;
}
.welcome-card{
    padding-top: 20px ;
   max-width: 415px;
    border-radius: 5px;
        background-image: linear-gradient(to bottom, #B2CFFF, #FBF6B0);
    flex: 1;
}
.bottom-text{
    padding: 50px 40px 50px 40px;
    text-align: center;
    color: #9ac0fd;
    font-size: 30px;
}
.top-img{
    width: 90%;
    height: 270px;
    margin: auto;
    transition: .3s all;
    transform:scale(1);
    overflow: hidden;
}
.top-img>img{
    transition: .5s all;
}
.top-img > img:hover{
    transition: .5s all;
    transform: scale(1.2);
}
.contact-welcome-card{
    display: flex;
    grid-gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
@media (max-width: 992px) {
    .form-table{
        display: flex;
        flex-direction: column;
    }
    .input_box{
        width: 100%;
    }
    .from_box{
        width: 100%;
    }
    .contact-title{
        font-size: 35px;
    }
    .contact-subtitle{
        margin-top: 15px;

    }
    .contact-title-box{
        margin-bottom: 30px;
    }
    .contact-welcome-title{
        font-size: 30px;
        text-align: center;
    }
    .contact-welcome{
        margin-bottom: 40px;
    }
    .contact-welcome-card{
        flex-wrap:unset;
        align-items: center;
    }
    
    .welcome-card{
        width: 100%;
        max-width: calc(415px * 0.7);
    }
    .bottom-text{
        padding: 30px;
        font-size: 20px;
    }
    .contact-welcome-subtitle{
        font-size: 20px;
        line-height: 1.3;
    }
    .top-img{
        height: calc(270px * 0.7);
    }
    
}

@media (max-width: 768px) {
    .contact-welcome-card{
        flex-direction: column;
    }
}

