.offers {
  margin-top: -2rem;
}
/* Style for the navigation buttons */
.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}
.offer-navigation {
  display: flex;
  align-items: center;
  margin-top: 5rem;
  font-size: 16px;
  background: #5555;
  padding: 2rem 23.5rem;
}
.offer-navigation a {
  display: flex;
  align-items: center;
  margin: 0 4px;
  color: #fff;
  transition: color 0.3s;
}
.offer-navigation a:hover {
  opacity: 1;
  transition: 0.3s;
  color: rgba(244, 217, 86, 0.5);
}
.pagination-number .number {
  transition: color 0.3s;
}
.pagination-number .number:hover {
  color: rgba(244, 217, 86, 0.5);
}
.offer-navigation p {
  margin: 0 7px;
}
.pagination-number {
  display: flex;
  margin: 0 15px;
}
.next,
.preview {
  background: #212529;
  padding: 5px 10px;
  border-radius: 4px;
}
.number {
  color: #fff;
  opacity: 0.9;
}
.pagination-number p {
  background: #212529;
  padding: 5px 10px;
  border-radius: 4px;
}
.fa-angle-left,
.fa-angle-right {
  margin-left: 7px;
  margin-right: 7px;
  color: #f4d956;
}
.offers__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 7rem;
  gap: 3rem;
  transition: transform 2s ease box-shadow 1s;
}
.offer:hover {
  transform: translateY(-10px);
}
.offer {
  background: #555;
  text-align: center;
  border: 1px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.offer:hover {
  background: transparent;
  border-color: rgba(244, 217, 86, 0.5);
  cursor: pointer;
}
.best-seller-offer {
  margin-top: -2rem;
}
.from-offer-price {
  display: flex;
  align-items: center;
}

.from-price {
  font-size: 12px;
  margin-right: 16px;
}
.offer__info {
  position: relative;
  padding: 2rem;
  margin-top: 1rem;
  flex-grow: 1;
}
.offer__info p {
  margin: 1.2rem 0 1rem;
  font-size: 0.9rem;
  flex-grow: 1;
}

.offer-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-row {
  display: flex;
  align-items: center;
}

.offer_discount {
  margin-right: 20px;
}

.custom-list li {
  white-space: pre-wrap;
  max-width: 100%;
  text-align: left;
  text-indent: -1.3em;
}
.discount-bubble {
  background-color: #fff5f5;
  border-radius: 10%;
  padding: 5px 10px;
  margin-left: 10px;
}

.discount-percentage {
  font-weight: bold;
  color: #ff004f;
}

.offer-pricing .offer_price {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
}
.offer-pricing .offer_discount {
  font-size: 14px;
}

.offer__info .btn-primary {
  width: 240px;
  padding: 7px 2rem;
  border-radius: 4px;
}
.premium-btn {
  background-color: #f4d956;
}
.business-btn {
  background-color: #f4d956;
}
.extra-btn {
  background-color: #f4d956;
}
.horizontal-border {
  border-top: 2px solid rgba(244, 217, 86, 0.5);
  width: 100%;
  margin-top: 30px;
  margin-bottom: -30px;
}
.offer-features {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  margin-top: 4rem;
}
.top-features {
  margin-bottom: 1rem;
}
.offer-features ul li {
  margin-bottom: 4px;
}
.best-seller-bubble {
  background-color: #ff004f;
  color: white;
  border-radius: 2%;
  padding: 8px 12px;
  position: absolute;
  top: -40px; /* Adjust to position the bubble */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%) rotate(-4deg); /* Center horizontally and add a 5-degree rotation */
  font-weight: bold;
  width: 70%;
  animation: bubbleAnimation 3s ease-in-out infinite; /* Apply the animation */
}

@keyframes bubbleAnimation {
  0%,
  100% {
    transform: translateX(-50%) rotate(-4deg) translateY(0);
  }
  50% {
    transform: translateX(-55%) rotate(-4deg) translateY(-10px); /* Move up */
  }
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 10px;
  background-color: #f4d956;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  z-index: 2;
}

#popup-header {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.popup-description {
  align-items: center;
  margin-bottom: 12px;
}

#popup-title {
  margin-top: 10px;
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.popup-header-line {
  width: 100%;
  height: 2px;
  margin-bottom: 1rem;
  background-color: #212529;
}
.popup,
label .message {
  color: #555;
}
.popup-close-btn {
  position: absolute;
  right: 22px;
  font-size: 22px;
  background: transparent;
  cursor: pointer;
  color: #555;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-right: 4rem;
  margin-top: 1rem;
  width: 460px;
}
.form__name {
  display: flex;
  gap: 1.2rem;
}
.contact__form input[type="text"] {
  width: 100%;
}
.contact-details {
  font-size: 18px;
  margin-top: 2rem;
}
.interested-offer {
  display: flex;
  align-items: center;
}
.interested-offer-checkbox {
  width: 20px;
  margin-right: 10px;
}
input[type="checkbox"] {
  accent-color: #555;
}
.policy-privacy {
  display: flex;
  align-items: center;
  margin-top: -16px;
}
.policy-privacy-checkbox {
  width: 20px;
  margin-right: 10px;
}

input {
  width: 100%;
  padding: 1rem;
}
.contact__form btn {
  width: max-content;
  cursor: pointer;
  margin-top: 1rem;
}
.contact__form .btn:hover {
  cursor: pointer;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none; /* Remove the default focus outline */
  box-shadow: 0 0 3px rgba(244, 217, 86, 0.5); /* Add a custom box shadow on focus */
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

.send-request {
  background-color: #555;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 1px;
}
.send-request:hover {
  background-color: #212529;
  color: #fff;
  border: 1px solid transparent;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: background-color 4s;
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Adjust the last value (0.7) for transparency */
  z-index: 1; /* Place the overlay above other elements */
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid green; /* Yellow color */
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.flash-message {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: green;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 5;
}

.error-message {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: red;
  color: #fff;
  font-size: 18px;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 5;
}
.custom-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-wrap: nowrap;
}
@media screen and (max-width: 600px) {
  .offers__container {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 0;
  }
  .navigation {
    width: var(--container-width-sm);
    margin-left: 10px;
  }
  .offer-navigation {
    padding-right: 22px !important;
  }
  .offer {
    margin-bottom: 4rem;
  }
  .offer:last-child {
    margin-bottom: 0;
  }
  .offer-navigation {
    padding: 2rem 5px;
  }
  .flash-message {
    width: 272px;
  }
  .error-message {
    width: 272px;
  }
  .preview {
    margin-left: 2px;
  }
  .next {
    margin-right: 2px;
  }
  .pagination-number {
    margin: 0 2px;
  }
  .popup {
    width: 312px;
    z-index: 99999;
  }
  .contact__form {
    width: 260px;
  }
}
