/* Banner蒙版样式 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 黑色半透明蒙版 */
    z-index: 1;
}

.banner .banner_txt,
.banner .gallery-button-container {
    position: relative;
    z-index: 2;
    /* 确保文字和按钮在蒙版上方 */
}

.lab {
    background: white;
    color: black;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 35px;
}

.demo-container {
    /* height: 700px; */
    position: relative;
    /* top: 15%; */
    left: 12%;
    width: 590px;
    /* margin: 51px 120px; */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    color: rgb(0, 0, 0);
    padding: 25px 30px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.form-content {
    display: flex;
    padding: 0;
}

.form1 {
    flex: 1;
    padding: 0 30px;
    background: #f9fbfd;
    border-right: 1px solid #eaeef2;
}

.form-right {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    min-height: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-control {
    width: 90%;
    padding: 12px 15px 12px 45px;
    /* 增加左侧内边距以容纳图片 */
    border: 1px solid #dce2e8;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    /* 为伪元素定位做准备 */
}

/* 在输入框内添加图片的样式 */
.form-control.phone-input {
    background-image: url(/template/pc/skin/shugong/表单-手机号.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

.form-control.xq-input {
    background-image: url(/template/pc/skin/shugong/表单-需求描述.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

.form-control.gm-input {
    background-image: url(/template/pc/skin/shugong/表单-企业规模.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

/* 设置select元素的placeholder文字颜色 */
select.form-control.gm-input {
    color: #999;
}

/* 设置select元素选中选项后的文字颜色 */
select.form-control.gm-input option {
    color: #000;
}

/* 当select元素有值时，文字颜色为黑色 */
select.form-control.gm-input:focus,
select.form-control.gm-input:valid {
    color: #000;
}

.form-control.zw-input {
    background-image: url(/template/pc/skin/shugong/表单-职位.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

.form-control.gs-input {
    background-image: url(/template/pc/skin/shugong/表单-企业规模.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

.form-control.name-input {
    background-image: url(/template/pc/skin/shugong/表单-姓名.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

.form-control.yz-input {
    background-image: url(/template/pc/skin/shugong/表单-验证码.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}


.form-control:focus {
    border-color: #3843A9;
    box-shadow: 0 0 0 3px rgba(44, 141, 224, 0.2);
    outline: none;
}

.verification-code {
    display: flex;
    gap: 10px;
}

.verification-code input {
    flex: 1;
}

.send-code-btn {
    padding: 0 15px;
    background: #3843A9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: background 0.3s;
}

.send-code-btn:hover {
    background: #3843A9;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px 0;
    /* background: linear-gradient(135deg, #1a6fc4, #2c8de0); */
    background: #3843A9;
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #3843A9;
    /* background: linear-gradient(135deg, #155a9d, #1a6fc4); */
    box-shadow: 0 4px 12px #3843A9;
}

.privacy-policy {
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: 9px;
    font-size: 14px;
    color: #666;
}

.privacy-policy input {
    margin-right: 8px;
}

.privacy-policy a {
    color: #3843A9;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 60px;
    color: #52c41a;
    margin-bottom: 20px;
}

.success-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.success-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .form-content {
        flex-direction: column;
    }

    .form1 {
        border-right: none;
        border-bottom: 1px solid #eaeef2;
    }
}

.text-container {
    left: 12%;
    top: 15%;
    position: absolute;
    text-align: center;
}

.title {
    color: #3843A9;
    font-size: 45px;
    font-weight: bolder;
}

.title2 {
    color: black;
    font-size: 26px;
    font-weight: bold;
}

.title3 {
    color: black;
    font-size: 24px;
}

.title4 {
    color: #92939c;
    font-size: 20px;
}

.text-group {
    margin-bottom: 30px;
}

/* 图片悬停放大效果 */
.form-image {
    width: 450px;
    transition: transform 0.5s ease;
}

.form-image:hover {
    transform: scale(1.05);
}

.btn-groups{
    font-size: 18px;
    color: rgba(51, 112, 255, 1);
    display: flex;
    width: 100%;
    justify-content: space-around;
    display: flex;
}
.btn-cptx{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    border-radius: 30px;
    padding: 3px;
    box-shadow: 0 0 10px #d2d2d2;
    background: #e9e9e9;
    cursor: pointer;
}
.img-cptx{
    text-align: center;
    width: 100%;
}
.img-cptx img{
    width: 100%;
}
.btn-cptx-index{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background: #ffffff;
}
.btn-cptx:hover .btn-cptx-index{ 
    background: rgba(51, 112, 255, 1);
    color: white;
    transition: all 0.3s ease-in-out;
}
.img-bd{
    width: 49%;
}
.img-bd img{
    padding-left: 30px;
    width: 85%
}
.img-bd2{
    position: relative;
    height: 470px;
    width: 47%;
    /* 添加过渡效果使移动更平滑 */
    transition: transform 0.1s ease-out;
}
.imimg-bd2-top {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-position: 55% 50%;
    background-size: 160%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: background-image 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(1.02);
}

.imimg-bd2-top.sg {
    background-image: url(/template/pc/skin/zaixiantiyan/数工.gif);
}

.imimg-bd2-top.imes {
    background-image: url(/template/pc/skin/zaixiantiyan/123.gif);
}

.imimg-bd2-top.gys {
    background-image: url(/template/pc/skin/zaixiantiyan/数工.gif);
}

.imimg-bd2-top.cw {
    background-image: url(/template/pc/skin/zaixiantiyan/123.gif);
}

.imimg-bd2-top.visible {
    opacity: 1;
    transform: scale(1);
}

.imimg-bd2-bottom{
    position: absolute;
    background: rgba(51, 112, 255, 1);
    width: 350px;
    height: 350px;
    z-index: 1;
    border-radius: 50%;
    top: -20%;
    right: -10%;
    transition: background 0.5s ease-in-out;
}

.imimg-bd2-bottom.sg {
    background: rgba(51, 112, 255, 1);
}

.imimg-bd2-bottom.imes {
    background: #D20062;
}

.imimg-bd2-bottom.gys {
    background: #20B2AA;
}

.imimg-bd2-bottom.cw {
    background: #fdb603;
}

.text-btn{
    width: 31%;
    justify-items: end;
    padding-right: 30px;
}
.text-btn2{
    width: 33%;
    justify-items: start;
    padding-left: 45px;
}
.text-btn2-part{
    margin-bottom: 150px;
    height: 490px;
}
.text-title{
    font-size: 30px;
    color: black;
    font-weight: bold;
    margin-top: 35px;
}
.text-title2{
    color: black;
    font-size: 22px;
    font-weight: 400;
    margin-top: 5px;
}
.text-title3{
    width: 86%;
    font-size: 16px;
    color: rgb(142 142 142);
    margin-top: 38px;
}
.btn-bd{
    margin-top: 100px;
    width: 160px;
    height: 40px;
    border-radius: 15px;
    border: 1.5px solid rgba(51, 112, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6f6f6f;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.btn-bd:hover{
    background: rgba(51, 112, 255, 1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(51, 112, 255, 0.5);
}

/* 模态框样式 */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    top:20%;
    position: relative;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: modalopen 0.4s;
    width: 590px;
    max-width: 90%;
    margin: auto;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-60px);}
    to {opacity: 1; transform: translateY(0);}
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close:hover,
.close:focus {
    color: #000;
}

/* 媒体查询，适配移动设备 */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        padding: 20px;
    }
}

.img-bd2-title{
    left: 26%;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    color: #000;
    z-index: 10;
    width: 45%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.img-bd2-title.active {
    opacity: 1;
}
