/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1a472a;
    --secondary-green: #2d5a3f;
    --accent-green: #3d7a4e;
    --light-green: #e8f5e9;
    --text-color: #333;
    --text-light: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Source Han Sans CN", "WenQuanYi Micro Hei", sans-serif;
    line-height: 1.0;
    color: var(--text-color);
    background-color: #fff;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem 0 0.5rem;
}

.main-logo {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    line-height: 1.0;
    padding: 0.5rem 0;
}

.main-nav a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-green);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    width: 100%;
}

/* Sections */
.about-section, .programs-section {
    padding: 1rem 0;
}

.about-section {
    padding-top: 2rem;
    background-color: #fff;
}

.programs-section {
    padding-top: 0;
    background-color: #fff;
}

.about-section h2, .programs-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-green);
    font-weight: 600;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Program Logos */
.program-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    padding: 0.5rem;
}

.program-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.program-logo:first-child,
.program-logo:last-child {
    height: 60px;
}

.program-logo:hover {
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background: var(--primary-green);
    padding: 2rem 0;
    text-align: center;
    color: var(--light-green);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0.75rem;
}

.site-footer p {
    color: var(--light-green);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .program-logos {
        flex-direction: column;
        align-items: center;
    }

    p, .content-block p, .about-section p, .mission-list li {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Additional Classic Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Source Han Sans CN", "WenQuanYi Micro Hei", sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* Base Typography */
p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Source Han Sans CN", "WenQuanYi Micro Hei", sans-serif;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-block blockquote p {
    line-height: 1.0;
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-green);
    color: var(--light-green);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Source Han Sans CN", "WenQuanYi Micro Hei", sans-serif;
}

.btn:hover {
    background-color: var(--secondary-green);
}

/* About Page Specific Styles */
.content-block {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Administration Grid */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.admin-card {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
}

.admin-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.admin-card p {
    color: var(--text-color);
    font-style: italic;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
}

.stat-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-align: center;
}

.stat-card ul {
    list-style-type: none;
    padding: 0;
}

.stat-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.stat-card li::before {
    content: "•";
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

/* Curriculum Styles */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.course-category {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
}

.course-category h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-align: center;
}

.course-category ul {
    list-style-type: none;
    padding: 0;
}

.course-category li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.course-category li::before {
    content: "•";
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

.core-courses {
    margin-top: 3rem;
}

.core-courses h3 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 2rem;
}

.core-card {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.core-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-block {
        padding: 1rem;
    }

    .admin-grid, .stats-grid, .courses-grid {
        grid-template-columns: 1fr;
    }

    .stat-card, .course-category, .core-card {
        padding: 1rem;
    }
}

/* Programs Page Specific Styles */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature-card {
    background-color: var(--light-green);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.subject-card {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
}

.subject-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.core-section {
    margin-top: 3rem;
}

.core-section h3 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 2rem;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.assessment-card {
    background-color: var(--light-green);
    padding: 1rem;
    border-radius: 8px;
}

.assessment-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-align: center;
}

.assessment-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.assessment-card li {
    margin-bottom: 0.3rem;
    padding-left: 1.5rem;
    position: relative;
}

.recognition-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--light-green);
    border-radius: 8px;
}

.recognition-section h3 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 0.75rem;
}

.university-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin: 0;
}

.university-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.university-list li::before {
    content: "•";
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

/* Responsive Adjustments for Programs Page */
@media (max-width: 768px) {
    .feature-grid, .subject-grid, .core-grid, .assessment-grid {
        grid-template-columns: 1fr;
    }

    .feature-card, .subject-card, .assessment-card {
        padding: 1rem;
    }

    .university-list {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--light-green);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-card h2 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.contact-info .position {
    color: #666;
    font-style: italic;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.contact-info .email a {
    color: #2E7D32;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.contact-info .phone {
    color: #333;
    line-height: 1.2;
}

.address p {
    margin-bottom: 0.25rem;
    color: #333;
    line-height: 1.2;
}

.websites a {
    color: #2E7D32;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.websites a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Students Page Styles */
.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.student-card {
    background: var(--light-green);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.student-card:hover {
    transform: translateY(-5px);
}

.image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.card-content h3 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.card-content p {
    color: #333;
    margin: 0;
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.development-card {
    background: var(--light-green);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.development-card h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.development-card p {
    color: #333;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .student-grid,
    .development-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Mission List */
.mission-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0.75rem 0;
}

.mission-list li {
    margin-bottom: 0.4rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
    color: #333;
}

.mission-list li::before {
    content: "•";
    color: #2E7D32;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Content Logo */
.content-logo {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 0 0;
}

.content-program-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.content-program-logo:hover {
    transform: scale(1.05);
}
