﻿@charset "utf-8";

         /* ===== 页面横幅 ===== */
        .page-banner {
            background: linear-gradient(135deg, rgba(10, 47, 108, 0.80) 0%, rgba(26, 75, 140, 0.65) 100%),
                        url('../img1/a8.jpg') center / cover no-repeat;
            padding: 5rem 2rem;
            text-align: center;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .page-banner::after {
            content: '';
            position: absolute;
            right: -60px; top: -60px;
            width: 280px; height: 280px;
            background: radial-gradient(circle, rgba(106, 176, 254, 0.18) 0%, transparent 70%);
            border-radius: 50%;
        }
        .page-banner .banner-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
        .page-banner .banner-icon {
            font-size: 3rem; margin-bottom: 0.8rem; color: #b3d9ff;
            background: rgba(255,255,255,0.10); width: 80px; height: 80px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            margin-left: auto; margin-right: auto;
            border: 2px solid rgba(255,255,255,0.20);
        }
        .page-banner h1 {
            font-size: 2.6rem; font-weight: 700; letter-spacing: 1px;
            text-shadow: 0 4px 20px rgba(0,0,0,0.5); margin-bottom: 0.5rem;
        }
        .page-banner p {
            font-size: 1.1rem; font-weight: 300; opacity: 0.90;
            text-shadow: 0 2px 10px rgba(0,0,0,0.4);
        }
        @media (max-width: 768px) {
            .page-banner { padding: 3.5rem 1.5rem; }
            .page-banner h1 { font-size: 2rem; }
            .page-banner .banner-icon { width: 64px; height: 64px; font-size: 2.4rem; }
        }

        /* ===== 主内容区 ===== */
        .contact-layout {
            width: 73%; margin: 2.8rem auto 2.5rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
            align-items: start;
        }

        /* ===== 联系信息卡片 ===== */
        .info-card {
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 4px 24px rgba(10,47,108,0.06);
            border: 1px solid #e8f0fe;
            padding: 2.5rem 2rem;
        }
        .info-card .card-header {
            margin-bottom: 2rem;
        }
        .info-card .card-header h2 {
            font-size: 1.6rem; font-weight: 700; color: #08305c;
            margin-bottom: 0.3rem;
        }
        .info-card .card-header .divider {
            width: 50px; height: 3px;
            background: linear-gradient(90deg, #1a6bc4, #6ab0fe);
            border-radius: 3px; margin-top: 0.6rem;
        }
        .info-item {
            display: flex; gap: 1rem; align-items: flex-start;
            padding: 1rem 0;
            border-bottom: 1px solid #eef4fc;
        }
        .info-item:last-child { border-bottom: none; }
        .info-item .info-icon {
            flex-shrink: 0;
            width: 48px; height: 48px;
            border-radius: 14px;
            background: rgba(26,107,196,0.08);
            display: flex; align-items: center; justify-content: center;
            color: #1a6bc4; font-size: 1.2rem;
        }
        .info-item .info-text h4 {
            font-size: 0.95rem; font-weight: 600;
            color: #08305c; margin-bottom: 0.2rem;
        }
        .info-item .info-text p {
            font-size: 0.9rem; color: #5d7a9e; line-height: 1.5;
        }

        /* ===== 联系表单 ===== */
        .form-card {
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 4px 24px rgba(10,47,108,0.06);
            border: 1px solid #e8f0fe;
            padding: 2.5rem 2rem;
        }
        .form-card .card-header {
            margin-bottom: 2rem;
        }
        .form-card .card-header h2 {
            font-size: 1.6rem; font-weight: 700; color: #08305c;
            margin-bottom: 0.3rem;
        }
        .form-card .card-header .divider {
            width: 50px; height: 3px;
            background: linear-gradient(90deg, #1a6bc4, #6ab0fe);
            border-radius: 3px; margin-top: 0.6rem;
        }
        .form-group {
            margin-bottom: 1.3rem;
        }
        .form-group label {
            display: block;
            font-size: 0.88rem; font-weight: 600;
            color: #08305c; margin-bottom: 0.4rem;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem 1rem;
            font-size: 0.9rem;
            color: #1f3b5c;
            background: #f8fbff;
            border: 1px solid #dce6f5;
            border-radius: 12px;
            outline: none;
            transition: all 0.25s ease;
            font-family: inherit;
            resize: vertical;
        }
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #6ab0fe;
            box-shadow: 0 0 0 3px rgba(26,107,196,0.08);
            background: #fff;
        }
        .form-group textarea { min-height: 120px; }
        .submit-btn {
            width: 100%;
            padding: 0.9rem;
            font-size: 1rem; font-weight: 600;
            color: #fff;
            background: linear-gradient(135deg, #1a6bc4, #0a2f6c);
            border: none; border-radius: 12px;
            cursor: pointer;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            display: flex; align-items: center; justify-content: center;
            gap: 8px;
        }
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(10,47,108,0.25);
        }
        .submit-btn i { font-size: 0.9rem; }
        .submit-btn:disabled {
            opacity: 0.7; cursor: not-allowed; transform: none !important;
            box-shadow: none !important;
        }

        /* ===== 表单提示信息 ===== */
        .form-msg {
            padding: 0.8rem 1rem; border-radius: 10px;
            margin-bottom: 1.2rem; font-size: 0.88rem;
            display: flex; align-items: center; gap: 0.5rem;
            animation: msgFadeIn 0.35s ease;
        }
        .form-success {
            background: #e8f8ed; color: #1e7e34;
            border: 1px solid #b7e4c7;
        }
        .form-error {
            background: #fef0f0; color: #c0392b;
            border: 1px solid #f5c6cb;
        }
        @keyframes msgFadeIn {
            from { opacity: 0; transform: translateY(-6px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* 必填标记 */
        .required { color: #e74c3c; margin-left: 2px; }

        /* 字段验证状态 */
        .form-group input.input-error,
        .form-group textarea.input-error {
            border-color: #e74c3c !important;
            box-shadow: 0 0 0 3px rgba(231,76,60,0.08) !important;
        }
        .form-group input.input-valid,
        .form-group textarea.input-valid {
            border-color: #27ae60 !important;
            box-shadow: 0 0 0 3px rgba(39,174,96,0.08) !important;
        }
        .form-group .field-hint {
            display: block; font-size: 0.78rem; margin-top: 0.3rem; min-height: 1.1em;
        }
        .form-group .field-hint.hint-error { color: #e74c3c; }
        .form-group .field-hint.hint-valid { color: #27ae60; }

        @media (max-width: 900px) {
            .contact-layout { width: auto; margin: 2rem 1.5rem; }
        }
        @media (max-width: 768px) {
            .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
            .info-card, .form-card { padding: 2rem 1.5rem; }
        }
        @media (max-width: 600px) {
            .contact-layout { margin: 1.5rem 1rem; }
            .info-card, .form-card { padding: 1.5rem 1.2rem; }
        }