/* ==========================================================================
   2BLOVER - EXACT SKETCH DESIGN SYSTEM
   Phong cách chuẩn xác theo 3 bản thảo vẽ tay
   Màu sắc nhận diện: Hồng Magenta (#ff2d60) & Xanh (#007aff) từ Logo
   ========================================================================== */

:root {
    --color-pink: #ff2d60;
    --color-pink-hover: #e01b4c;
    --color-blue: #007aff;
    --color-dark: #0f172a;
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-footer: #0c1527;

    --font-sans: 'Nunito', ui-rounded, 'Arial Rounded MT Bold', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-soft: 0 4px 16px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 10px 25px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

button, input, textarea, select {
    font: inherit;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-pink { color: var(--color-pink); }
.font-bold { font-weight: 700; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-pink) 0%, #ff5e84 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 45, 96, 0.3);
}

.btn-primary:hover {
    background: var(--color-pink-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 96, 0.4);
}

.btn-outline {
    background: #ffffff;
    color: var(--color-pink);
    border: 1px solid var(--color-pink);
}

.btn-outline:hover {
    background: var(--color-pink);
    color: #ffffff;
}

/* Wavy divider in sketch */
.wavy-line {
    width: 80px;
    height: 4px;
    background: var(--color-pink);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 251, 246, .96);
    backdrop-filter: blur(16px);
    padding: 18px 0;
}

.nav-container {
    max-width: 1320px;
    padding-inline: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    border-radius: 16px;
}

.brand-logo {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 700;
    color: #694d40;
    line-height: 1.5;
}

.nav-link:hover {
    color: #8d432c;
    background: #f9e9db;
}

.nav-link i { font-size: .875rem; }

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid #ead9ca;
    border-radius: 50%;
    background: #fff6ed;
    font-size: 1.2rem;
    color: #694d40;
    cursor: pointer;
}

.navbar :is(a, button):focus-visible {
    outline: 3px solid #a45438;
    outline-offset: 4px;
}

/* ==========================================================================
   1. HERO — rounded typography and a soft lakeside landscape
   ========================================================================== */
.hero-banner-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0 18px;
    border-radius: 36px;
    background: #fff0de;
    color: #644738;
}

.hero-landscape {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 28%;
}

.hero-landscape-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.hero-banner-section::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #fff0de 0%, #fff0de 28%, rgba(255, 240, 222, .94) 39%, rgba(255, 240, 222, .4) 58%, transparent 76%);
}

.hero-layout {
    max-width: 1320px;
    min-height: 640px;
    padding: 68px 48px 76px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(100%, 630px);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 7px 16px;
    border: 1px solid rgba(156, 100, 66, .17);
    border-radius: 999px;
    background: rgba(255, 252, 247, .65);
    color: #805a45;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.6;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(3.25rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.hero-title > span {
    display: block;
}

.hero-title > .hero-title-accent {
    margin-top: 10px;
    font-size: .84em;
    color: #a55337;
    font-weight: 700;
    letter-spacing: -.03em;
}

.hero-description {
    max-width: 440px;
    margin-top: 26px;
    color: #765b4a;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-cta,
.hero-about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
}

.hero-cta {
    padding: 14px 25px;
    color: #fffaf4;
    background: #a45438;
    border: 1px solid #a45438;
    box-shadow: 0 8px 24px rgba(145, 78, 45, .14);
}

.hero-cta:hover {
    background: #88402a;
    border-color: #88402a;
    transform: translateY(-2px);
}

.hero-cta > span,
.hero-about > span {
    font-size: 1.2rem;
}

.hero-about {
    padding: 14px 22px;
    color: #76503a;
    background: rgba(255, 251, 244, .64);
    border: 1px solid rgba(156, 100, 66, .22);
}

.hero-about:hover {
    background: #fffaf3;
    border-color: rgba(156, 100, 66, .45);
}

.hero-actions a:focus-visible {
    outline: 3px solid #683d28;
    outline-offset: 5px;
}

#chuong-trinh,
#dong-hanh,
#cong-dong,
#telegram-section,
#youtube {
    scroll-margin-top: 95px;
}

