  body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 20px;
  }

  .timeline {
    display: flex;
    gap: 20px;
    justify-content: center; /* Center the arrows horizontally */
    flex-wrap: wrap; /* allow wrapping on smaller screens */
  }

  .arrow {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    padding: 20px 40px;
    position: relative;
    cursor: pointer;
    font-weight: bold;
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
    text-align: center;
    transition: transform 0.3s, background 0.3s;
  }

  .arrow:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #00ffff, #0055ff);
  }

  .arrow-text {
    margin-top: 30px;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    background: #f0f0f0;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    min-height: 50px; /* reserve space even before click */
  }



/* .modal {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  width: 80%;
  max-width: 700px;
  max-height: 80%;
  overflow-y: auto;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  text-align: left;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
}

.modal-content img {
  max-width: 100%;
  margin-top: 10px;
  border-radius: 8px;
} */

.arrow-text {
  margin: 40px auto;
  width: 80%;
  max-width: 700px;
  background: #f5f5f5;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  display: none; /* hidden until click */
  position: relative;
}

.arrow-text img {
  max-width: 100%;
  margin-top: 10px;
  border-radius: 8px;
}

.close-inside {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
}



@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .arrow {
    width: 200px; /* optional: make arrows narrower on small screens */
  }
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

