﻿
.hero-section {
    background: radial-gradient( circle at 95% -10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 30%, transparent 70% );
    position: relative;
}

/* Màu chữ thương hiệu */
.text-brand-brown {
    color: var(--brand-brown);
}

.text-brand-orange {
    color: var(--brand-orange);
}

.bg-brand-orange {
    background-color: var(--brand-orange);
}

.bg-brand-soft {
    background-color: var(--brand-soft-orange);
}

/* Button Styles */
.btn-primary {
    background-color: var(--brand-orange);
    color: white;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-primary:hover {
        background-color: #e69500;
        transform: translateY(-1px);
    }

.btn-outline {
    border: 1.5px solid var(--brand-orange);
    color: var(--brand-orange);
    transition: all 0.2s ease;
}

    .btn-outline:hover {
        background-color: var(--brand-soft-orange);
    }

/* Card & Stats */
.stat-card {
    background: var(--brand-soft-orange);
    border: 1px solid rgba(var(--brand-orange-rgb), 0.15);
    transition: all 0.2s ease;
}

    .stat-card:hover {
        background: white;
        border-color: var(--brand-orange);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--brand-orange-rgb), 0.1);
    }

.feature-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        border-color: var(--brand-orange);
        background: var(--brand-soft-orange);
    }

.text-brand-orange {
    color: var(--brand-orange);
}
/* Section Title Decor */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-orange);
    margin: 12px auto 0;
    border-radius: 2px;
}

.stat-card {
    background: var(--brand-soft-orange);
    border: 1px solid rgba(249, 163, 26, 0.15);
    transition: all 0.2s ease;
}

    .stat-card:hover {
        background: white;
        border-color: var(--brand-orange);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(249, 163, 26, 0.08);
    }

/* Slider logo */
.logo-slider {
    overflow: hidden;
    padding: 12px 0;
    border-top: 1px solid #f9f9f9;
    background: rgba(255,255,255,0.78);
    position: relative;
}

    .logo-slider::before, .logo-slider::after {
        content: "";
        position: absolute;
        top: 0;
        width: 40px;
        height: 100%;
        z-index: 2;
    }

    .logo-slider::before {
        left: 0;
        background: linear-gradient(to right, white, transparent);
    }

    .logo-slider::after {
        right: 0;
        background: linear-gradient(to left, white, transparent);
    }

.logo-track {
    display: flex;
    width: calc(140px * 20);
    animation: scroll 30s linear infinite;
    align-items: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    width: 160px; /* tăng thêm */
    margin: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.partner-logo {
    height: 52px; /* tăng mạnh cho rõ logo */
    width: auto;
    object-fit: contain;
    margin-bottom: 6px;
    transition: transform 0.25s ease;
}

/* hover nhẹ cho sống động */
.partner-item:hover .partner-logo {
    transform: scale(1.08);
}

.partner-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-brown);
    opacity: 0.85;
    white-space: nowrap;
}

.logo-slider {
    padding: 22px 0;
}

.decor-blob {
    position: absolute;
    z-index: 0;
    filter: blur(50px);
    opacity: 0.15;
    pointer-events: none;
}

.ts-wrapper.single .ts-control {
    background: #fff;
}

.cta-pulse {
    animation: pulse-glow 3s infinite ease-in-out;
}


.animated-gradient-map {
    background: linear-gradient(-45deg, #6366f1, #8b5cf6, #ec4899, #22d3ee);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
}

.ping-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #a8a8a8;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #888;
    }

/* ===== LOGO SLIDER ===== */
.logo-container {
    position: relative;
    overflow: hidden;
}

#logo-slider::-webkit-scrollbar {
    display: none;
}

/* ===== MAP DOT ===== */
.floating-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #f97316;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

    .floating-dot::after {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border-radius: 50%;
        border: 2px solid #f97316;
        animation: pulse 2s infinite;
    }

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

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

/* ===== REGION CARD ===== */
.region-card:hover .icon-box {
    background-color: #f97316;
    color: white;
    transform: scale(1.05);
}

.region-card.active {
    border-left-color: #f97316;
    background-color: #fffaf5;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateX(8px);
}

/* ===== MAP ===== */
.map-wrapper {
    max-width: 380px;
    margin: 0 auto;
}

.map-image {
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

/* ===== ANIMATION ===== */
@keyframes slide-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}
/* Hiệu ứng điểm nổi trên bản đồ */
.floating-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--brand-orange);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 0 15px rgba(249, 163, 26, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%); /* Giữ điểm cố định tâm khi scale */
}

    .floating-dot::after {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 2px solid var(--brand-orange);
        animation: dotPing 2s infinite;
    }

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

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

.floating-dot.active {
    background: var(--brand-brown);
    transform: translate(-50%, -50%) scale(1.4);
    box-shadow: 0 0 20px rgba(45, 30, 20, 0.4);
    z-index: 30;
}

    .floating-dot.active::after {
        border-color: var(--brand-brown);
    }

/* Card Active State */
.region-card {
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
}

    .region-card.active {
        border-left-color: var(--brand-orange) !important;
        background-color: var(--brand-soft);
        transform: translateX(8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

@media (max-width: 768px) {
    .region-card.active {
        transform: translateY(-4px); /* Mobile dịch chuyển lên nhẹ thay vì ngang */
    }
}

.region-card.active .icon-box {
    background: var(--brand-orange);
    color: white;
    transform: rotate(-10deg);
}

.icon-box {
    transition: all 0.3s ease;
}

.map-image {
    filter: contrast(1.02) brightness(1.02);
    width: 100%;
    height: auto;
    display: block;
}

/* Overlay bảo vệ bản đồ để tránh scroll nhầm trên mobile */
.map-container-inner {
    touch-action: manipulation;
    position: relative;
}

/* Giới hạn chiều cao bản đồ trên mobile để không chiếm hết màn hình */
@media (max-width: 640px) {
    .map-aspect-ratio {
        max-width: 320px;
        margin: 0 auto;
    }
}
.entry-content img.emoji,
.post-content img.emoji,
article img.emoji,
div img.emoji {
    height: 1em !important;
    width: 1em !important;
    min-width: 1em !important;
    min-height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    display: inline-block !important;
    vertical-align: -0.1em !important;
    margin: 0 0.05em !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}