/* ========== Contact Page ========== */

/* Part 1: Banner */
.contact-banner {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}
.contact-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.contact-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,80,156,0.75) 0%, rgba(0,40,100,0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-banner-text {
    text-align: center;
    color: #fff;
}
.contact-banner-text h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.contact-banner-text p {
    font-size: 17px;
    opacity: 0.9;
    margin: 0;
}

/* Part 2: 表单区 */
.contact-form-section {
    padding: 60px 0;
    background: #f5f7fa;
}
.contact-form-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}

/* 左侧信息栏 */
.contact-info-panel {
    background: rgb(0,80,156);
    padding: 48px 36px;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.contact-info-panel::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.contact-info-panel h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative; z-index: 1;
}
.info-sub {
    font-size: 14px;
    opacity: 0.72;
    margin-bottom: 36px;
    position: relative; z-index: 1;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    position: relative; z-index: 1;
}
.info-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.info-icon i { font-size: 15px; color: #fff; }
.info-label {
    font-size: 11px;
    opacity: 0.6;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.info-value {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    word-break: break-all;
}
.info-value a { color: #fff; text-decoration: none; }
.info-value a:hover { text-decoration: underline; }
.info-social {
    display: flex;
    gap: 10px;
    margin-top: 36px;
    position: relative; z-index: 1;
}
.soc-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-size: 14px;
    transition: background 0.2s;
}
.soc-btn:hover { background: rgba(255,255,255,0.3); color: #fff; }

/* 右侧表单 */
.contact-form-panel {
    background: #fff;
    padding: 48px 44px;
    height: 100%;
}
.contact-form-panel h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 6px;
}
.form-sub {
    font-size: 14px;
    color: #999;
    margin-bottom: 28px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.req { color: rgb(0,80,156); }
.form-control-ct {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e4e8ef;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: none;
    box-sizing: border-box;
}
.form-control-ct:focus {
    border-color: rgb(0,80,156);
    box-shadow: 0 0 0 3px rgba(0,80,156,0.10);
    background: #fff;
}
.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.captcha-input { flex: 1; }
.captcha-img-wrap {
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid #e4e8ef;
    height: 42px;
    display: flex;
    align-items: center;
}
.captcha-img-wrap img { height: 40px; width: 120px; display: block; }
.captcha-refresh {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgb(0,80,156);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.3s;
}
.captcha-refresh:hover { transform: rotate(180deg); }
.btn-submit-ct {
    width: 100%;
    padding: 14px;
    background: rgb(0,80,156);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
    letter-spacing: 0.03em;
}
.btn-submit-ct:hover { background: rgb(0,60,120); }
.btn-submit-ct:disabled { opacity: 0.6; cursor: not-allowed; }
.form-msg {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 500;
}
.form-msg.success { background: #e6f4ea; color: #2d6a4f; border: 1px solid #b7dfc5; }
.form-msg.error-msg { background: #fde8e8; color: #c0392b; border: 1px solid #f5c0c0; }

/* Part 3: 底部三模块 */
.contact-bottom-section {
    background: #1a2332;
    padding: 56px 0;
}
.bottom-info-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: background 0.2s;
    height: 100%;
}
.bottom-info-card:hover { background: rgba(255,255,255,0.09); }
.bottom-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(0,80,156,0.7);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.bottom-icon i { font-size: 22px; color: #fff; }
.bottom-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: none;
}
.bottom-info-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    line-height: 1.6;
}
.bottom-info-card p:last-child { margin-bottom: 0; }
.bottom-info-card a { color: rgba(255,255,255,0.85); text-decoration: none; }
.bottom-info-card a:hover { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 991px) {
    .contact-banner { height: 240px; }
    .contact-banner-text h1 { font-size: 32px; }
    .contact-info-panel { padding: 36px 28px; }
    .contact-form-panel { padding: 36px 28px; }
}
@media (max-width: 767px) {
    .contact-banner { height: 200px; }
    .contact-banner-text h1 { font-size: 26px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .contact-form-panel { padding: 28px 20px; }
    .contact-info-panel { padding: 28px 20px; }
    .contact-bottom-section { padding: 40px 0; }
}
