html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", serif;
  margin: 0;
  padding: 0;
}
::selection {
  background-color: #c7a4e9;
  color: white;
}
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  transition: background 0.5s ease 0.3s;
  border-radius: 10px;
}

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0s;
}

[data-aos][data-delay] {
  transition-delay: attr(data-delay) s;
}

.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-hidden {
  opacity: 0;
  transform: translateY(40px);
}

[data-animation="fade-up-scale"] {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animation="fade-up-scale"] {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animation="fade-up-scale"].animate-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-animation="fade-up-scale"].animate-hidden {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
} /* Testimonial 1 (fade-left) */
[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(
    -30px
  ); /* Initially hidden with translation to the left */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].animate-visible {
  opacity: 1;
  transform: translateX(0); /* Move to the original position when visible */
}

[data-aos="fade-left"].animate-hidden {
  opacity: 0;
  transform: translateX(-30px); /* Translate out to the left when hidden */
}

/* Testimonial 2 (fade-right) */
[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(
    30px
  ); /* Initially hidden with translation to the right */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].animate-visible {
  opacity: 1;
  transform: translateX(0); /* Move to the original position when visible */
}

[data-aos="fade-right"].animate-hidden {
  opacity: 0;
  transform: translateX(30px); /* Translate out to the right when hidden */
}
.gradient-text {
  background: #2357c7;
  font-style: normal;
  background: linear-gradient(to right, #2357c7 0%, #182032 50%, #802eca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#mobile-menu {
  transform: translateX(100%); /* Start off-screen to the right */
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out,
    visibility 0s linear 0.3s;
}

#mobile-menu.open {
  transform: translateX(0); /* Slide in from the right */
  opacity: 1;
  visibility: visible;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.close {
  transform: translateY(-100%); /* Slide upwards when closing */
  opacity: 1;
  visibility: visible;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

#mobile-menu-overlay.close {
  opacity: 0;
  visibility: hidden;
}
.expand {
  background: transparent;
  animation: moveCursor2 0.5s infinite; /* Make the animation run infinitely */
  border: 1px solid yellow;
}

@keyframes moveCursor1 {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0.8);
  }
}

@keyframes moveCursor2 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(2.5);
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.frosted {
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(10px); /* Safari */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pointer-trail {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(145, 136, 136, 0.6); /* Ring effect */
  border-radius: 50%;
  pointer-events: none;

  transition: all 0.3s ease-out;
  transform: translate(-50%, -50%); /* Centers trail */
  visibility: hidden;
  z-index: 9999;
}

.pointer-trail .inner-circle {
  position: absolute;
  width: 15px;
  height: 15px;
  background: linear-gradient(to right, #2357c7 0%, #182032 50%, #802eca 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#gradient-section {
  background: linear-gradient(
    45deg,
    rgba(117, 44, 186, 0.1),
    white,
    rgba(34, 81, 183, 0.1)
  );
  transition: background 0.1s ease;
}
.box_shadow {
  box-shadow: 4px 4px 8px rgba(102, 38, 162, 0.2),
    -4px -4px 8px rgba(102, 38, 162, 0.2);
}

.neurons {
  margin: 0;
  padding: 0;
  min-width: 100%;
  min-height: 100vh;
  height: 100vh;
  position: relative;
  background: #969191b5;
}

#canvas {
  display: block;
}

.neurons::after {
  z-index: 1;
  position: absolute;
  display: block;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  content: "";
}
.loader {
  animation: scalePulse 1s infinite ease-in-out;
  transform-origin: center;
  display: block;
  opacity: 0;
  animation: loaderMove 1s ease-in-out forwards,
    scalePulse 1s infinite ease-in-out 1s;
}

@keyframes loaderMove {
  0% {
    transform: translateY(100vh) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes scalePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

#loading-screen {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.hidden {
  display: none; /* Use this class for completely hiding elements */
}

#loading-screen.fade-out {
  animation: fadeOut 1s forwards; /* Fades out the loading screen */
}
.pointer-cursor {
  cursor: pointer;
}
