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

/* Block: headers_id */
.h4-nav { text-decoration: none; color: #334155; font-weight: 700; transition: 0.3s; }
.h4-nav:hover { color: var(--matrix-primary); }
.h4-btn { background: var(--matrix-primary); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 800; }

/* Block: heroes_id */
.hero-s6 { min-height: 600px; background: url('{{ $site->hero_img_url }}') center/cover; position: relative; }
.hero-s6-card { background: #fff; max-width: 500px; border-radius: 30px; }
.hero-s6-title { color: var(--matrix-primary); font-weight: 800; font-size: 16px; border-left: 4px solid var(--matrix-primary); padding-left: 15px; }
.btn-s6-dark { background: #000; color: #fff; width: 100%; display: block; padding: 12px; text-align: center; border-radius: 8px; text-decoration: none; font-weight: 700; }
.btn-s6-light { background: #f1f5f9; color: #000; width: 100%; display: block; padding: 12px; text-align: center; border-radius: 8px; text-decoration: none; font-weight: 700; }

/* 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 */
.a6-rich-body { font-size: 1.15rem; line-height: 2.2; color: #334155; }
.a6-header h2 { letter-spacing: 5px; color: var(--matrix-primary); }

/* Block: stats_id */
.s-s7-section { background: var(--matrix-primary); }
.s-s7-section .display-4 { letter-spacing: -2px; }

/* Block: mission_id */
.m-s3-img-circle { width: 320px; height: 320px; border-radius: 50%; overflow: hidden; border: 10px solid #f8fafc; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.m-s3-img-circle img { width: 100%; height: 100%; object-fit: cover; }
.m-s3-tag { background: rgba(var(--matrix-primary-rgb), 0.1); color: var(--matrix-primary); font-size: 14px; font-weight: 700; }
.m-s3-quote { border-left: 5px solid var(--matrix-primary); padding-left: 25px; }

/* Block: why_us_id */
.w-s5-circle { width: 350px; height: 350px; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.w-s5-circle img { width: 100%; height: 100%; object-fit: cover; }
.w-s5-callout { border-left-color: var(--matrix-primary) !important; }

/* Block: departments_id */
.d-s1-card { background: #f8fafc; border-radius: var(--matrix-radius); }
.d-s1-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.06) !important; }
.d-s1-icon { font-size: 2.5rem; color: var(--matrix-primary); }
.d-s1-title { letter-spacing: -1px; }

/* Block: security_id */
.sec-s4-num { width: 64px; height: 64px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.sec-s4-row::before { content: ''; position: absolute; top: 32px; left: 15%; right: 15%; height: 2px; background: #eee; z-index: 0; }
@media (max-width: 767px) { .sec-s4-row::before { display: none; } }

/* Block: judge_id */
.j-s4-bubble { width: 340px; background: #fafafa; border-radius: var(--matrix-radius); position: relative; }
.j-s4-bubble:hover { background: #fff; border-color: var(--matrix-primary) !important; box-shadow: 0 8px 15px rgba(0,0,0,0.05); }
.j-s4-avatar { width: 40px; height: 40px; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.j-s4-scroll::-webkit-scrollbar { display: none; }

/* Block: app_id */
.bg-primary-s7 { background: var(--matrix-primary); }
.app-s7-btn-main { background: #000; color: #fff; padding: 15px 45px; border-radius: 4px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.app-s7-btn-main:hover { background: var(--matrix-primary); }

/* Block: news_id */
.n-s2-img { width: 180px; height: 110px; }
.n-s2-item:hover { transform: translateX(8px); border-color: var(--matrix-primary) !important; }
@media (max-width: 576px) { .n-s2-img { width: 100px; height: 75px; } }

/* Block: faq_id */
.faq-s2-card { transition: 0.3s; border: 1px solid transparent; }
.faq-s2-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.faq-s2-num { width: 40px; height: 40px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; flex-shrink: 0; }

/* Block: update_id */
/* Style 1 - Timeline */
.up-s1 { background: #ffffff !important; }
.up-s1-header h2 { color: #0f172a !important; }
.up-s1-list { position: relative; }
.up-s1-item { transition: all 0.3s ease; border-bottom: 1px solid #f1f5f9 !important; }
.up-s1-item:hover { transform: translateX(8px); background: #fafafa; }
.up-s1-item .badge { font-weight: 600; padding: 6px 12px; border-radius: 4px; }
.up-s1-item h6 { color: #1e293b !important; margin-top: 5px; }
.up-s1-item p { color: #64748b !important; line-height: 1.6; }

