/* animation-text-one */

.animation-text-one {
  color: #333;
}

.animation-text-one .scroll-text {
  font-size: 0;
  font-family: sans-serif;
  white-space: nowrap;
  display: block;
  height: 7rem;
}

.animation-text-one .scroll-text span.fl {
  position: relative;
  display: inline-block;
  font-size: 8rem;
}

.animation-text-one .scroll-text .y1,
.animation-text-one .scroll-text .y2,
.animation-text-one .scroll-text .y3,
.animation-text-one .scroll-text .y4,
.animation-text-one .scroll-text .y5,
.animation-text-one .scroll-text .y6 {
  transition: color 0.5s ease, transform 0.3s ease, text-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform, color, text-shadow;
}

/* Default Text Color (Black for White Background) */
.animation-text-one .scroll-text .y1,
.animation-text-one .scroll-text .y2,
.animation-text-one .scroll-text .y3,
.animation-text-one .scroll-text .y4,
.animation-text-one .scroll-text .y5,
.animation-text-one .scroll-text .y6 {
  color: #333;
  /* Slightly softer than pure black */
}

/* Glowing Shadows for White BG (Adjusted for Better Visibility) */
.scrolling .y1 {
  text-shadow: 3px 3px 10px rgba(255, 59, 59, 0.7);
}

.scrolling .y2 {
  text-shadow: 3px 3px 10px rgba(0, 102, 204, 0.7);
}

.scrolling .y3 {
  text-shadow: 3px 3px 10px rgba(0, 172, 120, 0.7);
}

.scrolling .y4 {
  text-shadow: 3px 3px 10px rgba(255, 140, 0, 0.7);
}

.scrolling .y5 {
  text-shadow: 3px 3px 10px rgba(142, 68, 173, 0.7);
}

.scrolling .y6 {
  text-shadow: 3px 3px 10px rgba(39, 174, 96, 0.7);
}

@media only screen and (min-width: 200px) and (max-width: 767px) {
  .animation-text-one .scroll-text span.fl {
    font-size: 5rem;
  }

  .animation-text-one .scroll-text {
    height: 5rem;
  }
}


/* Second */

.animated-svg {
  display: block;
  font: 7rem 'Montserrat';
  margin: 0 auto;
  margin-top: -3rem;
}

.line-text-copy {
  fill: none;
  stroke: white;
  stroke-dasharray: 6% 29%;
  stroke-width: 5px;
  stroke-dashoffset: 0%;
  animation: stroke-offset 5.5s infinite linear;
}

.line-text-copy:nth-child(1) {
  stroke: #F5F5F5;
  animation-delay: -1;
}

.line-text-copy:nth-child(2) {
  stroke: #C80036;
  animation-delay: -2s;
}

.line-text-copy:nth-child(3) {
  stroke: #FF8225;
  animation-delay: -3s;
}

.line-text-copy:nth-child(4) {
  stroke: #424242;
  animation-delay: -4s;
}

.line-text-copy:nth-child(5) {
  stroke: #48CFCB;
  animation-delay: -5s;
}

@keyframes stroke-offset {
  100% {
    stroke-dashoffset: -35%;
  }
}

/* Heading Animation */


.open-text-animation {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: transparent;
  text-transform: uppercase;
  background-color: white;
  z-index: 5;
}

.open-text-animation span:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  color: #333;
  transition: 0.5s;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  overflow: hidden;
}

.open-text-animation:hover span:nth-child(1) {
  transform: translateY(-18px);
}

.open-text-animation span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  color: #333;
  transition: 0.5s;
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  overflow: hidden;
}

.open-text-animation:hover span:nth-child(2) {
  transform: translateY(18px);
}

.open-text-animation span:nth-child(3) {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) scaleY(0);
  width: 100%;
  color: #333;
  background: #ff0;
  border: 3px solid white;
  font-size: 0.25em;
  font-weight: 500;
  letter-spacing: 4px;
  text-align: center;
  transition: 0.5s;
}

.open-text-animation:hover span:nth-child(3) {
  transform: translateY(-50%) scaleY(1);
}

/* hire btn */
.button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  background-image: linear-gradient(#8BC34A, #4caf50); 
  color: white;
  border: solid 2px #4CAF50;
  height: 50px;
  padding: 0px 20px;
  border-radius: 5px;
  font-weight: 600;
  transform: scale(0.89);
  position: relative;
}

