:root {
    --primary-color: #0284C7;
    --primary-dark: #0369A1;
    --primary-light: #E0F2FE;
    --accent-teal: #0D9488;
    --navy-dark: #0F172A;
    --text-color: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --section-alt-bg: #F8FAFC;
    --footer-bg: #0F172A;
    --footer-text: #F8FAFC;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: #FFFFFF;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* =========================================================
   1. HERO SHOWCASE SLIDER (SWIPER + THUMBNAILS + PROGRESS)
========================================================= */
.hero-showcase-section {
    position: relative;
    padding: 24px 0 32px 0;
    background: linear-gradient(135deg, #0B1528 0%, #0E2F4F 50%, #0B1528 100%);
    overflow: hidden;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.hero-ambient-glow {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 18% 30%, rgba(2, 132, 199, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 82% 70%, rgba(13, 148, 136, 0.22) 0%, transparent 45%);
    pointer-events: none;
}

.hero-container {
    max-width: 1380px;
    position: relative;
    z-index: 2;
}

.hero-stage-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(56, 189, 248, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.heroMainSwiper {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #0F172A;
}

.heroMainSwiper .swiper-slide {
    padding: 0 !important;
}

.hero-slide-inner {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.hero-slider-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide-link:hover .hero-slider-img {
    transform: scale(1.015);
}

/* Floating "Xem chi tiết" CTA Pill on Banner */
.hero-cta-floating {
    position: absolute;
    bottom: 22px;
    right: 22px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    border: 1px solid rgba(56, 189, 248, 0.45);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 5;
}

.hero-slide-link:hover .hero-cta-floating {
    background: linear-gradient(135deg, #0284C7 0%, #0D9488 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45);
}

/* Floating Prev / Next Buttons */
.hero-swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.hero-swiper-prev {
    left: 18px;
}

.hero-swiper-next {
    right: 18px;
}

.hero-swiper-nav:hover {
    background: var(--primary-color);
    border-color: #38BDF8;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

/* Top-Right Slide Counter */
.hero-slide-counter {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #F8FAFC;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hero-slide-counter i {
    color: #38BDF8;
}

.hero-slide-counter .counter-sep {
    opacity: 0.5;
    margin: 0 2px;
}

/* Autoplay Progress Bar */
.hero-autoplay-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #38BDF8 0%, #2DD4BF 100%);
    transition: width 0.1s linear;
}

/* Interactive Thumbnail & Title Strip */
.hero-thumbs-wrapper {
    margin-top: 12px;
    padding: 2px 2px 0 2px;
}

.heroThumbSwiper .swiper-slide {
    padding: 2px !important;
    height: auto;
}

.hero-thumb-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 7px 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    height: 100%;
    opacity: 0.68;
}

.hero-thumb-card:hover {
    opacity: 0.95;
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(56, 189, 248, 0.35);
}

.heroThumbSwiper .swiper-slide-thumb-active .hero-thumb-card {
    opacity: 1;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.32) 0%, rgba(13, 148, 136, 0.25) 100%);
    border-color: #38BDF8;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.hero-thumb-img {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-thumb-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
}

.hero-thumb-num {
    font-size: 0.66rem;
    font-weight: 800;
    color: #38BDF8;
    line-height: 1.1;
}

.hero-thumb-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #F8FAFC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .hero-showcase-section {
        padding: 12px 0 18px 0;
    }
    .hero-stage-card {
        padding: 8px;
        border-radius: 14px;
    }
    .heroMainSwiper,
    .hero-slide-inner {
        border-radius: 10px;
    }
    .hero-swiper-nav {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
    .hero-swiper-prev { left: 8px; }
    .hero-swiper-next { right: 8px; }
    .hero-cta-floating {
        bottom: 10px;
        right: 10px;
        padding: 5px 12px;
        font-size: 0.72rem;
    }
    .hero-slide-counter {
        top: 8px;
        right: 8px;
        padding: 3px 10px;
        font-size: 0.7rem;
    }
}

/* =========================================================
   1.5. ARTICLE IMAGE LIGHTBOX STYLES
========================================================= */
.article-lightbox-link {
    position: relative;
    cursor: zoom-in;
    text-decoration: none;
}

.lightbox-zoom-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.85;
    transition: all 0.25s ease;
    pointer-events: none;
}

.article-lightbox-link:hover .lightbox-zoom-hint {
    opacity: 1;
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* =========================================================
   2. SECTION HEADERS (EYEBROW + TITLE + SUBTITLE)
========================================================= */
.section-header {
    text-align: center;
    margin-bottom: 44px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
    color: var(--primary-color);
    border: 1px solid rgba(2, 132, 199, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header .main-title {
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.25;
}

.section-header .section-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .section-header .main-title {
        font-size: 1.5rem;
    }
    .section-header {
        margin-bottom: 30px;
    }
}

/* =========================================================
   3. QUICK PORTAL GRID (KNOWLEDGE FOR BETTER HEALTHCARE)
========================================================= */
.info-grid-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
}

.info-card {
    background: #FFFFFF;
    padding: 30px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.11);
    border-color: #BAE6FD;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: #0284C7;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card-icon.icon-teal {
    background: linear-gradient(135deg, #CCFBF1 0%, #99F6E4 100%);
    color: #0D9488;
}

.info-card-icon.icon-indigo {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
    color: #4F46E5;
}

.info-card-icon.icon-sky {
    background: linear-gradient(135deg, #E0F2FE 0%, #7DD3FC 100%);
    color: #0369A1;
}

.info-card-icon.icon-emerald {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #059669;
}

.info-card-icon.icon-amber {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
}

.info-card:hover .info-card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.info-card-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: #F1F5F9;
    line-height: 1;
    user-select: none;
    transition: color 0.3s ease;
}

.info-card:hover .info-card-number {
    color: #E0F2FE;
}

.info-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.info-card:hover .info-card-title {
    color: var(--primary-color);
}

.info-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.info-card-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: gap 0.25s ease, color 0.25s ease;
}

.info-card:hover .info-card-link {
    gap: 8px;
    color: var(--primary-dark);
}

/* =========================================================
   4. NEWS & PUBLICATIONS TAB SECTIONS
========================================================= */
.news-tab-section {
    padding: 72px 0;
    background-color: #FFFFFF;
}

.news-tab-section.bg-section-alt {
    background-color: #F4F7FB;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

/* Tùy chỉnh thanh Tab (Nav Pills) */
.custom-nav-pills {
    justify-content: center;
    margin-bottom: 38px;
    gap: 10px;
    border: none;
    flex-wrap: wrap;
}

.custom-nav-pills .nav-link {
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 700;
    color: #475569;
    background-color: #FFFFFF;
    border: 1px solid #CBD5E1;
    transition: all 0.25s ease;
    text-transform: uppercase;
    font-size: 0.84rem;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.custom-nav-pills .nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #F0F9FF;
    transform: translateY(-1px);
}

.custom-nav-pills .nav-link.active {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.28);
}

/* Card tin tức trong Tab */
.news-tab-card {
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.news-tab-card:hover {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
    transform: translateY(-6px);
    border-color: #BAE6FD;
}

/* Wrapper để xử lý zoom ảnh */
.card-img-wrapper {
    overflow: hidden;
    height: 195px;
    position: relative;
    background-color: #F1F5F9;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.news-tab-card:hover .card-img-wrapper img {
    transform: scale(1.07);
}

/* Book Cover Card (Thư viện số) */
.book-cover-wrapper {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(145deg, #F1F5F9 0%, #E2E8F0 100%);
    position: relative;
    border-bottom: 1px solid #F1F5F9;
}

.book-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-cover-wrapper img {
    transform: scale(1.05);
}

/* Nội dung card */
.news-tab-card .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.news-date i {
    color: var(--primary-color);
}

.news-cat-badge {
    display: inline-flex;
    align-items: center;
    background-color: #F0F9FF;
    color: var(--primary-color);
    border: 1px solid #BAE6FD;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.news-cat-badge:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
}

.news-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: 1.48;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    color: var(--navy-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-tab-card:hover .news-title a,
.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px dashed #E2E8F0;
    transition: all 0.25s ease;
}

.btn-read-more:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* Section "Xem tất cả" Button */
.btn-section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    background-color: #FFFFFF;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.btn-section-more:hover {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

/* =========================================================
   5. PARTNER / SPONSOR SECTION
========================================================= */
.partner-section-pro {
    padding: 76px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    text-align: center;
}

.tier-badge-wrap {
    margin-bottom: 28px;
}

.partner-tier-title {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.tier-platinum .partner-tier-title {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    color: #1E293B;
    border: 1px solid #CBD5E1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.tier-platinum .partner-tier-title i {
    color: #0284C7;
}

.tier-gold .partner-tier-title {
    background: linear-gradient(135deg, #FEF9C3 0%, #FEF08A 100%);
    color: #854D0E;
    border: 1px solid #FDE047;
}

.tier-gold .partner-tier-title i {
    color: #CA8A04;
}

.tier-silver .partner-tier-title {
    background: #F8FAFC;
    color: #475569;
    border: 1px solid #E2E8F0;
    font-size: 1rem;
}

.partner-box {
    height: 130px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 18px;
    margin-bottom: 10px;
}

.partner-box img {
    max-height: 82px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.partner-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

.partner-box.platinum {
    border-color: #CBD5E1;
}
.partner-box.platinum:hover {
    border-color: var(--primary-color);
}
.partner-box.platinum img {
    filter: grayscale(0%);
    opacity: 1;
    max-height: 90px;
}

.partner-box.gold:hover {
    border-color: #EAB308;
}

.partner-box.silver {
    height: 110px;
}
.partner-box.silver:hover {
    border-color: #94A3B8;
}

.swiper-slide {
    padding: 10px 6px 25px 6px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

/* =========================================================
   6. UNIFIED MEDICAL-ACADEMIC FOOTER
========================================================= */
.site-footer,
footer {
    background: linear-gradient(180deg, #0F172A 0%, #090E1A 100%);
    color: #E2E8F0;
    padding-top: 64px;
    padding-bottom: 32px;
    font-size: 0.9rem;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    margin-bottom: 24px;
    padding-bottom: 12px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
}

.footer-info p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #CBD5E1;
}

.footer-info strong {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38BDF8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 12px;
    font-size: 0.85rem;
}

.footer-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #F8FAFC;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.footer-social-pill:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-bank-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-left: 4px solid #38BDF8;
    border-radius: 12px;
    padding: 16px;
}

.footer-bank-card .bank-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-quick-links li {
    margin-bottom: 12px;
}

.footer-quick-links li a {
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    padding: 4px 0;
}

.footer-quick-links li a i {
    color: #38BDF8;
    width: 18px;
    text-align: center;
    transition: transform 0.25s ease;
}

.footer-quick-links li a:hover {
    color: #38BDF8;
    transform: translateX(4px);
}

.footer-form .input-group-text {
    background: #1E293B;
    border: 1px solid #334155;
    color: #38BDF8;
}

.footer-form .form-control {
    background-color: #1E293B;
    border: 1px solid #334155;
    color: #F8FAFC;
    padding: 9px 12px;
    font-size: 0.88rem;
}

.footer-form .form-control::placeholder {
    color: #94A3B8;
}

.footer-form .form-control:focus {
    background-color: #0F172A;
    border-color: #38BDF8;
    color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.btn-footer-submit {
    background: linear-gradient(135deg, #0284C7 0%, #0D9488 100%);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-footer-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
    color: #FFFFFF;
}

/* Scroll Top Button */
#scrollToTopBtn {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    color: white;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#scrollToTopBtn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.55);
}

/* =========================================================
   7. SUBPAGE & LEGACY COMPONENT STYLES (PRESERVED)
========================================================= */
/* --- Quick Actions & Legacy News Blocks --- */
.quick-action-box {
    background: #fff; border-radius: 15px; padding: 25px 15px; text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s; height: 100%; border: 1px solid #f0f0f0; cursor: pointer;
}
.quick-action-box:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.quick-action-icon {
    font-size: 2rem; color: var(--primary-color); margin-bottom: 15px;
    background: #f8f9fa; width: 60px; height: 60px; line-height: 60px; border-radius: 50%; display: inline-block;
}

.news-section { padding: 60px 0; background-color: #f4f6f9; }
.big-post-card {
    background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); height: 100%;
}
.big-post-img { height: 350px; object-fit: cover; width: 100%; }
.small-post-card {
    background: #fff; border-radius: 8px; padding: 15px; margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); display: flex; gap: 15px; align-items: flex-start;
}
.small-post-img {
    width: 140px; height: 100px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
}

/* --- Menu Hover on Desktop --- */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.25s ease;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Single Post Styles --- */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}
.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-post {
    background: #fff;
    padding-bottom: 40px;
}

.post-header {
    margin-bottom: 25px;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 15px;
    line-height: 1.35;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #64748B;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.post-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    text-align: justify;
}

.post-content img {
    max-width: 100%;
    width: auto !important;
    height: auto !important;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content p, .post-content p > span {
    font-size: 1.0em !important;
}

/* Social Share & Like Buttons */
.post-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-like {
    border: 1px solid #e9ecef;
    background: #fff;
    color: #dc3545;
    padding: 8px 20px;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-like:hover {
    background: #dc3545;
    color: #fff;
}

.social-share-btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #555;
    margin-left: 10px;
    transition: 0.3s;
    text-decoration: none;
}
.social-share-btns a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Sidebar Widget Styles --- */
.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.widget-recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.widget-recent-post-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.widget-recent-post-content h6 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}
.widget-recent-post-content h6 a {
    color: #1E293B;
    text-decoration: none;
    transition: 0.2s;
}
.widget-recent-post-content h6 a:hover {
    color: var(--primary-color);
}
.widget-recent-post-date {
    font-size: 0.8rem;
    color: #94A3B8;
}

.partner-grid-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.partner-item-sidebar {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: #fff;
}
.partner-item-sidebar img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

/* --- Category Page Styles --- */
.category-header {
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}
.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    display: inline-block;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 13px;
    margin-bottom: -17px;
}

.cat-post-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.cat-post-item:last-child {
    border-bottom: none;
}

.cat-post-thumb {
    width: 280px;
    height: 190px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.cat-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-post-item:hover .cat-post-thumb img {
    transform: scale(1.08);
}

.cat-post-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cat-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cat-post-title a {
    color: var(--navy-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.cat-post-title a:hover {
    color: var(--primary-color);
}

.cat-post-meta {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 12px;
}
.cat-post-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.cat-post-excerpt {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    justify-content: center;
}

.page-link {
    color: #475569;
    border: 1px solid #dee2e6;
    margin: 0 3px;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
}

.page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    .cat-post-item {
        flex-direction: column;
    }
    .cat-post-thumb {
        width: 100%;
        height: 200px;
    }
}

/* --- Contact Page Styles --- */
.contact-page {
    background: #fff;
    padding-bottom: 60px;
}

.contact-map {
    width: 100%;
    height: 400px;
    border: none;
    margin-bottom: 40px;
    background: #eee;
}

.contact-info-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    height: 100%;
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-info-item strong {
    color: #333;
    font-weight: 600;
}

.contact-form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form-control {
    background-color: #fdfdfd;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.contact-form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 132, 199, 0.2);
}

/* =========================================
   MULTILEVEL DROPDOWN MENU
========================================= */
.dropdown-submenu {
    position: relative;
}

.dropdown-menu .dropdown-menu {
    display: none !important;
    left: 100%;
    top: 0;
    margin-top: -1px;
}

@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        float: right;
        margin-top: 6px;
        margin-left: 1.5rem;
        border-top: 0.3em solid transparent;
        border-right: 0;
        border-bottom: 0.3em solid transparent;
        border-left: 0.3em solid;
    }
}

@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        display: block !important;
        position: static;
        margin-left: 20px;
        padding-left: 10px;
        border: none;
        border-left: 2px solid #e2e8f0;
        background: transparent;
        box-shadow: none;
    }
    
    .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(0deg);
    }
}

.dropdown-menu {
    min-width: 220px;
}

.dropdown-item {
    white-space: nowrap;
    padding-right: 1.5rem;
}

/* --- HIGHLIGHT SEARCH RESULTS --- */
mark.highlight {
    background-color: #FEF08A;
    color: #0F172A;
    padding: 0 3px;
    border-radius: 3px;
    font-weight: 700;
}

/* --- Word Table Formatting --- */
.WordSection1 {
    font-family: 'Be Vietnam Pro', Arial, sans-serif;
    color: #333;
    overflow-x: auto;
}

.WordSection1 table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.WordSection1 table thead tr th {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
    padding: 12px 15px;
    border: 1px solid #ccc;
    white-space: nowrap;
}

.WordSection1 table tbody tr td {
    padding: 12px 15px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.WordSection1 table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.WordSection1 table tbody tr:hover {
    background-color: #e6f7ff;
    transition: background-color 0.2s ease;
}

.WordSection1 table tbody tr td:first-child {
    text-align: center;
    font-weight: bold;
}

.WordSection1 table tbody tr td:nth-child(3) {
    font-weight: 600;
    color: #005f4b;
}

.WordSection1 p.MsoNormal {
    margin: 10px 0 !important;
    color: #2c3e50;
}

/* --- Share Section --- */
.share-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.share-section:hover {
    background: #fff;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.share-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    margin-right: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

.social-btn i {
    font-size: 18px;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-facebook { background-color: #1877f2; }
.btn-twitter  { background-color: #1da1f2; }
.btn-zalo     { background-color: #0068ff; }
.btn-email    { background-color: #ea4335; }
.btn-copy     { background-color: #6c757d; }

.tooltip-copy {
    position: relative;
}
.tooltip-copy::after {
    content: "Đã copy!";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    pointer-events: none;
}
.tooltip-copy.copied::after {
    opacity: 1;
    visibility: visible;
    bottom: 115%;
}
