/* 主要内容区样式（奖项、发展方向、时间线等） */
section {
    padding: 5rem 10%;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #333;
}

h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #4CAF50;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 所获奖项 */

.awards-bg {
    width: 100%;
    height: 100%;
    --awards-bg-color: rgba(114, 114, 114, 0.3);
    background-color: #f7f7f7;
    background-image: linear-gradient(0deg, transparent 24%, var(--awards-bg-color) 25%, var(--awards-bg-color) 26%, transparent 27%,transparent 74%, var(--awards-bg-color) 75%, var(--awards-bg-color) 76%, transparent 77%,transparent),
        linear-gradient(90deg, transparent 24%, var(--awards-bg-color) 25%, var(--awards-bg-color) 26%, transparent 27%,transparent 74%, var(--awards-bg-color) 75%, var(--awards-bg-color) 76%, transparent 77%,transparent);
    background-size: 55px 55px;
    padding-bottom: 8rem;
}
.awards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.award-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* border: 1px solid #dcede2; */
}
.award-item p {
    margin-bottom: 1rem;
}

.award-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.award-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 14px;
    height: 200px;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.award-item:hover .award-image img {
    transform: scale(1.05);
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

.image-showcase {
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/showcase.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.image-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.image-text {
    font-size: 3rem;
    color: white;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.development {
    background-color: #f9f9f9;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.tech-item.ns::before {
    background-color: #00599C;
}

.tech-item.vue::before {
    background-color: #42b883;
}

.tech-item.python::before {
    background-color: #3776AB;
}

.tech-item.tensorflow::before {
    background-color: #FF6F00;
}

.tech-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.tech-item p {
    color: #666;
    line-height: 1.4;
}

.timeline {
    background: radial-gradient(125% 125% at 50% 10%, #fcfcfc 40%, #8cbc8e 100%);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #4CAF50;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: -1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #4CAF50;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-date {
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    top: 15px;
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    left: -10px;
    right: auto;
}