/* 联系方式模块样式 */
.contact-section {
    margin-top: 80px;
}

.contact-section h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #2857B3;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2857B3;
    border-radius: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2857B3;
    position: relative;
    padding-bottom: 10px;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2857B3;
    border-radius: 2px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

.contact-item:hover {
    background: #f5f7fa;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #2857B3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 18px;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
    line-height: 1.5;
}

.map-container {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.map-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2857B3;
    position: relative;
    padding-bottom: 10px;
}

.map-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2857B3;
    border-radius: 2px;
}

.google-map {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

/* 国家选择器样式 */
.country-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.country-tab {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.country-tab:hover {
    border-color: #2857B3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 87, 179, 0.2);
}

.country-tab.active {
    background: #2857B3;
    border-color: #2857B3;
    color: white;
}

.country-tab img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
}

.country-tab span {
    font-weight: 600;
    font-size: 1rem;
}

/* 国家联系信息样式 */
.country-contact {
    display: none;
    animation: fadeIn 0.5s ease;
}

.country-contact.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .contact-info,
    .map-container {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .country-selector {
        flex-direction: column;
        align-items: center;
    }

    .country-tab {
        width: 200px;
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}