/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

.floating-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 18px;
  z-index: 9999; /* Makes sure it's always on top */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.bottom-banner {
  position: fixed;
  bottom: 15px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  font-size: 2em;
  font-weight: 700;
  width: 90%;
  border-radius: 50px;
  background-color: #ad0000;
  opacity: 85%;
  color: white;
  text-align: center;
  padding: 15px 20px;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 768px) {
  .bottom-banner {
    width: 100%;
    border-radius: 0;
    bottom: 0;
    height: fit-content;
    padding: 10px;
    font-size: 1.5em;
    flex-direction: column;
    gap: 8px;
  }

  .banner-text {
    margin-bottom: 5px;
  }

  .bottom-banner .btn_1 {
    padding: 8px 15px;
    font-size: 0.7em;
    margin-top: 5px;
    margin-bottom: 5px;
    white-space: nowrap;
  }
}

/* Adjust for very small screens */
@media (max-width: 480px) {
  .bottom-banner {
    font-size: 1.2em;
    padding: 8px;
  }

  .bottom-banner .btn_1 {
    padding: 6px 12px;
    font-size: 0.8em;
  }
}

.bottom-banner a {
  text-decoration: none;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 0.6em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bottom-banner a:hover {
  background-color: #f8f8f8;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Improved arrow styling */
.arrow {
  display: inline-block;
  margin-left: 8px;
  animation: arrow-animation 2s infinite ease-in-out;
  vertical-align: middle;
  line-height: 1;
  position: relative;
  top: -1px; /* Fine-tune vertical alignment */
}

.button-text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

@keyframes arrow-animation {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Ensure button content is properly aligned */
.bottom-banner .btn_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .arrow {
    top: 0; /* Adjust for mobile */
    font-size: 0.9em;
  }
}
