/* 现有的banner样式保持不变 */
.banner {
    width: 100%;
    height: 100vh;
    background: url('/images/contact/1100000164.jpeg') no-repeat top center;
    background-size: cover;
}
.contact-content {
    padding: 140px 0 0;
}
.contact-content-title {
    text-align: center;
}
.contact-content-title h2{
    font-size: var(--font-size-30);
    color: var(--text-color);
    margin-bottom: 140px;
    position: relative;
    padding-bottom: 40px;
}
.contact-content-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
}   

/* 联系方式卡片区域 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 140px;
}

.contact-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 154px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #ddd;
}
.contact-card h3 {
    font-size: var(--font-size-24);
    color: var(--text-color);
    margin: 0 0 10px;
}

.contact-card p {
    font-size: var(--font-size-24);
    color: var(--text-color);
    margin: 0;
}

.contact-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 40px;
}

.contact-bottom {
    background: #efefef;
    padding: 100px 0;
    height: 700px;
}
.contact-bottom-content {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}
.company-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.company-info, .contact-form {
    flex: 1;
}

.company-info .company-name {
    font-size: var(--font-size-24);
    color: var(--text-color);
    letter-spacing: 4px;
}
.company-info .company-name-en {
    font-size: var(--font-size-16);
    color: var(--text-color);
}
.company-info address {
    font-size: var(--font-size-16);
    color: var(--gray-color-3);
    line-height: 2;
}
.company-info .company-address-title {
    font-size: var(--font-size-24);
    color: var(--text-color);
    margin-bottom: 60px;
    display: inline-block;
    padding-bottom: 30px;
    border-bottom: 4px solid var(--primary-color);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}
.contact-form h2 {
    font-size: var(--font-size-24);
} 

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: none;
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
    border: none;
}
.contact-form .textarea {
    position: relative;
}


.contact-form .submit {
    position: absolute;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 11px;
    width: 69px;
    height: 23px;
    color: var(--primary-color);
    background-color: #fff;
    text-align: center;
    line-height: 23px;
    cursor: pointer;
    font-size: var(--font-size-14);
}

.contact-form button:hover {
    background: var(--primary-color);
}

/* 大屏幕 (1440px 及以上) */
@media screen and (min-width: 1440px) and (max-width: 1919px)  {
    .solution-content-title h2 {
        font-size: var(--font-size-28);
    }
    .contact-card img {
        width: 70px;
        height: 70px;
    }
    .contact-card h3 {
        font-size: var(--font-size-26);

    }
    .contact-card p {
        font-size: var(--font-size-22);
    }

    /* 地址 */
    .company-info .company-name {
        font-size: var(--font-size-22);
        letter-spacing: 3px;
    }
    .company-info .company-name-en,
    .company-info address {
        font-size: var(--font-size-14);
    }
    .company-info .company-address-title {
        font-size: var(--font-size-24);
        padding-bottom: 20px;

    }
    .contact-form h2 {
        font-size: var(--font-size-22);
    } 
    .contact-form form {
        gap: 20px;
    }
    .contact-form input, .contact-form textarea {
        padding: 12px;
    }
    .contact-bottom {
        height: 640px;
    }
  }
  
  /* 中等屏幕 (1280px - 1439px) */
  @media screen and (min-width: 1280px) and (max-width: 1439px) {
    .solution-content-title h2 {
        font-size: var(--font-size-24);
    }
    .contact-card {
        height: 120px;
    }
    .contact-card img {
        width: 50px;
        height: 50px;
    }
    .contact-card h3 {
        font-size: var(--font-size-18);

    }
    .contact-card p {
        font-size: var(--font-size-16);
    }
    /* 地址 */
    .company-info .company-name {
        font-size: var(--font-size-18);
        letter-spacing: 3px;
    }
    .company-info .company-name-en,
    .company-info address {
        font-size: var(--font-size-12);
    }
    .company-info .company-address-title {
        font-size: var(--font-size-18);
        padding-bottom: 20px;

    }
    .contact-form h2 {
        font-size: var(--font-size-20);
    } 
    .contact-form form {
        gap: 20px;
    }
    .contact-form input, .contact-form textarea {
        padding: 10px;
    }
    .contact-bottom {
        height: 640px;
    }
  }
  
  /* 平板及小屏幕 (1024px - 1279px) */
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
    .solution-content-title h2 {
        font-size: var(--font-size-24);
    }
    .contact-cards {
        gap: 20px;
    }
    .contact-card {
        height: 120px;
    }
    .contact-card img {
        width: 50px;
        height: 50px;
    }
    .contact-card h3 {
        font-size: var(--font-size-16);

    }
    .contact-card p {
        font-size: var(--font-size-14);
    }
    /* 地址 */
    .company-info .company-name {
        font-size: var(--font-size-16);
        letter-spacing: 2px;
    }
    .company-info .company-name-en,
    .company-info address {
        font-size: var(--font-size-10);
    }
    .company-info .company-address-title {
        font-size: var(--font-size-16);
        padding-bottom: 20px;
        border-bottom: 3px solid var(--primary-color);

    }
    .contact-form h2 {
        font-size: var(--font-size-18);
    } 
    .contact-form form {
        gap: 20px;
    }
    .contact-form input, .contact-form textarea {
        padding: 10px;
    }
    .contact-bottom {
        height: 640px;
    }
  }
  
  /* 平板 (768px - 1023px) */
  @media screen and (min-width: 768px) and (max-width: 1023px) {
    .solution-content-title h2 {
        font-size: var(--font-size-26);
    }
    .contact-cards {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-card {
        justify-content: flex-start;
        padding-left: 20px;
    }
    .contact-card img {
        width: 60px;
        height: 60px;
    }
    .contact-card h3 {
        font-size: var(--font-size-22);

    }
    .contact-card p {
        font-size: var(--font-size-20);
    }

    /* 地址 */
    .contact-bottom{
        height: auto;
        width: 100%;
    }
    .contact-bottom-content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .company-info .company-address-title {
        margin-top: 60px;

    }
    .company-info {
        width: 100%;
    }
    .contact-form {
        width: 100%;
    }
  }
  
  /* 移动端 (480px - 767px) */
  @media screen and (min-width: 480px) and (max-width: 767px) {
    .solution-content-title h2 {
        font-size: var(--font-size-26);
    }
    .contact-cards {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-card {
        justify-content: flex-start;
        padding-left: 20px;
    }
    .contact-card img {
        width: 56px;
        height: 56px;
    }
    .contact-card h3 {
        font-size: var(--font-size-20);

    }
    .contact-card p {
        font-size: var(--font-size-18);
    }
    /* 地址 */
    .contact-bottom{
        height: auto;
        width: 100%;
    }
    .contact-bottom-content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .company-info {
        width: 100%;
    }
    .contact-form {
        width: 100%;
    }
  }
  
  /* 小屏手机 (375px 及以下) */
  @media screen and (max-width: 479px) {
    .solution-content-title h2 {
        font-size: var(--font-size-26);
    }
    .contact-cards {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-card {
        justify-content: flex-start;
        padding-left: 20px;
    }
    .contact-card img {
        width: 56px;
        height: 56px;
    }
    .contact-card h3 {
        font-size: var(--font-size-20);

    }
    .contact-card p {
        font-size: var(--font-size-18);
    }
    /* 地址 */
    .contact-bottom{
        height: auto;
        width: 100%;
    }
    .contact-bottom-content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .company-info {
        width: 100%;
    }
    .contact-form {
        width: 100%;
    }
    .company-info .company-name {
        font-size: var(--font-size-18);
        letter-spacing: 2px;
    }
    .company-info .company-name-en,
    .company-info address {
        font-size: var(--font-size-14);
    }
    .company-info .company-address-title {
        font-size: var(--font-size-20);
        padding-bottom: 20px;
        border-bottom: 3px solid var(--primary-color);
        margin-top: 60px;

    }
    .contact-form h2 {
        font-size: var(--font-size-22);
    } 
  }