* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f5f7f0;
}

/* Journey Hero Section */
.journey-hero {
  background: linear-gradient(135deg, #2c5e1e, #1a3a10);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 0 0 50px 50px;
  margin-bottom: 3rem;
}
.journey-hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.journey-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}
.journey-hero small {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Vertical Timeline Container */
.timeline-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.timeline-container {
  position: relative;
  padding: 40px 0;
}

/* Vertical Center Line */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2c5e1e, #e87c2a, #2c5e1e);
  border-radius: 4px;
}

/* Timeline Nodes Container */
.timeline-nodes {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

/* Individual Node */
.timeline-node {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

/* Alternate sides - Odd nodes (1,3,5,7) go right, Even nodes (2,4,6) go left */
.timeline-node:nth-child(odd) .timeline-content {
  margin-left: calc(50% + 40px);
  margin-right: 0;
  text-align: left;
}

.timeline-node:nth-child(even) .timeline-content {
  margin-right: calc(50% + 40px);
  margin-left: 0;
  text-align: left;
}

/* Year Circle */
.timeline-year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: white;
  border: 4px solid #2c5e1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #2c5e1e;
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Content Box */
.timeline-content {
  width: 400px;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  border: 1px solid rgba(100, 128, 60, 0.2);
  position: relative;
  opacity: 1;
  visibility: hidden;
}

/* Content Box Arrow - Pointing toward center line */
.timeline-node:nth-child(odd) .timeline-content::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid white;
}

.timeline-node:nth-child(even) .timeline-content::before {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid white;
}

/* Content Box Title */
.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c5e1e;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #556;
  line-height: 1.5;
  margin: 0;
}

.timeline-content .year-label {
  display: inline-block;
  background: #e87c2a;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Connecting line from circle to content box */
.timeline-node:nth-child(odd) .timeline-year::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #e87c2a, rgba(232, 124, 42, 0.3));
  opacity: 0;
  transition: all 0.4s ease;
}

.timeline-node:nth-child(even) .timeline-year::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(270deg, #e87c2a, rgba(232, 124, 42, 0.3));
  opacity: 0;
  transition: all 0.4s ease;
}

/* Hover Effects */
.timeline-node:hover .timeline-year {
  transform: translateX(-50%) scale(1.15);
  background: linear-gradient(135deg, #e87c2a, #f39c12);
  border-color: #e87c2a;
  color: white;
  box-shadow: 0 8px 20px rgba(232, 124, 42, 0.4);
}

.timeline-node:hover .timeline-year::after {
  opacity: 1;
  width: 50px;
}

.timeline-node:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  visibility: visible;
}

/* Icons inside circles */
.timeline-year i {
  font-size: 1.8rem;
}

.timeline-end {
  color: #1e4a1a;
  background: white;
  font-weight: 600;
  padding: 2rem;
  max-width: 800px;
  border: 1px solid rgba(100, 128, 60, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  border-radius: 20px;
  margin: auto;
  text-align: center;
}

.timeline-end:hover {
  background: #e87c2a;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  visibility: visible;
  border-color: #e87c2a;
}

/* Stats Section */
.journey-stats {
  background: linear-gradient(135deg, #e8ede0, #f5f7f0);
  padding: 4rem 2rem;
  border-radius: 50px;
  margin: 2rem 2rem;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.journey-stat-item {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.journey-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.journey-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #e87c2a;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.journey-stat-label {
  color: #2c5e1e;
  font-weight: 600;
}

/* Footer Styles */
footer {
  background: #1a472a;
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.footer-section h4 {
  margin-bottom: 1rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section a {
  color: #ccc;
  text-decoration: none;
}
.footer-section a:hover {
  color: #e87c2a;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-links a {
  color: white;
  font-size: 1.2rem;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animation for initial load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-node {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.timeline-node:nth-child(1) { animation-delay: 0.1s; }
.timeline-node:nth-child(2) { animation-delay: 0.2s; }
.timeline-node:nth-child(3) { animation-delay: 0.3s; }
.timeline-node:nth-child(4) { animation-delay: 0.4s; }
.timeline-node:nth-child(5) { animation-delay: 0.5s; }
.timeline-node:nth-child(6) { animation-delay: 0.6s; }
.timeline-node:nth-child(7) { animation-delay: 0.7s; }

/* Responsive */
@media (max-width: 968px) {
  
  .timeline-content {
    width: 320px;
  }
  
  .timeline-node:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 30px);
  }
  
  .timeline-node:nth-child(even) .timeline-content {
    margin-right: calc(50% + 30px);
  }
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 40px;
    transform: translateX(-50%);
    
  }
  
  .timeline-node {
    justify-content: flex-start;
  }
  
  .timeline-year {
    left: 40px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
  }
  
  .timeline-year i {
    font-size: 1.3rem;
  }
  
  .timeline-node:nth-child(odd) .timeline-content,
  .timeline-node:nth-child(even) .timeline-content {
    width: calc(100% - 110px);
    margin-left: 90px;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline-node:nth-child(odd) .timeline-content::before,
  .timeline-node:nth-child(even) .timeline-content::before {
    left: -12px;
    right: auto;
    border-right: 12px solid white;
    border-left: none;
  }
  
  .timeline-node:nth-child(odd) .timeline-year::after,
  .timeline-node:nth-child(even) .timeline-year::after {
    display: none;
  }
  
  .timeline-node:hover .timeline-content {
    transform: translateX(0) translateY(-5px);
  }
  
  .menu-toggle {
    display: block;
  }
  
  #navList {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a472a;
    padding: 1rem;
    gap: 1rem;
  }
  
  #navList.active {
    display: flex;
  }
  
  .journey-hero h1 {
    font-size: 1.8rem;
  }
  
  .timeline-content h3 {
    font-size: 1rem;
  }
  
  .timeline-content p {
    font-size: 0.8rem;
  }
  
  .journey-stats {
    margin: 2rem 1rem;
  }
}