/* ═══════════════════════════════════════════════
   LAYOUT - Hà Nội Portal
   ═══════════════════════════════════════════════ */

/* ─── Scroll Reveal Animations (Catalis-style) ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delay for children */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* Generic data-reveal fallback */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Page Background ─── */
.page-wrapper {
    position: relative;
    min-height: 100vh;
    background: var(--bg-body);
    overflow: hidden;
}

/* Decorative blurred shapes */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: var(--blur-glow);
    pointer-events: none;
    z-index: 0;
}

.bg-glow--top-right {
    width: 574px;
    height: 514px;
    top: 1100px;
    right: -240px;
    background: radial-gradient(circle, rgba(15, 58, 214, 0) 0%, rgba(0, 212, 234, 0.3) 100%);
    opacity: 0.3;
}

.bg-glow--left {
    width: 574px;
    height: 514px;
    top: 1415px;
    left: -198px;
    background: radial-gradient(circle, rgba(15, 58, 214, 0) 0%, rgba(0, 212, 234, 0.2) 100%);
    opacity: 0.2;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    max-width: 1472px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    height: 80px;
}

.header-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #64748B;
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #0F172A;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.header-icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 36px;
    cursor: pointer;
    border-radius: 10px;
}

.lang-switch:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-text {
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
}

.btn-auth {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-auth--primary {
    background: linear-gradient(143deg, rgba(37, 99, 235, 1) 0%, rgba(16, 30, 103, 1) 100%);
    color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0px 4px 6px -4px rgba(37, 99, 235, 0.25), 0px 10px 15px -3px rgba(37, 99, 235, 0.25);
}

.btn-auth:hover {
    transform: translateY(-1px);
    color: #FFFFFF;
    box-shadow: 0px 6px 12px -4px rgba(37, 99, 235, 0.35), 0px 14px 20px -3px rgba(37, 99, 235, 0.3);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-normal);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}


/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero-section {
    position: relative;
    padding-top: 81px;
    min-height: 1060px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 81px;
    left: 24px;
    right: 24px;
    height: 980px;
    border-radius: 48px;
    overflow: hidden;
    z-index: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-bg video,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transform-origin: center top;
}

/* Hero video is already animated — no extra gradient overlay needed */

.hero-content {
    position: relative;
    z-index: var(--z-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 777px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
}

.hero-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.hero-heading-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 700px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 36px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.22;
    letter-spacing: -0.014em;
    white-space: nowrap;
}

.hero-desc-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 600px;
}

.hero-description {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: var(--text-subtle);
    line-height: 1.5;
}

.btn-hero {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 24px 0 16px;
    height: 40px;
    width: 225px;
    background: linear-gradient(143deg, rgba(37, 99, 235, 1) 0%, rgba(16, 30, 103, 1) 100%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 24px;
    box-shadow: 0px 4px 6px -4px rgba(37, 99, 235, 0.25), 0px 10px 15px -3px rgba(37, 99, 235, 0.25);
    transition: all var(--transition-normal);
}

.btn-hero:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    box-shadow: 0px 8px 16px -4px rgba(37, 99, 235, 0.4), 0px 16px 24px -3px rgba(37, 99, 235, 0.35);
}

/* Stats row in hero */
.hero-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 150px var(--container-padding) 40px;
    position: relative;
    z-index: var(--z-base);
}


/* ═══════════════════════════════════════════════
   SECTION COMMON STYLES
   ═══════════════════════════════════════════════ */
.section {
    position: relative;
    z-index: var(--z-base);
    padding: var(--space-16) 0;
}

.map-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 100%);
    padding: 64px 0 80px;
}

.map-highlight-section {
    background: #FFFFFF;
    padding: 60px 0 28px;
}

.map-highlight-section .container {
    max-width: 1472px;
    padding: 0 24px;
}

.section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-title {
    font-size: var(--font-size-md-display);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.22;
    text-transform: uppercase;
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
    line-height: 1.56;
    max-width: 615px;
}


/* ═══════════════════════════════════════════════
   AI CHAT SECTION
   ═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════ */
.services-section {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    padding: 80px 0 100px;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/services.jpg') center/cover no-repeat;
    opacity: 0.03;
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
    max-width: 1472px;
    padding: 0 24px;
}

.services-header {
    text-align: center;
    margin-bottom: 56px;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    margin-bottom: 16px;
    padding: 8px 20px;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
}

.services-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
}

.services-badge-dot--red {
    background: #EF4444;
}

