body{
    background-color: #f5f5f5;
}

.banner-section{
    margin-top: 80px;
    /* height: 600px; */
    position: relative;
}
.banner-container{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-container img {
    width: 100%;
    object-fit: cover;
}

.main-content{
    scroll-margin-top: 160px;
}

/* 按钮样式 */
.banner-buttons {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
}

.banner-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 60px;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.banner-btn.active {
    background-color: #e60012 !important;
    color: #fff;
    border: 1px solid #e60012;
}

.banner-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 主要内容区域 */
.main-content {
    padding: 60px 0;
    max-width: 1226px;
    margin: 0 auto;
    margin-top: 30px;
}

/* 公司标题区域 */
.company-title-section {
    text-align: center;
    margin-bottom: 50px;
}

.company-title-section h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.title-divider {
    width: 50px;
    height: 4px;
    background-color: #333;
    margin: 0 auto 15px;
}

.company-subtitle {
    font-size: 18px;
    color: #666;
}

/* 联系卡片区域 */
.contact-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    /* background-color: #fff; */
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    /* border-color: #e60012; */
}

.contact-card:hover .card-title {
    color: #e60012;
}

.contact-card:hover .card-icon {
    background-color: #e60012;
}

.contact-card:hover .card-icon img {
    filter: brightness(0) invert(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.card-icon img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

.card-content {
    margin-top: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* 联系表单部分 */
.contact-form-section {
    margin-top: 60px;
}

.contact-title {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.contact-title .title-divider {
    width: 50px;
    height: 3px;
    background-color: #333;
    margin: 0 auto 15px;
}

.contact-title .subtitle {
    font-size: 16px;
    color: #666;
}

.contact-container {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.contact-image {
    flex: 0 0 45%;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    flex: 0 0 55%;
    padding: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e60012;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e60012;
    box-shadow: 0 0 5px rgba(230, 0, 18, 0.2);
    outline: none;
}

.form-group textarea {
    resize: none;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-reset {
    background-color: #f5f5f5;
    color: #666;
}

.btn-submit {
    background-color: #e60012;
    color: #fff;
}

.btn-reset:hover {
    background-color: #e0e0e0;
}

.btn-submit:hover {
    background-color: #d10010;
}

/* 表单验证样式 */
.has-error input,
.has-error textarea {
    border-color: #e60012;
}

.error-message {
    color: #e60012;
    font-size: 14px;
    margin-top: 5px;
}

.form-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 15px;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

@media (max-width: 1024px) {
    .banner-btn {
        width: 150px;
        height: 50px;
        font-size: 16px;
    }
    
    .banner-buttons {
        bottom: -25px;
    }
    
    .main-content {
        padding: 50px 20px;
        margin-top: 25px;
    }
    
    .company-title-section h1 {
        font-size: 28px;
    }
    
    .company-subtitle {
        font-size: 16px;
    }
    
    .contact-card {
        padding: 25px;
        min-width: 220px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon img {
        width: 30px;
        height: 30px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .contact-form-section {
        margin-top: 50px;
    }
    
    .contact-title h2 {
        font-size: 24px;
    }
    
    .contact-title .subtitle {
        font-size: 14px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-image,
    .contact-form {
        flex: 0 0 100%;
    }
    
    .contact-image {
        max-height: 300px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .banner-section{
        margin-top: 60px;
        height: 100px;
        position: relative;
    }
    
    .banner-btn {
        width: 120px;
        height: 45px;
        font-size: 14px;
    }
    
    .banner-buttons {
        bottom: -22px;
        gap: 15px;
    }
    
    .main-content {
        padding: 40px 15px;
        margin-top: 22px;
    }
    
    .company-title-section {
        margin-bottom: 30px;
    }
    
    .company-title-section h1 {
        font-size: 24px;
    }
    
    .company-subtitle {
        font-size: 14px;
    }
    
    .contact-cards {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-card {
        min-width: 100%;
        padding: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .card-icon img {
        width: 25px;
        height: 25px;
    }
    
    .card-title {
        font-size: 14px;
    }
    
    .contact-form-section {
        margin-top: 40px;
    }
    
    .contact-title h2 {
        font-size: 22px;
    }
    
    .contact-title .subtitle {
        font-size: 13px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}