:root {
  --bg-color: #ffffff;
  --card-bg: #ffffff;
  --accent-color: #ff6b81;
  --text-color: #2f3542;
  --subtext-color: #747d8c;
  --line-color: #dfe4ea;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 8px;
}

header p {
  color: var(--subtext-color);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* Timeline Container */
.timeline {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--line-color);
  top: 0;
  bottom: 0;
  left: 20px;
  border-radius: 2px;
  z-index: -1;
}

.timeline-item {
  position: relative;
  padding-left: 54px;
  margin-bottom: 32px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.timeline-item:hover {
  opacity: 1;
}


.timeline-dot {
  position: absolute;
  left: 11px;
  top: 16px;
  width: 22px;
  height: 22px;
  background-color: var(--card-bg);
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  z-index: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  background-color: var(--accent-color);
}


.timeline-content {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.timeline-content h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--subtext-color);
  margin-bottom: 12px;
}


.timeline-image {
  width: 50%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  display: block;
}


.note {
  background-color: #fff0f3;
  border-left: 3px solid var(--accent-color);
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #d63031;
  font-style: italic;
}


button {
    padding: 12px 24px;
    font-size: 1rem;
    color: var(--subtext-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
}
