/*1st section*/
section[data-section-id="17908000005011430"] .bs-mtList-wgt .li-item {
  animation: slideInFromLeft 0.8s ease-out both;
}

section[data-section-id="17908000005011430"] .bs-mtList-wgt .li-item:nth-child(1) {
  animation-delay: 0.3s;
}
section[data-section-id="17908000005011430"] .bs-mtList-wgt .li-item:nth-child(2) {
  animation-delay: 0.6s;
}
section[data-section-id="17908000005011430"] .bs-mtList-wgt .li-item:nth-child(3) {
  animation-delay: 0.9s;
}

section[data-section-id="17908000005011430"] .li-item:hover .media-element {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

section[data-section-id="17908000005011430"] .li-description {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

section[data-section-id="17908000005011430"] .li-item:hover .li-description {
  opacity: 1;
  transform: translateY(0);
}

/* Animation keyframes can stay global */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 2nd section */
#ember79 {
  perspective: 1200px;
  --holo-color1: #7b2ff7;
  --holo-color2: #f107a3;
  --holo-color3: #0ff2f1;
  --holo-color4: #5a00ff;
  --holo-gradient: linear-gradient(
    45deg,
    var(--holo-color1),
    var(--holo-color2),
    var(--holo-color3),
    var(--holo-color4),
    var(--holo-color1)
  );
}

#ember79 .li-item {
  position: relative;
  background: rgba(20, 10, 30, 0.3);
  border-radius: 1rem;
  box-shadow:
    0 0 25px rgba(123, 47, 247, 0.4),
    inset 0 0 50px rgba(241, 7, 163, 0.6);
  border: 1px solid rgba(123, 47, 247, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  transform-style: preserve-3d;
  padding: 2rem 1.5rem;
  margin: 1rem 0;
  cursor: pointer;
  will-change: transform;
  transform: rotateX(calc(var(--tiltX, 0) * 1deg)) rotateY(calc(var(--tiltY, 0) * 1deg));
  overflow: visible;
}

#ember79 .li-item::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -2px;
  right: -2px;
  border-radius: 1rem;
  background: linear-gradient(
    120deg,
    #7b2ff7,
    #f107a3,
    #0ff2f1,
    #5a00ff,
    #7b2ff7
  );
  background-size: 300% 300%;
  animation: holoGlow 4s linear infinite;
  filter: blur(12px);
  opacity: 0.8;
  z-index: -1;
}

#ember79 .li-title {
  line-height: 1.2;
  white-space: nowrap;
  position: relative;
  margin-bottom: 0.5rem;
}

#ember79 .numbercounter {
  font-weight: 900;
  font-size: 3rem;
  background: var(--holo-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: holoShimmer 6s ease-in-out infinite;
  display: inline-block;
  z-index: 10;
  user-select: none;
  filter: drop-shadow(0 0 8px #f107a3);
}

#ember79 .li-title span:last-child {
  color: #f107a3cc;
  font-weight: 700;
  margin-left: 0.25rem;
  user-select: none;
}

#ember79 .li-description p {
  color: #cceeffee;
  text-shadow:
    0 0 6px #7b2ff7,
    0 0 10px #f107a3,
    0 0 20px #0ff2f1;
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

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

@keyframes holoShimmer {
  0%, 100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 8px #f107a3);
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 18px #7b2ff7);
  }
}

/* 4th section */
/* Timeline Container */
.bs-section.community-section-text-1 .ember-view > .markdown-contain {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(0, 0, 0, 0.1);
  gap: 2.5rem;
  counter-reset: timeline-counter;
}

/* Each Timeline Block */
.bs-section.community-section-text-1 .markdown-contain p {
  position: relative;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  font-size: 1rem;
  color: #1c1c1e;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Timeline Dot */
.bs-section.community-section-text-1 .markdown-contain p::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: -2rem;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #5e5ce6, #6f9dfd);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(94, 92, 230, 0.1);
}

/* Spacing between bold titles and descriptions */
.bs-section.community-section-text-1 .markdown-contain p strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: #000;
}

/*3rd section*/
/* Testimonial Orbiting Glass Effect */
.bs-testimonialList-wgt.card-view {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.6s ease, opacity 0.6s ease;
  perspective: 1000px;
  padding: 2rem;
}

/* Active card front & center */
.owl-item.active .bs-testimonialList-wgt.card-view {
  transform: rotateY(0deg) translateZ(80px) scale(1.1);
  opacity: 1;
  z-index: 3;
}

/* Non-active cards (both sides) */
.owl-item:not(.active) .bs-testimonialList-wgt.card-view {
  transform: rotateY(25deg) translateZ(-60px) scale(0.9);
  opacity: 0.6;
  z-index: 2;
}

/* Hover pop-out */
.bs-testimonialList-wgt.card-view:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transform: scale(1.15) translateZ(90px);
  z-index: 4;
}

/* Allow 3D overflow visibility */
.carousel,
.owl-carousel,
.owl-stage,
.owl-stage-outer {
  overflow: visible !important;
  transform-style: preserve-3d;
  perspective: 1500px;
}

/* Fix unwanted horizontal overflow */
body {
  overflow-x: hidden;
}

/* Reset stage width & center align */
.owl-stage {
  width: 100% !important;
  transform: none !important;
  margin: 0 auto !important;
}

/* Section-specific enhancements */
[data-section-id="17908000005011746"] .owl-stage-outer {
  overflow: visible !important;
  perspective: 1500px;
}

[data-section-id="17908000005011746"] .owl-item:not(.active) .li-item {
  transform: scale(0.95) translateZ(-40px);
  opacity: 0.6;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

[data-section-id="17908000005011746"] .owl-item.active .li-item {
  transform: scale(1) translateZ(0);
  opacity: 1;
  z-index: 2;
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
  .bs-testimonialList-wgt.card-view {
    transform: none !important;
    scale: 1 !important;
    opacity: 1 !important;
  }

  .owl-stage {
    width: 100% !important;
    transform: none !important;
  }
}

/* Agenda */
