:root {
    --bg:#f4f6fb;
    --glass:rgba(255,255,255,.65);
    --border:rgba(255,255,255,.85);
    --text:#0f172a;
    --muted:#64748b;
    --accent:#2563eb;
}

body {
    font-family: Inter, sans-serif;
    background:
            radial-gradient(1200px 600px at 10% -10%, #dbeafe, transparent),
            radial-gradient(800px 500px at 90% 10%, #e0e7ff, transparent),
            var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.text-muted {
    color: var(--muted);
    line-height: 1.65;
}

.navbar {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15,23,42,.06);
}

.nav-link {
    color: var(--muted);
    font-weight: 500;
}

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

.btn-primary {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    border: none;
    font-weight: 600;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: #fff;
}

.hero {
    padding: 120px 0 60px;
}

.hero .container {
    max-width: 760px;
}

.section {
    padding: 56px 0;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all .2s ease;
}

.glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

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

.blog-card .badge {
    background: rgba(15,23,42,0.05);
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
    border-radius: 8px;
    padding: 4px 8px;
}

.blog-card h5 {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 14px;
    color: var(--muted);
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card a {
    margin-top: auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}

.blog-card a:hover {
    text-decoration: underline;
}

.pagination .page-link {
    border: none;
    background: transparent;
    color: var(--muted);
}

.pagination .page-item.active .page-link {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero .container {
        max-width: 100%;
    }
}

/* Footer */
.footer{
    padding:90px 0 40px;
}
.footer-panel{
    padding:56px;
    border-radius:28px;
}
.footer-top{
    display:flex;
    justify-content:space-between;
    gap:80px;
}
.footer-brand{
    max-width:430px;
}
.footer-logo{
    font-size:40px;
    font-weight:700;
    letter-spacing:-1px;
    line-height:1;
    margin-bottom:20px;
}
.footer-brand p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
}
.footer-nav{
    display:flex;
    gap:70px;
}
.footer-group{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.footer-title{
    margin-bottom:8px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--muted);
}
.footer-group a{
    color:var(--text);
    text-decoration:none;
    transition:.2s ease;
}
.footer-group a:hover{
    color:var(--accent);
    transform:translateX(3px);
}
.footer-bottom{
    margin-top:48px;
    padding-top:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid rgba(15,23,42,.08);
    color:var(--muted);
    font-size:.9rem;
}
@media (max-width:768px){
    .footer-panel{
        padding:36px 28px;
    }
    .footer-top{
        flex-direction:column;
        gap:48px;
    }
    .footer-nav{
        gap:48px;
        flex-wrap:wrap;
    }
    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
}