/* 
   E-magazine Design System
   Style Guide: Bloomberg Businessweek & Financial Times
   Font: Encode Sans (Condensed ExtraBold, SemiBold, Regular)
*/

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@800&family=Encode+Sans:wght@400;600;800&display=swap');

:root {
  --primary-green: #1E5631;
  /* Xanh nông nghiệp cao cấp */
  --coffee-brown: #5D4037;
  /* Nâu cà phê */
  --macadamia-gold: #D4A017;
  /* Vàng mắc ca */
  --bg-light: #F9F9F9;
  /* Xám nhạt nền */
  --bg-white: #FFFFFF;
  /* Trắng tinh khiết */
  --text-dark: #1a1a1a;
  /* Đen xám sâu */
  --text-muted: #555555;
  /* Xám phụ */
  --border-color: #E0E0E0;
  /* Viền nhẹ */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-title: 'Encode Sans Condensed', sans-serif;
  --font-body: 'Encode Sans', sans-serif;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--coffee-brown);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-family: var(--font-title);
  text-transform: uppercase;
}

p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  color: var(--text-dark);
}

/* Reading Progress Bar */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--primary-green), var(--macadamia-gold));
  transition: width 0.1s ease-out;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero_background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  transform: scale(1.05);
  transition: transform 0.5s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  text-align: center;
  color: var(--bg-white);
  padding: 2rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--macadamia-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 2px solid var(--macadamia-gold);
  padding-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
  color: var(--macadamia-gold);
}

.hero-title-huge {
  display: block;
  font-size: 7.5rem; /* Kích thước khổng lồ */
  font-weight: 800;
  line-height: 1;
  margin-top: 1rem;
  letter-spacing: 2px;
  text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.6);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(212, 160, 23, 0.2), 0 0 20px rgba(212, 160, 23, 0.2);
  }
  to {
    text-shadow: 0 0 25px rgba(212, 160, 23, 0.6), 0 0 35px rgba(212, 160, 23, 0.6);
  }
}

.hero-sub {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Ticker / Marquee */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 86, 49, 0.95);
  /* Xanh nông nghiệp */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
  padding: 1.2rem 0;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.ticker-wrap {
  width: 100%;
  display: flex;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 3rem;
  color: var(--bg-white);
  font-family: var(--font-body);
}

.ticker-number {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--macadamia-gold);
  margin-right: 0.8rem;
}

.ticker-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Article Container */
.article-section {
  padding: 8rem 0;
  position: relative;
}

.article-section.alt-bg {
  background-color: var(--bg-light);
}

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

.text-column {
  max-width: 720px;
  margin: 0 auto;
}

/* Section Header styling */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.lead-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--primary-green);
  border-left: 4px solid var(--macadamia-gold);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}

/* Pull Quotes */
.pull-quote {
  position: relative;
  margin: 4rem auto;
  max-width: 800px;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-white);
  border-top: 3px solid var(--primary-green);
  border-bottom: 3px solid var(--primary-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.pull-quote::before {
  content: "“";
  font-family: var(--font-title);
  font-size: 8rem;
  color: rgba(212, 160, 23, 0.15);
  /* Mắc ca gold nhạt */
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.pull-quote-text {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--coffee-brown);
  position: relative;
  z-index: 2;
}

/* Images & Overlays */
.story-image-wrap {
  width: 100%;
  margin: 4rem 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.story-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.story-image-wrap:hover img {
  transform: scale(1.03);
}

.image-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding: 0 0.5rem;
  border-left: 2px solid var(--border-color);
  font-style: italic;
}

/* Infographics General CSS */
.infographic-block {
  margin: 6rem 0;
  background: var(--bg-white);
  padding: 3.5rem 2.5rem;
  border-radius: 8px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.info-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-green);
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
}

.info-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--macadamia-gold);
  margin: 0.8rem auto 0 auto;
}

/* Infographic 1: Hub & Spoke SVG */
.hub-spoke-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: 450px;
}

.hub-spoke-svg {
  width: 100%;
  height: 100%;
}

