/* Global Variables & Colors */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #2E7D32;
    --primary-light: #81C784;
    --bg-color: #F6FFF8;
    --bg-white: #ffffff;
    --text-color: #015721;
    /* Đậm hơn giúp dễ đọc tối đa */
    --text-light: #000203;
    /* Tăng độ tương phản cho text phụ */
    --accent-export: #2196F3;
    --accent-data: #00ACC1;
    --accent-dark: #00796B;

    /* Thay đổi sang font Encode Sans */
    --font-main: 'Encode Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    --shadow-soft: 0 10px 30px rgba(46, 125, 50, 0.05);
    --shadow-medium: 0 15px 35px rgba(46, 125, 50, 0.1);
    --shadow-hover: 0 20px 45px rgba(46, 125, 50, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Tăng cỡ chữ cơ bản lên tối thiểu 19px */
    font-size: 19px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Badges & Accents */
.badge {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    display: inline-block;
    margin-bottom: 20px;
}

/* Cards System */
.card {
    background-color: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(46, 125, 50, 0.04);
    transition: var(--transition-smooth);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(46, 125, 50, 0.06);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 12px 40px 0 rgba(46, 125, 50, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

/* Header Section */
.hero-header {
    background: radial-gradient(circle at 10% 20%, rgba(240, 253, 244, 0.7) 0%, rgba(220, 252, 231, 0.3) 90%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10 H90 V90 H10 Z' fill='none' stroke='%234caf50' stroke-width='0.5' stroke-opacity='0.05'/%3E%3C/svg%3E");
    padding: 100px 0 80px 0;
    text-align: center;
    position: relative;
}

.main-title {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-color);
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.main-title .highlight {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    /* Tăng lên 22px để tương quan với cỡ chữ 19px */
    font-size: clamp(19px, 2.2vw, 22px);
    color: var(--text-light);
    max-width: 850px;
    margin: 0 auto 30px auto;
    font-weight: 400;
}

.header-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.decor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.decor-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Section Common Styles */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f0fdf4;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    /* Tăng lên 36px để giữ tỷ lệ */
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    /* Tăng lên 20px để giữ tỷ lệ */
    font-size: 20px;
    color: var(--text-light);
}

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

.icon-inline {
    vertical-align: middle;
    margin-right: 4px;
}

/* SECTION 1: TOÀN CẢNH HỆ THỐNG - Hero Number */
.hero-number-wrapper {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1b4d22 100%);
    color: white;
    text-align: center;
    border: none;
    padding: 50px 20px;
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
}

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

.hero-number-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-number {
    font-size: clamp(64px, 10vw, 100px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #a5d6a7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.hero-number-label {
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* KPI Cards Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.kpi-card {
    display: flex;
    align-items: center;
    padding: 30px 24px;
    gap: 20px;
}

.kpi-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.kpi-card:hover .kpi-icon-wrapper {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.kpi-icon {
    width: 32px;
    height: 32px;
}

.kpi-details {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    /* Tăng lên 38px để giữ tỷ lệ nổi bật */
    font-size: 38px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.1;
}

.kpi-value .slash {
    color: var(--text-light);
    font-weight: 300;
    margin: 0 4px;
}

.kpi-value .total-provinces {
    color: var(--text-light);
    font-size: 28px;
    font-weight: 500;
}

.kpi-label {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
}

.timestamp {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* SECTION 2: HỘ CHIẾU SỐ GIÚP XUẤT KHẨU - Timeline */
.timeline-container {
    padding: 40px;
}

.timeline-title {
    /* Tăng lên 24px để giữ tỷ lệ */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-color);
    text-align: center;
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding-bottom: 20px;
}

.timeline-progress-bar {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 1;
    border-radius: 2px;
}

.timeline-progress-fill {
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-export) 100%);
    border-radius: 2px;
    transition: width 1.5s ease-in-out;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-marker {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #b0bec5;
    transition: var(--transition-smooth);
}

.timeline-step.active .step-marker {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}

.timeline-step.active .step-dot {
    background-color: var(--primary-color);
}

.timeline-step#step-2.active .step-marker {
    border-color: var(--accent-export);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.2);
}

.timeline-step#step-2.active .step-dot {
    background-color: var(--accent-export);
}

.step-pulse {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 0;
    transform: scale(1);
    animation: none;
    pointer-events: none;
}

.timeline-step.active .step-pulse {
    animation: pulseGlow 2s infinite;
}

.timeline-step#step-2.active .step-pulse {
    border-color: var(--accent-export);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.step-content {
    margin-top: 20px;
    padding: 0 15px;
}

.step-date {
    display: inline-block;
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 700;
    color: var(--text-light);
    background-color: #f1f5f9;
    padding: 4px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.timeline-step.active .step-date {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-dark);
}

.timeline-step#step-2.active .step-date {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--accent-export);
}

