header {
    height: 30vh;
    background-image: url(../assets/homebg2.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

header .page-title {
    background-image: linear-gradient(to right, rgb(50, 115, 230), rgb(3, 19, 66));
    width: 40vw;
    height: 15vh;
    position: absolute;
    bottom: -7.5vh;
    left: 0;
    padding-left: 10vw;
}
main {
    color: #000019;
    padding: 10vh 10vw;
    line-height: 2rem;
    display: flex;
    gap: 1rem;
}
main h4 {
    font-size: 2rem;
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
main h4:before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 25%;
    width: 50%;
    height: 5px;
    background-image: linear-gradient(to right, rgb(50, 115, 230), rgb(3, 19, 66));
}
main p {
    text-align: justify;
    font-size: 1rem;
    line-height: 2rem;
    color: #000019;
}
.contact {
    width: 20vw;
}
.contact > div {
    width: 100%;
    border-radius: 1rem;
    box-shadow: -1px 3px 23px -10px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.05);
}
.contact > div p {
    padding: 2rem;
}
.contact span {
    display: block;
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 2rem;
}
.qqIcon {
    background-image: url(../assets/Icons/qq.svg);
}
.telIcon{
    background-image: url(../assets/Icons/tell.svg);
}
.wechatIcon {
    background-image: url(../assets/Icons/wechat.svg);
}
form {
    width: 100%;
}
fieldset {
    border: none;
    padding: 0;
    display: flex;
}
input {
    padding: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    caret-color: #2864e6;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    color: #000019;
}
textarea {
    padding: 0.5rem;
    font-size: 1rem;
    caret-color: #2864e6;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    color: #000019;
}
input:focus,textarea:focus {
    outline: none;
    border: 1px solid #2864e6;
    border-radius: 0.5rem;
}
label {
    display: inline-block;
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-right: 2rem;
}
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    outline: none;
    margin: 0;
    margin-bottom: -0.25rem;
}
input[type="radio"]:checked {
    border: 1px solid #2864e6;
}
input[type="radio"]:checked:before {
    content: "";
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #2864e6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.f2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
.f2 input {
    width: calc(50% - 2rem);
}
.f2 textarea {
    width: 100%;
    font-family: "Microsoft YaHei", sans-serif;
}
.f2 .counter {
    position: absolute;
    bottom: 0;
    right: 0.5rem;
    display: inline-block;
    color: rgba(0, 0, 0, 0.45);
}
.fbtn {
    text-align: right;
}
.fbtn button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #2864e6;
    cursor: pointer;
    color: #fff;
    position: relative;
    transition: all 0.25s ease;
    transform-origin: left;
    margin-top: 5rem;
}
.fbtn span {
    z-index: 2;
    position: relative;
    background-image: url(../assets/Icons/link-more.svg);
    background-repeat: no-repeat;
    padding-right: 2rem;
    background-size: 1rem;
    background-position: right center;
    font-size: 1rem;
}
.fbtn button:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 100%;
    max-width: none;
    max-height: none;
    top: initial;
    transition: all 0.25s ease;
    background-image: linear-gradient(to right, rgb(50, 115, 230), rgb(3, 19, 66));
    transform-origin: left;
    border-radius: 0.5rem;
    z-index: 0;
}

.fbtn button:hover:before {
    width: 100%;
}

@media only screen and (max-width: 1023px) {
    .page-title h3 {
        display: none;
    }

    main {    
        flex-direction: column;
    }
    .contact,.form {
        width: 100%;
    }
    fieldset {
        flex-direction: column;
    }
    form .f2 input,form .f2 textarea {
        width: 100%;
    } 

}