/* ========================================
   JOURNEY & ACHIEVEMENTS - OVERFLOW ROBOTICS
   THEMED CYBER SYSTEM (UPDATED)
   ======================================== */

/* ---------- ROOT THEME ---------- */
:root {
  --bg: #05070a;
  --panel: #0d1117;

  --text: #ffffff;
  --text-dim: #a8b3c2;

  --border: rgba(255,255,255,0.08);

  --accent: #00e5ff;
  --accent-2: #7c4dff;
}

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

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

/* ---------- HEADER ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--text);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,229,255,0.08), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(124,77,255,0.06), transparent 60%);
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.hero p {
  margin-top: 10px;
  color: var(--text-dim);
}

.hero-stats {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-number {
  font-size: 2rem;
  color: var(--accent);
  font-family: 'Orbitron';
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- SCROLL INDICATOR ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-dim);
}

.mouse {
  width: 22px;
  height: 35px;
  border: 2px solid var(--border);
  border-radius: 20px;
  margin: 0 auto 5px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ---------- JOURNEY ---------- */
.journey {
  padding: 120px 6%;
}

.journey h2 {
  text-align: center;
  font-family: 'Orbitron';
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  width: 50%;
  padding: 25px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.year {
  color: var(--accent);
  font-size: 0.9rem;
}

/* ---------- ACHIEVEMENTS ---------- */
.journey-highlights {
  padding: 120px 10%;
  background: #0b0b0f;
  color: white;
}

/* big section title */
.journey-highlights h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
}

/* story container */
.story {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

/* each “Apple-style” block */
.story-item {
  max-width: 800px;
}

/* small label */
.tag {
  font-size: 12px;
  letter-spacing: 2px;
  color: #00e0ff;
  opacity: 0.8;
}

/* main title */
.story-item h3 {
  font-size: 28px;
  margin: 10px 0;
  font-weight: 600;
}

/* description */
.story-item p {
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 600px;
}

/* reveal animation (important for Apple feel) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.story {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
}
.story-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {

  header {
    padding: 15px 5%;
  }

  .timeline-line {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 30px;
  }

  .hero-stats {
    gap: 20px;
  }
}













.timeline {
  position: relative;
}

.timeline-svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 180%;
  z-index: 0;
  pointer-events: none;
}

.timeline-item {
  position: relative;
  z-index: 2;
}


.nav-links a {
    font-size: 1.6rem !important;
    font-weight: bold;
}