.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--brand);
  text-shadow: var(--text-shadow);
  position: relative;
  font-weight: 800;
}

.hero h1:before {
  content: "🇻🇳";
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(-50%) rotate(-5deg);
  }
  50% {
    transform: translateY(-50%) rotate(5deg);
  }
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: var(--fg);
}

.hero blockquote {
  font-style: italic;
  margin: 0 0 1rem 0;
  padding: 1.5rem;
  border-left: 6px solid var(--gold);
  background: var(--gradient-gold);
  color: #8b4513;
  font-weight: 600;
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
}

.hero blockquote:before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  color: var(--brand);
  opacity: 0.3;
}

.hero small {
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero small:before {
  content: "✦";
  color: var(--gold);
}

.features-section {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.05),
    rgba(255, 215, 0, 0.05)
  );
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 3rem;
  border: 2px solid var(--gold);
}

.features-section h3 {
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.features-section ul {
  list-style: none;
  padding: 0;
}

.features-section li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
}

.features-section li:before {
  content: "🌟";
  position: absolute;
  left: 0;
  top: 8px;
}

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

.symbol-item {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(220, 20, 60, 0.05);
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.symbol-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 215, 0, 0.1);
  box-shadow: var(--shadow);
}

.symbol-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite alternate;
}

.symbol-item h4 {
  color: var(--brand);
  margin: 10px 0;
  font-weight: 700;
}

.symbol-item p {
  color: var(--fg);
  font-size: 0.9rem;
  line-height: 1.6;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

/* Dynamic quote section */
.quote-card {
  background: var(--gradient-red);
  color: #fff;
  text-align: center;
  border: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.quote-card:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.quote-content {
  position: relative;
  z-index: 2;
}

#rotating-quote {
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  text-shadow: var(--text-shadow);
  transition: opacity 0.3s ease-in-out;
}

.quote-card cite {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

/* Life stats in hero section */
.life-stats {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.stat {
  background: rgba(220, 20, 60, 0.1);
  color: var(--brand);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(220, 20, 60, 0.2);
}

/* Timeline card */
.timeline-card {
  background: linear-gradient(135deg, #fff8dc 0%, #ffefd5 100%);
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.timeline-item {
  padding: 1.2rem;
  background: white;
  border: 2px solid var(--gold);
  border-radius: 15px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand), var(--gold));
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.15);
}

.timeline-item strong {
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), #ff6b8a);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

/* Moral values section */
.moral-values-section {
  margin: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--brand);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(350px, 1fr));
  gap: 25px;
}

.value-card {
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #fffbf7 100%);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(220, 20, 60, 0.15);
}

.value-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  color: var(--brand);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.value-card p {
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--fg);
}

.value-quote {
  font-style: italic;
  color: var(--brand);
  font-weight: 600;
  padding: 15px;
  background: rgba(220, 20, 60, 0.05);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  position: relative;
}

.value-quote:before {
  content: '"';
  font-size: 2rem;
  color: var(--gold);
  position: absolute;
  left: 8px;
  top: -5px;
}

