/* ✅ Hero */
.about-hero {
  position: relative;
  height: 450px;
  color: white;
  text-align: center;
  padding: 200px 20px 60px 20px;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/shipback.jpg") no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.about-hero .about-badge,
.about-hero h1,
.about-hero p,
.about-hero .about-buttons a {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.about-hero.show .about-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.about-hero.show h1 {
  opacity: 1;
  transform: translateY(0) scale(1.05);
  transition-delay: 0.4s;
}

.about-hero.show p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.about-hero.show .about-buttons a:first-child {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.8s;
}

.about-hero.show .about-buttons a:last-child {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1s;
}

.about-hero .about-buttons a:first-child {
  transform: translateX(-40px);
}

.about-hero .about-buttons a:last-child {
  transform: translateX(40px);
}

.about-hero .about-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-hero h1 {
  font-size: 42px;
  font-weight: bold;
  margin: 10px 0 20px;
}

.about-hero p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.about-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s ease;
}

.btn-orange {
  background: #ff6600;
  color: white;
}

.btn-orange:hover {
  background: #e65c00;
}

.btn-grey {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-grey:hover {
  background: rgba(255,255,255,0.35);
}

/* ✅ Stats */
.about-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  background: #f5f7fa;
  border-top: 4px solid #ff6600;
  flex-wrap: wrap;
}

.stat-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 30px 20px;
  width: 200px;
}

.stat-card h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px;
  color: #003366;
  transition: transform 0.2s ease-in-out;
}

.stat-card h2.counting {
  transform: scale(1.2);
}

.stat-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* ✅ Extra + Timeline */
.about-extra {
  padding: 60px 20px;
  background: #fff;
}

.about-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-left {
  flex: 1;
  min-width: 320px;
}

.about-left h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #003366;
}

.about-left p {
  font-size: 15px;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.6;
}

.info-cards {
  display: grid;
  gap: 20px;
}

.info-card {
  background: #f9fbfd;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  padding: 20px;
}

.info-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #003366;
}

.info-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.about-right {
  flex: 1;
  min-width: 320px;
  background: #f9fbfd;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
}

.about-right h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #003366;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ff6600;
}

.timeline li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid #ff6600;
  border-radius: 50%;
  z-index: 2;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.timeline .year {
  font-weight: bold;
  color: #003366;
}

.milestone-title {
  color: #ff6600;
  font-weight: bold;
}

.timeline .desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.timeline li.show {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Locations */
.about-locations {
  margin-top: 50px;
  text-align: left;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.about-locations h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #003366;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-tags span {
  background: #f1f4f9;
  border: 1px solid #ccd5e0;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: #003366;
}

/* ✅ Mobile fix for Our Story & Photo Gallery buttons */
@media (max-width: 768px) {
  .about-hero .about-buttons {
    margin-bottom: 20px; /* 增加按钮与底线之间的距离 */
  }

  .about-hero .btn {
    padding: 14px 26px; /* 稍微放大触控范围 */
  }
}

/* ✅ 只在手机上调整横线位置 */
@media (max-width: 768px) {
  .about-stats {
    border-top: 4px solid #ff6600;
    margin-top: 30px; /* 往下推整条橙线 */
  }
}

