@font-face {
  font-family: "BwGradual-Black";
  src: url("../font/BwGradualDEMO-Black.otf");
}

@font-face {
  font-family: "BwGradual-Bold";
  src: url("../font/BwGradualDEMO-Bold.otf");
}

@font-face {
  font-family: "BwGradual-Light";
  src: url("../font/BwGradualDEMO-Light.otf");
}

@font-face {
  font-family: "BwGradual-Medium";
  src: url("../font/BwGradualDEMO-Medium.otf");
}

@font-face {
  font-family: "BwGradual-Regular";
  src: url("../font/BwGradualDEMO-Regular.otf");
}

@font-face {
  font-family: "BwGradual-Thin";
  src: url("../font/BwGradualDEMO-Thin.otf");
}

:root{
  --purple: #9685fe;
  --black: #000;
  --white: #fff;
}

*{
  scroll-behavior: smooth;
}

body{
  transition: background-color ease-out .5s;
  overflow-x: hidden;
} 

.vdodiv{
  clip-path: circle(var(--clip) at 50% 50%);
}

*::selection{
  background-color: var(--purple);
  color: white;
}

.testimonials-section {
  position: relative;
  z-index: 10;
  background-color: #000;
  overflow: hidden;
  padding: 3rem 0;
  margin-top: 150px;
}

.testimonial-card {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(150, 133, 254, 0.1);
  border-radius: 16px;
  padding: 1.75rem;
  min-width: 360px;
  width: 360px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), #7c4dff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(150, 133, 254, 0.3);
  border-color: rgba(150, 133, 254, 0.3);
  background: rgba(25, 25, 25, 0.9);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-family: 'BwGradual-Light', sans-serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  border: 2px solid var(--purple);
  box-shadow: 0 4px 15px rgba(150, 133, 254, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(150, 133, 254, 0.4);
}

.author-info h4 {
  color: white;
  font-family: 'BwGradual-Medium', sans-serif;
  margin: 0 0 2px 0;
  font-size: 1rem;
}

.author-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
  font-family: 'BwGradual-Light', sans-serif;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0.5rem 0;  /* Reduced from 2rem */
  padding: 1rem 0;   /* Reduced from 2rem */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  gap: 1rem;        /* Reduced from 1.5rem */
  padding: 0.5rem 0;  /* Reduced from 1rem */
}

.marquee-item {
  flex: 0 0 auto;
  padding: 0 0.5rem;
}

/* Add subtle gradient overlay on the edges */
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0));
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(270deg, #000, rgba(0, 0, 0, 0));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-card {
    min-width: 280px;
    padding: 1.5rem;
  }
  
  .marquee-container {
    mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
  }
}

.marquee-track.reverse {
  animation-direction: reverse;
}

.marquee-item {
  flex: 0 0 auto;
  margin-right: 1.5rem;
  position: relative;
  transition: transform 0.3s ease;
}

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

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item:hover {
  transform: scale(1.02);
  z-index: 1;
}

body[theme="black"]{
  background-color: var(--black);
  color: var(--white);
}

body[theme="white"]{
  background-color: var(--white);
  color: var(--black);
  scroll-behavior: smooth;
}


/* ------------------------------------------------------------------------ */
.video-thumbnail {
  position: relative;
  cursor: none;
  transition: transform 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: #000;
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-thumbnail:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-thumbnail:hover video {
  transform: scale(1.05);
}

.play-button {
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1) rotate(360deg);
}

.video-modal {
  transition: opacity 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.cursor-dot {
  position: fixed;
  padding: 25px;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.1s ease;
  will-change: transform;
}

.cursor-dot.active {
  opacity: 1;
}

.cursor-dot-fill {
  color: #000;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.modal-open {
  cursor: none;
}