body {
  background-color: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  padding: 2rem;
  max-width: 70%;
  margin: auto;
}

h1 {
  text-align: left;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 90px;
}

/* Problem */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns on desktop */
  gap: 1.5rem;
  padding: 0 0 2rem 0;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }
}

.card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 255, 210, 0.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card:hover {
  border-color: rgba(0, 255, 210, 0.6);
  box-shadow: 
    0 8px 30px rgba(0, 255, 210, 0.3),
    0 0 40px rgba(0, 255, 210, 0.4),
    inset 0 0 20px rgba(0, 255, 210, 0.1);
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-align: center;
}
/* Problem ends here */


/* Solution */
.solution-container {
  display: flex;
  width: 100%;
  background-color: black;
  color: white;
  padding: 0 0 2rem 0;
  gap: 4rem;
  align-items: stretch; /* Force both columns to share the same height */
}

.solution-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.solution-card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(0, 255, 210, 0.1);
  transition: all 0.3s ease;
}

.solution-card:hover {
  background: #252525;
  border-color: rgba(0, 255, 210, 0.6);
  box-shadow: 
    0 8px 30px rgba(0, 255, 210, 0.3),
    0 0 40px rgba(0, 255, 210, 0.4),
    inset 0 0 20px rgba(0, 255, 210, 0.1);
  transform: translateY(-3px);
}

.solution-right {
  flex: 2;
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
  min-height: 300px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden; /* Lock height — image/text inside cannot push it taller */
}

#solutionImage {
  position: absolute;          /* Out of flow — does not control panel height */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 4rem);   /* Respect parent's 2rem padding */
  max-height: calc(100% - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

#solution-text {
  display: none;
  position: absolute;          /* Out of flow — does not shrink panel either */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.7;
  color: #ccc;
}

#solution-text.visible {
  display: block;
}
/* Solution Ends Here */


/* Product Section - Vertical Slider Matching Ongoing Projects Style */
.product-section {
  padding: 60px 0 40px 0;
  color: #fff;
}

.product-section h2 {
  text-align: left;
  margin: 0 0 18px 0;
  font-size: 60px;
}

/* Slider Container - matching ongoing */
.product-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  background: #0b0f14;
  height: min(520px, 70vh);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Slides wrapper - vertical */
.product-slides {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 550ms ease;
  will-change: transform;
}

.product-slide {
  min-height: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Glass overlay - matching ongoing (left transparent, right dark) */
.product-glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.15) 25%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.68) 75%,
    rgba(0,0,0,0.82) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Content on right - matching ongoing */
.product-content {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 48%);
  color: #fff;
  z-index: 5;
  padding-left: 56px;
  padding-right: 56px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.product-text-box {
  /* Remove background gradient - rely on glass overlay */
  background: none;
  border: none;
  padding: 0;
  max-width: 100%;
  text-align: left;
}

.product-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 10px;
  color: #00ffd2;
  font-weight: 500;
  text-align: left;
}

.product-content h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1.08;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  text-align: left;
}

.product-content p {
  margin: 0;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.55;
  opacity: 0.92;
  color: #e8e8e8;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  text-align: left;
}

/* Navigation arrows - vertical placement matching ongoing style */
.product-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.product-btn {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: opacity 150ms ease, transform 150ms ease;
  opacity: 0.6;
}

/* Triangle made with two lines */
.product-btn::before,
.product-btn::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 2px;
  background: #fff;
  transition: background 150ms ease;
}

/* Up arrow - two lines forming ^ */
.product-prev::before {
  transform: rotate(-45deg);
  left: 3px;
}

.product-prev::after {
  transform: rotate(45deg);
  right: 3px;
}

/* Down arrow - two lines forming v */
.product-next::before {
  transform: rotate(45deg);
  left: 3px;
}

.product-next::after {
  transform: rotate(-45deg);
  right: 3px;
}

.product-btn:hover {
  opacity: 1;
}

.product-btn:active {
  transform: translateX(-50%) scale(0.9);
}

.product-prev { top: 20px; }
.product-next { bottom: 20px; }

.product-btn:active {
  transform: translateX(-50%) scale(0.98);
}

.product-prev { top: 16px; }
.product-next { bottom: 16px; }

/* Dots indicator - vertical on right side */
.product-dots {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
  pointer-events: auto;
}

