.unity-form-section {
  padding: 40px 80px;
  background-color: #f9fafb;
  width: 100%;
  float: left;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
 
}

.generic-title {
  text-align: center;
  margin-bottom: 60px;
}

.small-txt {
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.generic-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.tiktok-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 0 -20px;
}

.tiktok-grid {
  display: flex;
  gap: 30px;
  transition: transform 0.3s ease;
  padding: 0 30px;
}
.tiktok-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 10px;
  transition: transform 0.3s ease;
  min-width: 340px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  font-size: 18px;
  color: #667eea;
  font-weight: 600;
}

.tiktok-card:hover {
  transform: translateY(-6px);
}

.tiktok_vid_card {
  height: 22rem !important;
}
.tiktok_vid_card video {
  height: 100%;
  width: 100%;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 100;
  width: auto;
  height: auto;
  outline: none;
}

.slider-nav svg {
  width: 55px;
  height: 65px;
  transition: transform 0.2s ease;
  outline: none !important;
  border: none !important;
}

.slider-nav path {
  stroke: red;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke 0.2s ease;
}

.slider-nav:hover svg {
  transform: scale(1.1);
}

.slider-nav:active svg {
  transform: scale(0.95);
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

/* Disabled State — visually show "no more scroll" */
.slider-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed; /* prevents click and shows forbidden cursor */
}

.slider-nav:disabled path {
  stroke: #999; /* dull gray when disabled */
}

.slider-nav:disabled svg {
  transform: none;
}

/* Custom Arrow Shapes */
.arrow-left,
.arrow-right {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

.arrow-left::before,
.arrow-left::after,
.arrow-right::before,
.arrow-right::after {
  content: "";
  position: absolute;
  background: #ffffff;
  transition: all 0.3s ease;
}

.arrow-left::before {
  width: 18px;
  height: 3px;
  top: 50%;
  left: 5px;
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 2px;
}

.arrow-left::after {
  width: 18px;
  height: 3px;
  top: 50%;
  left: 5px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}

.arrow-right::before {
  width: 18px;
  height: 3px;
  top: 50%;
  right: 5px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}

.arrow-right::after {
  width: 18px;
  height: 3px;
  top: 50%;
  right: 5px;
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 2px;
}

.slider-nav:hover .arrow-left::before,
.slider-nav:hover .arrow-left::after,
.slider-nav:hover .arrow-right::before,
.slider-nav:hover .arrow-right::after {
  background: #ffffff;
}

/* Progress Bar */
.progress-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.progress-bar {
  flex: 1;
  max-width: 400px;
  height: 6px;
  background: #e0e7ff;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: red;
  border-radius: 3px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.progress-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: red;
  font-weight: 600;
  font-size: 0.9rem;
}

.progress-dots {
  display: flex;
  gap: 8px;
  margin-left: 20px;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e7ff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.active {
  background: rgb(213, 7, 7);
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .unity-form-section {
    padding: 20px 20px;
  }


  .generic-title h2 {
    font-size: 2rem;
  }

  .tiktok-card {
    min-width: 280px;
  }

  .slider-nav {
    width: 50px;
    height: 50px;
  }

  .slider-nav.prev {
    left: 5px;
  }

  .slider-nav.next {
    right: 5px;
  }

  .arrow-left,
  .arrow-right {
    width: 24px;
    height: 24px;
  }

  .arrow-left::before,
  .arrow-left::after,
  .arrow-right::before,
  .arrow-right::after {
    width: 15px;
    height: 2px;
  }

  .progress-container {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {


  .generic-title h2 {
    font-size: 1.8rem;
  }

  .tiktok-card {
    min-width: 260px;
  }

  .slider-nav.prev {
    left: 5px;
  }

  .slider-nav.next {
    right: 5px;
  }
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Prevent content from intercepting clicks */
}

.popup-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 90vh;
  pointer-events: auto; /* Allow image to receive click events (but not close popup) */
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.journey-section {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.journey-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.journey-icon {
  color: white;
  font-size: 1.5rem;
}

.journey-section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #6e0a0a;
  margin-bottom: 15px;
}

.journey-certification {
  background: #e8f5e8;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #4caf50;
  margin-bottom: 15px;
}

.journey-cert-icon {
  color: #667eea;
  font-size: 1.1rem;
}

.journey-cert-text {
  font-weight: 600;
  color: #667eea;
}

.journey-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.journey-wellness-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.journey-wellness-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f0f8ff;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  font-size: 0.95rem;
}

.journey-bullet {
  color: #667eea;
  font-size: 1rem;
  flex-shrink: 0;
}

/* why choose carousel */
@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

ol,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  padding-top: 37.5%;
  filter: drop-shadow(0 0 10px #0003);
  perspective: 100px;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  background-color: #f99;
  counter-increment: item;
}

.carousel__slide:nth-child(even) {
  background-color: #99f;
}

.carousel__slide:before {
  content: counter(item);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -40%, 70px);
  color: #fff;
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 20;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #cf3e3e;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 17%;
  width: 4rem;
  height: 4rem;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: -1rem;
}

.carousel::after,
.carousel__next {
  right: -1rem;
}

.carousel::before,
.carousel::after {
  content: "";
  z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}
