.about-card-title {
    font-weight: bolder;
    font-size: large;
}

.about-card-body {
    font-weight: 300;
    font-size: medium;
    line-height: 24.79px;
}

.about-card-tag {
    margin-inline-end: 10px;
    background-color: var(--white);
    color: var(--secondary);
    border-radius: 3rem;
    padding: 0.3rem 0.8rem;
}

.about-card-container {
    flex: 1;
    min-width: 250px;
}

.about-card {
    background-color: var(--lilac);
    border: 0.63px solid rgba(206, 215, 248, 0.2);
    padding: 2rem;
    border-radius: 1rem;
}

.about-bg-gradiant {
    min-height: 9rem;
    border-radius: 1rem;
    width:100%;

    img{
      object-fit:contain;
      border-radius: 1rem;
      width:100%;
    }
}


.left-panel {
    position: relative;
    transition: transform 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    width: 10rem;
    height: 10rem;
    background: linear-gradient(45deg, 
        rgba(133, 191, 232, 1) 0%, 

        rgba(113, 121, 186, 1) 50%,

        rgba(88, 40, 104, 1) 100%);
    background-size: 300% 300%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255,255,255,0.3);
    animation: gradientFlow 4s ease infinite, pulse 5s ease infinite;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}

.circle::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, 

        rgba(133, 191, 232, 0.7) 20%,
        rgba(113, 121, 186, 0.7) 60%,

        rgba(88, 40, 104, 0.7) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 3s linear infinite;
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 
            0 4px 15px rgba(0,0,0,0.2),
            inset 0 0 20px rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(0,0,0,0.3),
            inset 0 0 30px rgba(255,255,255,0.5);
    }
    100% {
        box-shadow: 
            0 4px 15px rgba(0,0,0,0.2),
            inset 0 0 20px rgba(255,255,255,0.3);
    }
}


.timeline {
  padding: 50px 20px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  z-index: 2; /* Higher than gradients */
  padding-bottom: 100px; /* Add extra space at bottom */
}

.timeline ol {
  position: relative;
  list-style: none;
  padding-inline-start: 0;
}

/* Vertical line - switches sides for RTL */
.timeline ol::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--secondary);
}
[dir="rtl"] .timeline ol::before {
  left: auto;
  right: 0;
}

.timeline ol li .item-inner {
  padding: 20px 180px;
  margin-bottom: 8vh;
}

.timeline ol li .time-wrapper {
  position: relative;
  font-size: 4.5rem;
  font-weight: bold;
  line-height: 0.9;
}

.timeline ol li .time-wrapper::before,
.timeline ol li .time-wrapper::after {
  content: "";
  position: absolute;
  background: var(--secondary);
}

/* Horizontal line - switches sides for RTL */
.timeline ol li .time-wrapper::before {
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  width: 0;
  height: 3px;
  transition: width 0.8s linear;
}
[dir="rtl"] .timeline ol li .time-wrapper::before {
  left: auto;
  right: -180px;
}

/* Dot - switches sides for RTL */
.timeline ol li .time-wrapper::after {
  top: calc(50% - 8px);
  left: -60px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: left center;
  transition: all 0.4s linear;
}
[dir="rtl"] .timeline ol li .time-wrapper::after {
  left: auto;
  right: -60px;
  transform-origin: right center;
}

.timeline ol li time,
.timeline ol li .details > * {
  opacity: 0;
  transition: 0.5s;
}

.timeline ol li time {
  transform: translateY(-30px);
}

.timeline ol li .details > * {
  transform: translateY(30px);
}

.timeline ol li .details h3 {
  font-size: 2rem;
  line-height: 1;
  margin: 15px 0;
}

.timeline ol li.in-view .time-wrapper::before {
  width: 120px;
}

.timeline ol li.in-view .time-wrapper::after {
  transition-delay: 0.8s;
  transform: scale(1.5);
}

.timeline ol li.in-view time,
.timeline ol li.in-view .details > * {
  opacity: 1;
  transform: none;
}


.details{
  color: var(--primary);
}
.timeline ol li.in-view time {
  transition-delay: 1.3s;
}

.timeline ol li.in-view .details h3 {
  transition-delay: 1.5s;
}

.timeline ol li.in-view .details p {
  transition-delay: 1.7s;
}

@media (max-width: 700px) {
  .timeline ol li .item-inner {
    padding: 20px 40px;
  }

  .timeline ol li .time-wrapper::before {
    display: none;
  }

  .timeline ol li .time-wrapper::after {
    left: -45px;
    transform-origin: center;
  }
  [dir="rtl"] .timeline ol li .time-wrapper::after {
    left: auto;
    right: -45px;
  }

  .timeline ol li.in-view .time-wrapper::after {
    transition-delay: 0s;
  }

  .timeline ol li.in-view time {
    transition-delay: 0.5s;
  }

  .timeline ol li.in-view .details h3 {
    transition-delay: 0.7s;
  }

  .timeline ol li.in-view .details p {
    transition-delay: 0.9s;
  }
}