.product-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 250ms ease;
  flex-shrink: 0;
}

.product-dot.active {
  width: 3px;
  height: 3px;
  background: #00ffd2;
  box-shadow: 0 0 12px #00ffd2, 0 0 20px rgba(0, 255, 210, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
  .product-section {
    padding: 3.5rem 10% 3.5rem 0;
  }
}

@media (max-width: 768px) {
  .product-section {
    padding: 3rem 5% 3rem 0;
  }
  
  .product-slider {
    height: min(500px, 65vh);
  }

  .product-slide {
    padding: 0;
  }

  .product-content {
    left: 18px;
    right: 18px;
    width: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .product-text-box {
    max-width: 100%;
  }
}
/* product end */
/* product end */


/* Why Us */
.why-us {
  padding: 2rem 0;
  color: white;
}

.why-us h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 18px;
}

.why-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
}

.why-tags span {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 25px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid rgba(0, 255, 210, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.why-tags span:hover {
  border-color: rgba(0, 255, 210, 0.6);
  background-color: #252525;
  box-shadow: 
    0 6px 25px rgba(0, 255, 210, 0.3),
    0 0 35px rgba(0, 255, 210, 0.4),
    inset 0 0 15px rgba(0, 255, 210, 0.1);
  transform: translateY(-3px);
}
/* Why Us End Here */


/* Financial Projection */
.financial-graph .title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.financial-graph .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0rem;
  row-gap: 2rem;
  justify-items: start;
}

.financial-graph .card {
  background: #1a1a1a;
  border-radius: 12px;
  width: 80%;
  aspect-ratio: 2 / 1;
  border: 1px solid rgba(0, 255, 210, 0.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.financial-graph .card:hover {
  border-color: rgba(0, 255, 210, 0.6);
  box-shadow: 
    0 8px 30px rgba(0, 255, 210, 0.3),
    0 0 40px rgba(0, 255, 210, 0.4),
    inset 0 0 20px rgba(0, 255, 210, 0.1);
  transform: translateY(-5px);
}

.financial-graph .card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.financial-graph canvas {
  width: 100% !important;
  height: auto !important;
  flex-grow: 1;
}
/* Financial Projection Ends Here */


/* market performance */
.marketing-graph .title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.marketing-graph .graph-wrapper {
  display: flex;
  justify-content: center;
}

.marketing-graph .card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 12px;
  width: 100%;
  max-width: 850px;
  aspect-ratio: 2 / 1;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marketing-graph .card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.marketing-graph canvas {
  width: 100% !important;
  height: 100% !important;
}

.graph-tooltip {
  position: fixed;
  background-color: #111;
  color: #00ffd2;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0,255,210,0.3);
  display: none;
}
/* market performance ends here */



/* Timeline - Our Journey Section */
.timeline-vertical {
  padding: 3rem 0;
}

.timeline-title-left {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 18px;
  text-align: left;
}

.timeline-wrapper {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

/* Left side - Timeline cards */
.timeline-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 380px;
}

.timeline-cards::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #00ffd2 0%, #00aa88 100%);
  border-radius: 2px;
}

.timeline-vertical-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 3rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.timeline-vertical-item:hover {
  transform: translateX(8px);
}

.timeline-vertical-item:last-child {
  margin-bottom: 0;
}

.dot {
  width: 18px;
  height: 18px;
  background-color: #00ffd2;
  border-radius: 50%;
  position: absolute;
  left: 5px;
  top: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 210, 0.6);
  transition: all 0.3s ease;
}

.timeline-vertical-item:hover .dot {
  transform: scale(1.3);
  box-shadow: 0 0 30px rgba(0, 255, 210, 0.8);
}

.card-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 210, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.timeline-vertical-item:hover .card-content {
  border-color: rgba(0, 255, 210, 0.6);
  box-shadow: 
    0 8px 30px rgba(0, 255, 210, 0.3),
    0 0 40px rgba(0, 255, 210, 0.4),
    inset 0 0 20px rgba(0, 255, 210, 0.1);
  transform: translateY(-2px);
}

.card-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}

.card-content p {
  font-size: 1rem;
  color: #b0b0b0;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.month {
  display: inline-block;
  font-weight: 700;
  color: #00ffd2;
  font-size: 0.95rem;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 255, 210, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 210, 0.3);
}

