* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --background-color: #f4f4f4;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* 导航栏样式 */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域 */
#hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 5%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* 新闻网格 */
#featured-news {
    padding: 50px 5%;
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-grid article {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-grid article:hover {
    transform: scale(1.05);
}

.news-grid article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-grid article h3, .news-grid article p {
    padding: 10px;
}

/* 职业机会 */
#career-opportunities {
    background-color: var(--background-color);
    padding: 50px 5%;
    text-align: center;
}

.job-categories {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.job-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 30%;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-10px);
}

.job-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* 页脚 */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-section {
    width: 30%;
}

.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .job-categories {
        flex-direction: column;
    }

    .job-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}