.button-p {
  background-image: linear-gradient(#7373d0, #5f5fe9) !important;
  border: 2px solid #7373d0 !important;
}

.button-b {
  background-image: linear-gradient(#798dca, #475272) !important;
  border: 2px solid #475272 !important;
}

.button-y {
  background-image: linear-gradient(#f8b42b, #FFA800) !important;
  border: 2px solid #FFA800 !important;
}

.button:not(:hover) .hide,
.button:not(:hover) .icon::before,
.button:not(:hover) .icon::after {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.4);
}

.hide {
  transition: all 0.2s ease;
}

.icon {
  position: relative;
}

.icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background-color: #333;
  border-radius: 100%;
}

.icon::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(-19%, -60%);
  width: 100px;
  height: 33px;
  background-color: transparent;
  border-radius: 12px 22px 2px 2px;
  border-right: solid 2px #333;
  border-top: solid 2px transparent;
}

.icon .text-icon {
  color: #333;
  position: absolute;
  font-size: 12px;
  left: -37px;
  top: -38px;
}

.icon svg {
  width: 20px;
  height: 20px;
  border: solid 2px transparent;
  display: flex;
}

.button:hover .icon svg {
  border: solid 2px #333;
}

.padding-left {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #333;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.padding-left:before {
  content: "";
  width: 2px;
  height: 10px;
  background-color: #333;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.padding-left:after {
  content: "";
  width: 2px;
  height: 10px;
  background-color: #333;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.padding-left-line {
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #333;
  left: -24px;
  top: 11px;
  transform: rotate(-50deg);
}

.padding-left-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background-color: #333;
  border-radius: 100%;
}

.padding-left-text {
  color: #333;
  font-size: 12px;
  position: absolute;
  white-space: nowrap;
  transform: rotate(50deg);
  bottom: 30px;
  left: -67px;
}

.padding-right {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #333;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.padding-right:before {
  content: "";
  width: 2px;
  height: 10px;
  background-color: #333;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.padding-right:after {
  content: "";
  width: 2px;
  height: 10px;
  background-color: #333;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.padding-right-line {
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #333;
  right: -24px;
  top: 11px;
  transform: rotate(50deg);
}

.padding-right-line::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background-color: #333;
  border-radius: 100%;
}

.padding-right-text {
  color: #333;
  font-size: 12px;
  position: absolute;
  white-space: nowrap;
  transform: rotate(-50deg);
  bottom: 33px;
  left: 18px;
}

.background {
  position: absolute;
}

.background::before {
  content: "";
  position: absolute;
  right: 27px;
  bottom: -70px;
  width: 100px;
  height: 53px;
  background-color: transparent;
  border-radius: 0px 0px 22px 22px;
  border-right: solid 2px #333;
  border-bottom: solid 2px transparent;
}

.background::after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: -20px;
  width: 6px;
  height: 6px;
  background-color: #333;
  border-radius: 100%;
}

.background-text {
  position: absolute;
  color: #333;
  font-size: 12px;
  bottom: -70px;
  left: -115px;
}

.border {
  position: absolute;
  right: 0;
  top: 0;
}

.border:before {
  content: "";
  width: 15px;
  height: 15px;
  border: solid 2px #333;
  position: absolute;
  right: 0%;
  top: 0;
  transform: translate(50%, -50%);
  border-radius: 100%;
}

.border:after {
  content: "";
  width: 2px;
  height: 25px;
  background-color: #333;
  position: absolute;
  right: -17px;
  top: -10px;
  transform: translate(50%, -50%) rotate(60deg);
}

.border .border-text {
  position: absolute;
  color: #333;
  font-size: 12px;
  right: -112px;
  top: -30px;
  white-space: nowrap;
}

@media only screen and (min-width: 200px) and (max-width: 767px) {
  .button {
    width: 60%;
  }

  .center-btn-hire {
    display: flex;
    justify-content: center;

  }
}

/* hire end */

/* Hand Start */

.app {
  position: relative;
  min-height: calc(100vh);
  overflow: hidden;
}

.app--debug .grab-zone {
  background: rgba(0, 0, 0, 0.15);
}

.app--debug .grab-zone__debug {
  display: block;
}

.app--debug .grab-zone__danger {
  background: rgba(0, 0, 0, 0.15);
}