/* Right side - Image/Info area */
.timeline-image-area {
  flex: 2;
  position: relative;
  min-width: 700px;
  height: auto;
  min-height: 450px;
  border-radius: 16px;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#timelineImage {
  width: 120%;
  height: 120%;
  object-fit: contain;
  transition: opacity 0.4s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#timelineText {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#timelineText:not(.hidden) {
  opacity: 1;
}

#timelineDescription {
  max-width: 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 25, 0.92) 100%);
  border: 2px solid rgba(0, 255, 210, 0.5);
  border-radius: 24px;
  padding: 1.5rem 2.5rem 2rem 2.5rem;
  color: #e8e8e8;
  line-height: 1.75;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 0 40px rgba(0, 255, 210, 0.25),
    inset 0 0 30px rgba(0, 255, 210, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.4);
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
}

#timelineDescription::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 210, 0.6), transparent);
}

/* Timeline detail box */
.timeline-detail-box h3 {
  color: #00ffd2;
  font-size: 1.8rem;
  margin: 0 0 0.8rem 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(0, 255, 210, 0.4);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.timeline-detail-box p {
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #d0d0d0;
  font-weight: 400;
  letter-spacing: 0.3px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Mini cards container for Engineering Beyond the Classroom */
.timeline-card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}


/* Feature tags for Vision Meet Venture */
.feature-tags-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.feature-tags-box .feature-tag:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.feature-tag {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 255, 210, 0.3);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: #00ffd2;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}


/* Image card for first timeline item */
.image-card {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .timeline-wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  .timeline-cards,
  .timeline-image-area {
    min-width: 100%;
    width: 100%;
  }

  .timeline-image-area {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .timeline-cards {
    min-width: 100%;
  }

  .timeline-vertical-item {
    padding-left: 40px;
  }

  .card-content {
    padding: 1.2rem 1.5rem;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }

  .timeline-image-area {
    height: 380px;
    padding: 1.5rem;
  }

  #timelineDescription {
    padding: 1.5rem;
    font-size: 1rem;
  }
}

/* Timeline Ends */

/* Footer */
.contact-footer {
  width: 100%;
  background-color: #1a1a1a;
  color: white;
  padding: 2rem 4rem;
  box-sizing: border-box;
  margin-top: 3rem;
}

.footer-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #444;
  opacity: 0.4;
  margin-bottom: 1rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column p {
  margin: 0.5rem 0;
}

.footer-column a {
  color: #00ffd2;
  text-decoration: none;
}

.footer-column strong {
  margin-right: 0.3rem;
}
/* Footer Ends */


/* Collapsible Sections */
.section {
  margin-bottom: 1rem;
  border-bottom: 1px solid #333;
}

.section summary {
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem 0;
  list-style: none;
}

.section[open] summary::after {
  content: "▲";
  float: right;
}

summary::after {
  content: "▼";
  float: right;
}

details p {
  margin: 0.5rem 0 1rem 0;
  line-height: 1.6;
}

.introduction {
  color: rgb(158, 165, 165);
  font-size: 30px;
}

/* for mobile */
@media (max-width: 768px) {
  body {
    padding: 1rem;
    max-width: 100%;
  }

  h1, h2, .timeline-title-left {
    font-size: 2rem !important;
    text-align: center;
  }

  .solution-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .solution-right {
    width: 100%;
    min-height: 260px; /* Give it sensible standalone height when stacked */
  }

  .financial-graph .grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .financial-graph .card {
    width: 100%;
    aspect-ratio: 1.5 / 1;
  }

  .timeline-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .timeline-image-area {
    width: 100%;
    height: auto;
  }

  .timeline-image-area img {
    width: 100%;
    height: auto;
  }

  .why-tags {
    flex-direction: column;
    align-items: center;
  }

  .footer-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .card-content {
    width: 90%;
  }

  .solution-left {
    width: 100%;
  }

  .solution-card {
    font-size: 1rem;
  }

  .introduction {
    font-size: 20px;
    text-align: center;
  }
}
/* end for mobile */


/* =========================
   Ongoing Process Section
   ========================= */
.ongoing-process{
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 40px auto;
  padding: 0 18px;
}

.ongoing-title{
  text-align: left;
  margin: 0 0 18px 0;
}

.ongoing-slider{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  background: #0b0f14;
  height: min(520px, 70vh);
}

.ongoing-slides{
  height: 100%;
  display: flex;
  transition: transform 550ms ease;
  will-change: transform;
}

.ongoing-slide{
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ✅ overlay must sit BELOW text/arrows/dots */
.ongoing-glass{
  position: absolute;
  inset: 0;
  z-index: 1;

  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);

  /* LEFT = transparent (image visible)
     RIGHT = black (image hidden) */
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.15) 25%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.75) 75%,
    rgba(0,0,0,1.00) 100%
  );

  border: 1px solid rgba(255,255,255,0.06);
}

