:root {
    --matrix-primary: #3b82f6;
    --matrix-primary-rgb: 59, 130, 246;
    --matrix-radius: 12px;
}

/* Block: headers_id */
.h2-brand-box { background: var(--matrix-primary); width: 220px; height: 80px; clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.h2-logo { max-height: 40px; filter: brightness(0) invert(1); }
.h2-link { text-decoration: none; color: #1e293b; font-size: 15px; }
.h2-link:hover { color: var(--matrix-primary); }
.h2-btn { background: #000; color: #fff; padding: 10px 30px; border-radius: 4px; text-decoration: none; font-weight: 800; }
@media (max-width: 991px) { .h2-brand-box { width: 140px; clip-path: none; } }

/* Block: heroes_id */
.hero-s5-line { width: 80px; height: 6px; background: var(--matrix-primary); }
.btn-s5 { background: var(--matrix-primary); color: #fff; padding: 18px 45px; font-weight: 900; text-decoration: none; display: inline-block; box-shadow: 10px 10px 0 #000; transition: 0.3s; }
.btn-s5:hover { transform: translate(5px, 5px); box-shadow: 0 0 0 #000; }
.hero-s5-img { background: url('{{ $site->hero_img_url }}') center/cover; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); min-height: 650px; }

/* Block: footers_id */
.f-s3-icon { width: 60px; height: 60px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.f-s3-link { color: #1e293b; text-decoration: none; font-weight: 600; }
.f-s3-link:hover { color: var(--matrix-primary); }

/* Block: about_id */
.a7-brand-pillar { background: var(--matrix-primary); min-height: 300px; }
.a7-text-content { line-height: 2.1; font-size: 1.1rem; color: #475569; border-left: 1px solid #eee; padding-left: 30px; }
@media (max-width: 991px) { .a7-text-content { border-left: 0; padding-left: 0; } }

/* Block: stats_id */
.s-s5-accent { color: var(--matrix-primary); font-size: 2.5rem; }
.s-s5-img-container { position: relative; }
.s-s5-img-container::after { content: ''; position: absolute; top: -10px; right: -10px; width: 100px; height: 100px; border: 5px solid var(--matrix-primary); border-left: 0; border-bottom: 0; border-radius: 0 var(--matrix-radius) 0 0; z-index: -1; }

/* Block: mission_id */
.m-s4-val { font-size: 2.5rem; font-weight: 900; color: var(--matrix-primary); margin-bottom: 5px; letter-spacing: -1px; }
.m-s4-grid > div { min-width: 120px; }

/* Block: why_us_id */
.w-s7-btn-main { background: #fff; color: #000; padding: 15px 40px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.w-s7-btn-outline { border: 2px solid #fff; color: #fff; padding: 13px 38px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.w-s7-btn-main:hover { transform: scale(1.05); }
.w-s7-btn-outline:hover { background: #fff; color: #000; }

/* Block: departments_id */
.d-s2-img-box img { border-radius: var(--matrix-radius); border: 10px solid #fff; }
.d-s2-badge { position: absolute; top: 20px; left: -10px; background: var(--matrix-primary); color: #fff; font-weight: 800; font-size: 13px; }
.d-s2-list li { display: flex; align-items: center; margin-bottom: 15px; font-weight: 700; color: #1e293b; }
.d-s2-list li i { color: #198754; margin-right: 15px; font-size: 1.25rem; }

/* Block: security_id */
.sec-s1-title { letter-spacing: -1px; }
.sec-s1-card { background: #fcfcfc; border: 1px solid #f0f0f0 !important; }
.sec-s1-icon { font-size: 3rem; color: var(--matrix-primary); }
.sec-s1-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important; border-color: var(--matrix-primary) !important; }

/* Block: judge_id */
.j-s6-section { background: var(--matrix-primary); }
.j-s6-card { border-radius: var(--matrix-radius); box-shadow: 10px 10px 0 rgba(0,0,0,0.1); }
.j-s6-card:hover { transform: translate(-3px, -3px); box-shadow: 15px 15px 0 rgba(0,0,0,0.15); }
.j-s6-avatar { width: 40px; height: 40px; border: 2px solid #eee; }

/* Block: app_id */
.app-s5-btn { background: #000; color: #fff; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: 700; display: inline-block; }
.app-s5-card { background: #fff; border: 1px solid #eee; padding: 30px; border-radius: 20px; transition: 0.3s; }
.app-s5-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.app-s5-card .num { font-size: 30px; font-weight: 900; color: var(--matrix-primary); opacity: 0.2; display: block; margin-bottom: 10px; }
.app-s5-card h5 { font-weight: 800; color: #1e293b; }

/* Block: news_id */
.n-s6-box { border: 1px solid #f0f0f0; transition: 0.4s; }
.n-s6-box:hover img { transform: scale(1.05); transition: 0.6s; }

/* Block: faq_id */
.faq-icon-s7 { font-size: 32px; color: var(--matrix-primary); }
.faq-s7-wrapper h5 { letter-spacing: -0.5px; }

/* Block: update_id */
/* Style 7 - Pro Table */
.up-s7 .table { border-collapse: separate; border-spacing: 0; }
.up-s7 thead th { 
    background-color: #f8fafc; 
    border-bottom: 2px solid #e2e8f0; 
    color: #475569; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
}
.up-s7 tbody tr { transition: 0.2s; }
.up-s7 tbody tr:hover { background-color: rgba(var(--matrix-primary-rgb), 0.02); }
.up-s7 .text-dark { color: #0f172a !important; }
.up-s7 .text-secondary { color: #64748b !important; }

