/* 
   Style sheet for eMagazine / Longform: HTX Da Nang Smart Agriculture
   Designed with Premium Editorial & Agritech style.
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* Color Variables */
:root {
  --primary-color: #1E5E3B;
  /* Xanh lá đậm */
  --secondary-color: #00A88F;
  /* Xanh ngọc */
  --accent-color: #D4AF37;
  /* Vàng đồng */
  --bg-light: #FAF7F2;
  /* Kem nhạt */
  --bg-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-light: #F4F4F4;
  --text-muted: #666666;
  --border-color: rgba(30, 94, 59, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.05);
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

body {
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
}

p {
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
  color: #2c2c2c;
  text-align: justify;
}

/* Scroll Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  z-index: 10000;
  transition: width 0.1s ease-out;
}

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

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Header & TOC Styles */
.header-wrapper {
  position: relative;
  z-index: 100;
}


/* Hero Banner Section */
.hero {
  position: relative;
  height: 130vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  overflow: hidden;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 94, 59, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-headline {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
  color: var(--bg-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.8rem;
  }
}

/* Glassmorphism Sapo Box */
.sapo-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
}

.sapo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f1ede2;
  text-align: center;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .sapo-text {
    font-size: 1.25rem;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.scroll-indicator span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--accent-color);
  border-right: 2px solid var(--accent-color);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  40% {
    transform: translateY(-8px) rotate(45deg);
  }

  60% {
    transform: translateY(-4px) rotate(45deg);
  }
}

/* Section Common Styles */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  font-family: var(--font-sans);
  font-weight: 800;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Drop Cap and 2-Column layout for introduction */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intro-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.75rem;
  margin-top: 0.15rem;
  color: var(--primary-color);
  font-weight: 800;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  background: var(--bg-white);
  border-radius: 4px;
}

/* Pull Quotes */
.pull-quote {
  margin: 4rem 0;
  padding: 3rem 2rem;
  background-color: var(--bg-white);
  border-left: 5px solid var(--accent-color);
  border-right: 5px solid var(--accent-color);
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--shadow-color);
  text-align: center;
  position: relative;
}

.pull-quote::before {
  content: "“";
  font-family: var(--font-serif);
  font-size: 6rem;
  color: rgba(30, 94, 59, 0.1);
  position: absolute;
  top: -1rem;
  left: 2rem;
}

.pull-quote-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: 0;
  font-weight: 600;
}

/* Parallax Divider Sections (Editorial headers for tits xen) */
.parallax-divider {
  position: relative;
  height: 60vh;
  width: 100%;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(30, 94, 59, 0.7));
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.divider-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--bg-white);
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .divider-title {
    font-size: 3rem;
  }
}

/* Highlight / Box thong tin */
.highlight-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 15px 40px var(--shadow-color);
  margin: 4rem 0;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .highlight-box {
    flex-direction: row;
    align-items: center;
  }
}

.box-info {
  flex: 1;
}

.box-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: 350px;
}

.box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.box-image:hover img {
  transform: scale(1.05);
}

.box-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.box-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Number cards in Box Info */
.medicine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.medicine-item {
  background: var(--bg-light);
  padding: 1.2rem;
  border-radius: 6px;
  text-align: center;
  border: 1px solid rgba(30, 94, 59, 0.05);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.medicine-item span {
  display: block;
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 0.2rem;
}

/* General Infographics & Charts styles */
.infographic-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 4.5rem 0;
  box-shadow: 0 15px 40px var(--shadow-color);
}

.infographic-title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.infographic-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 0.8rem auto 0;
}

/* Infographic 1: HTX Da Nang Hom Nay (Big Numbers Grid) */
.numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.number-card {
  background: var(--bg-light);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(30, 94, 59, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.number-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30, 94, 59, 0.1);
  border-color: rgba(30, 94, 59, 0.2);
}

.card-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(30, 94, 59, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.card-icon svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.big-number {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.big-number span {
  font-size: 1.8rem;
}

.card-label {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Infographic 2: Flow Diagram (Buoc Chuyen HTX) */
.flow-diagram-container {
  width: 100%;
  overflow-x: auto;
  padding: 2rem 0;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 950px;
  position: relative;
  padding: 0 1rem;
}

.flow-node {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.flow-circle {
  width: 85px;
  height: 85px;
  background-color: var(--bg-light);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
  color: var(--primary-color);
}

.flow-node:hover .flow-circle {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(30, 94, 59, 0.4);
}

.flow-circle svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.flow-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.flow-arrow-svg {
  width: 50px;
  height: 24px;
  color: var(--accent-color);
}

.flow-arrow-path {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 3;
  stroke-dasharray: 6 4;
  animation: dash 1.5s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -10;
  }
}

/* Infographic 3: Card Grid (Cac Mo Hinh HTX Tieu Bieu) */
.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.model-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 2.5rem 1.8rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--secondary-color);
}

.model-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(30, 94, 59, 0.1);
  padding-bottom: 1.2rem;
}