.step-content h4 {
    /* Tăng lên 22px để làm nổi bật tiêu đề bước */
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-light);
}

.export-highlight {
    background-color: rgba(33, 150, 243, 0.03);
    border: 1px dashed rgba(33, 150, 243, 0.2);
    border-radius: 16px;
    padding: 15px;
    margin-top: 10px;
}

.ship-icon-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--accent-export);
}

.ship-icon {
    width: 28px;
    height: 28px;
}

.container-badge {
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 700;
    background-color: var(--accent-export);
    color: white;
    padding: 2px 10px;
    border-radius: 8px;
}

.animate-float {
    animation: floatAnim 3s infinite ease-in-out;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Sơ đồ cung ứng SVG Flow */
.flow-container {
    padding: 40px;
}

.flow-title {
    /* Tăng lên 24px */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
    text-align: center;
}

.svg-flow-wrapper {
    width: 100%;
    overflow-x: auto;
    background-color: #fafdfb;
    border-radius: 16px;
    padding: 40px 10px;
    border: 1px dashed rgba(46, 125, 50, 0.08);
}

.flow-svg {
    width: 100%;
    min-width: 980px;
    height: auto;
    display: block;
}

.flow-line {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 4;
    stroke-linecap: round;
}

.flow-pulse {
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 20, 100;
    animation: pulseMove 6s linear infinite;
}

@keyframes pulseMove {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -840;
    }
}

.node-bg {
    fill: url(#grad-green);
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 3;
    transition: var(--transition-smooth);
}

.node-special .node-bg {
    fill: url(#grad-blue);
}

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

.flow-node:hover {
    transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.08);
}

.flow-node[transform="translate(80, 120)"]:hover {
    --tx: 80px;
    --ty: 120px;
}

.flow-node[transform="translate(220, 120)"]:hover {
    --tx: 220px;
    --ty: 120px;
}

.flow-node[transform="translate(360, 120)"]:hover {
    --tx: 360px;
    --ty: 120px;
}

.flow-node[transform="translate(500, 120)"]:hover {
    --tx: 500px;
    --ty: 120px;
}

.flow-node[transform="translate(640, 120)"]:hover {
    --tx: 640px;
    --ty: 120px;
}

.flow-node[transform="translate(780, 120)"]:hover {
    --tx: 780px;
    --ty: 120px;
}

.flow-node[transform="translate(920, 120)"]:hover {
    --tx: 920px;
    --ty: 120px;
}

.flow-node:hover .node-bg {
    stroke-width: 5;
    filter: drop-shadow(0 8px 16px rgba(46, 125, 50, 0.3));
}

.node-text {
    font-family: var(--font-main);
    font-weight: 700;
    /* Tăng kích thước chữ SVG để tương ứng với giao diện 19px */
    font-size: 16px;
    fill: var(--text-color);
    text-anchor: middle;
}

.node-text-sub {
    font-family: var(--font-main);
    font-weight: 500;
    /* Tăng lên 14px */
    font-size: 14px;
    fill: var(--text-light);
    text-anchor: middle;
}

/* Benefits Card Box */
.benefits-container {
    max-width: 950px;
    margin: 40px auto 0 auto;
}

.benefit-box {
    padding: 40px;
}

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

.benefit-badge {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--accent-export);
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.benefit-title {
    /* Tăng lên 28px để giữ tỷ lệ */
    font-size: 28px;
    font-weight: 800;
    margin-top: 12px;
    color: var(--text-color);
}

.benefit-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.benefit-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    border: 1px solid rgba(46, 125, 50, 0.02);
}

.benefit-list li:hover {
    background-color: var(--bg-white);
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.05);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-content h4 {
    /* Tăng lên 22px */
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.benefit-content p {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-light);
}

/* SECTION 3: MỞ RỘNG HỆ THỐNG - Layout */
.expansion-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.expansion-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-expansion-card {
    padding: 35px;
}

