/* 在文件开头添加调试和确保动画工作的样式 */

.alsman-subscribe-section {
  background: #fff;
  padding: 0;
}



.alsman-subscribe-section .box{position:relative;overflow:hidden;display:flex;}

.alsman-subscribe-section .box .left,.alsman-subscribe-section .box .right{width:50%;}

.alsman-subscribe-section .box .pic{position: relative;background-size: cover;background-position: center;height:500px;min-height:50vh;}

.alsman-subscribe-section .box .pic img{position:absolute;top:0;bottom:0;height:100%;width:135%;max-width:none;object-fit:cover;}

.alsman-subscribe-section .box .left .pic img{clip-path:polygon(0 0, 66% 0, 100% 100%, 0 100%);right:0;transform:translateX(10%);}

.alsman-subscribe-section .box .right .pic img{clip-path: polygon(1% 0, 100% 0, 100% 100%, 35% 100%);left:0;transform:translateX(-24%);}


.alsman-subscribe-section .box .txt{padding:40px 0 40px 15%;}
.alsman-subscribe-section .box .txt h5{font-size:clamp(20px, 1.88vw, 36px);margin:0;font-weight:900;font-family:var(--title-font-family);color:var(--title-text-color);line-height:1;}
.alsman-subscribe-section .box .txt p{font-size:16px;color:var(--text-color);margin:32px 0;line-height:1.6;font-weight:400;min-height: 51px;}


@media screen and (max-width:1441px) {
.alsman-subscribe-section .box .txt p{margin:30px 0;}
}

@media screen and (max-width:1281px){
.alsman-subscribe-section .box .txt{padding:35px 0 35px 15%;}
.alsman-subscribe-section .box .txt p{margin:25px 0;}
.alsman-subscribe-section .alsman-subscribe-btn{padding:12px 30px;}
}

@media screen and (max-width:992px){
.alsman-subscribe-section .box .txt{padding:30px 0 30px 10%;}
.alsman-subscribe-section .box .pic{height:350px;min-height:0;}
.alsman-subscribe-section .box .txt p{margin:20px 0;}
}

@media screen and (max-width:768px){
.alsman-subscribe-section .box{display:block;}
.alsman-subscribe-section .box .left,.alsman-subscribe-section .box .right{width:100%;}
.alsman-subscribe-section .box .pic img{position:static;width:100%;}
.alsman-subscribe-section .box .left .pic img{clip-path:none;transform:none;}
.alsman-subscribe-section .box .right .pic img{clip-path:none;transform:none;}
.alsman-subscribe-section .box .txt{padding:25px 5%;}

}

@media screen and (max-width:576px) {

}

@media screen and (max-width:480px) {
.alsman-subscribe-section .box .pic{height:auto;}
.alsman-subscribe-section .box .txt{padding:20px 15px;}
.alsman-subscribe-section .box .txt p{margin:15px 0;font-size:15px;}
.alsman-subscribe-section .alsman-subscribe-btn{padding:8px 20px;}

}	









/* 上半部分：图片区域 */
.alsman-subscribe-section .alsman-subscribe-images {
  height: 50vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
}

.alsman-subscribe-section .alsman-subscribe-left-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  /* 左边直角梯形：左边垂直，右边倾斜 */
  clip-path: polygon(0 0, 66% 0, 100% 100%, 0 100%);
  width: 60%;
}

.alsman-subscribe-section .alsman-subscribe-right-image {
  height: 100%;
  min-height: 500px;
  position: relative;
  background-size: cover;
  background-position: center;
  /* 右边直角梯形：左边倾斜，右边垂直（与左边对称） */
  clip-path: polygon(1% 0, 100% 0, 100% 100%, 35% 100%);
  width: 60%;
  margin-left: -20%;
}

/* 下半部分：内容区域 */
.alsman-subscribe-section .alsman-subscribe-content-area {
  background: #fff;
}

.alsman-subscribe-section .alsman-subscribe-left-content {
  background: #fff;
  padding: 80px 60px;
}

.alsman-subscribe-section .alsman-subscribe-right-content {
  background: #fff;
  padding: 80px 60px;
}

.alsman-subscribe-section .alsman-subscribe-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.alsman-subscribe-section .alsman-subscribe-title {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--title-font-family);
  color: var(--title-text-color);
  margin-bottom: 32px;
  line-height: 1.1;
}

.alsman-subscribe-section .alsman-subscribe-desc {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
  font-family: var(--font-family);
}

