/* 容器样式 */
.contact-container {
    max-width: 1600px;
    margin: 120px auto;
    padding: 20px;
    text-align: center;
}

.contact-container h1 {
    font-size: 2.5rem;
    color: #f4f0f0;
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 1.2rem;
    color: #f4f0f0;
    margin-bottom: 40px;
}

/* 联系方式卡片容器 */
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px; /* 卡片之间的间距 */
    flex-wrap: wrap; /* 在小屏幕上自动换行 */
}

/* 单个卡片样式 */
.contact-card {
    background-color: rgba(255, 255, 255, 0.68);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px); /* 悬停时轻微上移 */
}

/* 图标样式 */
.contact-card .icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* 信息样式 */
.contact-card .info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-card .info p {
    font-size: 1rem;
    color: rgb(0, 0, 0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 400px;
    }
}