
/* Section wrapper */
.about-section {
  padding: 6rem 2rem;        /* breath for large screens */
  max-width: 1200px;
  margin: 0 auto;
}

/* Two-column layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Intro */
.about-intro h2 {
  font-size: clamp(4rem, 3vw, 6rem);
  margin-bottom: 0.75rem;
}
.about-intro p {
  font-size: clamp(1.2rem, 1.3vw, 1.3rem);
  color: #444;
  margin-bottom: 1.5rem;
}

/* Quick facts */
.about-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.75rem;
}
.about-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.about-facts div span {
  color: #666;
  font-weight: 500;
}
.about-facts div b {
  font-weight: 600;
  color: #111;
}
/* Label in the facts grid (Stack) */
.about-facts .label {
  display: inline-flex;
  align-items: center;
  color: #666;
  font-weight: 500;
}

/* Education */
.about-edu h3,
.about-timeline h3 {
  font-size: 1.125rem;
  margin: 1rem 0 0.75rem;
}
.about-edu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-edu li {
  padding-left: 0;
  margin: 0.4rem 0;
  color: #222;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 0.5rem 0 0 0.5rem;
  padding-left: 1.25rem;
  list-style: none;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.1rem;
}
.timeline-item::before {
  content: attr(data-icon);
  position: absolute;
  left: -1.55rem;             /* centers on the vertical line */
  top: 0.2rem;
  font-size: 1.1rem;
  line-height: 1;
}

.timeline-item::marker { content: ""; }

.tl-year {
  font-weight: 600;
  color: #111;
  margin-bottom: 0.1rem;
  margin-left: 1rem;
}
.tl-body {
  color: #444;
  line-height: 1.8;
}

/* Small icon helper for headings/labels */
.icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.15em;     /* slightly larger than text */
  line-height: 1;
  vertical-align: -2px;  /* nudge baseline */
}
.about-links {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  text-align: center;
}

.about-links a {
  color: #0073e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 1.5s infinite;
  transition: color 0.2s ease;
  text-decoration: none;
}

/* Stagger animation delay for each arrow */
.about-links a:nth-child(2) { animation-delay: 0.2s; }
.about-links a:nth-child(3) { animation-delay: 0.4s; }

/* Hover: stop bounce animation */
.about-links a:hover {
  color: black;
  animation-play-state: paused;
}

.arrow-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.arrow {
  width: 36px;
  height: 36px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  .about-section {
    padding: 4rem 1.25rem;
  }
  .about-facts div {
    grid-template-columns: 100px 1fr;
  }

  .about-links {
    display: none;
  }
}

@media (max-width: 580px) {
  .about-grid {
    margin-top: 180px;
  }
}