.alsman-subscribe-section .alsman-subscribe-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-family);
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
}

.alsman-subscribe-section .alsman-subscribe-btn:hover {
  background: var(--btn-hover);
  transform: translateY(-3px);
  color: #ffffff;
  text-decoration: none;
}

.alsman-subscribe-section .alsman-subscribe-btn:focus {
  outline: none;
}

/* Bootstrap 兼容性 */
.alsman-subscribe-section .row {
  margin-left: 0;
  margin-right: 0;
}

.alsman-subscribe-section .col-lg-6,
.alsman-subscribe-section .col-md-6 {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1900px) {
  /*.alsman-subscribe-section .container{*/
  /*  margin-left:210px;*/
  /*  margin-right:210px;*/
  /*  padding-left: 0;*/
  /*  padding-right: 0;*/
  /*  max-width: fit-content;*/
  /*  width: 100%;*/
  /*}*/
  .alsman-subscribe-section .container-fluid{
    margin-left: 210px;
    margin-right: 210px;
  }
}

/* 响应式设计 - Bootstrap断点兼容 */
@media (max-width: 991.98px) {
  .alsman-subscribe-section {
    min-height: auto;
  }

  .alsman-subscribe-section .alsman-subscribe-images {
    height: 40vh;
    min-height: 350px;
  }

  .alsman-subscribe-section .alsman-subscribe-left-image,
  .alsman-subscribe-section .alsman-subscribe-right-image {
    min-height: 350px;
  }

  /* 平板端调整梯形角度 */
  .alsman-subscribe-section .alsman-subscribe-left-image {
    clip-path: polygon(0 0, 66% 0, 100% 100%, 0 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-right-image {
    clip-path: polygon(1% 0, 100% 0, 100% 100%, 35% 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-content-area {
    height: auto;
    min-height: auto;
  }

  .alsman-subscribe-section .alsman-subscribe-left-content,
  .alsman-subscribe-section .alsman-subscribe-right-content {
    padding: 60px 40px;
  }

  .alsman-subscribe-section .alsman-subscribe-title {
    font-size: 2rem;
  }

  .alsman-subscribe-section .alsman-subscribe-desc {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .alsman-subscribe-section .alsman-subscribe-btn {
    padding: 15px 36px;
    font-size: 0.95rem;
    min-width: 170px;
  }
}

@media (max-width: 767.98px) {
  .alsman-subscribe-section .alsman-subscribe-images {
    height: 60vh;
    min-height: 400px;
    flex-direction: column;
  }

  .alsman-subscribe-section .alsman-subscribe-left-image,
  .alsman-subscribe-section .alsman-subscribe-right-image {
    height: 50%;
    min-height: 200px;
    width: 100%;
    margin: 0;
  }

  /* 移动端：上下分割，带倾斜边界 */
  .alsman-subscribe-section .alsman-subscribe-left-image {
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-right-image {
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 10% 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-content-area .row {
    flex-direction: column;
  }

  .alsman-subscribe-section .alsman-subscribe-left-content,
  .alsman-subscribe-section .alsman-subscribe-right-content {
    padding: 50px 30px;
  }

  .alsman-subscribe-section .alsman-subscribe-title {
    font-size: 1.8rem;
  }

  .alsman-subscribe-section .alsman-subscribe-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .alsman-subscribe-section .alsman-subscribe-btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    min-width: 160px;
  }
}

@media (max-width: 575.98px) {
  .alsman-subscribe-section .alsman-subscribe-left-content,
  .alsman-subscribe-section .alsman-subscribe-right-content {
    padding: 40px 20px;
  }

  .alsman-subscribe-section .alsman-subscribe-title {
    font-size: 1.5rem;
  }

  .alsman-subscribe-section .alsman-subscribe-desc {
    font-size: 0.9rem;
  }

  .alsman-subscribe-section .alsman-subscribe-content {
    max-width: 100%;
  }

  .alsman-subscribe-section .alsman-subscribe-btn {
    padding: 12px 28px;
    font-size: 0.85rem;
    min-width: 140px;
  }
}

@media (max-width:479.98px) {
.alsman-subscribe-section .alsman-subscribe-btn{padding:10px 25px;font-size:14px;min-width:0;}
}


/* 错误信息动画 */
.alsman-subscribe-section .error-message {
  animation: slideInError 0.3s ease-out;
}

@keyframes slideInError {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
