:root {
    --primary: #004474;
    --primary-dark: #0474bc;
    --dark: #1a202c;
    --light: #f7fafc;
    --gray: #4a5568;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; line-height: 1.6; color: var(--dark); background: var(--light); }
a { text-decoration: none; color: var(--primary); transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--dark); margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--gray); }
.hero-section { padding: 80px 0; background: var(--primary); color: #fff; text-align: center; }
.hero-section h1 { font-size: 2.5rem; margin-bottom: 0.5rem; color: #fff; }
.hero-section h2 { font-size: 1.5rem; font-weight: 300; margin-bottom: 2rem; color: #ddd; }
.hero-section .btn { display: inline-block; background: var(--primary-dark); color: #fff; padding: 12px 24px; border-radius: 4px; font-weight: bold; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 60px 0; }
.feature-card { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--primary); }
nav.navbar { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: var(--shadow); z-index: 1000; padding: 15px 0; }
nav.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 20px; font-weight: 600; }
.nav-actions { display: flex; gap: 15px; font-size: 1.2rem; }
.navbar-brand { font-weight: 800; color: var(--dark); display: flex; align-items: center; }
.navbar-brand svg { width: 40px; height: 40px; margin-right: 10px; }
footer { background: var(--dark); color: #fff; padding: 40px 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h5 { border-bottom: 1px solid #333; display: inline-block; padding-bottom: 5px; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #ccc; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; }
footer a { color: #ccc; }
footer a:hover { color: #fff; }
@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .hero-section h1 { font-size: 1.8rem; }
    .features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    nav.navbar { position: static; }
    .nav-links { display: flex; gap: 15px; }
    .nav-actions { display: flex; gap: 15px; font-size: 1.2rem; }
}

/* --- NEW ARTICLES & RESUME STYLES --- */
/* Article Layout */
.article-wrapper { max-width: 900px; margin-bottom: 60px; padding: 20px 0; }
.article-header { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-size: 0.9rem; color: var(--gray); }
.article-alert { background: #f4f6f8; border-left: 4px solid var(--primary); padding: 20px; border-radius: 4px; margin-bottom: 30px; }
.article-alert p { font-style: italic; margin-bottom: 0; }
.article-h2 { border-bottom: 1px solid var(--gray); padding-bottom: 10px; margin-top: 40px; }
.article-list { list-style-type: none; padding: 0; counter-reset: counter; display: grid; grid-template-columns: 1fr; gap: 15px; }
.article-list li { position: relative; padding-left: 35px; }
.article-list span.counter { position: absolute; left: 0; top: 2px; background: #ff4d4d; color: white; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }
.article-cta { background: var(--dark); color: #fff; padding: 30px; border-radius: 8px; text-align: center; }
.article-cta h3 { color: #fff; margin-bottom: 15px; }
.article-cta p { color: #ccc; margin-bottom: 25px; }
.article-cta a { background: var(--primary-dark); color: #fff; padding: 15px 30px; border-radius: 4px; text-decoration: none; font-weight: bold; display: inline-block; }

/* Resume Layout */
.resume-section { padding: 40px 0; border-bottom: 1px solid #eee; }
.resume-header { text-align: center; margin-bottom: 40px; }
.resume-header h1 { font-size: 2.5rem; color: var(--dark); margin-bottom: 10px; }
.resume-header p { font-size: 1.2rem; color: var(--primary); font-weight: 600; margin-bottom: 5px; }
.resume-header .contact { font-size: 1rem; color: var(--gray); }
.resume-summary { background: #fff; padding: 30px; border-radius: var(--radius); border-left: 4px solid var(--primary); margin-bottom: 40px; box-shadow: var(--shadow); }
.resume-block { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow); }
.resume-block h3 { color: var(--primary); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
.resume-list-group { margin-bottom: 20px; }
.resume-list-group h4 { color: var(--dark); margin-bottom: 5px; font-weight: 700; }
.resume-list-group .date { font-style: italic; color: var(--gray); font-size: 0.9rem; margin-bottom: 15px; display: block; }
.resume-skill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.resume-skill-item { background: #f7fafc; padding: 15px; border-radius: 4px; border: 1px solid #e2e8f0; }
.resume-skill-item h4 { font-size: 1rem; margin-bottom: 10px; color: var(--dark); }
.resume-skill-item ul { padding-left: 20px; }
.resume-skill-item ul li { margin-bottom: 5px; font-size: 0.9rem; }
.resume-education { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow); }
.resume-education h3 { color: var(--primary); margin-bottom: 10px; }
.resume-education p { margin-bottom: 0; }

/* Rates Layout */
.rate-card { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 30px; border-left: 5px solid var(--primary); }
.rate-card.warning { border-left-color: var(--primary-dark); }
.rate-card.success { border-left-color: #28a745; }
.rate-card h3 { margin-top: 0; }
.rate-amount { font-size: 1.5rem; font-weight: bold; color: var(--primary); }

.security-hub {
    padding: 60px 0;
    background: var(--light);
}
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}
.article-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-card-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}
.article-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.3;
}
.article-card-meta {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    gap: 15px;
    align-items: center;
}
.article-card-body {
    padding: 30px;
    flex: 1;
}
.article-card-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.article-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.article-card-link svg {
    margin-left: 8px;
    width: 18px;
    height: 18px;
}
.navbar-nav {
    display: flex;
    gap: 25px;
}
/* Mobile adjustments for grid */
@media (max-width: 768px) {
    .hub-grid {
        grid-template-columns: 1fr;
    }
}
