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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  color: #1a1a2e;
  background: #f8f9fa;
  line-height: 1.7;
}

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0B1F33;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 60px;
}

.nav-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  height: 28px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #c8d6e5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-lang {
  display: flex;
  gap: 8px;
  margin-left: 28px;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.lang-btn.active {
  border-color: #fff;
}

.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---- Hero ---- */
.hero {
  background: #0B1F33;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
}

/* ---- Sections ---- */
.container {
  max-width: 900px;
  margin: 0 auto;
}

.section {
  padding: 72px 24px;
}

.section h2 {
  font-size: 2rem;
  color: #0B1F33;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #0B1F33;
  border-radius: 2px;
}

.section p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #333;
}

/* ---- Timeline ---- */
.timeline-section {
  background: #fff;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #0B1F33;
  border-radius: 2px;
  transform: translateX(-50%);
}

.timeline-phase {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
}

.timeline-phase:last-child {
  margin-bottom: 0;
}

.timeline-phase:nth-child(odd) {
  flex-direction: row;
}

.timeline-phase:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: #0B1F33;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #0B1F33;
  z-index: 2;
}

.timeline-content {
  width: 44%;
  background: #f1f3f5;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline-phase:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-phase:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-content h3 {
  font-size: 1.2rem;
  color: #0B1F33;
  margin-bottom: 4px;
}

.timeline-subtitle {
  font-size: 0.85rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-weight: 600;
}

.timeline-item {
  margin-bottom: 14px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item h4 {
  font-size: 1rem;
  color: #0B1F33;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 0;
}

/* ---- Consortium ---- */
.consortium-section {
  background: #f8f9fa;
}

.consortium-group {
  margin-bottom: 32px;
}

.consortium-group h3 {
  font-size: 1.15rem;
  color: #0B1F33;
  margin-bottom: 12px;
  font-weight: 700;
}

.consortium-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.consortium-list li {
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.consortium-parent {
  font-weight: 700;
  background: #e8ecf1;
}

.consortium-children {
  list-style: none;
  padding-left: 16px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.consortium-children li {
  background: transparent;
  box-shadow: none;
  padding: 4px 0;
  padding-left: 12px;
  border-left: 2px solid #0B1F33;
  font-size: 0.9rem;
  color: #555;
}

/* ---- Footer ---- */
.footer {
  background: #0B1F33;
  color: #c8d6e5;
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    justify-content: center;
    gap: 10px;
  }

  .nav-brand {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-lang {
    margin-left: 0;
  }

  .hero {
    padding: 48px 16px;
  }

  .hero-logo {
    max-width: 220px;
  }

  .section {
    padding: 48px 16px;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-phase,
  .timeline-phase:nth-child(odd),
  .timeline-phase:nth-child(even) {
    flex-direction: row;
  }

  .timeline-marker {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 56px);
    margin-left: 56px !important;
    margin-right: 0 !important;
  }

  .consortium-list {
    grid-template-columns: 1fr;
  }
}
