/* 联系页面特定样式 */

/* 页面标题区域 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0a1929 0%, #142d4c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #3b82f6);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0;
}

/* 联系地图样式 */
#contact-map {
    height: 450px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

/* 地图弹出样式 */
.leaflet-popup-content-wrapper {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
    margin: 1rem;
    min-width: 200px;
}

/* 联系信息卡片样式 */
.contact-info {
    background: #ffffff;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.contact-info-card {
    padding: 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    background-color: #ffffff;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0d6efd, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.contact-info-card:hover::before {
    opacity: 1;
}

/* 图标优化 */
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
}

.contact-icon i {
    font-size: 2.2rem;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon i {
    color: #0a58ca;
    transform: scale(1.1);
}

/* 列表项优化 */
.contact-info-card ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0;
}

.contact-info-card ul li {
    list-style: none !important;
    position: relative;
    /* padding-left: 1.75rem; */
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    transition: all 0.3s ease;
    /* 确保移除所有默认列表样式 */
    list-style-type: none !important;
    list-style-position: outside !important;
}

/* .contact-info-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #0d6efd;
    border-radius: 50%;
    transition: all 0.3s ease;
} */

.contact-info-card:hover li::before {
    width: 10px;
    height: 10px;
    background-color: #0a58ca;
}

.contact-info-card li:last-child {
    margin-bottom: 0;
}

/* 标题和文本优化 */
.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.contact-info-card:hover h3 {
    color: #0d6efd;
}

.contact-info-card p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.contact-info-card a {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.contact-info-card a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.contact-info-card a:hover {
    color: #0a58ca;
}

.contact-info-card a:hover::after {
    width: 100%;
}

.contact-info-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
}

.contact-info-card p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 联系表单样式 */
.contact-form-section {
    margin-bottom: 3rem;
}

.contact-form {
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #3b82f6);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-control {
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: auto;
}

.contact-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: none;
    background-color: #f8f9ff;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* 按钮样式 */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

/* 合作流程样式 */
.cooperation-process {
    background-color: #f8f9fa;
    padding: 3rem 0;
    /* margin-bottom: 3rem; */
}

.cooperation-process h3 {
    /* font-size: 2rem; */
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    text-align: center;
}

.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e9ecef;
    z-index: 0;
    transform: translateY(-50%);
}

.process-step {
    position: relative;
    z-index: 1;
    padding: 2rem 2rem 0 2rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

/* 温馨提示样式 */
.notice-section {
    margin-bottom: 3rem;
}

.notice-box {
    padding: 2rem;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.notice-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.notice-box .notice-content {
    display: flex;
    align-items: flex-start;
}

.notice-box .notice-icon {
    font-size: 1.75rem;
    color: #856404;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
}

.notice-box .notice-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #856404;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.notice-box .notice-text p {
    font-size: 1rem;
    color: #856404;
    line-height: 1.6;
    margin-bottom: 0;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.notice-box li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

.notice-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: bold;
}

.notice-box li:last-child {
    margin-bottom: 0;
}

/* 地图说明区域样式 */
.map-info {
    padding: 1.5rem;
    background-color: #e8f4ff;
    border: 1px solid #b8daff;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.map-info:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.map-info .map-content {
    display: flex;
    align-items: flex-start;
}

.map-info .map-icon {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.map-info .map-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.map-info .map-text p {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}

.map-info ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.map-info li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
}

.map-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: bold;
}

.map-info li:last-child {
    margin-bottom: 0;
}

/* 自定义地图标记样式 */
.custom-map-marker {
    transition: transform 0.2s ease;
}

.custom-map-marker:hover {
    transform: scale(1.2);
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
    border: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0b5ed7;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .process-step {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2.5rem 0 3rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    #contact-map {
        height: 350px;
    }

    .contact-form h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.75rem;
    }

    .cooperation-process h3 {
        font-size: 1.8rem;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .notice-box {
        padding: 1.75rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-card .icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .btn-primary {
        width: 100%;
    }
}