/* Work Experience */
.experience {
  margin: auto;
}
.timeline {
  position: relative;
  width: 75%;
  margin:auto;
}

.timeline-box {
  padding: 5px;
  width: 45%;
  min-height: 150px;
  position: relative;
  left: 5%;
  text-align: right;
}

.timeline-box:nth-child(2n) {
  left: 53%;
}

.timeline-box:nth-child(2n + 1)::after {
  right: -11.8%;
}

.timeline-box:nth-child(2n)::after {
  left: -9%;
}

.timeline-container {
  padding: 2px;
}

.timeline-logo {
  position: absolute;
  width: 50px;
  overflow: hidden;
}

.timeline-logo > img {
  width: 100%;
}

#timeline-divider {
  position: absolute;
  width: 0;
  top: 10%;
  left: 50%;
  border: 1px dashed;
  border-image: linear-gradient(#fff400, #ffa601, #f3503c, #d53567, #a7489b);
  border-image-slice: 1;
  height: 86%;
}

#timeline-divider .timeline-traveller {
  position: sticky;
  top: 135px;
  z-index: 2;
}

#timeline-divider i {
  transform: rotate(90deg);
  margin-top: -35px;
  display: block;
  color: #fff;
  text-shadow: 0px 4px 16px rgba(255, 255, 255, 0.8);
}

.experience-designation {
  font-size: 1.2rem;
  font-weight: 800;
  text-align: left;
  color: #ffff;
  margin: 10px 0 0;
}

.experience-company-name {
  margin: 5px 0;
  background: linear-gradient(
    45deg,
    #fff400,
    #ffa601,
    #f3503c,
    #d53567,
    #a7489b
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: left;
}

.experience-duration {
  font-size: 1rem;
  font-weight: 500;
  color: #dddddd;
  text-align: left;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 10px;
  background-color: hsla(0, 0%, 100%, .09);
  padding: 10px 15px;
}

.experience-description-list {
  list-style: none; 
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #d3d3d3;
}

.experience-description-list li {
  position: relative;
  padding-left: 20px; 
  font-size: 14px;
  font-weight: 400;
  font-style: oblique;
  line-height: 1.6;
  text-align: left;
}
.experience-description-list li:hover {
  transition: transform 0.2s ease;
  color: #39FF14;
}


.experience-description-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  line-height: 1.6;
}
.experience-description-list li:hover::before {
  transform: scale(1.2);
  transition: transform 0.2s ease;
  color: #ffa601;
}


.text-align-justify {
  text-align: left;
}

.mb75px {
  margin-bottom: 75px;
}

.section-heading {
  width: auto;
  padding: 20px 10px 10px;
  font-weight: 400;
  text-align: center;
}

.expEdu-title {
  position: relative;
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.expEdu-title::after {
  position: absolute;
  content: "";
  width: 170px;
  height: 0.18rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 3rem;
  border-bottom: 3px solid;
  border-image: linear-gradient(
    45deg,
    #fff400,
    #ffa601,
    #f3503c,
    #d53567,
    #a7489b
  );
  border-image-slice: 1;
}

/* Tablet View */
@media screen and (max-width: 768px) {
  .timeline {
    position: relative;
    width: 100%;
    margin:auto;
  }

  .timeline-box {
    padding: 5px;
    width: 45%;
    min-height: 150px;
    position: relative;
    left: 2%;
    text-align: right;
  }

  .timeline-box:nth-child(2n) {
    left: 55%;
  }
    .experience-designation {
  font-size: 1.2rem;
}

  .experience-company-name {
  font-size: 1rem;
}

  .experience-duration {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

 .experience-description-list li {
    font-size: 13px;
    padding-left: 20px;
  }

  .experience-description-list li::before {
    font-size: 13px;
  }
}

/* Mobile view */
@media screen and (max-width: 480px) {
  .experience-designation {
  font-size: 1rem;
}

  .experience-company-name {
  font-size: 14px;
}
  .experience-description-list li {
    font-size: 12px;
    padding-left: 16px;
  }

  .experience-description-list li::before {
    font-size: 12px;
  }
}