.hub-node {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hub-node circle {
  fill: var(--primary-green);
  stroke: var(--macadamia-gold);
  stroke-width: 3;
  transition: var(--transition-smooth);
}

.hub-node:hover circle {
  fill: var(--coffee-brown);
  r: 55;
}

.hub-node text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 15px;
  fill: #FFFFFF;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.spoke-node {
  cursor: pointer;
}

.spoke-node circle {
  fill: var(--bg-light);
  stroke: var(--primary-green);
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.spoke-node:hover circle {
  fill: var(--macadamia-gold);
  stroke: var(--macadamia-gold);
  r: 45;
}

.spoke-node text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  fill: var(--text-dark);
  text-anchor: middle;
  dominant-baseline: middle;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.spoke-node:hover text {
  fill: #FFFFFF;
}

.spoke-line {
  stroke: var(--border-color);
  stroke-width: 2;
  stroke-dasharray: 5 5;
  transition: var(--transition-smooth);
}

.spoke-node:hover+.spoke-line,
.hub-spoke-svg:hover .spoke-line {
  stroke: var(--primary-green);
  stroke-width: 3;
  stroke-dasharray: 0;
}

/* Detail Panel for Hub and Spoke */
.hub-detail-panel {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: var(--bg-light);
  border-left: 3px solid var(--macadamia-gold);
  border-radius: 4px;
  text-align: center;
  font-size: 1.05rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--coffee-brown);
  transition: var(--transition-smooth);
}

/* Infographic 2: Dashboard Macadamia */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.dashboard-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-green);
}

.dashboard-card:nth-child(2)::before {
  background: var(--coffee-brown);
}

.dashboard-card:nth-child(3)::before {
  background: var(--macadamia-gold);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
}

.card-num {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  display: block;
}

.dashboard-card:nth-child(2) .card-num {
  color: var(--coffee-brown);
}

.dashboard-card:nth-child(3) .card-num {
  color: var(--macadamia-gold);
}

.card-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-sub-stats {
  margin-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
  display: flex;
  justify-content: space-around;
}

.sub-stat {
  text-align: center;
}

.sub-stat-num {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
}

.sub-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Infographic 3: Timeline Horizontal Flow */
.timeline-container {
  position: relative;
  padding: 2rem 0;
  margin-top: 2rem;
}

.timeline-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem;
}

.timeline-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}

.timeline-step {
  position: relative;
  z-index: 2;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.timeline-step:hover {
  border-color: var(--primary-green);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(30, 86, 49, 0.1);
}

.timeline-step.active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
}

.timeline-step.active .step-num {
  background: var(--macadamia-gold);
  color: #fff;
}

.timeline-step.active .step-text {
  color: #fff;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.step-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.timeline-detail {
  margin-top: 3rem;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 6px;
  border-left: 4px solid var(--primary-green);
  min-height: 120px;
}

.timeline-detail-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-detail-desc {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Visual Big Number */
.big-number-block {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  border-radius: 8px;
  padding: 3rem;
  margin: 4rem 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  position: relative;
}

.big-number-value-wrap {
  flex: 0 0 250px;
  text-align: center;
}

.big-number-value {
  font-family: var(--font-title);
  font-size: 6.5rem;
  font-weight: 800;
  color: var(--macadamia-gold);
  line-height: 1;
  display: block;
}

.big-number-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-top: 0.5rem;
  letter-spacing: 1px;
  display: block;
}

.big-number-content {
  flex: 1;
  padding-left: 3rem;
  border-left: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.big-number-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 0;
}

