:root {
    --primary: #dc143c;
    --primary-dark: #a00e2d;
    --secondary: #003893;
    --gold: #ffd700;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --text: #2c3e50;
    --border: #dee2e6;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Noto Sans Devanagari', sans-serif; color: var(--text); line-height: 1.7; background: #fff; }

/* Top bar */
.top-bar { background: var(--secondary); color: #fff; padding: 8px 0; font-size: 14px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.top-bar a { color: var(--gold); text-decoration: none; }
.lang-toggle { display: flex; gap: 10px; align-items: center; }
.lang-toggle button { background: rgba(255,255,255,0.2); border: 1px solid var(--gold); color: #fff; padding: 4px 14px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.lang-toggle button.active { background: var(--gold); color: var(--secondary); font-weight: 600; }

/* Header */
header { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 20px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header-content { display: flex; align-items: center; gap: 20px; }
.emblem { width: 80px; height: 80px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--primary); flex-shrink: 0; }
.header-text h1 { font-size: 26px; font-weight: 700; line-height: 1.3; }
.header-text h2 { font-size: 18px; font-weight: 400; opacity: 0.95; margin-top: 5px; }
.header-text p { font-size: 14px; opacity: 0.9; margin-top: 4px; }

/* Nav */
nav { background: #fff; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
nav ul { display: flex; list-style: none; justify-content: center; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
nav li a { display: block; padding: 16px 20px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; transition: all 0.3s; border-bottom: 3px solid transparent; margin-bottom: -3px; }
nav li a:hover, nav li a.active { color: var(--primary); border-bottom-color: var(--primary); }
nav li a i { margin-right: 6px; color: var(--gold); }

/* Page header */
.page-header { background: linear-gradient(135deg, var(--secondary) 0%, #001a4d 100%); color: #fff; padding: 50px 0; text-align: center; }
.page-header h1 { font-size: 36px; margin-bottom: 12px; }
.page-header p { font-size: 18px; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* Content sections */
.content-section { padding: 50px 0; }
.content-block { margin-bottom: 50px; }
.content-block h2 { font-size: 28px; color: var(--secondary); margin-bottom: 15px; }
.content-block p { margin-bottom: 16px; font-size: 16px; color: #444; }
.content-block ul { margin: 15px 0 15px 20px; }
.content-block li { margin-bottom: 10px; }

.divider { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin-bottom: 20px; }

/* Info cards */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 25px; }
.info-card { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid var(--border); text-align: center; }
.info-card i { font-size: 36px; color: var(--primary); margin-bottom: 15px; }
.info-card h4 { font-size: 18px; color: var(--secondary); margin-bottom: 10px; }
.info-card p { font-size: 15px; color: #666; }

/* Goal list */
.goal-list { display: flex; flex-direction: column; gap: 20px; margin-top: 25px; }
.goal-item { display: flex; gap: 20px; background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); border-left: 4px solid var(--primary); }
.goal-num { width: 45px; height: 45px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.goal-item h4 { font-size: 18px; color: var(--secondary); margin-bottom: 6px; }
.goal-item p { font-size: 15px; color: #666; margin: 0; }

/* Custom list */
.custom-list { list-style: none; margin: 20px 0 !important; }
.custom-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16px; }
.custom-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--primary); }

/* Theme cards */
.theme-section { margin-bottom: 50px; }
.theme-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid var(--border); }
.theme-header i { font-size: 30px; color: var(--primary); }
.theme-header h3 { font-size: 24px; color: var(--secondary); }
.theme-content { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.theme-content ul { margin: 15px 0 15px 20px; }
.theme-content li { margin-bottom: 10px; }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 4px; background: var(--primary); border-radius: 2px; }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 35px; }
.timeline-dot { position: absolute; left: 8px; top: 5px; width: 28px; height: 28px; background: var(--primary); border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 4px var(--primary); }
.timeline-content { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.timeline-content h4 { font-size: 18px; color: var(--secondary); margin-bottom: 8px; }
.timeline-content p { font-size: 15px; color: #666; }
.timeline-date { display: inline-block; background: var(--gold); color: var(--secondary); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }

/* Search */
.search-page { padding: 50px 0; min-height: 500px; }
.search-box-lg { max-width: 800px; margin: 0 auto 40px; position: relative; }
.search-box-lg input { width: 100%; padding: 20px 70px 20px 30px; border: 3px solid var(--border); border-radius: 50px; font-size: 18px; outline: none; transition: all 0.3s; }
.search-box-lg input:focus { border-color: var(--primary); }
.search-box-lg button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--primary); color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.search-filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border: 1px solid var(--border); background: #fff; border-radius: 25px; cursor: pointer; font-size: 14px; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-results { max-width: 900px; margin: 0 auto; }
.result-item { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); margin-bottom: 20px; border-left: 4px solid var(--primary); }
.result-item h4 { font-size: 18px; color: var(--secondary); margin-bottom: 8px; }
.result-item p { font-size: 15px; color: #666; margin-bottom: 10px; }
.result-item a { color: var(--primary); text-decoration: none; font-weight: 600; }
.result-meta { font-size: 13px; color: #888; }

/* Download */
.download-section { padding: 50px 0; }
.download-card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); text-align: center; max-width: 700px; margin: 0 auto 40px; border: 2px solid var(--border); }
.download-card i { font-size: 64px; color: var(--primary); margin-bottom: 20px; }
.download-card h3 { font-size: 24px; color: var(--secondary); margin-bottom: 10px; }
.download-card p { font-size: 16px; color: #666; margin-bottom: 25px; }
.download-card .meta { display: flex; justify-content: center; gap: 25px; margin-bottom: 25px; flex-wrap: wrap; }
.download-card .meta span { font-size: 14px; color: #888; }
.file-list { max-width: 800px; margin: 0 auto; }
.file-item { display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 20px 25px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); margin-bottom: 15px; }
.file-item i { font-size: 28px; color: var(--primary); }
.file-info { flex: 1; padding: 0 20px; }
.file-info h4 { font-size: 16px; color: var(--secondary); margin-bottom: 4px; }
.file-info span { font-size: 13px; color: #888; }

/* Buttons */
.btn { padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--secondary); }
.btn-gold:hover { background: #ffea66; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Nepali text */
.ne { font-family: 'Noto Sans Devanagari', sans-serif; }
.hidden { display: none !important; }

/* Parliament specific */
.speech-block { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); margin-bottom: 30px; }
.speech-block blockquote { font-style: italic; font-size: 18px; color: var(--secondary); border-left: 4px solid var(--gold); padding-left: 20px; margin: 15px 0; }
.speech-intro { background: linear-gradient(135deg, var(--secondary), #001a4d); color: #fff; padding: 30px; border-radius: 12px; margin-bottom: 30px; }
.speech-intro p { color: rgba(255,255,255,0.9); font-size: 16px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 30px 0; }
.stat-item { background: #fff; padding: 25px; border-radius: 12px; text-align: center; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.stat-item .num { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-item .label { font-size: 14px; color: #888; margin-top: 5px; }

/* Footer */
footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--gold); font-size: 18px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.5); }

/* Mobile */
@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; }
    .header-text h1 { font-size: 20px; }
    .header-text h2 { font-size: 16px; }
    nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    nav li a { padding: 12px 15px; font-size: 14px; white-space: nowrap; }
    .page-header h1 { font-size: 26px; }
    .page-header p { font-size: 16px; }
    .goal-item { flex-direction: column; }
    .timeline-item { padding-left: 45px; }
    .file-item { flex-direction: column; text-align: center; gap: 15px; }
    .file-info { padding: 0; }
    .btn { padding: 12px 24px; font-size: 14px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
