.event-timeline-section {
  position: relative;
  width: 100%;
  padding: 70px 8%;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(99, 35, 127, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(21, 155, 222, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(184, 59, 247, 0.1),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fbf7ff 46%,
      #f7fcff 100%
    );

  color: #000000;
  font-family: "Roboto", Arial, sans-serif;
  box-sizing: border-box;
  isolation: isolate;
}

.event-timeline-section *,
.event-timeline-section *::before,
.event-timeline-section *::after {
  box-sizing: border-box;
}

.event-timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;

  background-image:
    linear-gradient(
      rgba(99, 35, 127, 0.075) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(21, 155, 222, 0.075) 1px,
      transparent 1px
    );

  background-size: 58px 58px;
  opacity: 0.42;
  animation: eventTimelineGridMove 18s linear infinite;
  pointer-events: none;
}


.event-timeline-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 400px;
  right: -170px;
  top: 14%;
  z-index: -2;

  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 35, 127, 0.18),
    transparent 66%
  );

  filter: blur(8px);
  animation: eventTimelineGlowFloat 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes eventTimelineGridMove {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 58px 58px, 58px 58px;
  }
}

@keyframes eventTimelineGlowFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-34px, 24px) scale(1.08);
  }
}


.event-timeline-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

/* Decorative light beam */
.event-timeline-container::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 110px;
  left: -210px;
  top: 80px;
  z-index: -1;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 35, 127, 0.12),
    rgba(21, 155, 222, 0.11),
    transparent
  );

  transform: rotate(-18deg);
  filter: blur(4px);
  animation: eventTimelineBeamMove 7s ease-in-out infinite;
  pointer-events: none;
}


.event-timeline-container::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 280px;
  right: -210px;
  bottom: -40px;
  z-index: -1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at center,
      transparent 44%,
      rgba(21, 155, 222, 0.12) 45%,
      transparent 60%
    ),
    conic-gradient(
      from 40deg,
      rgba(99, 35, 127, 0.18),
      transparent 28%,
      rgba(21, 155, 222, 0.18),
      transparent 58%,
      rgba(99, 35, 127, 0.12),
      transparent
    );

  mask: radial-gradient(circle, transparent 48%, #000 49%);
  -webkit-mask: radial-gradient(circle, transparent 48%, #000 49%);

  animation: eventTimelineOrbitRotate 18s linear infinite;
  pointer-events: none;
}


.event-timeline-heading {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.event-timeline-heading h2 {
  margin: 0;
  color: #000000;
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.3px;
}

.timeline-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 10px 0 12px;
}

.timeline-title-line span {
  display: block;
  width: 48px;
  height: 2px;
  border-radius: 99px;

  background: linear-gradient(
    90deg,
    transparent,
    #63237f
  );
}

.timeline-title-line span:last-child {
  background: linear-gradient(
    90deg,
    #63237f,
    transparent
  );
}

.timeline-title-line b {
  color: #63237f;
  font-size: 12px;
  line-height: 1;
}

.event-timeline-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #202020;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
}


.timeline-table-card {
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  border-radius: 18px;

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

  box-shadow:
    0 28px 75px rgba(99, 35, 127, 0.18),
    0 6px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}



.timeline-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 52px;

  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;

  background: linear-gradient(
    100deg,
    #63237f 0%,
    #6731c8 48%,
    #159bde 100%
  );
}

.timeline-table-header > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}

.timeline-table-header > div:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}


.timeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 62px;

  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-row:hover {
  position: relative;
  z-index: 2;
  background: rgba(99, 35, 127, 0.055);
  box-shadow: inset 4px 0 0 #63237f;
}


.timeline-event {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 28px;

  color: #172036;
  font-size: 15px;
  font-weight: 500;

  border-right: 1px solid rgba(15, 23, 42, 0.12);
}


.timeline-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 14px;
  border-radius: 50%;

  box-shadow:
    0 7px 15px rgba(65, 34, 128, 0.2),
    0 0 0 5px rgba(99, 35, 127, 0.07);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.timeline-row:hover .timeline-icon {
  transform: scale(1.08) rotate(-5deg);
  box-shadow:
    0 10px 22px rgba(65, 34, 128, 0.28),
    0 0 0 7px rgba(99, 35, 127, 0.09);
}

