.contact-intro {
    text-align: center;
    padding: 4rem 0;
    background-color: white;
}

.contact-intro h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-intro p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-methods {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.method-card {
    text-align: center;
    padding: 2rem 1rem;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.method-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #666;
    transition: all 0.3s;
}
.method-icons {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #666;
    transition: all 0.3s;
}

.method-card:hover .method-icon {
    border-color: #0066cc;
    color: #0066cc;
}

.method-card.primary .method-icon {
    background-color: #0066cc;
    border-color: #0066cc;
    color: white;
}

.method-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.method-content {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.method-desc {
    font-size: 0.85rem;
    color: #999;
}

.message-section {
    padding: 4rem 0;
    background-color: white;
}

.message-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
}

.message-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-form {
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    width: 100%;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: none;
}

.form-group label {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-submit {
    display: block;
    margin: 2rem auto 0;
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 0.75rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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


.contact-info-footer i {
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.contact-info-text h6 {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.contact-info-text p {
    margin: 0;
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative; /* 确保图标相对于此元素定位 */
}

.input-with-icon input {
    padding-left: 30px; /* 根据图标大小调整 */
}

.input-with-icon .icon {
    position: absolute;
    left: 10px; /* 根据需要调整位置 */
    top: 50%;
    transform: translateY(-50%); /* 垂直居中图标 */
}