/* ==========================================================================
   DƯƠNG ĐỨC CẢNH - PORTFOLIO DESIGN SYSTEM
   Modern Dark Cyber-Civil Tech Aesthetics
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #07090e;
    --bg-card: #0e131f;
    --bg-card-hover: #141b2d;
    --bg-glass: rgba(15, 22, 36, 0.75);
    --bg-glass-border: rgba(0, 242, 254, 0.15);
    --bg-glass-border-hover: rgba(0, 242, 254, 0.4);
    
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.35);
    --secondary: #4facfe;
    --accent: #ffb703;
    --danger: #ff4d6d;
    --success: #06d6a0;

    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Fonts */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout & Spacing */
    --container-max-width: 1240px;
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows & Transitions */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   THEME: ORANGE (Cam)
   ============================================================ */
[data-theme="orange"] {
    --bg-dark: #0f0800;
    --bg-card: #1a0e00;
    --bg-card-hover: #241500;
    --bg-glass: rgba(26, 14, 0, 0.80);
    --bg-glass-border: rgba(255, 140, 0, 0.18);
    --bg-glass-border-hover: rgba(255, 140, 0, 0.5);

    --primary: #ff8c00;
    --primary-glow: rgba(255, 140, 0, 0.35);
    --secondary: #ffb703;
    --accent: #ff4500;
    --danger: #ff4d6d;
    --success: #06d6a0;

    --text-main: #fff4e6;
    --text-muted: #d4a870;
    --text-dim: #8a6a40;

    --shadow-glow: 0 0 30px rgba(255, 140, 0, 0.25);
    --bg-section-alt: rgba(26, 14, 0, 0.5);
}

