:root {
    --bg-main: #09090b; /* zinc-950 */
    --bg-sidebar: #18181b; /* zinc-900 */
    --bg-surface: #27272a; /* zinc-800 */
    --bg-surface-hover: #3f3f46; /* zinc-700 */
    
    --accent: #10b981; /* emerald-500 */
    --accent-hover: #059669; /* emerald-600 */
    --accent-light: rgba(16, 185, 129, 0.1);
    
    --text-main: #f8fafc; /* slate-50 */
    --text-muted: #a1a1aa; /* zinc-400 */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.light-theme {
    --bg-main: #f8fafc; /* slate-50 */
    --bg-sidebar: #ffffff; /* white */
    --bg-surface: #f1f5f9; /* slate-100 */
    --bg-surface-hover: #e2e8f0; /* slate-200 */
    
    --text-main: #0f172a; /* slate-900 */
    --text-muted: #64748b; /* slate-500 */
    
    --border-color: rgba(0, 0, 0, 0.08);
}

.light-theme {
    --bg-main: #f8fafc; /* slate-50 */
    --bg-sidebar: #ffffff; /* white */
    --bg-surface: #f1f5f9; /* slate-100 */
    --bg-surface-hover: #e2e8f0; /* slate-200 */
    
    --text-main: #0f172a; /* slate-900 */
    --text-muted: #64748b; /* slate-500 */
    
    --border-color: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    overflow-y: auto;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bg-surface-hover);
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.logo i {
    color: var(--accent);
    font-size: 1.5rem;
}

