/* FONTS */
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Light.woff2') format('woff2');
  font-weight: 300;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
}


@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Black.woff2') format('woff2');
  font-weight: 900;
}


article>*:not(.entry-content),
.entry-content>* {
  @apply mx-auto max-w-content;
}

.entry-content,
.block-editor-block-list__layout {
  h1 {
    @apply text-2xl;
  }

  h2 {
    @apply text-xl;
  }

  h3 {
    @apply text-lg;
  }

  p,
  ul,
  ol {
    a {
      @apply text-blue-500 underline;

      &:hover {
        @apply no-underline;
      }
    }

    @apply mb-8;
  }

  ul:not(.block-editor-block-variation-picker__variations) {
    li {
      @apply list-disc list-inside;
    }
  }

  ol {
    li {
      @apply list-decimal list-inside;
    }
  }
}

body {
  font-family: 'Satoshi';
  margin: 0;
  padding: 0;
}

html {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Satoshi';
}

/* Swiper Line Pagination Styles */
.swiper-pagination-line {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 999px;
}

.swiper-pagination-line-active {
  background: #ffffff;
  width: 24px;
}

.approach-card {
  background: linear-gradient(0deg, rgba(0, 117, 238, 0.07), rgba(0, 117, 238, 0.07));

}

.zb-overlay {
  width: 379px;
  height: 281px;
  opacity: 1;
  left: 0.17px;
  rotate: 180deg;
  top: 50px;
  background: linear-gradient(180deg, #0b2e47 1%, #06141f00 100%);
}

.ys-overlay {
  width: 379px;
  height: 281px;
  opacity: 1;
  left: 0.17px;
  rotate: 180deg;
  top: 50px;
  background: linear-gradient(180deg, #438b38 1%, #06141f00 100%);
}

.zb-brandCard {
  /* width: 378px; */
  height: 432px;
  opacity: 1;
  border-radius: 24px;
  border-width: 1px;
  background: linear-gradient(180deg, #104062 0%, #06141F 100%);
}


.gp-brandCard {
  /* width: 378px; */
  height: 432px;
  opacity: 1;
  border-radius: 24px;
  border-width: 1px;
  background: linear-gradient(24.08deg, #BB2997 0%, #c42844 50%, #F39122 100%);
}

.ys-brandCard {
  /* width: 378px; */
  height: 432px;
  opacity: 1;
  border-radius: 24px;
  border-width: 1px;
  background: linear-gradient(180deg, #65D953 0%, #06141F 100%);
}

.gp-overlay {
  width: 379px;
  height: 281px;
  opacity: 1;
  left: 0.17px;
  rotate: 180deg;
  top: 50px;
  background: linear-gradient(180deg, #af288d 1%, #a52585ad 20%, #ff385d00 100%);
}

.zoomBucksCard {
  max-width: 500px;
  height: 276px;
  opacity: 1;
  top: 30px;
  left: -63.5px;
}

.grabPointsCard {
  max-width: 500px;
  height: 276px;
  opacity: 1;
  top: 30px;
  left: 0.15px;
}

.ysCard {
  max-width: 500px;
  height: 276px;
  opacity: 1;
  top: 30px;
  left: 0.15px;
}

.timeline {
  background: linear-gradient(180deg, #F3F6F9 0%, #FFFFFF 100%);
}

/* TEAM CARD HOVER */
.team-member-card {
  transition: all 0.3s ease;
}

.team-member-card:hover .hover-overlay {
  opacity: 1;
}

/* show job description on hover */
.team-member-card:hover .job-description {
  opacity: 1;
  transform: translateY(0);
}

.team-member-card:hover .rotate-icon {
  display: none;
}

.team-member-card:hover .rotate-icon-hovered {
  display: block;
  z-index: 10;
}


/* Hide name and role when hovered */
.team-member-card:hover .name,
.team-member-card:hover .role {
  opacity: 0;
  transform: translateY(0);
}

.hover-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  background: #1E5AF2;
}

.job-description {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Missing Tailwind classes */
.overflow-x-auto {
  overflow-x: auto;
}

.pb-4 {
  padding-bottom: 1rem;
  /* 16px */
}

@media (min-width: 1080px) {
  .lg\:overflow-hidden {
    overflow: hidden;
  }
}

/* Active navigation item styling */
.current-menu-item>a {
  color: #1E5AF2 !important;
  /* primary color */
}

/* Hover state for nav items */
nav a:hover {
  color: #1E5AF2;
  transition: color 0.2s ease;
}

.connect-card {
  box-shadow: 0px 16px 32px 0px #0000000A;
}


.carousel-pagination {
  display: flex;
  position: absolute;
  top: 12rem;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.brand-carousel-pagination {
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  transition: all 0.3s ease;
  padding: 0;
  pointer-events: none;
}

.pagination-dot.active {
  background: #ffffff;
  width: 24px;
}

@media (min-width: 310px) and (max-width: 481px) {
  .pagination-dot {
    width: 4px;
    height: 4px;
  }

  .pagination-dot.active {
    background: #ffffff;
    width: 12px;
  }

}

/* Horizontal Scrollbar */
.team-members-container::-webkit-scrollbar {
  display: none;
}


/* Vertical Scrollbar */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: white;
  /* or use Tailwind theme color via CSS var */
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.1);
}

*::-webkit-scrollbar-thumb {
  background: #d1d5db;
  /* gray-300 */
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

*::-webkit-scrollbar-thumb:active {
  background: #888;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.amplitude-effect {
  background: linear-gradient(180deg,
      rgb(18, 22, 24) 50%,
      rgb(18, 22, 24, 0.7) 60%,
      rgba(18, 22, 24, 0) 100%);
  z-index: 2;
  opacity: 1;
  transition: transform 0.05s ease-out, opacity 0.05s ease-out;
}



.hover-underline-animation {
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2.1px;
  /* Underline thickness */
  background-color: currentColor;
  /* Matches text color */
  bottom: 0;
  left: 0;
  transform: scaleX(0) scaleY(0);
  /* Start hidden */
  transform-origin: bottom left;
  transition: transform 0.2s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1) scaleY(1);
  /* Expand to full width on hover */
  transform-origin: bottom left;
}

/* Example targeting an element inside the active slide */
/* .swiper-slide-active {
  animation: bounce 1s ease-in-out;
} */

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(-20px);
    /* Adjust the bounce height */
  }

  60% {
    transform: translateX(-10px);
  }
}

@keyframes naturalBounceX {
  0% {
    transform: translateX(0px);
  }

  25% {
    transform: translateX(-20px);
  }

  /* 35% {
    transform: translateX(-20px);
  } */

  50% {
    transform: translateX(20px);
  }

  /* 75% {
    transform: translateX(10px);
  } */

  100% {
    transform: translateX(0px);
  }
}

@keyframes naturalBounceXReverse {
  0% {
    transform: translateX(20px);
  }

  /* 
  25% {
    transform: translateX(20px);
  } */

  /* 35% {
    transform: translateX(-20px);
  } */

  /* 50% {
    transform: translateX(-10px);
  } */

  /* 75% {
    transform: translateX(10px);
  } */

  100% {
    transform: translateX(0px);
  }
}

.bounce-effect-reverse {
  animation: naturalBounceXReverse 2s ease-in-out;
}

.bounce-effect {
  animation: naturalBounceX 2s ease-in-out;
}