* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: var(--primary-font);
}

html::-webkit-scrollbar {
  width: 12px;
  cursor: pointer;
}

html::-webkit-scrollbar-track {
  background: #f4f4f4;
}

html::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 10px;
  border: 3px solid #f4f4f4;
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--main);
}

body {
  background: var(--secondary);
  position: relative;
}

a {
  text-decoration: none;
}

label span {
  color: #ff0000 !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-ms-clear {
  display: none;
}

/* Whatsapp Icon */
.whatsapp-div {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 100;
  border-radius: 50%;
  box-shadow: 0 0 0 0 #c4c5c7;
  -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  cursor: pointer;
}

.bookstall-div {
  position: fixed;
  bottom: 30px;
  left: 20px;
  z-index: 100;
  border-radius: 50%;
  box-shadow: 0 0 0 0 #c4c5c7;
  -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}


@keyframes pulse {
  100% {
    box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);
  }
}


.fixed-book-div {
  position: absolute;
  left: 75px;
  top: 60%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 40px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1.5px;
  padding-bottom: 5px;
}

.fixed-book-div::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--red);
  animation: underlineMove 2s infinite;
}

@keyframes underlineMove {
  0% {
    width: 0;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0;
  }
}

@media (max-width: 1300px) {
  .fixed-book-div {
    display: none;
  }

  .fixed-book-div::after {
    content: none !important;
    animation: none !important;
    width: 0 !important;
  }
}


/* Popup Window Styles */
.whatsapp-popup {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 95px;
  right: 20px;
  width: 300px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  z-index: 100;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.popup-header {
  background: #075e54;
  color: white;
  padding: 15px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}

.popup-body {
  padding: 20px;
  text-align: center;
}

.open-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 30px;
  margin-top: 15px;
  font-weight: bold;
  gap: 10px;
  transition: all 0.3s ease;
}

/* Paper Plane Animation */
.plane-icon {
  animation: slidePlane 1.5s infinite;
}

@keyframes slidePlane {
  0% {
    transform: translateX(-8px) scale(0.8);
    opacity: 0;
  }

  50% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(8px) scale(0.8);
    opacity: 0;
  }
}

/* WhatsApp Icon inside button (Hidden initially) */
.inner-wa-icon {
  display: none;
  height: 20px;
  width: auto;
}

/* Class to show WA icon and hide plane */
.show-wa .inner-wa-icon {
  display: block;
}

.show-wa .plane-icon {
  display: none;
}