
/*about header start*/
.about-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.3)
  );
}


.about-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 40px;
  color: white;
}

.about-text h1 {
  font-family: 'Fredoka', cursive;
  font-size: 60px;
  line-height: 1.1;
}
/*about header end*/

/*about info start*/
.MT{
    color: #2BAAF7;
    font-weight: bold;
}
/*about info end*/

/*timeline start*/
.timeline {
  padding: 100px 20px;
}

.timeline-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  font-family: 'Fredoka', cursive;
}


.timeline-container {
  position: relative;
  max-width: 900px;
  margin: auto;
}


.timeline-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: #ddd;
  transform: translateX(-50%);
}


.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
}


.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}


.timeline-item:nth-child(even) {
  left: 50%;
}


.content {
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #eee;
  display: inline-block;
  max-width: 300px;
}


.timeline-item::before {
  content: "";
  position: absolute;
  top: 25px;
  width: 12px;
  height: 12px;
  background: #2BAAF7;
  border-radius: 50%;
  z-index: 2;
}


.timeline-item:nth-child(odd)::before {
  right: -6px;
}

.timeline-item:nth-child(even)::before {
  left: -6px;
}


.content span {
  color: #2BAAF7;
  font-weight: bold;
  font-size: 14px;
}

.content p {
  margin-top: 4px;
  font-size: 14px;
  color: #555;
}

/* MOBILE (stack it) */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 30px;
  }

  .timeline-item::before {
    left: 4px;
  }
}
/*timeline end*/

/* about mobile fixes start */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

@media (max-width: 768px) {
  .reveal-left,
  .reveal-right {
    transform: translateX(0);
  }

  .about-hero {
    height: 360px;
  }

  .about-text {
    padding: 0 20px;
    text-align: center;
  }

  .about-text h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .timeline {
    padding: 60px 16px;
  }

  .timeline-title {
    font-size: 2rem;
  }

  .timeline-container::before {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 34px;
    padding-right: 0;
  }

  .timeline-item::before {
    left: 4px !important;
    right: auto !important;
  }

  .content {
    max-width: 100%;
    display: block;
  }
}

@media (max-width: 480px) {
  .about-hero {
    height: 300px;
  }

  .about-text h1 {
    font-size: 2.4rem;
  }

  .timeline {
    padding: 50px 14px;
  }
}
/* about mobile fixes end */