.expansion-badge {
    background-color: rgba(255, 152, 0, 0.1);
    color: #e65100;
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-expansion-card h3 {
    /* Tăng lên 30px */
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.expansion-desc {
    color: var(--text-light);
    margin-bottom: 24px;
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    background-color: var(--bg-color);
    border: 1px solid rgba(46, 125, 50, 0.08);
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.tag-item:hover {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.05);
    transform: translateY(-2px);
}

.tag-icon {
    font-size: 22px;
}

/* Partners Card */
.partners-card {
    padding: 30px;
}

.partners-card h3 {
    /* Tăng lên 22px */
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.partners-desc {
    /* Tăng lên 19px */
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.logo-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 1.5px solid rgba(46, 125, 50, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.partner-logo:hover .logo-circle {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.1);
}

.partner-icon {
    width: 32px;
    height: 32px;
}

.partner-logo span {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    font-weight: 600;
    color: var(--text-light);
}

/* Right: Kim tự tháp mục tiêu (Pyramid Chart) */
.pyramid-wrapper {
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pyramid-title {
    /* Tăng lên 24px */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color);
}

.pyramid-subtitle {
    /* Tăng lên 19px */
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: center;
}

.pyramid-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.pyramid-level {
    width: 100%;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.level-content {
    z-index: 2;
    transition: var(--transition-smooth);
}

.level-num {
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    display: block;
    margin-bottom: 2px;
}

.pyramid-level h4 {
    /* Tăng lên 22px */
    font-size: 22px;
    font-weight: 700;
}

.pyramid-level p {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    margin-top: 2px;
    opacity: 0.9;
}

/* Pyramid Levels Shapes & Colors */
.level-4 {
    width: 50%;
    background-color: var(--primary-dark);
    color: white;
    clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
    aspect-ratio: 2.1 / 1;
}

.level-3 {
    width: 70%;
    background-color: var(--primary-color);
    color: white;
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    aspect-ratio: 3.2 / 1;
}

.level-2 {
    width: 88%;
    background-color: var(--primary-light);
    color: var(--text-color);
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    aspect-ratio: 4.4 / 1;
}

.level-1 {
    width: 100%;
    background-color: #c8e6c9;
    color: var(--text-color);
    clip-path: polygon(6% 0%, 94% 0%, 100% 100%, 0% 100%);
    aspect-ratio: 5.2 / 1;
}

/* Pyramid details popup layout */
.level-detail-pop {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background-color: var(--text-color);
    color: white;
    padding: 20px;
    border-radius: 16px;
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    text-align: left;
    line-height: 1.5;
}

.level-detail-pop::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--text-color) transparent transparent transparent;
}

/* Hover effects */
.pyramid-level:hover {
    transform: scale(1.04) translateY(-2px);
    z-index: 5;
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.15);
}

.pyramid-level:hover .level-detail-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.level-4:hover {
    background-color: #1b4d22;
}

.level-3:hover {
    background-color: var(--primary-dark);
}

.level-2:hover {
    background-color: #a5d6a7;
}

.level-1:hover {
    background-color: #a5d6a7;
}

.pyramid-tip {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-light);
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

/* SECTION 4: BÁO CÁO PHÂN TÍCH CHUYÊN SÂU - Layout */
.charts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.chart-container {
    padding: 35px;
}

.chart-title {
    /* Tăng lên 24px */
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.chart-desc {
    /* Tăng lên 19px */
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Horizontal Bar Chart */
.horizontal-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bar-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar-label {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    font-weight: 600;
    color: var(--text-color);
}

.bar-value {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    font-weight: 700;
    color: var(--text-color);
}

.bar-track {
    width: 100%;
    height: 16px;
    background-color: #e8f5e9;
    border-radius: 8px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--color, var(--primary-color));
    border-radius: 8px;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.section.active-chart .bar-fill {
    width: var(--percent);
}

/* Bubble Chart styling */
.bubble-chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.bubble-chart-svg {
    width: 100%;
    max-width: 420px;
    /* Tăng nhẹ để chứa text 19px tốt hơn */
    height: auto;
}

/* Floating Animations for Bubble Groups */
.bubble-group {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.group-farmers {
    animation: floatFarmers 6s ease-in-out infinite alternate;
}

.group-plantations {
    animation: floatPlantations 5s ease-in-out infinite alternate;
}

.group-enterprises {
    animation: floatEnterprises 7s ease-in-out infinite alternate;
}

@keyframes floatFarmers {
    0% {
        transform: translate(250px, 145px);
    }

    100% {
        transform: translate(250px, 155px);
    }
}

@keyframes floatPlantations {
    0% {
        transform: translate(118px, 313px);
    }

    100% {
        transform: translate(122px, 307px);
    }
}

@keyframes floatEnterprises {
    0% {
        transform: translate(378px, 287px);
    }

    100% {
        transform: translate(382px, 293px);
    }
}

.bubble-circle {
    transition: var(--transition-smooth);
}

.bubble-group:hover .bubble-circle {
    transform: scale(1.05);
    stroke-width: 4;
}

.bubble-group:hover {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
}

.bubble-emoji {
    font-size: 26px;
    text-anchor: middle;
}

.bubble-number {
    font-family: var(--font-main);
    /* Tăng cỡ số */
    font-size: 26px;
    font-weight: 800;
    fill: var(--text-color);
    text-anchor: middle;
}

.bubble-name {
    font-family: var(--font-main);
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 700;
    fill: var(--text-light);
    text-anchor: middle;
}

.bubble-percent {
    font-family: var(--font-main);
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 500;
    fill: var(--text-light);
    opacity: 0.8;
    text-anchor: middle;
}

.chart-summary {
    background-color: var(--bg-color);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(46, 125, 50, 0.04);
}

.chart-summary p {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Sơ đồ quy trình nghiệp vụ (Process Grid) */
.process-flow-container {
    padding: 40px;
    margin-top: 40px;
}

.process-title {
    /* Tăng lên 24px */
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
}

.process-subtitle {
    /* Tăng lên 19px */
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: center;
}

.process-steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step-card {
    background-color: var(--bg-color);
    border: 1px solid rgba(46, 125, 50, 0.04);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    width: 28%;
    /* Tăng chiều rộng để vừa văn bản 19px */
    min-width: 250px;
    position: relative;
    transition: var(--transition-smooth);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.process-step-card:hover {
    background-color: white;
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.06);
}

.step-num {
    position: absolute;
    top: 14px;
    right: 18px;
    /* Tăng lên 19px */
    font-size: 19px;
    font-weight: 800;
    color: var(--text-light);
    opacity: 0.4;
}

.step-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.green-bg {
    background-color: #e8f5e9;
}

.cyan-bg {
    background-color: #e0f7fa;
}

.blue-bg {
    background-color: #e3f2fd;
}

.process-step-card h4 {
    /* Tăng lên 22px */
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.process-step-card p {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.4;
}

.process-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    animation: pulseArrow 2s infinite ease-in-out;
}

.process-step-arrow svg {
    width: 28px;
    height: 28px;
}

@keyframes pulseArrow {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(4px);
        opacity: 1;
    }
}

/* Footer Section */
.infographic-footer {
    background-color: #1a3322;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-emoji {
    font-size: 36px;
}

.footer-logo h4 {
    color: white;
    /* Tăng lên 22px */
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-logo p {
    /* Tăng lên 19px */
    font-size: 19px;
    opacity: 0.8;
}

.footer-meta p {
    /* Tăng lên tối thiểu 19px */
    font-size: 19px;
}

.footer-meta strong {
    color: white;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .expansion-layout {
        grid-template-columns: 1fr;
    }

    .pyramid-wrapper {
        align-items: center;
    }

    .charts-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-header {
        padding: 60px 0 50px 0;
    }

    .main-title {
        font-size: 34px;
    }

    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 45px;
        padding-left: 20px;
    }

    .timeline-progress-bar {
        left: 52px;
        /* Căn giữa hoàn hảo với tâm của marker (padding 20px + bán kính marker 32px) */
        top: 8%;
        bottom: 8%;
        width: 4px;
        height: 84%;
    }

    .timeline-progress-fill {
        width: 100%;
        height: 50%;
    }

    .timeline-step {
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }

    .step-content {
        margin-top: 0;
        padding: 0;
    }

    .process-steps-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .process-step-card {
        width: 100%;
    }

    .process-step-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
        animation: pulseArrowVertical 2s infinite ease-in-out;
    }

    @keyframes pulseArrowVertical {

        0%,
        100% {
            transform: rotate(90deg) translateY(0);
            opacity: 0.5;
        }

        50% {
            transform: rotate(90deg) translateY(4px);
            opacity: 1;
        }
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}