.services-title {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.services-subtitle {
    font-size: 16px;
    color: #64748B;
    margin: 0;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 22px;
    color: #2563EB;
}

.service-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 8px;
}

.service-card-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.service-card-link:hover {
    gap: 10px;
}

/* Support CTA Banner */
.support-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
    border-radius: 24px;
    padding: 40px 48px;
}

.support-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.support-cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.support-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.support-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 28px;
    height: 48px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.support-cta-btn--outline {
    background: #FFFFFF;
    color: #1D4ED8;
    border: 1.5px solid transparent;
}

.support-cta-btn--outline:hover {
    background: #F0F4FF;
}

.support-cta-btn--solid {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.support-cta-btn--solid:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}


/* ═══════════════════════════════════════════════
   PROCESS SECTION
   ═══════════════════════════════════════════════ */
.process-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF, #F6F8FC 100%);
    padding: 80px 0 100px;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.03;
    pointer-events: none;
}

.process-section .container {
    position: relative;
    z-index: 1;
    max-width: 1472px;
    padding: 0 24px;
}

.process-header {
    text-align: center;
    margin-bottom: 56px;
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.process-subtitle {
    font-size: 16px;
    color: #64748B;
    margin: 0;
}

/* Step Cards */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.process-step {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px 28px 32px;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.process-step:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Connecting line between cards */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 1px);
    width: 22px;
    height: 3px;
    background: #3B82F6;
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 1;
}


.process-step-badge {
    position: absolute;
    top: -18px;
    left: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.process-step-icon {
    width: 128px;
    height: 128px;
    border-radius: 16px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.process-step-icon video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.process-step-icon i {
    font-size: 28px;
    color: #2563EB;
}

.process-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 8px;
}

.process-step-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Bottom Stats */
.process-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px 24px;
}

.process-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
}

.process-stat-label {
    font-size: 14px;
    color: #64748B;
}

/* ═══════════════════════════════════════════════
   TRANSFORM / HỖ TRỢ CHUYỂN ĐỔI SECTION
   ═══════════════════════════════════════════════ */
.transform-section {
    position: relative;
    height: 759px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.transform-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/background-ho-tro-chuyen-doi.jpg') center/cover no-repeat;
    opacity: 0.03;
    z-index: 0;
}

.transform-section .container {
    max-width: 1472px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.transform-card {
    display: flex;
    gap: 32px;
}

/* Left: Image */
.transform-left {
    flex: 0 0 50%;
    position: relative;
    padding: 0;
}

.transform-image {
    border-radius: 20px;
    overflow: hidden;
    height: 540px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.transform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.transform-image-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.transform-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.transform-stat:last-child {
    align-items: flex-end;
    text-align: right;
}

.transform-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
}

.transform-stat:last-child .transform-stat-value {
    color: #2563EB;
}

.transform-stat-label {
    font-size: 13px;
    color: #64748B;
}

/* Right: Content */
.transform-right {
    flex: 1;
    padding: 0 48px 48px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.transform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #2563EB;
    padding: 8px 20px;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
    background: #FFFFFF;
    align-self: flex-start;
}

.transform-title {
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
    margin: 16px 0 12px;
    line-height: 1.3;
}

.transform-subtitle {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 32px;
}

.transform-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.transform-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.transform-feature-icon {
    font-size: 28px;
    color: #2563EB;
    flex-shrink: 0;
    margin-top: 2px;
}

.transform-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 4px;
}

.transform-feature-desc {
    font-size: 13px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

.transform-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    background: linear-gradient(135deg, #2563EB 0%, #101E67 100%);
    color: #FFFFFF;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    align-self: flex-start;
}

@media (hover: hover) {
    .transform-cta {
        box-shadow: 0 4px 6px -4px rgba(37, 99, 235, 0.25),
            0 10px 15px -3px rgba(37, 99, 235, 0.25);
    }

    .transform-cta:hover {
        color: #FFFFFF;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════
   NEWS / TIN TỨC & SỰ KIỆN SECTION
   ═══════════════════════════════════════════════ */
.news-section {
    background: #FFFFFF;
    padding: 80px 0 100px;
}

.news-section .container {
    max-width: 1400px;
}

.news-header-top {
    margin-bottom: 48px;
}

.news-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.news-main-title {
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    margin-top: 16px;
    margin-bottom: 8px;
}

.news-main-subtitle {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
}

.news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-top: 16px;
    flex-shrink: 0;
}

.news-view-all:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* News Layout: Featured + Side */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Featured Article */
.news-featured {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-featured:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.news-featured:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.news-featured-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.03);
}

.news-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    color: #FFFFFF !important;
}