[data-theme="orange"] .gradient-text {
    background: linear-gradient(135deg, #ff8c00 0%, #ffb703 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="orange"] .tech-grid-bg {
    background-image:
        linear-gradient(to right, rgba(255,140,0,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,140,0,0.04) 1px, transparent 1px);
}
[data-theme="orange"] .glow-1 { background: #ff8c00; }
[data-theme="orange"] .glow-2 { background: #ff4500; }
[data-theme="orange"] .section-subtitle {
    background: rgba(255,140,0,0.12);
    border-color: rgba(255,140,0,0.3);
    color: #ff8c00;
}
[data-theme="orange"] .btn-primary,
[data-theme="orange"] .btn-nav-cta {
    background: linear-gradient(135deg, #ff8c00, #ffb703);
    box-shadow: 0 4px 20px rgba(255,140,0,0.35);
}
[data-theme="orange"] .btn-secondary {
    border-color: rgba(255,140,0,0.4);
    color: #ff8c00;
}
[data-theme="orange"] .btn-secondary:hover {
    background: rgba(255,140,0,0.12);
    border-color: #ff8c00;
}
[data-theme="orange"] .nav-glass {
    background: rgba(15,8,0,0.92);
    border-bottom-color: rgba(255,140,0,0.15);
}
[data-theme="orange"] .hero-section {
    background: radial-gradient(ellipse at 30% 40%, rgba(255,140,0,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(255,69,0,0.06) 0%, transparent 50%);
}
[data-theme="orange"] .bg-alt { background-color: rgba(26,14,0,0.5); }

/* ============================================================
   THEME: WHITE / LIGHT (Trắng)
   ============================================================ */
[data-theme="white"] {
    --bg-dark: #f0f4f8;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-border: rgba(0, 115, 230, 0.18);
    --bg-glass-border-hover: rgba(0, 115, 230, 0.4);

    --primary: #0073e6;
    --primary-glow: rgba(0, 115, 230, 0.25);
    --secondary: #4facfe;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 25px rgba(0, 115, 230, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="white"] body { background-color: #f0f4f8; color: #0f172a; }
[data-theme="white"] .gradient-text {
    background: linear-gradient(135deg, #0073e6 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="white"] .tech-grid-bg {
    background-image:
        linear-gradient(to right, rgba(0,115,230,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,115,230,0.06) 1px, transparent 1px);
    opacity: 0.6;
}
[data-theme="white"] .glow-1 { background: #0073e6; opacity: 0.08; }
[data-theme="white"] .glow-2 { background: #4facfe; opacity: 0.08; }
[data-theme="white"] .ambient-glow { opacity: 0.1; }
[data-theme="white"] h1,[data-theme="white"] h2,[data-theme="white"] h3,
[data-theme="white"] h4,[data-theme="white"] h5,[data-theme="white"] h6 { color: #0f172a; }
[data-theme="white"] .section-subtitle {
    background: rgba(0,115,230,0.08);
    border-color: rgba(0,115,230,0.25);
    color: #0073e6;
}
[data-theme="white"] .glass-panel {
    background: rgba(255,255,255,0.92);
    border-color: rgba(0,115,230,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
[data-theme="white"] .glass-panel:hover {
    border-color: rgba(0,115,230,0.35);
    box-shadow: 0 8px 30px rgba(0,115,230,0.12);
}
[data-theme="white"] .nav-glass {
    background: rgba(255,255,255,0.96) !important;
    border-bottom: 1px solid rgba(0,115,230,0.12) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
[data-theme="white"] .nav-link { color: #334155; }
[data-theme="white"] .nav-link:hover { color: #0073e6; }
[data-theme="white"] .hero-section {
    background: radial-gradient(ellipse at 20% 30%, rgba(0,115,230,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 70%, rgba(79,172,254,0.05) 0%, transparent 50%);
}
[data-theme="white"] .btn-primary,
[data-theme="white"] .btn-nav-cta {
    background: linear-gradient(135deg, #0073e6, #4facfe);
    box-shadow: 0 4px 20px rgba(0,115,230,0.3);
}
[data-theme="white"] .btn-secondary {
    background: transparent;
    border: 1px solid rgba(0,115,230,0.35);
    color: #0073e6;
}
[data-theme="white"] .btn-secondary:hover {
    background: rgba(0,115,230,0.08);
    border-color: #0073e6;
}
[data-theme="white"] .bg-alt { background-color: rgba(248,250,252,0.8); }
[data-theme="white"] .timeline-step { background: rgba(255,255,255,0.7); }
[data-theme="white"] .stat-card { background: #fff; border-color: rgba(0,115,230,0.1); }
[data-theme="white"] input, [data-theme="white"] textarea, [data-theme="white"] select {
    background: #fff;
    border-color: rgba(0,115,230,0.2);
    color: #0f172a;
}
[data-theme="white"] .footer { background: #1e293b; }
[data-theme="white"] .footer * { color: #cbd5e1; }
[data-theme="white"] .footer h4 { color: #f8fafc; }

/* ============================================================
   THEME PICKER — Icon palette, top-right in navbar
   ============================================================ */
.theme-picker {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.theme-picker-trigger {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--bg-glass-border);
    background: var(--bg-glass);
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.theme-picker-trigger:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
    transform: rotate(15deg) scale(1.08);
    box-shadow: 0 0 14px var(--primary-glow);
}

/* Dropdown panel */
.theme-picker-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: 14px;
    padding: 14px 16px;
    min-width: 160px;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.theme-picker-dropdown.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Arrow indicator */
.theme-picker-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border-left: 1px solid var(--bg-glass-border);
    border-top: 1px solid var(--bg-glass-border);
    transform: rotate(45deg);
    border-radius: 2px;
}

.theme-picker-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bg-glass-border);
}

.theme-picker-dots {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.theme-dot {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    color: var(--text-muted);
}

.theme-dot:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-main);
    border-color: var(--bg-glass-border);
}

.theme-dot.active {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    color: var(--text-main);
}

.dot-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: border-color 0.15s;
}

.theme-dot[data-t="dark"] .dot-swatch {
    background: linear-gradient(135deg, #07090e 50%, #00f2fe);
    border-color: rgba(0,242,254,0.3);
}
.theme-dot[data-t="orange"] .dot-swatch {
    background: linear-gradient(135deg, #1a0e00 40%, #ff8c00);
    border-color: rgba(255,140,0,0.4);
}
.theme-dot[data-t="white"] .dot-swatch {
    background: linear-gradient(135deg, #f0f4f8 50%, #0073e6);
    border-color: rgba(0,115,230,0.4);
}

.theme-dot.active .dot-swatch::after {
    content: '✓';
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.dot-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* White theme overrides for picker */
[data-theme="white"] .theme-picker-trigger {
    border-color: rgba(0,115,230,0.2);
    background: rgba(255,255,255,0.9);
}
[data-theme="white"] .theme-picker-dropdown {
    background: #ffffff;
    border-color: rgba(0,115,230,0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
[data-theme="white"] .theme-picker-dropdown::before {
    background: #ffffff;
    border-color: rgba(0,115,230,0.15);
}
[data-theme="white"] .theme-dot:hover { background: rgba(0,115,230,0.06); }
[data-theme="white"] .theme-dot.active { background: rgba(0,115,230,0.08); border-color: #0073e6; }

/* Orange theme overrides for picker */
[data-theme="orange"] .theme-picker-trigger { border-color: rgba(255,140,0,0.25); }
[data-theme="orange"] .theme-picker-dropdown {
    background: #1a0e00;
    border-color: rgba(255,140,0,0.2);
}
[data-theme="orange"] .theme-picker-dropdown::before {
    background: #1a0e00;
    border-color: rgba(255,140,0,0.2);
}
[data-theme="orange"] .theme-dot.active { border-color: #ff8c00; }

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* BACKGROUND EFFECTS */
.tech-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -2;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

.glow-2 {
    bottom: 20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: var(--secondary);
}

.glow-3 {
    top: 40%;
    left: 30%;
    width: 500px;
    height: 500px;
    background: #7928ca;
}

/* REUSABLE GLASS PANEL */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--bg-glass-border-hover);
    box-shadow: var(--shadow-glow);
}

/* TYPOGRAPHY UTILITIES */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: rgba(14, 19, 31, 0.4);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #050b14;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--bg-glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 242, 254, 0.08);
}

.btn-accent {
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    color: #050b14;
    font-weight: 700;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 183, 3, 0.4);
}

.btn-danger {
    background: #ff4d6d;
    color: #fff;
}

.btn-danger:hover {
    background: #e63956;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-block {
    width: 100%;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(7, 9, 14, 0.95);
    border-bottom: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #050b14;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.logo-text .sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

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

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-nav-cta {
    padding: 8px 18px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--primary) !important;
}

.btn-nav-cta:hover {
    background: var(--primary);
    color: #050b14 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* HERO SECTION */
.hero-section {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 214, 160, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 214, 160, 0); }
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.role-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-tag i {
    color: var(--primary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* HERO VISUAL CARD */
.hero-visual {
    position: relative;
}

.visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-card);
}

.card-border-glow {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--primary), transparent, var(--secondary));
    z-index: -1;
    opacity: 0.5;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.hero-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.visual-card:hover .hero-avatar-img {
    transform: scale(1.03);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 9, 14, 0.8) 0%, transparent 50%);
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(14, 19, 31, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.floating-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.floating-badge .badge-num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.floating-badge span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.badge-top-right {
    top: 30px;
    right: -25px;
}

.badge-bottom-left {
    bottom: 30px;
    left: -25px;
}

/* STATS BAR */
.stats-counter-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 30px 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

/* ABOUT & TIMELINE */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.bio-card {
    padding: 36px;
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bio-avatar-small {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.bio-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-name {
    font-size: 1.4rem;
}

.bio-title {
    font-size: 0.88rem;
    color: var(--primary);
}

.bio-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.bio-details-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.bio-details-list li i {
    width: 20px;
    color: var(--primary);
}

.bio-quote {
    padding: 20px;
    background: rgba(0, 242, 254, 0.04);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.bio-quote i {
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

/* TIMELINE */
.timeline-container {
    padding: 36px;
}

.timeline-heading {
    font-size: 1.3rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.timeline-steps {
    position: relative;
    padding-left: 30px;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 14px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
    position: relative;
    margin-bottom: 32px;
}

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

.step-marker {
    position: absolute;
    left: -30px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.timeline-step.active-step .step-marker {
    border-color: var(--primary);
    background: var(--primary);
    color: #050b14;
    box-shadow: 0 0 15px var(--primary);
}

.step-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.step-period {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.1));
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features li i {
    color: var(--primary);
    margin-top: 3px;
}

/* PROJECTS */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #050b14;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.video-badge {
    border-color: rgba(255, 77, 109, 0.5);
    color: var(--danger);
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-actions {
    display: flex;
    gap: 10px;
}

/* KNOWLEDGE HUB */
.knowledge-download-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 44px;
    margin-bottom: 40px;
    gap: 30px;
    border-color: rgba(0, 242, 254, 0.3);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.banner-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
}

.banner-content h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.banner-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.knowledge-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.doc-card {
    padding: 28px;
    text-align: center;
}

.doc-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.doc-card h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.doc-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* COURSES */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.course-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.course-header {
    margin-bottom: 20px;
}

.course-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.tag-accent {
    background: rgba(255, 183, 3, 0.1);
    border-color: rgba(255, 183, 3, 0.3);
    color: var(--accent);
}

.course-header h3 {
    font-size: 1.5rem;
}

.course-body p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.course-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.course-topics li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.course-topics li i {
    color: var(--primary);
    margin-top: 3px;
}

.course-footer {
    margin-top: auto;
}

/* CONTACT & COMMUNITY */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.community-box {
    padding: 28px;
}

.community-box h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.community-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.community-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    justify-content: flex-start;
    padding: 12px 18px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.btn-facebook {
    background: rgba(24, 119, 242, 0.15);
    border: 1px solid rgba(24, 119, 242, 0.4);
    color: #4292ff;
}

.btn-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.btn-zalo {
    background: rgba(0, 104, 255, 0.15);
    border: 1px solid rgba(0, 104, 255, 0.4);
    color: #3882ff;
}

.btn-zalo:hover {
    background: #0068ff;
    color: #fff;
}

.btn-zalo-register {
    background: rgba(6, 214, 160, 0.15);
    border: 1px solid rgba(6, 214, 160, 0.4);
    color: var(--success);
}

.btn-zalo-register:hover {
    background: var(--success);
    color: #050b14;
}

/* FORM */
.contact-form-column {
    padding: 36px;
}

.contact-form-column h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(7, 9, 14, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

select.form-input option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* FOOTER */
.footer {
    background: #040609;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 380px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* MODAL & TOAST */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-lg {
    max-width: 1000px;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

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

.modal-body {
    padding: 24px;
}

.iframe-container {
    width: 100%;
    height: 550px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* TOAST */
.toast-container {
    position: fixed;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3000;
}

.toast {
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-counter-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .stat-divider { display: none; }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid, .projects-grid, .knowledge-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(7, 9, 14, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .services-grid, .projects-grid, .knowledge-cards-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-download-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-content {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* VERTICAL SOCIAL MEDIA LIST MATCHING USER SPECIFICATION */
.social-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.social-item-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    width: fit-content;
}

.social-item-link:hover {
    transform: translateX(6px);
}

.social-item-link .social-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff !important;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.social-item-link.link-facebook .social-icon-badge {
    background: #1877F2;
}

.social-item-link.link-tiktok .social-icon-badge {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: -1px -1px 0 #00f2fe, 1px 1px 0 #ff0050;
}

.social-item-link.link-youtube .social-icon-badge {
    background: #FF0000;
    border-radius: 12px;
}

.social-item-link.link-zalo .social-icon-badge {
    background: #0068FF;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.social-item-link .social-label-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.social-item-link:hover .social-label-text {
    color: var(--primary);
}

/* FLOATING QUICK SOCIAL CONTACT WIDGET (BOTTOM RIGHT) */
.floating-social-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2500;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.float-btn:hover {
    transform: scale(1.15) translateX(-4px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.4);
}

/* Tooltip on hover */
.float-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: rgba(7, 9, 14, 0.94);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.float-btn:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.float-zalo {
    background: #0068FF;
    font-weight: 800;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.float-facebook {
    background: #1877F2;
}

.float-tiktok {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: -1px -1px 0 #00f2fe, 1px 1px 0 #ff0050;
}

.float-youtube {
    background: #FF0000;
}

.float-phone {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #050b14 !important;
    font-size: 1.3rem;
}

.phone-ripple {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: phonePulse 1.8s infinite;
    pointer-events: none;
}

@keyframes phonePulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .floating-social-widget {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }
    .float-btn {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* ============ KNOWLEDGE YOUTUBE VIDEOS GRID ============ */
.knowledge-videos-grid {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.video-card {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.video-card-info {
    padding: 18px 20px;
}

.video-card-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.video-card-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.video-link-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    background: rgba(255,0,0,0.08);
    color: #ff4d4d;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    min-height: 160px;
}

.video-link-fallback:hover {
    background: rgba(255,0,0,0.15);
    color: #ff6b6b;
}

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