@media (max-width: 1050px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% - 4px);
        left: 18px;
        right: 18px;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 12px;
        background: #fffbf6;
        border: 1px solid #eeded0;
        border-radius: 24px;
        box-shadow: 0 16px 36px rgba(96, 63, 40, .1);
    }
    .nav-menu.active { display: flex; }
    .nav-link { padding-inline: 18px; }
    .mobile-toggle { display: inline-grid; place-items: center; }
}

@media (max-width: 1024px) {
    .hero-layout { min-height: 600px; padding: 60px 32px 70px; }
    .hero-copy { width: 60%; }
    .hero-title { font-size: clamp(2.7rem, 5.6vw, 3.7rem); }
    .hero-description { max-width: 380px; }
    .hero-actions { gap: 12px; }
}

@media (max-width: 700px) {
    .nav-container { padding-inline: 24px; }
    .navbar { padding: 12px 0; }
    .brand-logo { height: 44px; }
    .hero-banner-section { margin-inline: 10px; border-radius: 28px; }
    .hero-layout { min-height: auto; padding: 36px 22px 265px; }
    .hero-copy { width: 100%; }
    .hero-eyebrow { margin-bottom: 22px; }
    .hero-title { font-size: clamp(2.3rem, 8.9vw, 3.8rem); line-height: 1.22; }
    .hero-title > .hero-title-accent { margin-top: 9px; }
    .hero-description { max-width: 460px; margin-top: 22px; }
    .hero-actions { margin-top: 24px; }
    .hero-landscape { inset: auto 0 0; height: 350px; }
    .hero-landscape-image { object-position: 75% 65%; }
    .hero-banner-section::after {
        background: linear-gradient(180deg, #fff0de 0%, #fff0de calc(100% - 330px), rgba(255, 240, 222, .85) calc(100% - 270px), transparent calc(100% - 170px));
    }
}

@media (max-width: 380px) {
    .hero-layout { padding-inline: 20px; }
    .hero-eyebrow { padding-inline: 12px; }
    .hero-actions { gap: 8px 18px; }
    .hero-cta { padding-inline: 18px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-actions a { transition: none; }
    .hero-cta:hover { transform: none; }
}

/* ==========================================================================
   2. SECTION: ĐỘI NGŨ PHỤNG SỰ 2BLOVER TRÂN TRỌNG BIẾT ƠN (Hình 1)
   ========================================================================== */
.gratitude-section {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

.gratitude-header {
    margin-bottom: 50px;
}

.gratitude-pretitle {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.gratitude-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--color-pink);
    letter-spacing: 1px;
}

.gratitude-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gratitude-col {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
}

.gratitude-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gratitude-col ul li {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: var(--color-dark);
}

.col-community {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff5f7;
    border-color: rgba(255, 45, 96, 0.3);
}

.community-heading {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--color-pink);
}

/* ==========================================================================
   3. SECTION: 2BLOVER ĐỒNG HÀNH & SỨ MỆNH - TẦM NHÌN (Hình 1)
   ========================================================================== */
.identity-section {
    padding: 85px 0;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.identity-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
}

.brand-heading {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-pink);
    margin-bottom: 18px;
}

.identity-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.highlight-seven {
    background: #ffffff;
    border-left: 4px solid var(--color-pink);
    padding: 18px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-soft);
}

.highlight-seven strong {
    color: var(--color-pink);
}

.identity-col-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mission-item {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    box-shadow: var(--shadow-soft);
}

.item-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--color-blue);
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.item-desc {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.6;
}

/* ==========================================================================
   4. SECTION: CỘNG ĐỒNG 2BLOVER (Hình 2)
   ========================================================================== */
.community-section {
    padding: 85px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

.community-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 45px;
}

.community-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 14px;
}

.community-manifesto {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.75;
}

.community-manifesto strong {
    color: var(--color-pink);
}