.news-tag--blue {
    background: rgba(37, 99, 235, 0.9);
    color: #FFFFFF;
}

.news-tag--green {
    background: rgba(22, 163, 74, 0.9);
    color: #FFFFFF;
}

.news-featured-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-featured-body .news-read-more {
    margin-top: auto;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #94A3B8;
    margin-bottom: 12px;
}

.news-featured-title {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-featured-desc {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.news-read-more:hover {
    gap: 10px;
}

/* Side Cards */
.news-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-side-card {
    display: flex;
    gap: 0;
    padding: 0;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    flex: 1;
}

.news-side-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.news-side-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-side-image {
    position: relative;
    width: 180px;
    min-width: 180px;
    border-radius: 0;
    overflow: hidden;
}

.news-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-side-card:hover .news-side-image img {
    transform: scale(1.05);
}

.news-side-image .news-tag {
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 999px;
}

.news-side-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding: 14px 16px;
}

.news-side-body .news-read-more {
    margin-top: auto;
}

.news-side-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
    margin-bottom: 6px;
}

.news-side-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════
   DIRECTORY SECTION
   ═══════════════════════════════════════════════ */
.directory-section {
    background: #FFFFFF;
    padding: 80px 0 100px;
}

.directory-section .container {
    max-width: 1472px;
    padding: 0 24px;
}

.directory-header {
    text-align: center;
    margin-bottom: 48px;
}

.directory-title {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.directory-subtitle {
    font-size: 16px;
    color: #64748B;
    margin: 0;
}

.directory-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
}

/* Toolbar */
.directory-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    padding: 16px;
    background: linear-gradient(180deg, #F6F8FC 0%, #FFFFFF 100%);
}

.directory-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.directory-search:hover {
    border-color: #CBD5E1;
}

.directory-search:focus-within {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.directory-search i {
    color: #94A3B8;
    font-size: 16px;
}

.directory-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #0F172A;
    font-size: 14px;
    font-family: inherit;
}

.directory-search input::placeholder {
    color: #94A3B8;
}

.directory-filters {
    display: flex;
    gap: 8px;
}

.directory-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 48px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    color: #475569;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.directory-filter-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #0F172A;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown.is-open .directory-filter-btn {
    background: #EFF6FF;
    border-color: #2563EB;
    color: #2563EB;
}

.filter-dropdown.is-open .filter-chevron {
    transform: rotate(180deg);
}

.filter-chevron {
    font-size: 11px;
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.filter-dropdown.is-open .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s ease;
}

.filter-option:hover {
    background: #F1F5F9;
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563EB;
    cursor: pointer;
    flex-shrink: 0;
}

/* Table */
.directory-table-wrap {
    border-top: 1px solid #E2E8F0;
}

.directory-table {
    width: 100%;
    border-collapse: collapse;
}

.directory-table thead {
    background: #F8FAFC;
}

.directory-table th {
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    text-align: left;
    text-transform: none;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #E2E8F0;
}

.directory-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #F1F5F9;
}

.directory-table tbody tr:hover {
    background: #F8FAFC;
}

.td-code {
    color: #2563EB !important;
    font-weight: 500;
}

.td-name {
    font-weight: 600;
    color: #0F172A !important;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge--active {
    background: #DCFCE7;
    color: #16A34A;
}

.status-badge--pending {
    background: #FEF9C3;
    color: #CA8A04;
}

.status-badge--review {
    background: #DBEAFE;
    color: #2563EB;
}

/* Pagination */
.directory-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-top: 1px solid #E2E8F0;
    background: linear-gradient(180deg, #F6F8FC 0%, #FFFFFF 100%);
}

.directory-pagination-info {
    font-size: 13px;
    color: #64748B;
}

.directory-pagination-info strong {
    color: #0F172A;
}

.directory-pagination-controls {
    display: flex;
    gap: 6px;
}

.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background: #F1F5F9;
    color: #0F172A;
}

.page-btn.page-btn--active {
    background: #2563EB !important;
    border: 2px solid #2563EB !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.page-btn.page-btn--active:hover {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════
   DATA TABLE SECTION
   ═══════════════════════════════════════════════ */
.data-section {
    position: relative;
    z-index: var(--z-base);
}

.data-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.data-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-6);
}

.data-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--color-gray-200);
    border-radius: 999px;
    background: transparent;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.data-tab.active,
