:root {
    --primary-color: #009675;
    --primary-dark: #005c48;
    --primary-light: #e8f9f5;
    --secondary-color: #ff7a11;
    --secondary-light: #fff2e8;
    --bg-color: #fdfdf9;
    --text-color: #213243;
    --text-light: #5b6a7a;
    --container-width: 840px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    /* Slightly more transparent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Encode Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.9;
    /* Increased line height */
    font-size: 19px;
    overflow-x: hidden;
}

p {
    margin-bottom: 2.8rem;
    /* Increased spacing between paragraphs */
    text-align: justify;
}

.interactive-article {
    width: 100%;
}

/* Typography Highlights */
.title-htx {
    font-family: 'SVN-Drainwood', cursive, sans-serif;
    font-style: normal;
    font-size: 1.6em;
    color: #ffc20e;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 0 8px;
    display: inline-block;
    vertical-align: middle;
}

.title-script {
    font-family: 'SVN-Drainwood', cursive, sans-serif;
    font-style: normal;
    font-size: 1.6em;
    color: #ffc20e;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
}

.sub-title .title-script {
    color: var(--secondary-color);
    font-size: 1.3em;
}

.sub-title .title-htx {
    color: var(--primary-dark);
    font-size: 1.3em;
}

/* Sections */
.text-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Hero */
.hero {
    position: relative;
    height: 120vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 5rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 100;
    max-width: 1100px;
    text-align: center;
    padding: 0 2rem;
    margin-bottom: -4rem;
    /* Overflows onto lead */
}

.main-title {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 15px;
}

.scroll-down::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Lead Section - Impressive Design */
.lead-section-wrapper {
    background: #fff;
    padding: 8rem 0 5rem;
    /* Increased top padding to accommodate title overflow */
    position: relative;
    z-index: 5;
    border-radius: 60px 60px 0 0;
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.12);
}

.lead-block {
    position: relative;
    padding-left: 4rem !important;
}

.lead-accent {
    position: absolute;
    left: 1.5rem;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.lead {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--primary-dark);
    font-weight: 700;
    text-align: left;
}

/* Subtitles with SVG */
.sub-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin: 4rem 0 3rem;
    line-height: 1.3;
    position: relative;
    padding-top: 2rem;
}

.title-svg {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    color: var(--secondary-color);
    opacity: 0.6;
}

/* Images & Full Width */
.enhanced-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.05) contrast(1.1) saturate(1.2);
    /* Enhanced AI-like sharpening effect */
    transition: transform 0.6s ease;
}

.full-width-section {
    width: 100%;
    margin: 5rem 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.full-width-section.overflow-v {
    overflow: visible;
    /* Allow floating cards to spill out */
}

.image-wrapper {
    width: 100%;
    height: auto; /* Để container tự thích ứng theo chiều cao ảnh */
    overflow: hidden;
    position: relative;
}

.fw-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.interactive-image-container {
    position: relative;
}

.floating-card {
    position: absolute;
    width: 65%;
    min-width: 320px;
    padding: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 0;
    /* Square blocks for more impact */
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.05);
    border: none;
    z-index: 50;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Color Block Variants */
.color-block-mint {
    background: rgba(0, 150, 117, 0.95);
    border-left: 15px solid #fff;
}

.color-block-orange {
    background: rgba(255, 122, 17, 0.95);
    border-left: 15px solid #fff;
}

.color-block-purple {
    background: rgba(138, 43, 226, 0.95);
    border-left: 15px solid #fff;
}

.color-block-blue {
    background: rgba(0, 123, 255, 0.95);
    border-left: 15px solid #fff;
}

.color-block-mint .card-text p,
.color-block-orange .card-text p,
.color-block-purple .card-text p,
.color-block-blue .card-text p {
    color: #fff !important;
}

/* Positioning Modifiers with Overflow */
.pos-br-out {
    bottom: -30px;
    right: 5%;
}

.pos-bl-out {
    bottom: -30px;
    left: 5%;
}

.pos-tr-out {
    top: -30px;
    right: 5%;
}

.pos-tl-out {
    top: -30px;
    left: 5%;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 25px 25px 0px rgba(0, 0, 0, 0.1);
}

.floating-card .card-text p {
    font-size: 1.5rem;
    /* Significantly enlarged */
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

.accent-orange {
    border-left: 5px solid var(--secondary-color);
}

.accent-purple {
    border-left: 5px solid #8a2be2;
}

.accent-blue {
    border-left: 5px solid #007bff;
}

/* Stats Boxes */
.impression-box {
    background: linear-gradient(135deg, #f0f8f6 0%, #e1f3ef 100%);
    padding: 3rem;
    border-radius: 30px;
    margin: 4rem 0;
}

.impression-header {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

.stats-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.grid-3-2 .stat-card {
    grid-column: span 2;
}

/* Center the last two items in the 6-column grid */
.grid-3-2 .stat-card:nth-child(4) {
    grid-column: 2 / 4;
}

.grid-3-2 .stat-card:nth-child(5) {
    grid-column: 4 / 6;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.stat-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-unit {
    font-size: 1rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
}

.modern-orange-theme {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
}

.modern-orange-theme .stat-val {
    color: var(--secondary-color);
}

/* Quotes */
.custom-quote {
    background: #fff;
    padding: 3rem;
    border-radius: 25px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin: 4rem 0;
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
}

.custom-quote p {
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
}

/* Highlight Box - Redesigned */
.highlight-quote-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 2.8rem 4rem; /* Dãn dòng trên dưới vừa phải */
    margin: 4rem auto;
    border-radius: 20px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
    box-shadow: 0 15px 35px rgba(0, 92, 72, 0.2);
    position: relative;
    overflow: hidden;
}

.highlight-quote-box p {
    margin: 0;
    position: relative;
    z-index: 2;
}

.highlight-quote-box::before {
    content: '“';
    font-family: 'SVN-Drainwood', cursive, serif;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    top: 20px;
    left: 10px;
    line-height: 0.5;
    z-index: 1;
}

.highlight-quote-box::after {
    content: '”';
    font-family: 'SVN-Drainwood', cursive, serif;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: -30px;
    right: 10px;
    line-height: 0.5;
    z-index: 1;
}

/* Author Block */
.author-block {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 2rem;
    padding-top: 3rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
}

.author-block .brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.author-block .author-name {
    font-size: 1.25rem;
    color: var(--text-color);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .lead {
        font-size: 1.3rem;
    }

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

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .floating-card {
        position: relative;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        min-width: 0;
        border-radius: 0;
        margin-top: 0;
        box-shadow: none;
        padding: 1.5rem;
        background: #fff;
    }

    .floating-card .card-text p {
        text-align: justify;
        font-size: 1.05rem;
    }
}