.big-number-visuals {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.visual-icon {
  width: 60px;
  height: 60px;
  fill: var(--primary-green);
  opacity: 0.8;
}

/* Infographic 4: Map Visual */
.map-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.map-svg-wrap {
  width: 100%;
  background: var(--bg-light);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  padding: 1rem;
}

.map-svg {
  width: 100%;
  height: auto;
}

.map-region {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-region path {
  fill: #DFE3E1;
  stroke: #FFFFFF;
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.map-region.active path {
  fill: var(--primary-green);
}

.map-region:hover path {
  fill: var(--coffee-brown);
}

.map-marker {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-marker circle.marker-pulse {
  fill: var(--macadamia-gold);
  opacity: 0.4;
  animation: pulse 2s infinite;
}

.map-marker circle.marker-core {
  fill: var(--macadamia-gold);
  stroke: #FFFFFF;
  stroke-width: 1.5;
}

.map-marker:hover circle.marker-core {
  fill: var(--primary-green);
  r: 8;
}

@keyframes pulse {
  0% {
    r: 5;
    opacity: 0.7;
  }

  100% {
    r: 20;
    opacity: 0;
  }
}

.map-info-panel {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.map-info-product {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coffee-brown);
  margin-bottom: 1rem;
}

.map-info-status {
  display: inline-block;
  background: var(--macadamia-gold);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.map-info-desc {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Infographic 5: Dashboard Data 2 */
.data-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.data-card-two {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.data-card-two:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-color: var(--macadamia-gold);
}

.data-card-two-num {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  display: block;
}

.data-card-two-subnum {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--macadamia-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.data-card-two-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.badges-container {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.badge-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--coffee-brown);
  text-transform: uppercase;
}

/* Conclusion Section */
.conclusion-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  padding: 6rem 0;
}

.conclusion-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/conclusion_sunrise.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transform: scale(1.02);
}

.conclusion-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.conclusion-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 90%;
  text-align: center;
  color: var(--bg-white);
}

.conclusion-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  color: var(--macadamia-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: block;
}

.conclusion-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  color: var(--macadamia-gold);
}

.conclusion-text {
  font-size: 1.35rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Footer style */
footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 3rem;
  text-align: center;
}

.author-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--macadamia-gold);
  margin-bottom: 0.5rem;
}

.footer-credits {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  line-height: 1.6;
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

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

  .map-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-info-panel {
    padding: 1.5rem;
  }

  .data-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .article-section {
    padding: 4rem 0; /* Giảm padding trên mobile để đọc liền mạch hơn */
  }

  /* Header and logo properties removed */

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-title-huge {
    font-size: 5rem; /* Thu nhỏ trên tablet/mobile dọc */
    margin-top: 0.5rem;
  }

  .hero-sub {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .lead-text {
    font-size: 1.15rem;
    padding-left: 1rem;
    margin-bottom: 2rem;
  }

  .pull-quote {
    margin: 2.5rem auto;
    padding: 2rem 1.2rem;
  }

  .pull-quote-text {
    font-size: 1.35rem;
  }

  .pull-quote::before {
    font-size: 6rem;
    top: -1rem;
  }

  .big-number-block {
    flex-direction: column;
    padding: 1.5rem;
    margin: 2.5rem 0;
  }

  .big-number-value-wrap {
    flex: none;
    margin-bottom: 1rem;
  }

  .big-number-value {
    font-size: 4.5rem;
  }

  .big-number-content {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
  }

  /* Tạo timeline dọc kết nối đẹp mắt trên mobile */
  .timeline-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    position: relative;
    padding-left: 2rem;
  }

  .timeline-flow::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 35px; /* Căn giữa chính xác với vòng tròn số timeline */
    width: 2px;
    height: calc(100% - 30px);
    background: var(--border-color);
    z-index: 1;
    display: block;
    transform: none;
  }

  .timeline-step {
    width: 100%;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    background: var(--bg-white);
  }

  .timeline-detail {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  /* Co giãn sơ đồ Hub & Spoke theo tỷ lệ tự động trên mobile */
  .hub-spoke-container {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 380px;
  }

  .infographic-block {
    padding: 2rem 1.2rem;
    margin: 4rem 0;
  }

  .conclusion-title {
    font-size: 2rem;
  }

  .conclusion-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-title-huge {
    font-size: 3.5rem; /* Thu nhỏ hơn nữa trên điện thoại nhỏ */
    margin-top: 0.5rem;
  }
  
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .conclusion-title {
    font-size: 1.6rem;
  }
  
  .card-num {
    font-size: 2.2rem;
  }
  
  .data-card-two-num {
    font-size: 2.8rem;
  }
  
  .data-card-two-subnum {
    font-size: 1.8rem;
  }
}