@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;600;700&display=swap');

:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #e67e22;
    --text-color: #333;
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --success-color: #27ae60;
    --gov-green: #1e5b3a;
    --gov-gold: #d4af37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Kufi Arabic', Tahoma, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5em;
    color: var(--gov-green);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Official Cover Design --- */
.official-cover {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(240, 247, 246, 0.95)), url('kshtkal.jpg') center/cover no-repeat;
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid var(--gov-green);
    padding: 40px 20px;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top: 8px solid var(--gov-gold);
    text-align: center;
}

/* Government Header Setup */
.gov-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.gov-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.gov-titles {
    text-align: center;
    color: #1a1a1a;
}

.gov-titles h2 { font-size: 1.6em; margin-bottom: 5px; color: var(--gov-gold); border: none; }
.gov-titles h3 { font-size: 1.4em; margin-bottom: 5px; color: #333; }
.gov-titles h4 { font-size: 1.2em; color: var(--gov-green); font-weight: bold; }

/* Proposal Title */
.proposal-title {
    text-align: center;
    margin-bottom: 50px;
}

.proposal-title h1 {
    font-size: 2.5em;
    color: var(--gov-green);
    margin-bottom: 10px;
}

.proposal-title .sub-title {
    font-size: 1.8em;
    color: #2c3e50;
    border: none;
}

.proposal-title .desc {
    font-size: 1.2em;
    color: #7f8c8d;
    margin-top: 15px;
}

/* Presenter Box */
.presenter-info {
    background: #f8faf9;
    border: 1px solid #e2e8e4;
    border-right: 6px solid var(--gov-green);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.presenter-info p:first-child {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.presenter-info h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 5px;
}

.presenter-info p:last-child {
    font-size: 1.1em;
    color: var(--gov-green);
    font-weight: bold;
}

.btn-scroll {
    display: inline-block;
    background-color: var(--gov-green);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}

.btn-scroll:hover {
    background-color: #134228;
    transform: translateY(-3px);
}

/* Main Container & Sections */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    margin-bottom: 60px;
    padding-top: 40px;
}

.section-title {
    color: var(--gov-green);
    border-bottom: 3px solid var(--gov-gold);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 1.8em;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 25px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Cards */
.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.card h3 i {
    color: var(--accent-color);
    margin-left: 8px;
}

.highlight-card {
    background: #f0f7fb;
    border-right: 5px solid var(--secondary-color);
}

.large-text { font-size: 1.2em; line-height: 2; }
.text-center { text-align: center; }

/* Lists */
.styled-list, .details-list {
    padding-right: 20px;
    list-style-type: square;
}

.styled-list li, .details-list li {
    margin-bottom: 10px;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #e8f4f8;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

/* Tables */
.table-responsive { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background-color: var(--gov-green);
    color: white;
}

.data-table tr:hover { background-color: #f5f5f5; }

.total-row td {
    background-color: #e8f4f8;
    font-weight: bold;
}

.small-table { font-size: 0.95em; }
.alert-table th { background-color: var(--success-color); }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.stat-title { font-size: 1em; color: #7f8c8d; }
.stat-value { font-size: 1.8em; font-weight: bold; color: var(--gov-green); margin: 10px 0; }
.stat-desc { font-size: 0.85em; color: #95a5a6; }
.text-success { color: var(--success-color) !important; }

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--gov-green);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .gov-header { flex-direction: column; gap: 20px; text-align: center; }
    .gov-titles h2 { font-size: 1.3em; }
    .proposal-title h1 { font-size: 2em; }
    .two-cols { grid-template-columns: 1fr; }
}