/* 联系我们主要内容区域 */
.contact-main-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

/* 联系表单样式 */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-form-wrapper .section-title {
    color: #2c3e50;
    font-size: 2.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-form-wrapper .section-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
    margin-left: 0;
}

/* 公司联系信息样式 */
.contact-info-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info-wrapper .section-title {
    color: #2c3e50;
    font-size: 2.125rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.contact-info-item .contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item .contact-details h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-item .contact-details p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.contact-info-item .contact-details a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item .contact-details a:hover {
    color: #0056b3;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
}

.form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #f1f3f4;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.form-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form .form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #2c3e50;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.contact-form .form-select option {
    color: #2c3e50;
    background-color: #ffffff;
    padding: 0.5rem;
}

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

.contact-form .btn-primary {
    background: linear-gradient(135deg, #007bff, #28a745);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
}

/* Contact Sidebar */
.contact-sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

/* Quick Contact */
.quick-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.quick-contact .contact-item:last-child {
    border-bottom: none;
}

.quick-contact .contact-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
}

.quick-contact .contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-contact .contact-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.quick-contact .contact-item p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* .social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
} */

.social-link:hover {
    background: #007bff;
    color: white;
    transform: translateX(5px);
}

.social-link i {
    width: 30px;
    text-align: center;
    font-size: 1.2rem;
}

/* Download Links */
.download-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.download-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.download-link i {
    width: 30px;
    text-align: center;
    font-size: 1.2rem;
}

.download-link span {
    font-weight: 500;
}

.download-link small {
    display: block;
    opacity: 0.7;
    font-size: 0.8rem;
}

/* 百度地图区域样式 */
.map-section {
    background: white;
    padding: 0;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
}

#baiduMap {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay-info {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.map-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 350px;
    border: 1px solid #e9ecef;
}

.map-info-card h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.map-info-card p {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}







/* Responsive Design */
@media (max-width: 992px) {
    .contact-sidebar {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .contact-card,
    .transport-card {
        padding: 2rem 1.5rem;
    }
    

}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .contact-card,
    .transport-card {
        padding: 1.5rem 1rem;
    }
    
    .hero-stats .stat-item {
        padding: 1.5rem 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    display: block;
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading States */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}