﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f6f9f6;
    overflow-x: hidden;
}

/* Header Section */
header {
    background-color: #4caf50;
    background-image: url(/union/bg.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content img.logo {
    width: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.header-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #4caf50;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .cta-button:hover {
        background: #e8f5e9;
        color: #2e7d32;
        transform: translateY(-2px);
    }

/* Stats Section */
.stats-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

    .stats-section h2 {
        font-size: 2rem;
        margin-bottom: 50px;
        color: #1a1a1a;
        font-weight: 500;
        position: relative;
    }

        .stats-section h2::after {
            content: '';
            width: 60px;
            height: 4px;
            background: #4caf50;
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
        }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 20px;
    background: #f6f9f6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .stat-item .number {
        font-size: 2.5rem;
        font-weight: 600;
        color: #4caf50;
    }

    .stat-item .unit {
        font-size: 1.5rem;
        color: #4caf50;
    }

    .stat-item p {
        font-size: 1.1rem;
        color: #555;
        margin-top: 10px;
    }

/* Members Section */
.members-section {
    padding: 80px 20px;
    background: #f6f9f6;
    text-align: center;
}

    .members-section h2 {
        font-size: 2rem;
        margin-bottom: 50px;
        color: #1a1a1a;
        font-weight: 500;
        position: relative;
    }

        .members-section h2::after {
            content: '';
            width: 60px;
            height: 4px;
            background: #4caf50;
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
        }

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.member-item {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .member-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .member-item img {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .member-item p {
        font-size: 1.1rem;
        color: #1a1a1a;
        font-weight: 500;
    }

    .member-item a {
        text-decoration: none;
        color: inherit;
    }

/* Join Section */
.join-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #4caf50, #81c784);
    color: #fff;
    text-align: center;
}

    .join-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        font-weight: 500;
    }

    .join-section p {
        font-size: 1.2rem;
        max-width: 1000px;
        margin: 0 auto 30px;
        opacity: 0.9;
    }

/* Footer Section */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

    .footer-links a {
        color: #fff;
        text-decoration: none;
        margin: 0 15px;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #81c784;
        }

    .footer-links .sep {
        color: #555;
        margin: 0 5px;
    }

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.2rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .stats-section h2,
    .members-section h2,
    .join-section h2 {
        font-size: 2rem;
    }

    .stat-item .number {
        font-size: 2rem;
    }

    .stat-item .unit {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