.model-icon {
  width: 55px;
  height: 55px;
  background-color: rgba(0, 168, 143, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
}

.model-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.model-title {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

.model-products {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}

.model-product-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
}

.model-product-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.ocop-badge {
  margin-top: 1.5rem;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 10px rgba(30, 94, 59, 0.25);
}

.ocop-badge svg {
  width: 12px;
  height: 12px;
  fill: var(--accent-color);
}

/* Infographic 4: Donut Chart (Ban Do OCOP Da Nang) */
.donut-chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .donut-chart-container {
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
  }
}

.donut-svg-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
}

.donut-chart {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.donut-bg {
  fill: none;
  stroke: #f1ede2;
  stroke-width: 20;
}

.donut-segment {
  fill: none;
  stroke-width: 20;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.donut-segment.s5 {
  stroke: var(--accent-color);
}

.donut-segment.s4 {
  stroke: var(--secondary-color);
}

.donut-segment.s3 {
  stroke: var(--primary-color);
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-number {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.donut-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.legend-color {
  width: 25px;
  height: 25px;
  border-radius: 6px;
}

.legend-color.s5 {
  background-color: var(--accent-color);
}

.legend-color.s4 {
  background-color: var(--secondary-color);
}

.legend-color.s3 {
  background-color: var(--primary-color);
}

.legend-info {
  display: flex;
  flex-direction: column;
}

.legend-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-title svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-color);
}

.legend-count {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* Infographic 5: Timeline (Hanh Trinh Nang Gia Tri) */
.timeline-wrapper {
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-items-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.timeline-dot {
  width: 64px;
  height: 64px;
  background-color: var(--bg-white);
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary-color);
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-dot {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 168, 143, 0.4);
}

.timeline-dot svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.timeline-content {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 1.5rem;
  flex-grow: 1;
  border: 1px solid rgba(0, 168, 143, 0.08);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.timeline-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (min-width: 1024px) {

  /* Horizontal timeline for desktop */
  .timeline-line {
    left: 0;
    right: 0;
    top: 32px;
    height: 4px;
    width: 100%;
    bottom: auto;
  }

  .timeline-items-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }

  .timeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% / 9);
    gap: 1rem;
  }

  .timeline-content {
    padding: 1rem 0.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .timeline-title {
    font-size: 0.85rem;
  }

  .timeline-desc {
    display: none;
    /* Hide descriptions to avoid crowding on desktop */
  }
}

/* Infographic 6: Network Diagram (He Sinh Thai Phat Trien HTX) */
.network-container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  overflow: hidden;
  background-color: #0f271a;
  /* Darker tech background to pop line animation */
  border-radius: 12px;
  padding: 2rem;
}

.network-svg {
  width: 100%;
  max-width: 700px;
  height: auto;
}

.network-node-center {
  fill: var(--bg-white);
  stroke: var(--accent-color);
  stroke-width: 4px;
  cursor: pointer;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
}

.network-node {
  fill: #1E5E3B;
  stroke: var(--secondary-color);
  stroke-width: 3px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.network-node:hover {
  fill: var(--secondary-color);
  stroke: var(--bg-white);
  filter: drop-shadow(0 0 10px rgba(0, 168, 143, 0.8));
}

.network-edge {
  stroke: rgba(0, 168, 143, 0.4);
  stroke-width: 2;
  stroke-dasharray: 5 5;
  animation: pulse-flow 20s linear infinite;
}

@keyframes pulse-flow {
  to {
    stroke-dashoffset: -100;
  }
}

.network-text-center {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  fill: var(--primary-color);
  text-anchor: middle;
}

.network-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  fill: #e0f2e9;
  text-anchor: middle;
}

/* Infographic 7: Lien Ket Tao Gia Tri (Flow Diagram 2) */
.value-flow-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .value-flow-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

.value-step {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 1.8rem 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  height: 100%;
}

.value-step:hover {
  transform: scale(1.03);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(30, 94, 59, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.value-step:hover .value-icon {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.value-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.value-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.value-desc {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary-color);
}

/* Final Quote Section */
.final-quote-section {
  position: relative;
  height: 70vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.final-quote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 94, 59, 0.85) 0%, rgba(15, 39, 26, 0.9) 100%);
  z-index: 1;
}

.final-quote-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.final-quote-text {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .final-quote-text {
    font-size: 2.8rem;
  }
}

/* Footer Section */
footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0;
  border-top: 5px solid var(--accent-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--bg-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 900px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem 0;
}

.footer-timeline-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #c9dfd3;
}

.footer-arrow {
  color: var(--accent-color);
  font-weight: 700;
}

.footer-meta {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll Animation Classes (used by JS Observer) */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.is-visible,
.is-visible .fade-in-section {
  opacity: 1;
  transform: translateY(0);
}

/* Text constraints for Infographics */
.infographic-text-style {
  font-family: var(--font-sans);
  font-size: 25px !important;
  font-weight: 700;
}

/* Ensure no text is crowded inside SVG */
text {
  user-select: none;
}