body {
  font-family: "Inter", sans-serif;
  background: #05071a;
  color: #e0e0e0;
  overflow-x: hidden;
}
/* .glow-effect removed for consistency with other pages */
.accent-blue {
  color: #3b82f6;
}
.btn-primary {
  background: linear-gradient(45deg, #3b82f6, #60a5fa);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.btn-secondary {
  border-color: #3b82f6;
  color: #3b82f6;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

/* --- Animation Classes --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Timeline Styling --- */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: rgba(59, 130, 246, 0.3);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}
.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #0a0f1f;
  border: 4px solid #3b82f6;
  top: 28px;
  border-radius: 50%;
  z-index: 1;
}
.left {
  left: 0;
}
.right {
  left: 50%;
}
.right::after {
  left: -10px;
}
.timeline-content {
  padding: 20px 30px;
}

/* --- About Page Hero Background --- */
.about-hero-bg {
  position: relative;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: none !important;
}
.about-hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("../images/shapes/about_hero.webp") center top/70% auto
    no-repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: heroBgFadeIn 2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
    heroBgFloat 8s ease-in-out 2s infinite;
}
.about-hero-bg.animated .about-hero-img-bg {
  opacity: 1;
}
.about-hero-bg > *:not(.about-hero-img-bg) {
  position: relative;
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item::after {
    left: 21px;
  }
  .right {
    left: 0%;
  }
  .about-hero-bg {
    background: none !important;
    min-height: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  .about-hero-bg > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  /* Add a little spacing before Our Story section on mobile */
  .about-hero-bg + div[style*="height"] {
    display: block !important;
    height: 35px !important;
  }
}

@keyframes heroBgFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes heroBgFloat {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}