.sidebar-menu {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.new-chat-btn {
    width: 100%;
    background-color: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.new-chat-btn:hover {
    background-color: var(--accent);
    color: var(--bg-main);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.history-section h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.history-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-list li {
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-list li:hover {
    background-color: var(--bg-surface);
    color: var(--text-main);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.settings-btn {
    width: 100%;
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.settings-btn:hover {
    background-color: var(--bg-surface);
    color: var(--text-main);
}

/* --- MAIN CHAT AREA --- */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-image: radial-gradient(circle at top right, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
}

.chat-header {
    height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.header-info h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.status {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.status i {
    font-size: 0.5rem;
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-lang {
    display: flex;
    gap: 4px;
    background: var(--bg-sidebar);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-right: 10px;
}

.icon-btn {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--bg-surface-hover);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- CHAT MESSAGES --- */
.chat-messages {
    flex: 1;
    padding: 30px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    scroll-behavior: smooth;
}

.message {
    display: flex;
    gap: 16px;
    max-width: 800px;
    animation: fadeIn 0.4s ease forwards;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message {
    align-self: flex-start;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.ai-message .avatar {
    background-color: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.user-message .avatar {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.message-content {
    background-color: var(--bg-surface);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid var(--border-color);
}

.user-message .message-content {
    background-color: var(--bg-sidebar);
    border-bottom-right-radius: 4px;
}

.ai-message .message-content {
    border-top-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.message-content p {
    margin-bottom: 10px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

/* --- INPUT AREA --- */
.chat-input-container {
    padding: 20px 40px 30px;
}

.chat-form {
    display: flex;
    align-items: center;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 8px 12px;
    box-shadow: var(--shadow-lg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-form:focus-within {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1), var(--shadow-lg);
}

.attachment-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}

.attachment-btn:hover {
    color: var(--text-main);
    background: var(--bg-surface-hover);
}

#userInput {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    padding: 10px 15px;
    outline: none;
}

#userInput::placeholder {
    color: var(--text-muted);
}

.send-btn {
    background-color: var(--accent);
    color: var(--bg-main);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

.send-btn:disabled {
    background-color: var(--bg-surface-hover);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

.footer-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 5px 0;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: absolute;
        left: -280px;
        z-index: 10;
        height: 100%;
    }
    .chat-header {
        padding: 0 20px;
    }
    .chat-messages {
        padding: 20px;
    }
    .chat-input-container {
        padding: 15px 20px 20px;
    }
}

/* Mobile specific fixes (iPhone 17 Pro Max, etc) */
@media (max-width: 480px) {
    .glass-card {
        padding: 25px 20px;
    }
    
    .chat-header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 15px 20px;
        gap: 12px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-lang {
        margin-right: 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .landing-credit {
        font-size: 0.8rem;
        bottom: 15px;
    }
    
    .message-content {
        max-width: 95%;
    }
}

/* --- SUGGESTION CHIPS --- */
.suggestion-chips {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.suggestion-chips::-webkit-scrollbar {
    height: 4px;
}

.chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    opacity: 0;
    animation: slideUpFade 0.6s ease forwards;
}

.chip:nth-child(1) { animation-delay: 0.8s; }
.chip:nth-child(2) { animation-delay: 1.0s; }
.chip:nth-child(3) { animation-delay: 1.2s; }
.chip:nth-child(4) { animation-delay: 1.4s; }

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.chip:hover {
    background: var(--accent-light);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent);
    transform: translateY(-2px);
}

/* --- UTILITIES --- */
.hidden {
    display: none !important;
}

/* --- LANDING PAGE --- */
.landing-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    z-index: 100;
    display: block;
    background-color: transparent;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow-x: hidden;
}

/* --- NAVIGATION HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
    /* Create a gradient overlay behind the header like in the mockup */
    background: linear-gradient(180deg, rgba(5, 38, 21, 0.9) 0%, rgba(5, 38, 21, 0) 100%);
}
.site-header.scrolled {
    background: var(--bg-main);
    padding: 15px 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}
.header-logo i {
    font-size: 2rem;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}
.nav-links a:hover {
    color: var(--accent);
}
.btn-try {
    background-color: var(--accent);
    color: var(--bg-main);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-try:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    background-color: #10b981; /* Lighter emerald */
}

/* --- LOGIN MODAL --- */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background-color: transparent;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.login-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.landing-page.fade-out, .login-modal.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}
.close-modal-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: var(--bg-main);
}

.landing-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    perspective: 1000px;
}
/* --- LANGUAGE SELECTOR --- */
.landing-lang {
    display: flex;
    gap: 8px;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}
.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #a1a1aa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-card {
    background: rgba(24, 24, 27, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.landing-logo {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
}

.glass-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 14px 45px 14px 45px;
    border-radius: var(--border-radius-md);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #18181b inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 2;
}

.toggle-password:hover {
    color: white;
}

.input-group input:focus {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.error-msg {
    color: #ef4444 !important;
    font-size: 0.85rem !important;
    margin: -8px 0 0 0 !important;
    display: none;
    text-align: left;
}

.primary-btn {
    background: var(--accent);
    color: var(--bg-main);
    border: none;
    padding: 14px;
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.5);
}

.landing-credit {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 2;
    animation: floatPulse 4s ease-in-out infinite;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes floatPulse {
    0% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-5px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.7; }
}

/* --- Modal & Toggle Styles --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--bg-sidebar);
    width: 90%;
    max-width: 400px;
    padding: 24px;
    border-radius: var(--border-radius-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-surface-hover);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --- LANDING PAGE NEW SECTIONS --- */
.landing-section {
    padding: 80px 20px;
    width: 100%;
    color: #fff;
    background-color: #052615;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Governor Section */
.governor-section {
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(9, 59, 33, 0.8) 0%, rgba(5, 38, 21, 0.8) 100%);
}
.gov-header {
    margin-bottom: 40px;
    max-width: 700px;
}
.gov-subtitle {
    color: #10b981;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.gov-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
}
.highlight {
    color: #10b981;
}
.gov-role {
    font-size: 1.2rem;
    color: #a1a1aa;
    margin-bottom: 25px;
}
.gov-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e2e8f0;
}
.gov-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 400px 200px;
    gap: 20px;
    margin-bottom: 50px;
}
.gov-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.gov-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gov-img:hover img {
    transform: scale(1.05);
}
.main-img {
    grid-row: 1 / 2;
    grid-column: 1 / 4;
}
.sub-img1 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.sub-img2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.sub-img3 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.gov-footer {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 50px;
}
.gov-quote {
    flex: 1;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
}
.gov-quote i {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 15px;
}
.quote-author {
    margin-top: 20px;
    font-size: 1rem;
    font-style: normal;
    color: #a1a1aa;
}
.quote-author strong {
    color: #fff;
    font-size: 1.1rem;
}
.gov-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #052615;
}

.gov-cta {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-text h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.cta-text p {
    font-size: 1.1rem;
    color: #a1a1aa;
    max-width: 500px;
    line-height: 1.6;
}
.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.cta-signature {
    font-family: 'Brush Script MT', cursive;
    font-size: 2rem;
    color: #a1a1aa;
    transform: rotate(-10deg);
}
.learn-more-btn {
    background-color: #10b981;
    color: #052615;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, rgba(5, 38, 21, 0.95), rgba(9, 59, 33, 0.85));
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 40px 0;
}
.mission-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}
.mission-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}
.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}
.mission-subtitle {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 25px;
    font-weight: 500;
}
.mission-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
}

/* Team Section */
.team-section {
    background: linear-gradient(180deg, rgba(5, 38, 21, 0.8) 0%, rgba(3, 28, 14, 0.8) 100%);
    padding-bottom: 100px;
}
.team-header {
    text-align: center;
    margin-bottom: 60px;
}
.team-subtitle {
    color: #10b981;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.team-title {
    font-size: 3rem;
    margin-bottom: 20px;
}
.team-desc {
    color: #a1a1aa;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.team-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    color: #0f172a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.card-img-wrapper {
    height: 250px;
    width: 100%;
    overflow: hidden;
    border-bottom: 4px solid #10b981;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-info h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: #031c0e;
}
.card-info .role {
    color: #10b981;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.card-info .desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 20px;
    flex: 1;
}
.card-quote {
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-style: italic;
    color: #334155;
    position: relative;
}
.card-quote i {
    color: #10b981;
    margin-bottom: 8px;
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 80px 0 120px;
    text-align: center;
}
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}
.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}
.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.contact-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.contact-icon {
    font-size: 1.2rem;
    color: var(--accent);
}
.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .gov-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }
    .main-img {
        grid-row: 1;
        grid-column: 1;
    }
    .sub-img1 {
        grid-row: 2;
        grid-column: 1;
    }
    .sub-img2 {
        grid-row: 3;
        grid-column: 1;
    }
    .sub-img3 {
        grid-row: 4;
        grid-column: 1;
    }
    .gov-footer, .gov-cta {
        flex-direction: column;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-footer {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-footer {
        grid-template-columns: 1fr;
    }
    .gov-title {
        font-size: 2.5rem;
    }
}

/* --- MOBILE MENU --- */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 900px) {
    .site-header {
        padding: 15px 20px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-main);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        display: flex;
    }
}