/* Specific value card colors với border rõ nét */
.love-country {
  border: 3px solid #dc143c !important;
  border-top: 5px solid #dc143c !important;
  background: linear-gradient(135deg, #fff8f8 0%, #ffe4e4 100%) !important;
}

.simple-life {
  border: 3px solid #228b22 !important;
  border-top: 5px solid #228b22 !important;
  background: linear-gradient(135deg, #f8fff8 0%, #e8ffe8 100%) !important;
}

.morality-first {
  border: 3px solid #ffd700 !important;
  border-top: 5px solid #ffd700 !important;
  background: linear-gradient(135deg, #fff8dc 0%, #ffecb3 100%) !important;
}

.learning-spirit {
  border: 3px solid #4169e1 !important;
  border-top: 5px solid #4169e1 !important;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%) !important;
}

.international {
  border: 3px solid #ff6347 !important;
  border-top: 5px solid #ff6347 !important;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e1 100%) !important;
}

.sacrifice {
  border: 3px solid #800080 !important;
  border-top: 5px solid #800080 !important;
  background: linear-gradient(135deg, #faf0ff 0%, #f0e6ff 100%) !important;
}

/* Hover effects cho từng loại card */
.love-country:hover {
  box-shadow: 0 25px 50px rgba(220, 20, 60, 0.3),
    0 10px 25px rgba(220, 20, 60, 0.2) !important;
  background: linear-gradient(135deg, #ffebeb 0%, #ffd6d6 100%) !important;
}

.simple-life:hover {
  box-shadow: 0 25px 50px rgba(34, 139, 34, 0.3),
    0 10px 25px rgba(34, 139, 34, 0.2) !important;
  background: linear-gradient(135deg, #f0fff0 0%, #e0ffe0 100%) !important;
}

.morality-first:hover {
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4),
    0 10px 25px rgba(255, 215, 0, 0.3) !important;
  background: linear-gradient(135deg, #fffacd 0%, #fff8b3 100%) !important;
}

.learning-spirit:hover {
  box-shadow: 0 25px 50px rgba(65, 105, 225, 0.3),
    0 10px 25px rgba(65, 105, 225, 0.2) !important;
  background: linear-gradient(135deg, #f0f8ff 0%, #e0f0ff 100%) !important;
}

.international:hover {
  box-shadow: 0 25px 50px rgba(255, 99, 71, 0.3),
    0 10px 25px rgba(255, 99, 71, 0.2) !important;
  background: linear-gradient(135deg, #fff8f8 0%, #ffe8e8 100%) !important;
}

.sacrifice:hover {
  box-shadow: 0 25px 50px rgba(128, 0, 128, 0.3),
    0 10px 25px rgba(128, 0, 128, 0.2) !important;
  background: linear-gradient(135deg, #faf5ff 0%, #f0e6ff 100%) !important;
}

/* Hero section với hình ảnh góc phải */
.hero-content {
  position: relative;
  margin-bottom: 3rem;
  padding-right: 280px; /* Tạo khoảng trống cho hình */
  min-height: 350px; /* Đảm bảo có đủ không gian cho ảnh */
}

.hero-text {
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.ho-chi-minh-image {
  position: absolute;
  top: 80px;
  right: 10px;
  width: 250px;
  height: 350px;
  z-index: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(220, 20, 60, 0.1);
  border: 3px solid var(--gold);
  background: white;
}

.ho-chi-minh-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.3s ease;
}

.ho-chi-minh-image:hover .ho-chi-minh-photo {
  transform: scale(1.1);
}

/* Journey Map Section - Hành trình 30 năm */
.journey-section {
  margin: 4rem 0;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.03) 0%,
    rgba(255, 215, 0, 0.03) 100%
  );
  border-radius: var(--radius);
  border: 2px solid var(--gold);
}

.journey-map {
  margin-top: 2rem;
}

/* Mapbox Container */
.world-map {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--brand);
  margin-bottom: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#journey-map {
  width: 100%;
  height: 500px; /* Fixed height instead of 100% */
  min-height: 500px;
  border-radius: var(--radius);
  background: #f0f8ff; /* Fallback background to see if container exists */
}

/* Leaflet controls styling */
.leaflet-control-attribution {
  display: none !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  border: 2px solid var(--gold) !important;
}

.leaflet-popup-tip {
  background: var(--gold) !important;
}

.journey-marker {
  border-radius: 50% !important;
  border: 3px solid white !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.journey-marker:hover {
  transform: scale(1.2) !important;
}

/* Fallback nếu không có hình - vẫn giữ bản đồ CSS */
.world-map::before {
  content: "";
  position: absolute;
  top: 80px;
  right: 50px;
  width: 250px;
  height: 180px;
  background: #228b22;
  border-radius: 60% 40% 50% 70%;
  box-shadow: -120px -20px 0 -20px #90ee90, -80px 80px 0 -30px #8fbc8f,
    80px 120px 0 -80px #32cd32;
  opacity: 0; /* Ẩn đi khi có hình thật */
}

.world-map::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 50px;
  width: 180px;
  height: 200px;
  background: #228b22;
  border-radius: 50% 30% 60% 40%;
  box-shadow: 20px 180px 0 -40px #32cd32;
  opacity: 0; /* Ẩn đi khi có hình thật */
}

/* Đường nối hành trình - đã xóa */

.map-continents {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Realistic continent shapes */
.continent {
  position: absolute;
  background: linear-gradient(135deg, #8bc34a 0%, #689f38 100%);
  border-radius: 20px;
  padding: 20px 30px;
  color: #2e7d32;
  font-weight: 800;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
  pointer-events: none;
  letter-spacing: 1px;
  border: 2px solid #66bb6a;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.continent.asia {
  top: 20%;
  right: 15%;
  transform: rotate(-5deg);
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: #e65100;
  border-color: #ffb74d;
  border-radius: 30px 50px 25px 40px;
}

.continent.europe {
  top: 15%;
  left: 42%;
  transform: rotate(2deg);
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
  color: #4a148c;
  border-color: #ba68c8;
  border-radius: 25px 15px 35px 20px;
}

.continent.america {
  top: 25%;
  left: 10%;
  transform: rotate(-2deg);
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: #b71c1c;
  border-color: #ef5350;
  border-radius: 40px 20px 45px 30px;
}

/* Điểm hành trình */
.journey-point {
  position: absolute;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 3;
}

.point-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.4);
  animation: pulse-journey 3s ease-in-out infinite;
  position: relative;
}

.point-marker::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  z-index: -1;
}

@keyframes pulse-journey {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Chỉ giữ border, loại bỏ background */
.vietnam {
  background: transparent;
  border: 4px solid #dc143c;
  color: #dc143c;
}
.france {
  background: transparent;
  border: 4px solid #002395;
  color: #002395;
}
.uk-us {
  background: transparent;
  border: 4px solid #012169;
  color: #012169;
}
.france-active {
  background: transparent;
  border: 4px solid #ed2939;
  color: #ed2939;
}
.ussr {
  background: transparent;
  border: 4px solid #dd0000;
  color: #dd0000;
}
.china {
  background: transparent;
  border: 4px solid #de2910;
  color: #de2910;
}
.thailand {
  background: transparent;
  border: 4px solid #a51931;
  color: #a51931;
}
.hongkong {
  background: transparent;
  border: 4px solid #ffd700;
  color: #ffd700;
  font-size: 1.5rem !important;
}

.america {
  background: transparent;
  border: 4px solid #1e3a8a;
  color: #1e3a8a;
}

/* Vị trí chính xác các điểm theo bản đồ */
.point-1 {
  top: 55%;
  left: 83%;
  z-index: 15;
} /* Việt Nam - Đông Nam Á */
.point-2 {
  top: 28%;
  left: 45%;
  z-index: 15;
} /* Pháp - Tây Âu */
.point-3 {
  top: 25%;
  left: 43%;
  z-index: 15;
} /* Anh - Tây Âu */
.point-4 {
  top: 30%;
  left: 46%;
  z-index: 15;
} /* Paris - Tây Âu */
.point-5 {
  top: 22%;
  left: 65%;
  z-index: 15;
} /* Liên Xô - Đông Âu/Á */
.point-6 {
  top: 42%;
  left: 78%;
  z-index: 15;
} /* Trung Quốc - Đông Á */
.point-7 {
  top: 58%;
  left: 75%;
  z-index: 15;
} /* Thái Lan - Đông Nam Á */
.point-8 {
  top: 52%;
  left: 81%;
  z-index: 15;
} /* Hồng Kông - Nam Trung Quốc */
.point-america {
  top: 40%;
  left: 20%;
  z-index: 15;
} /* Hoa Kỳ - Bắc Mỹ */

/* Đường nối hành trình */
.world-map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  animation: route-flow 8s linear infinite;
}

@keyframes route-flow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* Tooltip */
.journey-tooltip {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 10;
  border: 2px solid var(--gold);
}

.journey-tooltip::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid white;
}

.journey-point:hover .journey-tooltip {
  opacity: 1;
  visibility: visible;
}

.journey-point:hover .point-marker {
  transform: scale(1.3);
  animation: none;
}

.journey-tooltip h4 {
  color: var(--brand);
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.journey-tooltip p {
  color: var(--fg);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Timeline */
.journey-timeline {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.journey-timeline img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--gold);
}

.timeline-header {
  text-align: center;
  margin-bottom: 30px;
}

.timeline-header h3 {
  color: var(--brand);
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.timeline-item {
  text-align: center;
  padding: 20px 15px;
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.05) 0%,
    rgba(255, 215, 0, 0.05) 100%
  );
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  cursor: pointer;
}

.timeline-item:hover,
.timeline-item.active {
  border-color: var(--brand);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(220, 20, 60, 0.2);
}

.timeline-year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 5px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Tablet breakpoint */
@media (max-width: 1200px) and (min-width: 901px) {
  .legacy-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h1:before {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .life-stats {
    flex-direction: column;
    gap: 10px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .hero-content {
    padding-right: 0;
    min-height: 250px;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ho-chi-minh-image {
    position: static;
    width: 180px;
    height: 220px;
    margin: 0 auto 2rem auto;
    order: -1;
  }

  .hero-text {
    text-align: center;
    order: 1;
  }

  .timeline-items {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .timeline-item {
    padding: 1rem;
  }

  .timeline-item strong {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .journey-section {
    padding: 2rem 1.5rem;
  }

  .journey-timeline {
    padding: 20px;
  }

  .journey-timeline img {
    border-radius: 8px;
    border: 1px solid var(--gold);
  }

  .legacy-section {
    padding: 3rem 1.5rem;
  }

  .legacy-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .legacy-stats {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 100%;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .world-map {
    height: 400px;
  }

  .point-marker {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .journey-tooltip {
    min-width: 250px;
  }

  .timeline-items {
    grid-template-columns: 1fr;
  }
}

/* Nhãn châu lục cho bản đồ CSS */
.continent-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.continent-label {
  position: absolute;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  border-radius: 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
}

.asia-label {
  top: 140px;
  right: 100px;
}
.europe-label {
  top: 70px;
  left: 120px;
}
.america-label {
  top: 120px;
  left: 80px;
}

/* ===== LEGACY SECTION ENHANCED ===== */
.legacy-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
  position: relative;
  overflow: hidden;
}

.legacy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(220, 20, 60, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.legacy-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.legacy-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.star-decoration {
  font-size: 1.5rem;
  color: var(--gold);
  animation: twinkle 2s ease-in-out infinite;
}

.line-decoration {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.legacy-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.legacy-item-enhanced {
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
  height: 100%;
  display: flex;
}

.legacy-item-enhanced:nth-child(1) {
  animation-delay: 0.1s;
}
.legacy-item-enhanced:nth-child(2) {
  animation-delay: 0.2s;
}
.legacy-item-enhanced:nth-child(3) {
  animation-delay: 0.3s;
}
.legacy-item-enhanced:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.legacy-card-inner {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.legacy-card-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(220, 20, 60, 0.1);
  border-color: var(--gold);
}

.legacy-icon-bg {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand), #ff4757);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.legacy-icon-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.legacy-icon {
  font-size: 2rem;
  z-index: 2;
}

.legacy-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.legacy-content h4 {
  color: var(--brand);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.legacy-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: auto;
  flex-grow: 1;
}

.legacy-date {
  margin-top: 1rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #ffed4e);
  color: #333;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legacy-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.legacy-card-inner:hover .legacy-glow {
  opacity: 0.05;
}

.legacy-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  flex: 1;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.hero-content {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  background-color: var(--light-pink);
}

.hero-main {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-banner {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-text {
  flex: 2;
  min-width: 280px;
}

.ho-chi-minh-image {
  flex: 1;
  max-width: 220px;
  display: flex;
  justify-content: center;
}

.ho-chi-minh-photo {
  width: 100%;
  border: 4px solid #ffd700;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: contain;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ho-chi-minh-image {
    max-width: 180px;
  }
}

.hero-banner {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.gallery-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.gallery-grid {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(1, minmax(0px, 1fr));
  gap: 24px;
}

.gallery-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item img {
  display: block;
  width: 500%;
  max-width: 1100px;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.15);
}

.gallery-item p {
  margin-top: 8px;
  margin-bottom: 0px;
  font-size: 0.95rem;
  color: var(--fg);
  text-align: center;
}
.timeline-items {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 3 cột cố định */
  gap: 1rem;
}

/* Tablet: 2 cột */
@media (max-width: 1024px) {
  .timeline-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 cột */
@media (max-width: 640px) {
  .timeline-items {
    grid-template-columns: 1fr;
  }
}

/* ==== HERO SLIDER LAYOUT ==== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  background: #000;
}
.hero-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9; /* giữ tỉ lệ đẹp; tự co giãn */
  max-height: 550px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* ==== ARROWS: tròn, bán-trong suốt như ảnh mẫu ==== */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  z-index: 3;
}
.hs-arrow.left {
  left: 24px;
}
.hs-arrow.right {
  right: 24px;
}
.hs-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: translateY(-50%) scale(1.06);
}
.hs-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* ==== DOTS: “viên thuốc” bán-trong suốt, 5 chấm ==== */
.hs-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
  z-index: 3;
}
.hs-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: transparent;
  opacity: 0.85;
  transition: transform 0.16s ease, background 0.16s ease, opacity 0.16s ease;
  cursor: pointer;
}
.hs-dot:hover {
  transform: scale(1.2);
  opacity: 1;
}
.hs-dot.is-active {
  background: #fff;
  transform: scale(1.3);
  opacity: 1;
}

/* Mobile tinh chỉnh */
@media (max-width: 768px) {
  .hs-arrow {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }
  .hs-dots {
    bottom: 10px;
    gap: 8px;
    padding: 5px 10px;
  }
  .hs-dot {
    width: 9px;
    height: 9px;
  }
}
/* Giảm khoảng cách dưới khối hero tổng */
.hero-content {
  margin-bottom: 0 !important; /* trước đang 3rem */
}

/* Slider hero: bớt đệm dưới để sát phần kế tiếp hơn */
.hero-slider {
  margin-bottom: 0; /* trước đang 2rem */
}

/* Phần card timeline: bỏ margin-top nếu có */
.timeline-card {
  margin-top: 0 !important;
}

/* Tùy chọn: hạ chiều cao slider một chút cho tổng thể gọn hơn */
.hero-viewport {
  /* giữ tỉ lệ nhưng giới hạn chiều cao thấp hơn */
  max-height: 450px; /* trước 520px; tăng/giảm tùy ý */
}

/* Tùy chọn: kéo cụm chấm (dots) sát mép dưới hơn một chút */
.hs-dots {
  bottom: 5px;
}
/* Căn giữa tiêu đề và các thẻ mốc */
.timeline-card h3 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Lưới linh hoạt, căn giữa phần tử */
.timeline-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  justify-items: center; /* căn giữa theo trục ngang của ô */
}

/* Thẻ mốc: căn giữa, bo viền, bóng nhẹ */
.timeline-item {
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center; /* căn giữa nội dung theo trục ngang */
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Biểu tượng tròn vàng, nổi bật thương hiệu */
.ti-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-gold);
  color: #8b4513;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 2px solid #fff4b0;
}

/* Kích thước icon Font Awesome */
.ti-icon i {
  font-size: 18px;
  line-height: 1;
}

/* Dòng chữ mốc: giữ trên một hàng nếu đủ rộng, xuống dòng tự nhiên khi hẹp */
.ti-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--fg);
}

/* Nhấn mạnh năm */
.ti-text strong {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ff6b8a);
  padding: 2px 10px;
  border-radius: 999px;
  margin-right: 6px;
  box-shadow: 0 2px 6px rgba(220, 20, 60, 0.25);
}

/* Hiệu ứng hover nhẹ */
.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(220, 20, 60, 0.12);
}

/* Mobile: giãn cách thoáng, vẫn căn giữa */
@media (max-width: 600px) {
  .timeline-item {
    padding: 12px;
    gap: 10px;
  }
  .ti-icon {
    width: 38px;
    height: 38px;
  }
  .ti-icon i {
    font-size: 16px;
  }
  .ti-text {
    font-size: 0.95rem;
  }
}
