﻿* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Inter", sans-serif; background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%); color: #1a2a3a; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: baseline; gap: 12px; }
.logo { font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, #2e7d64, #1a5f4a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tagline { font-size: 0.85rem; color: #666; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: #4a5568; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #2e7d64; }
.hero { text-align: center; padding: 4rem 0; }
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.highlight { background: linear-gradient(135deg, #2e7d64, #1a5f4a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: #4a5568; max-width: 600px; margin: 0 auto 2rem; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 3rem; }
.btn-primary { background: linear-gradient(135deg, #2e7d64, #1a5f4a); color: white; border: none; padding: 12px 32px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: transform 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(46,125,100,0.3); }
.btn-secondary { background: white; color: #2e7d64; border: 2px solid #2e7d64; padding: 10px 30px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.btn-secondary:hover { background: #2e7d64; color: white; }
.stats { display: flex; justify-content: center; gap: 48px; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: #2e7d64; }
.stat-label { color: #666; font-size: 0.9rem; }
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.modal-content { background: white; border-radius: 16px; padding: 2rem; max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto; }
.modal-large { max-width: 900px; }
.close { float: right; font-size: 1.5rem; font-weight: bold; cursor: pointer; color: #aaa; }
.close:hover { color: #333; }
label { display: block; margin: 1rem 0 0.5rem; font-weight: 500; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 1rem; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 16px; margin: 1rem 0; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: normal; }
.next-btn, .prev-btn { margin-top: 1.5rem; margin-right: 10px; padding: 10px 24px; border: none; border-radius: 8px; cursor: pointer; }
.next-btn { background: #2e7d64; color: white; }
.prev-btn { background: #e2e8f0; color: #4a5568; }
.grant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; margin-top: 2rem; }
.grant-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); cursor: pointer; transition: transform 0.2s; }
.grant-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.grant-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.grant-agency { font-size: 0.85rem; color: #2e7d64; font-weight: 500; }
.grant-amount { font-size: 1.25rem; font-weight: 800; color: #1a5f4a; margin: 0.5rem 0; }
.grant-deadline { font-size: 0.85rem; color: #e53e3e; }
.grant-match { display: inline-block; background: #e6f7f0; color: #2e7d64; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; margin-top: 0.5rem; }
.proposal-content { margin-top: 1.5rem; max-height: 60vh; overflow-y: auto; padding: 1rem; background: #f9fafb; border-radius: 8px; }
.proposal-section { margin-bottom: 2rem; }
.proposal-section h3 { color: #2e7d64; margin-bottom: 1rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 0.5rem; }
.loading { text-align: center; padding: 2rem; }
.loading-spinner { border: 3px solid #e2e8f0; border-top: 3px solid #2e7d64; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@media (max-width: 768px) { .hero h1 { font-size: 2rem; } .stats { flex-direction: column; } .grant-grid { grid-template-columns: 1fr; } }