.sketch-card-baby {
    background: var(--color-bg-light);
    border: 1.5px dashed var(--color-pink);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.sketch-illustration {
    position: relative;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.baby-icon {
    font-size: 3.2rem;
    color: var(--color-pink);
}

.flying-hearts {
    position: absolute;
    top: 2px;
    right: 15px;
    font-size: 1rem;
}

.baby-sublogo {
    position: absolute;
    bottom: 0;
    right: -20px;
    height: 30px;
    width: auto;
}

.btn-zoom-cta {
    font-size: 0.88rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
}

/* 3 Cột số liệu thống kê chuẩn theo hình vẽ */
.community-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
}

.stat-col {
    padding: 26px 20px;
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.stat-col:last-child {
    border-right: none;
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-pink);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-lbl {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   5 & 6. SECTION: KÊNH TELEGRAM & KÊNH YOUTUBE (Giống phiên bản old)
   ========================================================================== */
.topics-section,
.youtube-topics-section,
.radio-section {
    padding: 85px 0;
    border-bottom: 1px solid var(--color-border);
}

.topics-section { background: #f8fafc; }
.youtube-topics-section { background: #ffffff; }
.radio-section { background: #fdfaf7; }

.section-title-wrap {
    margin-bottom: 45px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.badge-telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.25);
}

.badge-youtube {
    background: rgba(224, 36, 36, 0.1);
    color: #e02424;
    border: 1px solid rgba(224, 36, 36, 0.25);
}

.section-heading {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.section-subtext {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted);
    line-height: 1.6;
    margin-top: 8px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.topic-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: rgba(255, 45, 96, 0.35);
}

.video-card-interactive {
    cursor: pointer;
}

.topic-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

.topic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.topic-card:hover .topic-thumb img {
    transform: scale(1.06);
}

.thumb-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tag-tg {
    background: rgba(0, 136, 204, 0.9);
    color: #ffffff;
}

.tag-yt {
    background: rgba(224, 36, 36, 0.9);
    color: #ffffff;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 45, 96, 0.92);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, background 0.25s ease;
    z-index: 3;
}

.topic-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--color-pink-hover);
}

.topic-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.topic-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

.topic-body p {
    font-size: 0.86rem;
    color: var(--color-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.topic-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed var(--color-border);
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
}

.link-more {
    color: var(--color-pink);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.link-more:hover {
    transform: translateX(3px);
}

.margin-top-lg {
    margin-top: 36px;
}

.btn-lg {
    padding: 13px 28px;
    font-size: 0.98rem;
    border-radius: var(--radius-sm);
}

/* Radio Box */
.radio-box {
    padding: 24px;
}

.radio-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.radio-icon {
    font-size: 1.5rem;
    color: var(--color-pink);
}

.radio-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-dark);
    flex-grow: 1;
}

.btn-play-radio {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-play-radio:hover {
    background: var(--color-pink);
    color: #ffffff;
    border-color: var(--color-pink);
}

/* ==========================================================================
   7. FOOTER (Hình 1 & Hình 3)
   ========================================================================== */
.footer {
    background: var(--color-footer);
    color: #cbd5e1;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.company-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.footer-col-left p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-col-left strong {
    color: #ffffff;
}

.footer-col-left a {
    color: var(--color-pink);
}

.footer-links-group {
    margin-top: 10px;
    font-size: 0.88rem;
    font-weight: 700;
}

.footer-links-group a {
    color: #e2e8f0;
}

.footer-links-group a:hover {
    color: var(--color-pink);
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.social-btn:hover {
    background: var(--color-pink);
}

.legal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.legal-list li a {
    font-size: 0.88rem;
    font-weight: 700;
    color: #cbd5e1;
}

.legal-list li a:hover {
    color: var(--color-pink);
}

.newsletter-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.newsletter-title {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
}

.btn-sub {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.footer-copyright {
    padding-top: 24px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
}

/* ==========================================================================
   HỆ THỐNG CHƯƠNG TRÌNH ĐÀO TẠO (ONLINE & OFFLINE)
   ========================================================================== */
.programs-section {
    padding: 85px 0;
    background: #faf8f5;
    border-bottom: 1px solid var(--color-border);
}

/* Filter Tabs */
.program-filter-tabs {
    display: inline-flex;
    gap: 8px;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    margin-top: 26px;
    box-shadow: var(--shadow-sm);
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    background: transparent;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:hover {
    color: var(--color-pink);
}

.tab-btn.active {
    background: var(--color-pink);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 45, 96, 0.35);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.program-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.program-card.hidden {
    display: none !important;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: rgba(255, 45, 96, 0.4);
}

.program-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    color: #ffffff;
}

.badge-online {
    background: var(--color-pink);
    box-shadow: 0 4px 10px rgba(255, 45, 96, 0.35);
}

.badge-offline {
    background: var(--color-blue);
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.35);
}

.program-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #fff1e5;
    cursor: pointer;
}

.program-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.program-thumb-wrap:hover .program-thumb-img {
    transform: scale(1.04);
}

.thumb-zoom-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.program-thumb-wrap:hover .thumb-zoom-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Thumbnail: Vạn Bước Yêu Thương */
.program-thumb-vanbuoc {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 60%, #fbbf24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.program-thumb-vanbuoc::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: -40px;
    right: -40px;
}

/* Thumbnail: Giáng Sinh Yêu Thương */
.program-thumb-giangsinh {
    background: linear-gradient(135deg, #881337 0%, #be123c 60%, #e11d48 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.program-thumb-giangsinh::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 222, 89, 0.35) 0%, transparent 70%);
    bottom: -40px;
    left: -40px;
}

.offline-thumb-content {
    text-align: center;
    color: #ffffff;
    padding: 20px 16px;
    position: relative;
    z-index: 1;
}

.offline-icon {
    font-size: 2.6rem;
    margin-bottom: 10px;
    display: block;
}

.icon-walking {
    color: #fffbeb;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.icon-xmas {
    color: #fde047;
    filter: drop-shadow(0 4px 10px rgba(253, 224, 71, 0.5));
}

.offline-tagline {
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.offline-subtag {
    font-size: 0.74rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    line-height: 1.35;
}

.program-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.35;
    margin-bottom: 6px;
}

.program-org {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--color-pink);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.program-meta-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--color-border);
    flex-grow: 1;
}

.program-meta-item {
    font-size: 0.88rem;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-meta-item i {
    color: var(--color-pink);
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.program-card-footer {
    display: flex;
    gap: 10px;
}

.btn-program-action {
    flex: 1.2;
    padding: 11px 12px;
    font-size: 0.84rem;
}

.btn-program-detail {
    flex: 1;
    padding: 11px 10px;
    font-size: 0.82rem;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 780px;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Poster Modal Lightbox */
.modal-dialog-poster {
    max-width: 960px;
    background: #111;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.poster-modal-content {
    display: flex;
    flex-direction: column;
}

.poster-modal-img-wrap {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster-modal-img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.poster-modal-bar {
    background: #181b22;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.poster-modal-title h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.poster-modal-title p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.btn-modal-cta {
    padding: 10px 22px;
    font-size: 0.92rem;
    white-space: nowrap;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: var(--color-pink);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   RESPONSIVE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1150px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .programs-grid { grid-template-columns: 1fr; }
    .gratitude-columns { grid-template-columns: repeat(2, 1fr); }
    .identity-grid { grid-template-columns: 1fr; }
    .community-top { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .poster-modal-bar { flex-direction: column; align-items: flex-start; }
    .poster-modal-actions, .btn-modal-cta { width: 100%; }
}

@media (max-width: 768px) {
    .program-card-footer { flex-direction: column; }

    .program-filter-tabs {
        width: 100%;
        border-radius: var(--radius-sm);
        flex-direction: column;
        gap: 4px;
        padding: 8px;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
        border-radius: var(--radius-sm);
        padding: 9px 12px;
    }

    .gratitude-columns { grid-template-columns: 1fr; }
    .community-stats-bar { grid-template-columns: 1fr; }
    .stat-col { border-right: none; border-bottom: 1px solid var(--color-border); }
    .stat-col:last-child { border-bottom: none; }

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

@media (max-width: 640px) {
    .topics-grid { grid-template-columns: 1fr; }
}
