*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
a{
    color: inherit;
    text-decoration: none;
}
input,
textarea {
    /* 1. 清除边框和轮廓 */
    border: none;
    outline: none; /* 注意可访问性 */

    /* 2. 清除默认背景色 */
    background-color: transparent;

    /* 3. 清除阴影（特别是 Safari 的内阴影） */
    box-shadow: none;

    /* 4. 统一字体继承 */
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;

    /* 5. 清除 iOS Safari 的圆角和内阴影 */
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 6. 清除 textarea 的拉伸手柄 */
textarea {
    resize: none;
}
button { 
    /* 清除边框和背景 */
    border: none;
    background: none;

    /* 清除默认的内边距和外边距 */
    padding: 0;
    margin: 0;

    /* 统一字体样式（可选） */
    font: inherit; /* 继承父元素字体 */
    /* 或者指定具体字体 */
    /* font-family: sans-serif; */
    /* font-size: 1rem; */
    /* font-weight: normal; */

    /* 清除轮廓（点击时的蓝色边框） */
    outline: none;

    /* 清除光标默认样式（如果需要自定义） */
    cursor: pointer;

    /* 文本对齐 */
    text-align: left; /* 防止文本居中 */
    appearance: none; /* 清除浏览器特定的渲染（如 macOS 的圆角） */
    -webkit-appearance: none;
    -moz-appearance: none;
}
.bg{
    display: flex;
    width: 100%;
    flex-direction: column;
    height: 100vh;
}
.header{
    height: 83px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: #FFFFFF;
}
.header .logo{
    width: 234px;
    height: 40px;
}
.left-section {
    display: flex;
    align-items: center;
}

.right-section {
    display: flex;
    gap: 20px; 
    margin-left: auto;
}

.phone {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    margin-right: 30px;
}
.phone img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}
.phone .text {
    font-weight: 600;
}
.main{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.bg-img{
    display: flex;
    flex-grow: 1;
    align-items: center;
    position: relative;
    background: url(../images/bg.png) no-repeat center;
    background-size: cover; 
}
.bg-img form{
    display: flex;
    flex-direction: column;
    color: white;
    width: 600px;
    margin-left: 50px;
}
.bg-img .title{ 
    display: flex;
    align-items: end;
    padding: 10px;
}
.bg-img h1{
    margin-top: 0;
    font-size: 32px;
    letter-spacing: 0;
    font-weight: 600;
}
.bg-img a{
    font-size: 18px;
    letter-spacing: 0;
    font-weight: 400;
    margin-left: auto;
}
.main-footer{
    height: 220px;
    display: flex;
    background: #2A5BB0;
}
.main-footer .item{
    width: 50%;
    color: #FFFFFF;
    padding: 0 20px;
}
.main-footer .item .title { 
    font-size: 24px;
    letter-spacing: 0;
    font-weight: 600;
    margin: 10px 0;
}
.main-footer .item .discription { 
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 1.6;
}
.line{
    border: 1px solid #fff;
    height: 1px;
    background: #fff;
    width: 123px;
    margin-bottom: 10px;
}
.footer{
    display: flex;
    align-items: center;
    height: 107px;
    background: #001945;
    padding-left: 40px;
    padding-bottom: 10px;
}
.footer .police{
    font-size: 12px;
    color: #FFFFFF;
    line-height: 20px;
    font-weight: 400;
}
.footer .links{ 
    display: flex;
    width: calc(100% - 320px);
    justify-content: center;
    align-items: center;
}
.footer .links a{ 
    margin-left: 10px;
}
.footer .links a img{ 
    height: 48px;
}