/* ==========================================================================
   Global Reset & Variables
   ========================================================================== */
:root {
  --primary-navy: #0B2240;
  --secondary-navy: #183359;
  --accent-orange: #C04A15;
  --accent-orange-hover: #9E3A0E;
  --accent-green: #2B8A5A;
  --bg-light: #F4F6F8;
  --bg-white: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --border-light: #E5E7EB;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #FFF;
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
}

.btn-secondary {
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background-color: var(--bg-white);
  color: var(--primary-navy);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Active States */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
  background-color: var(--secondary-navy);
  color: #FFF;
  padding: 5rem 0;
  text-align: left;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(rgba(11, 34, 64, 0.85), rgba(11, 34, 64, 0.85));
}

.hero-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: #E5E7EB;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 750px;
}

.hero-description {
  font-size: 1.15rem;
  max-width: 650px;
  margin-bottom: 2rem;
  color: #D1D5DB;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   General UI Components
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

.progress-bar {
  background-color: var(--border-light);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0 0.5rem 0;
}

.progress-fill {
  background-color: var(--accent-green);
  height: 100%;
}

/* ==========================================================================
   Page Specific Layouts
   ========================================================================== */

/* Index Page Stats */
.stats-bar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* About Page Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.timeline-year {
  background-color: var(--primary-navy);
  color: #FFF;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Ways to Give Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem;
  background-color: var(--bg-white);
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  display: none;
  color: var(--text-muted);
}

.accordion-item.active .accordion-body {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-navy);
  color: #FFF;
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #9CA3AF;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  color: #E5E7EB;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #FFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9CA3AF;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}