.timeline-icon.purple {
  background: linear-gradient(
    135deg,
    #7b11c7,
    #5a23bd
  );
}

.timeline-icon.blue {
  background: linear-gradient(
    135deg,
    #159bde,
    #1657c7
  );
}


.timeline-date {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 24px;
  text-align: center;

  color: #000000;
  font-size: 15px;
  font-weight: 800;
}

.purple-text,
.blue-text {
  color: #000000;
}



.timeline-decoration {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.timeline-decoration-left {
  left: -72px;
  bottom: 22px;
  width: 210px;
  height: 210px;

  border: 1.5px solid rgba(121, 25, 213, 0.42);
  border-radius: 50%;
}

.timeline-decoration-left::before,
.timeline-decoration-left::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.timeline-decoration-left::before {
  width: 92px;
  height: 92px;
  right: -48px;
  bottom: -14px;
  border: 2px solid rgba(21, 112, 226, 0.68);
}

.timeline-decoration-left::after {
  width: 120px;
  height: 120px;
  right: -61px;
  bottom: -28px;
  border: 1px solid rgba(21, 112, 226, 0.44);
}

.timeline-decoration-right {
  right: -30px;
  top: 72px;
  width: 170px;
  height: 170px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(76, 132, 255, 0.14),
    transparent 62%
  );
}

.timeline-decoration-right::before {
  content: "";
  position: absolute;
  inset: 20px;

  border-radius: 50%;

  background-image: radial-gradient(
    circle,
    rgba(104, 78, 220, 0.28) 1px,
    transparent 1.5px
  );

  background-size: 8px 8px;
}


@media (max-width: 900px) {
  .event-timeline-section {
    padding: 65px 5%;
  }

  .event-timeline-container {
    max-width: 100%;
  }

  .event-timeline-container::before,
  .event-timeline-container::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .event-timeline-section {
    padding: 60px 20px;
  }

  .event-timeline-section::after {
    width: 360px;
    height: 360px;
    right: -150px;
    top: 10%;
  }

  .event-timeline-heading {
    margin-bottom: 26px;
  }

  .timeline-table-header,
  .timeline-row {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .timeline-event {
    gap: 12px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .timeline-date {
    padding: 10px 16px;
    font-size: 14px;
  }

  .timeline-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .timeline-decoration-left,
  .timeline-decoration-right {
    opacity: 0.55;
  }
}


@media (max-width: 560px) {
  .event-timeline-section {
    padding: 54px 14px;
  }

  .event-timeline-heading {
    margin-bottom: 22px;
  }

  .event-timeline-heading h2 {
    font-size: 28px;
  }

  .event-timeline-heading p {
    font-size: 11px;
    line-height: 1.6;
  }

  .timeline-table-card {
    border-radius: 16px;
  }

  .timeline-table-header {
    display: none;
  }

  .timeline-row {
    display: block;
    min-height: auto;
    padding: 16px;
  }

  .timeline-event {
    padding: 0 0 11px;
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    font-size: 14px;
  }

  .timeline-date {
    justify-content: flex-start;
    padding: 11px 0 0 46px;
    text-align: left;
    font-size: 14px;
  }

  .timeline-row:hover {
    box-shadow: inset 3px 0 0 #63237f;
  }

  .timeline-decoration-left {
    opacity: 0.35;
  }

  .timeline-decoration-right {
    opacity: 0.35;
  }
}

@media (max-width: 480px) {
  .event-timeline-section {
    padding: 50px 12px;
  }

  .event-timeline-heading h2 {
    font-size: 27px;
  }

  .timeline-row {
    padding: 15px 14px;
  }

  .timeline-event {
    gap: 11px;
    font-size: 13.5px;
  }

  .timeline-date {
    padding-left: 45px;
    font-size: 13.5px;
  }

  .timeline-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}


@media (max-width: 360px) {
  .event-timeline-section {
    padding: 46px 10px;
  }

  .event-timeline-heading h2 {
    font-size: 25px;
  }

  .timeline-row {
    padding: 14px 12px;
  }

  .timeline-event {
    font-size: 13px;
  }

  .timeline-date {
    font-size: 13px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .event-timeline-section::before,
  .event-timeline-section::after,
  .event-timeline-container::before,
  .event-timeline-container::after {
    animation: none;
  }

  .timeline-row,
  .timeline-icon {
    transition: none;
  }
}