/* ==================== 联系页样式 ==================== */

/* 联系信息项 */
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e9ecef;
    border-color: #3682e0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 0.3rem 0;
    color: #333;
    font-size: 1.1rem;
}

.contact-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* 联系表单 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form div {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3682e0;
    box-shadow: 0 0 0 3px rgba(54, 130, 224, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    padding: 0.8rem 1.5rem;
    background: #3682e0;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.contact-form button[type="submit"]:hover {
    background: #2c6cb0;
}

/* 联系页网格布局 */
.contact-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ==================== 联系页响应式设计 ==================== */
@media (max-width: 768px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

.contact-icon i,
.cooperation-icon i {
    font-size: 1.5rem;
}


.bg-blue { background: #3682e0; }
.bg-green { background: #07c160; }
.bg-dark { background: #333; }
.bg-orange { background: #ff9500; }
.bg-purple { background: #af52de; }