:root {
  --primary: #2563eb;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

header {
  background: linear-gradient(120deg, #3266f7, #9ddbf8);
  color: #fff;
  padding: 108px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

header p {
  font-size: 1.05rem;
  opacity: 0.95;
}

.container {
  width: min(1100px, 92%);
  margin: 34px auto;
}

.timeline {
  position: relative;
  margin-bottom: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #bfdbfe;
  transform: translateX(-50%);
}

.timeline-item {
  width: 50%;
  padding: 12px 26px;
  position: relative;
  margin-bottom: 22px;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #93c5fd;
}

.timeline-item.left::after {
  right: -7px;
}

.timeline-item.right::after {
  left: -7px;
}

.card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.card .content {
  padding: 16px;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 30px;
}

.contact a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .timeline::before {
    left: 16px;
    transform: none;
  }

  .timeline-item,
  .timeline-item.right,
  .timeline-item.left {
    width: 100%;
    left: 0;
    padding: 8px 0 8px 40px;
  }

  .timeline-item::after,
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 9px;
    right: auto;
  }
}
