.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(5, 194, 201, 0.1), transparent 60%);
    margin-top: 70px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background:linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #4e4d4d;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 10px;
}

.btn:hover {
    background-color: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.4);
    transform: translateY(-2px);
}

/* About Section */
#about ,#news{
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-color), var(--light-bg));
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.carousel-container {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(5, 194, 201, 0.2);
    background-color: var(--light-bg);
    position: relative;
    height: 400px;
}

.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    background-color: #112240;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.carousel-arrow {
    background-color: rgba(10, 25, 47, 0.7);
    color: #b5b3b3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(5, 194, 201, 0.2);
    height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-bg);
}

.about-text::-webkit-scrollbar {
    width: 8px;
}

.about-text::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.about-text::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}


.about-text h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text ul li{
    margin:10px 0 10px 20px;
}

.about-text h4{
    color: #0c0c93;
}

/* Footer */
footer {
    background-color: #080f1e;
    padding: 50px 0;
    border-top: 1px solid rgba(5, 194, 201, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #cdcdcd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #9399ac;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .about-container {
        flex-direction: column;
    }

    .carousel-container, .about-text {
        height: 300px;
    }
}

/* Team Section */
#team {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light-bg), var(--bg-color));
    font-family: 'Arial', sans-serif;
}

.team-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    transition: all 0.3s ease;
}

/* Team Member Card */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(5, 194, 201, 0.3);
}

.member-photo {
    margin-top: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid #e3e1e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

/* Member Info Styling */
.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin: 0 0 5px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.member-title {
    color: var(--accent-color);
    margin: 5px 0;
    font-size: 1rem;
    font-weight: 500;
}

.member-field {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .team-members-container {
        flex-direction: column;
    }

    .team-member {
        width: 100%;
    }

    .team-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

}

.team-member.hidden {
    display: none;
}


/*成果*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.papers h3, .awards h3 {
    text-align: center;
    margin-top: -30px;
    font-size: 1.5rem;
    color: #5780ca;
    margin-bottom: 15px;
}

.papers p, .awards p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.papers ul {
    list-style: none;
}

.papers li {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.awards {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.award-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    justify-items: center;
}

.award-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.award-image:hover {
    transform: scale(1.05);
}

.ps {
    color: darkred;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -20px;
}

@media (max-width: 768px) {
    .awards h3 {
        font-size: 1.3rem;
    }

    .award-images {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Academic News Styles */
.academic-news {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #faf7f7;
    border: 1px solid rgba(5, 194, 201, 0.2);
    height: 400px;
    overflow-y: auto;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #efeeee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin:10px 10px;
    border: 1px solid #d5d3d3;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.news-date {
    display: flex;
    flex-direction: column;
    height: 50px;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    margin-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 70px;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.news-date .month {
    font-size: 0.9rem;
    color: #3a4a7a;
}

.news-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.news-content p {
    margin: 0;
    color: #3c3e42;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .academic-news {
        height: auto;
    }

    .about-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .news-item {
        padding: 15px;
    }

    .news-date {
        margin-right: 15px;
        min-width: 60px;
    }

    .news-date .day {
        font-size: 1.5rem;
    }

    .news-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .news-date {
        min-width: 50px;
        padding: 5px 10px;
    }

    .news-date .day {
        font-size: 1.3rem;
    }

    .news-date .month {
        font-size: 0.8rem;
    }
}

.member-link {
    text-decoration: none;
    color: inherit;
}

.member-link:hover {
    text-decoration: underline;
    color: #0e3865;
}

.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

