/* GENERAL STYLES */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0e1117;
  color: white;
}

h1, h2, h3 {
  margin: 0;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background-color: #171b1e;
  border-bottom: 1px solid #1e1e2e;
  height: 64px;
  overflow: hidden; /* added to prevent overflow */

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* ensures it stays above other content */
}

.nav-logo {
  display: flex;
  align-items: center;
  padding-left: 30px;
  background-color: #171b1e; /* match navbar background */
  height: 48px; /* fixed height */
  overflow: hidden; /* clip any overflow */
}

.nav-logo img.logo-img {
  height: 160px; /* reduce from 140px to fit navbar */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 0 transparent);
  background-color: #171b1e; /* fallback background */
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(to bottom, #0e1117, #11141c);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  opacity: 0.7;
  margin-top: 10px;
}

/* TIMELINE SECTION */
.timeline {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background: url('images/journey-past.png') no-repeat center center;
  background-size: cover;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.4);
  color: white;
  overflow: hidden;
}

.timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(14, 17, 23, 0.75);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.timeline > * {
  position: relative;
  z-index: 1;
}

.milestone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  border-left: 2px solid #3a3f4b;
  padding-left: 20px;
  position: relative;
}

.milestone::before {
  content: '';
  width: 14px;
  height: 14px;
  background-color: #00ffee;
  border-radius: 50%;
  position: absolute;
  left: -8px;
  top: 0;
}

.left {
  flex: 1;
}

.left h3 {
  font-size: 16px;
  color: #a0a0a0;
}

.left h2 {
  font-size: 28px;
  margin: 10px 0 5px;
}

.left p {
  font-size: 16px;
  color: #ccc;
}

.right {
  flex: 1;
  padding-left: 40px;
}

/* PLACEHOLDER BLOCKS */
.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-color: #10131b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  font-style: italic;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* UNIQUE BORDER COLORS */
.image-1 { border: 2px solid #1f2a44; }
.image-2 { border: 2px solid #2c364d; }
.image-3 { border: 2px solid #3a4355; }
.image-4 { border: 2px solid #444d5a; }

/* HOVER NEON GLOW EFFECTS */
.image-1:hover {
  box-shadow: 0 0 12px 2px #00bfff80;
  border-color: #00bfff;
}

.image-2:hover {
  box-shadow: 0 0 12px 2px #00a3cc80;
  border-color: #00a3cc;
}

.image-3:hover {
  box-shadow: 0 0 12px 2px #0099bb80;
  border-color: #0099bb;
}

.image-4:hover {
  box-shadow: 0 0 12px 2px #007a9980;
  border-color: #007a99;
}

/* GALLERY SECTION */
.gallery {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background: url('images/journey-future.png') no-repeat center center;
  background-size: cover;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(102, 102, 255, 0.35);
  color: white;
  overflow: hidden;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(14, 17, 23, 0.7);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.gallery > * {
  position: relative;
  z-index: 1;
}

.gallery h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-item {
  cursor: pointer;
}

.gallery-item p {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.6;
}

/* VIDEOS SECTION */
.videos {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background: url('images/journey-future.png') no-repeat center center;
  background-size: cover;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(102, 102, 255, 0.35);
  color: white;
  overflow: hidden;
}

.videos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(14, 17, 23, 0.7);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.videos > * {
  position: relative;
  z-index: 1;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #0a0c10;
  font-size: 14px;
  opacity: 0.5;
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


