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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header and Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  background: url(../images/header.png);
}

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

.logo {
  font-size:1.5rem;
  font-weight: bold;
  color: #333;
}

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

.nav-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.1s;
}

.nav-links a:hover {
  color: #28a745;
}
footer p a {
  text-decoration: none;
  transition: color 0.3s;
  color: #FFFFFF;
  font-size: 14px;
}

footer p a:hover {
  color: #28a745;
  font-size: 14px;
}
/* Hero Section */
.hero {
  background: linear-gradient(rgba(243, 241, 241, 0.5), rgba(247, 246, 246, 0.5)), url('../images/home-bg.png');
  background-size: cover;
  background-position: center;
  height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;

}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background: #28a745;
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #218838;
}

/* Services Section */
.services {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

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

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #28a745;
}

/* About Section */
.about {
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* Contact Section */
.contact {
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact form {
  display: grid;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact button {
  background: #28a745;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #218838;
}

/* Welfare Page */
.welfare-intro {
  text-align: center;
  padding: 16rem 1rem;
  background: url(../images/gongyi.png) no-repeat center center/cover;
}

.welfare-projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

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

.project-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.project-card h3 {
  color: #28a745;
  margin-bottom: 1rem;
}
.project-card h3 a{
  text-decoration: none;
  color: #28a745;
}
.project-card h3 a:hover{
  text-decoration: none;
  color: #28a745;
}
/* Welfare Detail Page */
.welfare-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.detail-header {
  text-align: center;
  margin-bottom: 2rem;
}

.detail-header h1 {
  color: #28a745;
  margin-bottom: 0.5rem;
}

.project-date {
  color: #666;
  font-size: 0.9rem;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-top: 2rem;
}

.detail-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.detail-text h2 {
  color: #28a745;
  margin: 1.5rem 0 1rem;
}

.detail-text ul {
  list-style: disc;
  padding-left: 2rem;
  margin: 1rem 0;
}

.detail-text li {
  margin-bottom: 0.5rem;
}

/* Merchant Cooperation Page */
.cooperation-intro {
  background:url(../images/recruit-bg.png);
  text-align: center;
  padding:4rem 1rem;
}

.cooperation-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

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

.step-card,
.benefit-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: #28a745;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}
.container{ max-width:1200px; min-height: 100px;}
/* History Page */
.history-intro {
  text-align: center;
  padding: 4rem 1rem;
  background: url(../images/lich.png) no-repeat center center/cover;
}

.timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #28a745;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-date {
  font-size: 1.2rem;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 2rem;
    padding-right: 0;
    text-align: left !important;
  }
}

/* Booking Page */
.booking-intro {
  text-align: center;
  padding: 4rem 1rem;
  background: url(../images/about-bg.png) no-repeat center center/cover;
}

.booking-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.form-container {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: #28a745;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #218838;
}

/* Responsive Booking Form */
@media (max-width: 768px) {
  .booking-form {
    padding: 1rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
}

/* About Page */
.about-intro {
  text-align: center;
  padding:13rem 1rem;
  background: url(../images/about.png) no-repeat center center/cover;
}

.company-overview {
  padding: 4rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.text-content {
  line-height: 1.8;
}

.text-content p {
  margin-bottom: 1.5rem;
}

.image-content img {
  width: 100%;
  border-radius: 10px;
}

.team-intro {
  padding: 4rem 0;
  background: #f8f9fa;
}

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

.team-member {
  text-align: center;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: #28a745;
  margin-bottom: 0.5rem;
}

.milestones {
  padding: 4rem 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #28a745;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-date {
  font-size: 1.2rem;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive About Page */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 2rem;
    padding-right: 0;
    text-align: left !important;
  }
}

/* Contact Page */
.contact-intro {
  text-align: center;
  padding: 6rem 1rem;
  background: url(../images/contact-bg.png);
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  color: #28a745;
  margin-right: 1rem;
}

.info-item h3 {
  color: #28a745;
  margin-bottom: 0.5rem;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  width: 100%;
  background: #28a745;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #218838;
}

.map-container {
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top:0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}
