/* Custom Styles */

body {
  font-family: "Inter", sans-serif;
}

/* Scroll to Top Button visible on scroll */
#scrollTopBtn.show {
  display: flex !important;
}
@keyframes bounce-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-bounce-float {
  animation: bounce-float 2s infinite ease-in-out;
}

@keyframes rotateYInfinite {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.rotate-wrapper {
  perspective: 1000px;
}

.rotate-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateYInfinite 10s linear infinite;
}

.rotate-inner > div {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.rotateY-180 {
  transform: rotateY(180deg);
}

/* product card */
.card-glass {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 20px 20px 60px #c5c0c0, -20px -20px 60px #ffffff;
}

.card-glass .bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border-radius: 10px;
  overflow: hidden;
  outline: 2px solid white;
}

/* .card-glass .blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #ff0000;
  opacity: 1;
  filter: blur(12px);
  animation: blob-bounce 5s infinite ease;
} */
.card-glass .blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 150px;
  border-radius: 50%;
  background-color: #185aaf;
  opacity: 1;
  filter: blur(12px);
  animation: blob-bounce 5s infinite ease;
  animation-play-state: paused; /* <- Start paused */
}

/* Trigger animation only on hover */
.card-glass:hover .blob {
  animation-play-state: running;
}

@keyframes blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }
  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }
  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }
  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

.flip-container {
  perspective: 1000px;
}

.flip-card {
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-container:hover .flip-card {
  transform: rotateY(360deg);
}

.consult-swiper {
  width: 100%;
  height: 100%;
}
.consult-next,
.consult-prev {
  color: white;
}
/* Custom scrollbar style */
.consult-scrollbar {
  width: 6px;
  background: rgba(48, 47, 47, 0.2);
}
.consult-scrollbar .swiper-scrollbar-drag {
  background: #8dbae4;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px; /* Change this value to make it thinner or thicker */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #888; /* Scroll thumb color */
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background-color: transparent; /* Scrollbar track (behind the thumb) */
}

/* For Firefox */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}



/* styles.css */
.fancy-background {
  width: 100%;
  filter: hue-rotate(0deg);
  background:
    repeating-conic-gradient(
        from 61.93deg at 75% 36.5%,
        #2f4c92 0%,
        #2f4c92 2%,
        #1b3e6b 16%,
        #fff0 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8),
    repeating-conic-gradient(
        from 118.07deg at 75% 87.5%,
        #58c0ff 0% 34.5%,
        #fff0 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8),
    repeating-conic-gradient(
        from 118.07deg at 50% 75%,
        #fff0 2%,
        #1b3e6b 17.15%,
        #fff0 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8),
    repeating-conic-gradient(
        from 61.93deg at 50% 50%,
        #58c0ff 0% 15.59%,
        #2f74d2 0% 32.79%,
        #fff0 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8),
    repeating-conic-gradient(
        from -118.07deg at 25% 12.5%,
        #2f74d2 0% 32.79%,
        #2f4c92 0% 50%,
        #fff0 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8),
    repeating-conic-gradient(
        from -61.93deg at 25% 87.5%,
        #fff0 0 67.25%,
        #2f74d2 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8),
    repeating-conic-gradient(
        from -61.93deg at 50% 75%,
        #fff0 0% 66.5%,
        #2f4c92 0% 84.25%,
        #58c0ff 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8),
    repeating-conic-gradient(
        from -61.93deg at 25% 37.5%,
        #58c0ff 0% 34.5%,
        #2f4c92 0% 67.25%,
        #2f74d2 0% 100%
      ) 50% / calc(20px * 12) calc(20px * 12.8);
}


/* styles.css */
.fancy-background1 {
  width: 100%;
  height: 100%;
  filter: hue-rotate(0deg);
  z-index: 0;
  background:
    repeating-conic-gradient(
        from 61.93deg at 75% 36.5%,
        #2f4c92 0%,
        #2f4c92 2%,
        #1b3e6b 16%,
        #fff0 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8),
    repeating-conic-gradient(
        from 118.07deg at 75% 87.5%,
        #58c0ff 0% 34.5%,
        #fff0 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8),
    repeating-conic-gradient(
        from 118.07deg at 50% 75%,
        #fff0 2%,
        #1b3e6b 17.15%,
        #fff0 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8),
    repeating-conic-gradient(
        from 61.93deg at 50% 50%,
        #58c0ff 0% 15.59%,
        #2f74d2 0% 32.79%,
        #fff0 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8),
    repeating-conic-gradient(
        from -118.07deg at 25% 12.5%,
        #2f74d2 0% 32.79%,
        #2f4c92 0% 50%,
        #fff0 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8),
    repeating-conic-gradient(
        from -61.93deg at 25% 87.5%,
        #fff0 0 67.25%,
        #2f74d2 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8),
    repeating-conic-gradient(
        from -61.93deg at 50% 75%,
        #fff0 0% 66.5%,
        #2f4c92 0% 84.25%,
        #58c0ff 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8),
    repeating-conic-gradient(
        from -61.93deg at 25% 37.5%,
        #58c0ff 0% 34.5%,
        #2f4c92 0% 67.25%,
        #2f74d2 0% 100%
      ) 50% / calc(16px * 12) calc(16px * 12.8);
}