.app--debug .grabber__arm-wrapper {
  background: rgba(0, 0, 0, 0.15);
}

.grab-zone-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateX(30%) translateY(50%);
}

.grab-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 700px;
  height: 700px;
  border-radius: 50%;
}

.grab-zone__danger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 400px;
  border-radius: 50%;
}

.grab-zone__debug {
  display: none;
  position: absolute;
  width: 300px;
  top: -100px;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
}

.grabber {
  position: relative;
  width: 100px;
  height: 100px;
}

.grabber__arm-wrapper {
  position: absolute;
  top: -80px;
  width: 24px;
  height: 260px;
}

.grabber__arm {
  position: relative;
  width: 24px;
  height: 200px;
  background: #7D9A9E;
  border-radius: 20px;
  overflow: visible;
  transform: translateY(100%);
  transition: transform 0.2s ease;
}

.grabber__hand {
  display: block;
  position: absolute;
  top: -12px;
  transform: scale(1.4) rotate(-10deg) translateY(100%);
  transform-origin: bottom center;
  transition: transform 0.3s ease;
}

.grabber__face {
  position: absolute;
  width: 75px;
  height: 84px;
  right: 5%;
  transition: transform 0.3s ease;
}

.grabber__body {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 110px;
  height: 95px;
  border-radius: 50%;
  background: #7D9A9E;
  transition: transform 0.3s ease;
}

.grabber--waiting .grabber__hand {
  transform: scale(1.4) rotate(-10deg);
}

.grabber--waiting .grabber__arm {
  transform: translateY(80%);
}

.grabber--waiting .grabber__face {
  transform: translateY(60%);
}

.grabber--stalking .grabber__hand {
  transform: scale(1.4) rotate(-10deg);
}

.grabber--stalking .grabber__arm {
  transform: translateY(70%);
}

.grabber--stalking .grabber__face {
  transform: translateY(10%);
}

.grabber--grabbing .grabber__face {
  transform: translateY(-40%) rotate(10deg);
}

.grabber--grabbing .grabber__arm {
  transform: translateY(0%);
}

.grabber--grabbing .grabber__body {
  transform: translateY(-20%);
}

.grabber--grabbing .grabber__hand {
  transform: scale(1.7) rotate(10deg);
}

.grabber--grabbed .grabber__arm {
  transition: transform 1s ease;
}

.grabber--grabbed .grabber__hand {
  transition: transform 2.5s ease;
}

.grabber--grabbed .grabber__face {
  transform: translateY(70%);
  transition: transform 1s ease;
}

.grabber--grabbed .grabber__body {
  transform: translateY(50%);
  transition: transform 1s ease;
}

.grabber--extended .grabber__arm {
  transform: translateY(-20%);
}

.grabber--extended .grabber__face {
  transform: translateY(-60%) rotate(15deg);
}

.grabber--extended .grabber__body {
  transform: translateY(-40%);
}

.grabber--shaka .grabber__arm {
  transform: translateY(50%);
}

.grabber--shaka .grabber__hand {
  transform: scale(2.5) translateY(10%);
  -webkit-animation: shaka 0.5s infinite alternate forwards;
  animation: shaka 0.5s infinite alternate forwards;
  transform-origin: 55% 60%;
}

.grabber--shaka .grabber__face {
  transform: translateY(70%);
  transition: transform 1s ease;
}

.grabber--shaka .grabber__body {
  transform: translateY(50%);
  transition: transform 1s ease;
}

.trap-button {
  position: absolute;
  bottom: 80px;
  right: 70px;
  min-width: 140px;
  background: #8ECACC;
  color: white;
  border-radius: 5px;
  text-align: center;
  padding: 0.4rem;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 0;
}

.debug-button {
  position: fixed;
  top: 0;
  right: 0;
  background: transparent;
  padding: 1rem;
  margin: 1rem;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
  border: 0;
}

@-webkit-keyframes shaka {
  0% {
    transform: scale(2.5) translateY(0%) rotate(-20deg);
  }

  100% {
    transform: scale(2.5) translateY(0%) rotate(20deg);
  }
}

@keyframes shaka {
  0% {
    transform: scale(2.5) translateY(0%) rotate(-20deg);
  }

  100% {
    transform: scale(2.5) translateY(0%) rotate(20deg);
  }
}

/* Hand End */