.data-tab:hover {
    background: var(--color-info);
    color: var(--text-inverse);
    border-color: var(--color-info);
}


/* ═══════════════════════════════════════════════
   CARD GRID
   ═══════════════════════════════════════════════ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════
   TABLE CARD SECTION
   ═══════════════════════════════════════════════ */
.table-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}


/* ═══════════════════════════════════════════════
   PARTNERS SECTION
   ═══════════════════════════════════════════════ */
.partners-section {
    background: #F0F4FA;
    min-height: 744px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 80px 0 60px;
}

.partners-header {
    text-align: center;
    margin-bottom: 56px;
}

.partners-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    padding: 8px 20px;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
    background: #FFFFFF;
    margin-bottom: 20px;
}

.partners-badge i {
    font-size: 16px;
    color: #2563EB;
}

.partners-title {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin-bottom: 12px;
}

.partners-title em {
    font-style: italic;
}

.partners-subtitle {
    font-size: 16px;
    color: #64748B;
    text-align: center;
}

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: marquee-scroll 45s linear infinite;
    width: max-content;
    padding: 0 12px;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 128px;
    padding: 24px 40px;
    background: linear-gradient(180deg, #F6F8FC 0%, #FFFFFF 100%);
    border: 1px solid #E7EDF5;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.partner-logo img {
    width: 200px;
    height: 112px;
    object-fit: contain;
    transition: opacity var(--transition-fast);
}

.partner-logo img:hover {
    opacity: 1;
}

.partners-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1472px;
    height: 166px;
    margin: 0 auto;
    background: linear-gradient(180deg, #F6F8FC 0%, #FFFFFF 100%);
    border: 1px solid #E7EDF5;
    border-radius: 16px;
    padding: 49px;
}

.partners-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partners-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.partners-stat-label {
    font-size: 14px;
    color: #64748B;
}

/* ═══════════════════════════════════════════════
   FLOATING AI CHAT BUTTON
   ═══════════════════════════════════════════════ */
.ai-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.ai-float-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #2F5FE3;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-float-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0px 30px 60px -12px rgba(37, 99, 235, 0.4);
}

.ai-float-btn:active {
    transform: translateY(0);
}

.ai-float-btn .bi-chat {
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1;
    display: block;
}

.ai-float-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 50%;
    background: #C4161C;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 7px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Chat Popup */
.ai-float-popup {
    width: 400px;
    background: #F5F5F5;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transform-origin: bottom right;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.ai-float-popup.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ai-float-popup__header {
    padding: 24px 24px 16px;
}

.ai-float-popup__greeting {
    font-size: 14px;
    color: #64748B;
    display: block;
    margin-bottom: 4px;
}

.ai-float-popup__title {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.ai-float-popup__input-area {
    padding: 0 16px 16px;
}

.ai-float-popup__input-wrap {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 16px 20px 12px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.ai-float-popup__textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    color: #0F172A;
    background: transparent;
    line-height: 1.5;
    min-height: 24px;
}

.ai-float-popup__textarea::placeholder {
    color: #94A3B8;
}

.ai-float-popup__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #F1F5F9;
}

.ai-float-popup__action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.ai-float-popup__action-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    position: relative;
    z-index: var(--z-base);
    background: #0B1F4D;
    overflow: hidden;
}

.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(128px);
    pointer-events: none;
}

.site-footer::before {
    top: 0;
    right: 0;
    background: rgba(37, 99, 235, 0.1);
}

.site-footer::after {
    top: 93px;
    left: 0;
    background: rgba(96, 165, 250, 0.1);
}

.footer-top {
    display: flex;
    gap: 80px;
    padding: 64px 37px 48px 32px;
    max-width: 1536px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-brand {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-org {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    transition: background var(--transition-fast);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-links {
    flex: 0.8;
}

.footer-links h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: #FFFFFF;
    margin-bottom: var(--space-4);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-contact {
    flex: 1;
    position: relative;
    z-index: 2;
}

.footer-contact h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: #FFFFFF;
    margin-bottom: var(--space-4);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact p i {
    color: #60A5FA;
    margin-right: 8px;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
}

.footer-contact p a:hover {
    color: #FFFFFF;
}

.footer-phone-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.footer-phone-icon i {
    color: #60A5FA;
    font-size: 14px;
}

.footer-phone-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer-hotline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-4) 32px;
    max-width: 1536px;
    margin: 48px auto 0;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-policies {
    display: flex;
    gap: 24px;
}

.footer-policies a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-policies a:hover {
    color: #FFFFFF;
}