/* 联系方式页面样式 */

.contact-header {
    background: linear-gradient(135deg, #2c8a5c 0%, #4caf7d 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    padding: 50px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h2 {
    color: #2c8a5c;
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-intro p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.department-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.department-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.department-card h3 {
    color: #2c8a5c;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-person {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.name {
    font-weight: bold;
    color: #333;
}

.email {
    color: #2c8a5c;
    text-decoration: none;
    font-size: 0.9rem;
}

.email:hover {
    text-decoration: underline;
}

.contact-notes {
    background-color: #f0f7f4;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-notes h3 {
    color: #2c8a5c;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-notes ul {
    padding-left: 20px;
}

.contact-notes li {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

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

    .contact-intro h2 {
        font-size: 1.7rem;
    }

    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}