/* 加载占位符状态样式 */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}
.loader-container.hidden {
      opacity: 0;
      pointer-events: none;
}



/* 头图样式 */
.aboutfa .container{
    padding: 0 0;
    object-fit: cover;
}

.aboutfa-hero{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-image: url('../images/fa-header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.9);
}

/* .aboutfa img{
    width: 100%;
    height: 100%;
} */

.aboutfa .aboutfa-text-center{
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #50585c;
    /* margin-top: 100px; */
    opacity: 0.65;
    /* padding: 0 500px; */
    display: grid;
    text-align: center; 
    position: absolute;
    /* top: 48%; */
    top: 440px;
}

.aboutfa .aboutfa-text{
    top: 440px;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 500px;
    display: grid;
    grid-template-columns: repeat(5, minmax(140px,1fr));
    align-items: center;
    justify-content: center;
    position: absolute;
    /* top: 48%; */

}
.aboutfa-text a{
    text-align: center;
    padding: 10px 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 300;
}

.aboutfa-text a.active {
        background-color: rgba(255,255,255,0.2);
        font-weight: 600;
    }

.aboutfa-text a:hover{
    cursor: pointer;
    font-weight: 600;
    /* color: #7a86be; */
    /* font-size: 36px;
    font-weight: 300; */
}



@media (max-width: 1290px) {
    .aboutfa .aboutfa-text{
        padding: 0;
        grid-template-columns: repeat(5, 1fr);
    }
    .aboutfa-text a{
        font-size: 15px;
        padding: 24px 0;
    }
}



/* 解决方案 */
.sulutionfa{
   /* position: relative; */
   margin-top: 550px;
   margin-bottom: 80px;
   padding: 80px 0;
}

.sulutionfa .container {
    /* display: flex; */
    align-items: center;
    max-width: 1400px;
    padding: 6px 0px;
}

.sulutionfa-grid1 { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 15px;
}

.sulutionfa-grid2 { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.sulutionfa-grid-item span{
    color: #ffffff;
    font-size: 40px;
    font-weight: 400;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.sulutionfa-grid-item img{
    /* height: 500px; */
    border-radius: 15px;
}

/* 图片遮罩 */
.sulutionfa-grid-item {
    position: relative;
}

.sulutionfa-grid-item .imgText{
      position: absolute;
      background: rgba(0, 0, 0, 0.8);
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      cursor: pointer;
      opacity: 0;
      color: #ffffff;
      text-align: center;
      border-radius: 15px;
}

.sulutionfa-grid-item h5 {
      text-align: center;
      margin-top: 35%;
      font-size: 40px;
}

.sulutionfa-grid-item .imgText:hover {
    transition-duration: 1s;
    opacity: 1;
}


@media (max-width: 1290px) {
    .sulutionfa-grid1{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .sulutionfa-grid2{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}



/* 解决方案板块通用样式 */
.solution {
    display: none; /* 初始隐藏所有板块 */
    animation: fadeIn 0.5s ease;
    text-align: center;
    padding: 20px;
}

.solution1 {
    margin-top: 550px;
    margin-bottom: 80px;
    padding: 20px;
}

/* 显示当前激活的解决方案 */
.solution.active {
    display: block;
}

.solution1 .cta-button{
    display: inline-block;
    padding: 15px 40px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}




/* 方案概述样式 */

.solution1 h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.solution1 .section-desc {
    color: #191919;
    font-size: 19px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 70px;
}

.overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.overview-text {
    font-size: 20px;
    color: #666;
    flex: 1;
    min-width: 300px;
}

.overview-text h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #191919;

    
}

.overview-text p {
    text-align: justify;
    font-size: 20px;
    color: #666;
    flex: 1;
    min-width: 300px;
}

.overview-image {
    flex: 1;
    min-width: 300px;
}

.overview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 案例具体场景 */
.section-title h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 80px;
}

.section-title p {
    color: #191919;
    font-size: 19px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 70px;
}


.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #3b82f6;
}

.case-info p {
    color: #191919;
}

.case-location {
    color: #aaaaaa;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.case-location i {
    margin-right: 5px;
}

/*防止页脚浮动到上部*/
.hidden{
    display: none;
}


@media (max-width: 1290px) {
    .solution .container {
        padding: 40px 0;
    }
}

html:lang(en) .aboutfa-text a{
    font-size: 15px;
}