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

:root {
    /* Gas South Brand Colors */
    --primary-color: #049347;
    --secondary-color: #F7921D;
    --primary-dark: #037a3a;
    --secondary-dark: #e67e00;
    --primary-light: rgba(4, 147, 71, 0.1);
    --secondary-light: rgba(247, 146, 29, 0.1);

    /* Other colors */
    --success-color: #049347;
    --danger-color: #F7921D;
    --info-color: #2196F3;
    --dark: #1a1a1a;
    --gray: #5a5a5a;
    --light-gray: #f0f0f0;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-active: 0 8px 25px rgba(4, 147, 71, 0.25);

    /* Animation durations */
    --animation-fast: 0.3s;
    --animation-normal: 0.5s;
    --animation-slow: 1.2s;
}

/*custom for page*/
body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;*/
    background: white;
    /*min-height: 100vh;*/
    /*    color: var(--dark);*/
    overflow-x: hidden;
    /*line-height: 1.6;*/
}

.my-auto-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.page-banner{
    display: none;
}

.common-page-section{
    padding: 0 !important;
}

.cng-container ul li {
    list-style-type: disc;
}

/*end custom for page*/

/* Container */
.cng-container {
    max-width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Header */
.cng-header,
.lpg-header,
.lng-header {
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow);
    padding: 0;
    background: none;
    width: 100%;
    overflow: hidden;
    height: 300px;
}

.header-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transition: transform 0.5s ease-out;
}

/* Timeline Wrapper */
.timeline-wrapper {
    padding: 20px 15px 150px;
    background: transparent;
    background-image: url(bg1x39.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Timeline Step */
.timeline-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-step.in-view {
    animation: fadeInUp 1.2s ease forwards;
}

/* Step Left */
.step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    opacity: 0;
    transform: translateX(-50px);
}

.timeline-step.in-view .step-left {
    animation: fadeInLeft 1.2s ease forwards;
    animation-delay: 0.2s;
}

/* Step Number */
.step-number {
    width: 36px;
    height: 36px;
    background: var(--secondary-color);
    color: var(--white);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(247, 146, 29, 0.2);
}

/* Road Style Connector */
.step-connector {
    width: 40px;
    flex: 1;
    margin-top: 10px;
    position: relative;
    min-height: 80px;
    overflow: hidden;
}

.step-6-road {
    height: 60px;
    min-height: 60px;
    opacity: 1;
}

.timeline-step:last-child .step-connector {
    display: block;
}

.road {
    width: 100%;
    height: 100%;
    background: #333;
    position: relative;
    border-radius: 2px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.road::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom,
            transparent 0%,
            #333 80%,
            #333 100%);
    z-index: 2;
    pointer-events: none;
}

.road-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: repeating-linear-gradient(to bottom,
            white 0px,
            white 10px,
            transparent 10px,
            transparent 20px);
}

/* Truck Animation */
.truck {
    position: absolute;
    width: 30px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
    animation: driveDownWithFade 5s linear infinite;
    animation-play-state: paused;
    z-index: 1;
}

.timeline-step.in-view.in-focus .truck {
    animation-play-state: running;
}

@keyframes driveDownWithFade {
    0% {
        top: -30px;
        opacity: 0;
    }

    10% {
        top: 0px;
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Step Card */
.step-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(4, 147, 71, 0.15);
    cursor: pointer;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--animation-fast) ease;
}

.timeline-step.in-view .step-card {
    animation: fadeInRight 1.2s ease forwards;
    animation-delay: 0.4s;
}

.step-card:hover {
    box-shadow: 0 6px 20px rgba(4, 147, 71, 0.25);
    transform: translateX(5px);
}

.timeline-step.in-focus .step-card {
    box-shadow: 0 6px 20px rgba(4, 147, 71, 0.3);
}

/* Flame Watermark */
.flame-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 200px;
    max-height: 200px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