/* right-side text (above glass) */
.ongoing-content{
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 48%);
  color: #fff;
  z-index: 5;

  /* reserve space so arrows never sit on top of text */
  padding-left: 56px;
  padding-right: 56px;

  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.ongoing-kicker{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .9;
  margin-bottom: 10px;
}

.ongoing-content h3{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1.08;
}

.ongoing-content p{
  margin: 0;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.55;
  opacity: .92;
}

/* arrows (above glass + content) */
.ongoing-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  z-index: 6;
  transition: background 150ms ease, transform 150ms ease;
}

.ongoing-btn:hover{
  background: rgba(0,0,0,0.48);
}

.ongoing-btn:active{
  transform: translateY(-50%) scale(0.98);
}

.ongoing-prev{ left: 16px; }
.ongoing-next{ right: 16px; }

/* ✅ dots container (THIS WAS MISSING -> dots "gone") */
.ongoing-dots{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;            /* above glass */
  pointer-events: auto;
}

/* dots are PERFECT circles */
.ongoing-dot{
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  max-width: 10px;
  max-height: 10px;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.25);

  padding: 0;
  margin: 0;
  box-sizing: border-box;

  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}

.ongoing-dot.active{
  background: #ffffff;
  transform: scale(1.2);
}

/* ✅ on smaller screens, hide arrows to avoid overlap entirely */
@media (max-width: 900px){
  .ongoing-btn{ display: none; }
  .ongoing-content{ padding-left: 0; padding-right: 0; }
}

/* mobile layout */
@media (max-width: 720px){
  .ongoing-content{
    left: 18px;
    right: 18px;
    width: auto;
  }
}
/* Additional responsive for timeline cards */
@media (max-width: 768px) {
  .timeline-card-container,
  .feature-tags-box {
    grid-template-columns: 1fr;
  }
  
  .timeline-mini-card h4 {
    font-size: 1rem;
  }
  
  .timeline-mini-card p {
    font-size: 0.85rem;
  }
  
  .feature-tag {
    font-size: 0.85rem;
  }
}

/* Enhanced mini cards */
.timeline-mini-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(35, 35, 40, 0.85) 100%);
  border: 1.5px solid rgba(0, 255, 210, 0.35);
  border-radius: 14px;
  padding: 0.9rem 1rem 1rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 210, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-mini-card:hover::before {
  opacity: 1;
}

.timeline-mini-card h4 {
  color: #00ffd2;
  font-size: 1.15rem;
  margin: 0 0 0.5rem 0;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.timeline-mini-card p {
  font-size: 0.95rem;
  color: #c5c5c5;
  text-align: justify;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced feature tags */
.feature-tag {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(35, 35, 40, 0.85) 100%);
  border: 1.5px solid rgba(0, 255, 210, 0.35);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  color: #00ffd2;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

.feature-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 210, 0.15), transparent);
  transition: left 0.5s ease;
}

.feature-tag:hover::before {
  left: 100%;
}

/* Mini card hover glow */
.timeline-mini-card:hover {
  border-color: rgba(0, 255, 210, 0.7);
  box-shadow: 
    0 4px 15px rgba(0, 255, 210, 0.3),
    0 0 30px rgba(0, 255, 210, 0.4),
    inset 0 0 15px rgba(0, 255, 210, 0.1);
  transform: translateY(-3px);
}

/* Feature tag hover glow */
.feature-tag:hover {
  border-color: rgba(0, 255, 210, 0.7);
  background: linear-gradient(135deg, rgba(0, 255, 210, 0.15) 0%, rgba(35, 35, 40, 0.85) 100%);
  box-shadow: 
    0 4px 15px rgba(0, 255, 210, 0.3),
    0 0 30px rgba(0, 255, 210, 0.4),
    inset 0 0 15px rgba(0, 255, 210, 0.1);
  transform: translateY(-3px);
}