:root {
  --navy: #0b2447;
  --navy-dark: #071a34;
  --green: #2ecc71;
  --green-dark: #27ae60;
  --text-muted: #6b7280;
}
* { font-family: 'Roboto', sans-serif; box-sizing: border-box; }
body { color: #1f2937; overflow-x: hidden; }
a { text-decoration: none; }
.btn-green { background: var(--green); color: #fff; border: none; border-radius: 6px; padding: 12px 26px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline-white { border: 1px solid rgba(255,255,255,.6); color: #fff; border-radius: 6px; padding: 12px 26px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.section-label { color: var(--green); text-transform: uppercase; font-size: .8rem; font-weight: 700; letter-spacing: 1px; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--navy); }

/* Topbar */
.topbar { background: var(--navy-dark); color: #cbd5e1; font-size: .82rem; padding: 8px 0; }
.topbar a { color: #cbd5e1; }
.topbar .divider { opacity: .3; margin: 0 10px; }

/* Navbar */
.main-navbar { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.05); padding: 14px 0; position: sticky; top: 0; z-index: 999; }
.main-navbar .navbar-brand { font-weight: 700; color: var(--navy); font-size: 1.4rem; display: flex; align-items: center; gap: 8px; }
.main-navbar .navbar-brand small { display: block; font-size: .6rem; font-weight: 400; color: var(--text-muted); letter-spacing: 2px; }
.main-navbar .nav-link { color: #374151; font-weight: 500; margin: 0 10px; }
.main-navbar .nav-link.active { color: var(--green); }

/* Hero */
.hero { position: relative; background: linear-gradient(120deg, rgba(7,26,52,.92) 20%, rgba(7,26,52,.4) 70%), url('../images/hero.jpg') center/cover no-repeat; min-height: 560px; display: flex; align-items: center; color: #fff; }
.hero .tag { color: var(--green); font-weight: 700; letter-spacing: 1px; font-size: .85rem; text-transform: uppercase; }
.hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.15; }
.hero h1 span { color: var(--green); }
.hero p { color: #d1d5db; max-width: 480px; margin: 18px 0 26px; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats .stat { display: flex; align-items: center; gap: 12px; }
.hero-stats .stat i { font-size: 1.6rem; color: var(--green); }
.hero-stats .stat b { display: block; font-size: 1.3rem; }
.hero-stats .stat span { font-size: .8rem; color: #cbd5e1; }

/* Programs */
.programs-section { background: #f5f8fb; padding: 80px 0; }
.program-card { background: #fff; border-radius: 10px; padding: 32px 24px; text-align: center; height: 100%; box-shadow: 0 4px 18px rgba(0,0,0,.04); transition: transform .2s; }
.program-card:hover { transform: translateY(-6px); }
.program-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.5rem; color: #fff; }
.program-card h5 { font-weight: 700; color: var(--navy); }
.program-card p { color: var(--text-muted); font-size: .9rem; }
.program-card .learn-more { color: var(--green); font-weight: 500; font-size: .88rem; }

/* About */
.about-section { padding: 90px 0; }
.about-list { list-style: none; padding: 0; }
.about-list li { padding: 6px 0; color: #374151; }
.about-list li i { color: var(--green); margin-right: 10px; }
.about-images { position: relative; }
.about-badge { position: absolute; bottom: -20px; right: 10px; background: var(--navy); color: #fff; border-radius: 10px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.about-badge i { font-size: 1.8rem; color: var(--green); }

/* CTA banner */
.cta-banner { background: var(--navy); color: #fff; padding: 34px 0; }
.cta-banner h3 { font-weight: 700; margin: 0; }
.cta-banner span { color: var(--green); }

/* Projects */
.projects-section { padding: 90px 0; }
.project-card { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.06); background: #fff; height: 100%; }
.project-card .img-wrap { position: relative; height: 170px; overflow: hidden; }
.project-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.project-card .badge-cat { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: .7rem; padding: 4px 10px; border-radius: 4px; }
.project-card .body { padding: 18px; }
.project-card h6 { font-weight: 700; color: var(--navy); min-height: 44px; }
.progress { height: 6px; border-radius: 4px; }
.progress-bar { background: var(--green); }
.project-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-muted); margin-top: 10px; }

/* Partners */
.partners-section { padding: 50px 0 80px; text-align: center; }
.partners-row { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 30px; opacity: .6; }

/* Rich content (TinyMCE output on Pages / News) */
.page-rich-content { color: #374151; line-height: 1.8; }
.page-rich-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.page-rich-content h1, .page-rich-content h2, .page-rich-content h3 { color: var(--navy); font-weight: 700; margin-top: 24px; }
.page-rich-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-rich-content table td, .page-rich-content table th { border: 1px solid #e5e7eb; padding: 8px 12px; }
.page-rich-content a { color: var(--green); }

/* Footer */
footer.site-footer { background: var(--navy-dark); color: #cbd5e1; padding: 60px 0 20px; font-size: .9rem; }
footer.site-footer h5 { color: #fff; font-weight: 700; margin-bottom: 18px; }
footer.site-footer a { color: #cbd5e1; }
footer.site-footer a:hover { color: var(--green); }
footer.site-footer ul { list-style: none; padding: 0; }
footer.site-footer ul li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.social-icons a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; }

/* Responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { min-height: auto; padding: 60px 0; }
  .hero-stats { gap: 24px; }
  .section-title { font-size: 1.6rem; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: 1.7rem; }
  .about-badge { position: static; margin-top: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
