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

body {
  font-family: 'Manrope', sans-serif;
  background-color: #f5f8f6;
  color: #2f3a34;
  line-height: 1.7;
  font-size: 16px;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
/* Header 样式优化 */
header {
  background: linear-gradient(135deg, #e6f5f1, #b5dacc);
  padding: 40px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
header h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #2a3e35;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}



.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  list-style: none;
}

.nav-list a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
}

.nav-list a:hover,
.nav-list .active {
  background-color: #3c6b59;
  transition: 0.3s ease;
}

/* Hero Section */
.hero {
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  color: white;
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
}



.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-top: 30px;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn {
  background-color: #ffffffee; /* 半透明白 */
  color: #4e8570;
  border: 2px solid #4e8570;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}


.btn:hover {
  background-color: #4e8570;
  color: white;
}

/* Content Section */
.intro {
  background-color: #ffffff;
  padding: 60px 0;
}

.intro h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #4e8570;
  text-align: center;
}

.intro p {
  max-width: 800px;
  font-size: 1.05rem;
  margin: 0 auto;
  color: #3e5542;
  text-align: center;
}

/* Image Section */
.image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

footer {
  background-color: #4e8570;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
  border-top: 1px solid #d1e4db;
}


.student-banner {
  margin-top: 10px;
  font-style: italic;
  color: #d9f2e7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p,
  .intro p {
    font-size: 1rem;
  }
}
.projects-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.projects-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.projects-left {
  flex: 1 1 55%;
}

.projects-right {
  flex: 1 1 40%;
}

.projects-right img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  border: 3px solid #4e8570;
}


.project-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 16px;
}

.project-icon {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  flex-shrink: 0;
}

.project-icon.green {
  background-color: #88b74d;
}
.project-icon.orange {
  background-color: #d87030;
}
.project-icon.red {
  background-color: #d14747;
}

.projects-section .project-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #2f3a34;
  margin-bottom: 6px;
}


.project-content p {
  color: #444;
  margin-bottom: 8px;
}

.btn.black {
  background-color: black;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn.black:hover {
  background-color: #333;
}
.projects-title {
  text-align: center;
  font-size: 2rem;
  color: #4e8570;
  margin-bottom: 40px;
  border-bottom: 3px solid #88b74d;
  display: inline-block;
  padding-bottom: 10px;
}

.project-item {
  background-color: #f1f8f5;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.project-item:hover {
  transform: translateY(-4px);
}

.project-icon {
  width: 52px;
  height: 52px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background-color: #88b74d; /* 默认颜色 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.projects-section .project-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #2f3a34;
}

.projects-section .project-content p {
  font-size: 0.95rem;
  color: #3e5542;
  margin-bottom: 12px;
}

/* 小屏幕适配优化 */
@media (max-width: 768px) {
  .projects-flex {
    flex-direction: column;
  }

  .projects-right {
    margin-top: 30px;
  }
}
.welcome-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.welcome-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.welcome-text {
  flex: 1 1 55%;
}

.welcome-text h2 {
  font-size: 2.2rem;
  color: #2f3a34;
  margin-bottom: 20px;
  border-left: 6px solid #4e8570;
  padding-left: 12px;
}

.welcome-text p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.7;
}

.welcome-image {
  flex: 1 1 40%;
}

.welcome-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  border: 3px solid #4e8570;
  object-fit: cover;
}
.vision-banner {
  background-color: #4e8570;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.vision-banner h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.intro-section {
  background: linear-gradient(135deg, #f5f8f6, #e9f3ed);
  padding: 80px 0;
}

.intro-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.intro-icon {
  flex: 1 1 40%;
}

.intro-icon img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.intro-content {
  flex: 1 1 55%;
}

.intro-content h3 {
  font-size: 2rem;
  color: #4e8570;
  margin-bottom: 20px;
  border-left: 5px solid #88b74d;
  padding-left: 12px;
}

.intro-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3a5043;
  margin-bottom: 16px;
}

.nav-list a {
  padding: 10px 18px;
  border-radius: 8px;
  color: #2a3e35;
  transition: all 0.3s ease;
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover {
  background-color: #d2ebe2;
  color: #174232;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.logo-text {
  text-align: center;
  margin-bottom: 10px;
}

.logo-text h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2a3e35;
  margin: 0;
}

.logo-text h1 span {
  color: #4e8570;
}

.logo-text .tagline {
  font-size: 1rem;
  color: #5c7569;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-top: 8px;
}
.about-section {
  padding: 60px 0;
  background-color: #f8fdfc;
}

.about-section h2 {
  font-size: 2rem;
  color: #2a3e35;
  margin-bottom: 20px;
  border-left: 5px solid #4e8570;
  padding-left: 12px;
}

.about-section p {
  font-size: 1.05rem;
  color: #3e5446;
  line-height: 1.7;
  margin-bottom: 16px;
}

.team-section {
  padding: 60px 0;
}

.team-section h3 {
  font-size: 1.7rem;
  margin-bottom: 30px;
  text-align: center;
  color: #2f3a34;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.team-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #2a3e35;
}

.team-card .email {
  font-size: 0.9rem;
  color: #4e8570;
  margin-bottom: 6px;
}

.team-card .role {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 4px;
}
.video-intro {
  padding: 60px 0;
  background-color: #f3faf7;
}

.video-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.video-box {
  flex: 1 1 480px;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  position: relative;
}

.video-box iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.video-description {
  flex: 1 1 300px;
  max-width: 480px;
}

.video-description h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #2a3e35;
}

.video-description p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}
.projects-section {
  padding: 60px 0;
  background-color: #f3faf7;
}

.projects-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2a3e35;
  text-align: center;
}

.project-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-card {
  background-color: #ffffff;
  width: 300px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.project-card h3 {
  font-size: 1.3rem;
  color: #2f3a34;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.project-card .btn {
  background-color: #4e8570;
  color: #ffffff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.project-card .btn:hover {
  background-color: #3d6e58;
}
/* Volunteer 页面整体样式 */
.volunteer-hero {
  background-image: url("images/volunteer-hero.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.volunteer-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明遮罩 */
  z-index: 1;
}

.volunteer-hero .container {
  position: relative;
  z-index: 2;
}

.volunteer-hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.volunteer-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Volunteer Roles Section */
.volunteer-roles {
  background-color: #f3faf7;
  padding: 60px 0;
}

.volunteer-roles .container {
  text-align: center;
}

.volunteer-roles h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #2a3e35;
}

.roles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.role-card {
  background-color: #ffffff;
  width: 280px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.role-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2a3e35;
}

.role-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.role-card .btn {
  background-color: #4e8570;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.role-card .btn:hover {
  background-color: #3d6e58;
}

/* Join Section */
.volunteer-join {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.volunteer-join h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2a3e35;
}

.volunteer-join p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 30px;
}

.volunteer-join .btn {
  background-color: #4e8570;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.volunteer-join .btn:hover {
  background-color: #3d6e58;
}
/* Contact Us 页面样式 */
.contact-hero {
  background-color: #f3faf7;
  padding: 80px 0;
  text-align: center;
  color: #2a3e35;
}

.contact-hero .container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-hero p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-hero a {
  color: #4e8570;
  text-decoration: underline;
}

.contact-form-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.contact-form-section .container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-section h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #2a3e35;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-size: 1rem;
  color: #2a3e35;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4e8570;
  background-color: #eef5f2;
}

.contact-form .btn {
  background-color: #4e8570;
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #3d6e58;
}
