@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-family: "Noto Sans", sans-serif;
}

.digital-catalogue-btn {
  position: fixed;
  bottom: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  height: 65px;
  background-color: #ffffff;
  overflow: hidden;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  width: 240px;
  border-radius: 40px;
  padding: 0 20px 0 15px;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 999;
}

@keyframes pulseAnimation {
  0%{
    scale: .85;
  }
  50% {
    scale: 1;
  }
  100% {
    scale: .85;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes tada {
  0% {
    transform: scale(1) rotate(0deg);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes rubberBand {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scaleX(1.25) scaleY(0.75);
  }
  40% {
    transform: scaleX(0.75) scaleY(1.25);
  }
  50% {
    transform: scaleX(1.15) scaleY(0.85);
  }
  65% {
    transform: scaleX(0.95) scaleY(1.05);
  }
  75% {
    transform: scaleX(1.05) scaleY(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes wobble {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  15% {
    transform: translateX(-15px) rotate(-5deg);
  }
  30% {
    transform: translateX(10px) rotate(3deg);
  }
  45% {
    transform: translateX(-10px) rotate(-3deg);
  }
  60% {
    transform: translateX(5px) rotate(2deg);
  }
  75% {
    transform: translateX(-5px) rotate(-1deg);
  }
}





.catalogue-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  transition: all 0.4s ease;
  margin: 0;
  /* Remove margin initially for perfect centering */
}

.catalogue-text {
  white-space: nowrap;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  font-family: "Karla", sans-serif;
  opacity: 1;
  width: auto;
  margin-left: 12px;
  transition: opacity 0.4s ease, width 0.4s ease, margin-left 0.4s ease;
}

/* Hover state - expand button */
.digital-catalogue-btn:hover {}

/* 
.digital-catalogue-btn:hover .catalogue-icon {
  margin-right: 0; 
} */



.digital-catalogue-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 500px) {

  .digital-catalogue-btn {
    height: 60px;
    width: 200px;
  }

  .catalogue-icon {
    width: 40px;
    height: 40px;
  }

  .catalogue-text {
    font-size: 14px;
  }
}

/* Larger button
.digital-catalogue-btn {
  width: 80px;
  height: 80px;
}

.catalogue-icon {
  width: 50px;
  height: 50px;
  margin-left: 15px;
} */