/* Step Card Content - NEW 2 COLUMN LAYOUT với tỉ lệ 40-60 */
.step-card-content {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Left Column - 40% */
.step-left-content {
    flex: 0 0 43%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right Column - 60% */
.step-right-content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-icon img {
    width: 89px;
}

.step-title h3 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 2px;
    font-weight: bold;
}

.step-title p {
    font-size: 13px;
    color: var(--secondary-color);
    font-style: italic;
}

/* Step Badges */
.step-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.badge {
    padding: 4px 10px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
}

.badge.pressure {
    background: var(--danger-color);
    font-weight: bold;
}

.badge.pressure-low {
    background: var(--success-color);
    font-weight: bold;
}

/* Expandable Content */
.step-expand-content {
    display: block;
    /*border-left: 1px solid var(--light-gray);*/
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.step-description {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.step-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 8px;
    transition: all var(--animation-fast) ease;
}

.highlight-item:hover {
    background: linear-gradient(135deg, rgba(4, 147, 71, 0.15), rgba(247, 146, 29, 0.15));
    transform: translateX(5px);
}

.highlight-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 13px;
    color: var(--dark);
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(247, 146, 29, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(247, 146, 29, 0.1);
    }
}

.timeline-step.in-focus .step-number {
    animation: pulse 2s ease-in-out infinite;
}

.timeline-step.in-view:not(.in-focus) {
    opacity: 0.8;
}

.timeline-step.in-view.in-focus {
    opacity: 1;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .step-badges.st4 {
        padding-top: 0px !important;
    }

    .cng-header,
    .lpg-header,
    .lng-header {
        height: 200px;
    }

    .step-header {
        padding-bottom: 30px;
    }

    .timeline-wrapper {
        padding: 20px 10px 50px;
    }

    .step-left {
        margin-right: 10px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .step-connector {
        width: 30px;
    }

    .step-6-road {
        height: 40px;
        min-height: 40px;
    }

    .road {
        width: 30px;
    }

    .road::after {
        height: 20px;
    }

    .road-line {
        width: 2px;
    }

    .truck {
        width: 25px;
        animation-duration: 4s;
    }

    /* Mobile - Vertical Layout */
    .step-card-content {
        flex-direction: column;
        gap: 15px;
    }

    .step-left-content,
    .step-right-content {
        flex: 1 1 auto;
    }

    .step-expand-content {
        border-left: none;
        border-top: 1px solid var(--light-gray);
        padding-left: 0;
        padding-top: 2px;
        margin-top: 2px;
    }

    .step-icon {
        width: 70px;
        height: 40px;
    }

    .step-icon img {
        width: 70px;
    }

    .step-title h3 {
        font-size: 18px;
    }

    .step-title p {
        font-size: 15px;
    }

    .step-description,
    .step-right-content ul li {
        font-size: 14px;
    }

    .highlight-text {
        font-size: 14px;
    }

    .timeline-step:last-child {
        margin-bottom: 30px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {

    .cng-header,
    .lpg-header,
    .lng-header {
        height: 350px;
    }

    .timeline-wrapper {
        padding: 30px 30px 100px;
    }

    .step-card-content {
        gap: 20px;
    }

    /* Điều chỉnh tỉ lệ cho tablet */
    .step-left-content {
        flex: 0 0 45%;
    }

    .step-right-content {
        flex: 0 0 55%;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .step-icon {
        width: 70px;
        height: 70px;
    }

    .step-icon img {
        width: 85px;
    }

    .step-title h3 {
        font-size: 18px;
    }

    .step-description {
        font-size: 15px;
    }

    .step-expand-content {
        padding-left: 20px;
    }

    .truck {
        animation-duration: 6s;
    }

    .road::after {
        height: 35px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {

    .cng-header,
    .lpg-header,
    .lng-header {
        height: 400px;
    }

    .timeline-wrapper {
        padding: 40px 40px 100px;
    }

    .step-left {
        margin-right: 25px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .step-card {
        padding: 25px;
    }

    .step-card-content {
        gap: 30px;
    }

    /* Larger icons and titles on desktop */
    .step-icon {
        width: 180px;
        height: 170px;
        margin-right: 10px;
    }

    .step-icon img {
        width: 180px;
    }

    .step-title h3 {
        font-size: 22px;
    }

    .step-title p {
        font-size: 15px;
    }

    .step-description {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .step-expand-content {
        padding-left: 30px;
    }

    .step-highlights {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .highlight-item {
        padding: 12px 16px;
    }

    .highlight-icon {
        font-size: 24px;
    }

    .highlight-text {
        font-size: 15px;
    }

    .truck {
        animation-duration: 6s;
    }

    .road::after {
        height: 35px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .truck {
        animation: none;
        top: 50%;
    }
}

/* Print Styles */
@media print {
    .step-connector {
        display: none !important;
    }

    .timeline-step {
        opacity: 1 !important;
        animation: none !important;
    }
}


/* Optional: If you want parallax effect on the image */
.cng-header,
.lpg-header,
.lng-header {
    position: relative;
    overflow: hidden;
    height: 300px;
    /* Fixed height for parallax container */
}

.header-image {
    width: 100%;
    height: 120%;
    /* Slightly larger for parallax movement */
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transition: transform 0.5s ease-out;
}

@media (max-width: 767px) {

    .cng-header,
    .lpg-header,
    .lng-header {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    .cng-header,
    .lpg-header,
    .lng-header {
        height: 350px;
    }
}

@media (min-width: 1024px) {

    .cng-header,
    .lpg-header,
    .lng-header {
        height: 400px;
    }
}

.cng-header,
.lpg-header,
.lng-header {
    width: 100%;
    height: 0;
    padding-bottom: 30.51%;
    /* 781/2560 * 100% = aspect ratio */
    background-image: url('header_cng.webp');
    background-size: 100% 100%;
    /* Stretch to fit */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.lpg-header {
    width: 100%;
    height: 0;
    padding-bottom: 30.51%;
    /* 781/2560 * 100% = aspect ratio */
    background-image: url('header_lpg.webp');
    background-size: 100% 100%;
    /* Stretch to fit */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.lng-header {
    width: 100%;
    height: 0;
    padding-bottom: 30.51%;
    /* 781/2560 * 100% = aspect ratio */
    background-image: url('header_lng.webp');
    background-size: 100% 100%;
    /* Stretch to fit */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Remove img tag if using background */
.cng-header img,
.lpg-header img,
.lng-header img {
    display: none;
}

/* Information Icon */
.highlight-item {
    position: relative;
}

.info-icon {
    margin-left: auto;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--animation-fast) ease;
    flex-shrink: 0;
}

.info-icon:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(4, 147, 71, 0.3);
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn var(--animation-fast) ease;
}

.popup-overlay.active {
    display: flex;
}

/* Popup Container */
.popup-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp var(--animation-normal) ease;
}

/* Popup Header */
.popup-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.popup-image.lng {
    object-position: bottom;
}

.popup-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: var(--white);
}

.popup-title h3 {
    font-size: 24px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.popup-title p {
    font-size: 14px;
    opacity: 0.9;
    color: var(--secondary-color);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--animation-fast) ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-close:hover {
    background: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.popup-close::before,
.popup-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}

.popup-close::before {
    transform: rotate(45deg);
}

.popup-close::after {
    transform: rotate(-45deg);
}

/* Popup Body */
.popup-body {
    padding: 30px;
    max-height: calc(85vh - 200px);
    overflow-y: auto;
}

.popup-body::-webkit-scrollbar {
    width: 6px;
}

.popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.popup-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.popup-content {
    color: var(--dark);
    line-height: 1.8;
}

.popup-content h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.popup-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.popup-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.feature-card {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--animation-fast) ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(4, 147, 71, 0.2);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    color: var(--primary-dark);
    font-size: 14px;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 12px;
    color: var(--gray);
}

/* Popup Stats */
.popup-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Mobile Responsive */
@media (max-width: 767px) {
    .popup-container {
        max-height: 90vh;
        margin: 10px;
        border-radius: 15px;
    }

    .popup-header {
        height: 150px;
    }

    .popup-title h3 {
        font-size: 20px;
    }

    .popup-body {
        padding: 20px;
        max-height: calc(90vh - 150px);
    }

    .popup-features {
        grid-template-columns: 1fr;
    }

    .popup-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .info-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
    .popup-container {
        max-width: 700px;
    }

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

/* Prevent body scroll when popup is open */
body.popup-open {
    overflow: hidden;
}

/* Mobile Responsive - CẬP NHẬT LẠI */
@media (max-width: 767px) {
    .popup-overlay {
        padding: 10px;
        /* Giảm padding */
    }

    .popup-container {
        max-height: 90vh;
        max-width: calc(100vw - 20px);
        /* Đảm bảo không tràn */
        width: 100%;
        margin: 0 auto;
        border-radius: 15px;
    }

    .popup-header {
        height: 150px;
    }

    .popup-title {
        padding: 15px;
        /* Giảm padding */
    }

    .popup-title h3 {
        font-size: 18px;
        /* Giảm font size */
    }

    .popup-title p {
        font-size: 12px;
    }

    .popup-body {
        padding: 15px;
        /* Giảm padding từ 20px xuống 15px */
        max-height: calc(90vh - 150px);
    }

    .popup-content h4 {
        font-size: 16px;
        /* Giảm font size */
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .popup-content p {
        font-size: 13px;
        /* Giảm font size */
        margin-bottom: 12px;
    }

    .popup-features {
        grid-template-columns: 1fr;
        gap: 10px;
        /* Giảm gap */
    }

    .feature-card {
        padding: 10px;
        /* Giảm padding */
        gap: 10px;
    }

    .feature-icon {
        width: 35px;
        /* Giảm size icon */
        height: 35px;
        font-size: 18px;
    }

    .feature-text strong {
        font-size: 13px;
    }

    .feature-text span {
        font-size: 11px;
    }

    .popup-stats {
        flex-direction: column;
        gap: 10px;
        /* Giảm gap */
        padding: 15px;
        /* Giảm padding */
        margin: 15px 0;
    }

    .stat-item {
        padding: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .stat-number {
        font-size: 24px;
        /* Giảm font size */
        margin-bottom: 3px;
    }

    .stat-label {
        font-size: 11px;
    }

    .info-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    /* Đảm bảo close button không bị che */
    .popup-close {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }

    .popup-close::before,
    .popup-close::after {
        width: 16px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .popup-container {
        max-width: calc(100vw - 16px);
    }

    .popup-overlay {
        padding: 8px;
    }

    .popup-body {
        padding: 12px;
    }

    .popup-title h3 {
        font-size: 16px;
    }

    .popup-content p {
        font-size: 12px;
    }
}

/* Thêm style để prevent horizontal scroll */
body.popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Fix cho iOS Safari */
@supports (-webkit-touch-callout: none) {
    .popup-container {
        max-width: calc(100vw - 30px);
    }
}

.step-badges.st4 {
    padding-top: 52px !important;
}

.step-right-content ul {
    padding-left: 45px;
}

.step-description.stdai {
    margin-bottom: 3px !important;
}
