: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-s2-tag { color: var(--matrix-primary); font-weight: 800; font-size: 16px; letter-spacing: 2px; }
.text-primary-s2 { color: var(--matrix-primary); }
.btn-s2 { background: #000; color: #fff; padding: 14px 35px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.hero-s2-img-box { position: relative; padding-left: 20px; }
.hero-s2-img-box img { border-radius: 40px 0 40px 0; box-shadow: 20px 20px 60px rgba(0,0,0,0.1); }
.hero-s2-float-card { position: absolute; bottom: 30px; left: -20px; background: #fff; padding: 15px 25px; border-radius: 12px; font-weight: 700; }

/* Block: footers_id */
.f-s5-wrapper { border-top-color: var(--matrix-primary) !important; }
.f-s5-nav { color: #334155; text-decoration: none; font-weight: 800; font-size: 14px; }
.f-s5-nav:hover { color: var(--matrix-primary); }

/* Block: about_id */
.a2-tag-card { background: #f8fafc; border: 1px solid #eee; padding: 15px; text-align: center; font-weight: 800; color: var(--matrix-primary); border-radius: 8px; }
.a2-main-body { font-size: 1.05rem; }
.a2-section .text-primary { color: var(--matrix-primary) !important; }

/* Block: stats_id */
.s-s3-vr { width: 1px; height: 40px; background: #eee; align-self: center; }
.s-s3-section .h3 { color: var(--matrix-primary) !important; }

/* 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-s4-box { border-radius: var(--matrix-radius); }
.w-s4-box:hover { border-color: var(--matrix-primary) !important; background: #fafafa; }
.w-s4-num { font-size: 1.5rem; font-weight: 900; color: var(--matrix-primary); opacity: 0.3; }

/* Block: departments_id */
.d-s4-circle-img { width: 380px; height: 380px; border-radius: 50%; overflow: hidden; border: 8px solid #f8fafc; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.d-s4-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.d-s4-callout { background: #f8fafc; border-left-color: var(--matrix-primary) !important; }

/* Block: security_id */
.sec-s2-img { border: 8px solid #fff; }
.sec-s2-badge { position: absolute; bottom: 30px; left: -10px; background: #dc3545; color: #fff; font-weight: 800; font-size: 12px; transform: rotate(-5deg); }
.sec-s2-check { width: 32px; height: 32px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* Block: judge_id */
.j-s5-tile { width: 300px; border-radius: var(--matrix-radius); }
.j-s5-icon { color: var(--matrix-primary); opacity: 0.2; font-size: 1.5rem; }
.j-s5-img { width: 30px; height: 30px; }
.text-truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Block: app_id */
.app-s4 i { color: var(--matrix-primary) !important; }
.app-s4 .btn-primary { background: var(--matrix-primary); border-color: var(--matrix-primary); }

/* Block: news_id */
.n-s3-card { transition: 0.3s; }
.n-s3-card:hover { transform: translateY(-5px); border: 1px solid var(--matrix-primary); }

/* Block: faq_id */
.faq-s5-wrapper .accordion-button:not(.collapsed) { background-color: var(--matrix-primary); color: #fff; }
.faq-s5-wrapper .accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.1); }
.faq-s5-wrapper .accordion-item { border-radius: var(--matrix-radius) !important; }

/* Block: update_id */
/* Style 2 - Grid Cards */
.up-s2 { background: #f8fafc !important; }
.up-s2 .bg-white { 
    border: 1px solid #e2e8f0 !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.up-s2 .bg-white:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--matrix-primary) !important;
}
.up-s2 h6 { color: #0f172a !important; font-size: 1.1rem; }
.up-s2 p { color: #475569 !important; }

