html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.nav-link, .navbar-brand {
  color: white !important;
}

.navbar-toggler {
  color: white !important;
}

.navbar-toggler-icon {
  background-color: white !important;
}

.navbar-nav, .nav-link {
  padding-left: 20px; /* Adjust the value as needed */
}

dd.description {
  padding-left: 20px;
}

* {
  box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
  max-width: 540px;
  max-height: 540px;
  margin: auto;
}

/* Make the images invisible by default */
.Containers1 {
  display: none
}

/* forward & Back buttons */
.Back, .forward {
  cursor: pointer;
  position: relative;
  top: 48%;
  width: auto;
  margin-top: -23px;
  padding: 17px;
  color: grey;
  font-weight: bold;
  font-size: 19px;
  transition: 0.4s ease;
  border-radius: 0 5px 5px 0;
  user-select: none;
}

/* Place the "forward button" to the right */
.forward {
  right: 0;
  border-radius: 4px 0 0 4px;
}

  /*when the user hovers,add a black background with some little opacity */
  .Back:hover, .forward:hover {
    background-color: rgba(0,0,0,0.8);
  }

/* Caption Info */
.Info {
  color: #e3e3e3;
  font-size: 16px;
  padding: 10px 14px;
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

/* Worknumbering (1/3 etc) */
.MessageInfo {
  color: #f2f2f3;
  font-size: 14px;
  padding: 10px 14px;
  position: absolute;
  top: 0;
}

/* The circles or bullets and indicators */
.dots {
  cursor: pointer;
  height: 16px;
  width: 16px;
  margin: 0 3px;
  background-color: #e3e3e3;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.5s ease;
}

  .enable, .dots:hover {
    background-color: #717161;
  }

/* Faint animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.4s;
  animation-name: fade;
  animation-duration: 1.4s;
}

.dropdown-menu {
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-hover-bg: #198754;
}
.btn-with-icon {
  display: flex;
  align-items: center;
}

  .btn-with-icon svg {
    margin-right: 5px; /* Adjust the margin as needed */
  }

.image-container {
  position: relative;
  display: inline-block; /* Ensures the container only takes the space of the image */
}

.image {
  max-width: 100%; /* Ensure the image does not exceed the container width */
  height: auto; /* Maintain aspect ratio */
}

.bottom-left-button::before {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 10px; /* Adjust margin as needed */
}

.text-justify {
  text-align: justify;
}

.square {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distributes space evenly */
  height: 100%; /* Ensures equal height */
}

.description-box {
  min-height: 50px; /* Adjust based on your longest text */
}

.order-btn {
  margin-top: auto; /* Pushes the button section to align at the bottom */
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

  /* REMOVE any .hover-based transform rules */
  .flip-card-inner.flipped {
    transform: rotateY(180deg);
  }


.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.flip-card-front {
  background: white;
  z-index: 2;
}

.flip-card-back {
  background: #f8f9fa;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

  .flip-card-back img {
    max-width: 80%;
    height: auto;
  }

.caption {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: bold;
}

.flip-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 1.2rem;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.flip-card-front:hover .flip-hint {
  transform: rotate(20deg) scale(1.2);
  opacity: 1;
}

.flip-card-front {
  position: relative;
}

.coupon {
  border: 5px dashed #bbb;
  border-radius: 15px;
  width: 80%;
  margin: 0 auto;
  max-width: 600px;
}

.container {
  padding: 2px 16px;
}

.promo {
  background: #ccc;
  padding: 3px;
}

.expire {
  color: red;
}

.coupon-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px; /* space between image and text */
  text-align: left;
}

.coupon-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%; /* ensures it's round */
  object-fit: cover;
}

.coupon-text {
  flex: 1;
}
.dropdown-submenu {
  position: relative;
}

  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
  }
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
/* Make only this dropdown toggle show a right arrow instead of down */
/* Right-pointing arrow, bigger & better aligned */
.dropend-toggle::after {
  display: inline-block;
  margin-left: 0.5rem; /* more space from text */
  vertical-align: middle; /* center vertically */
  content: "";
  border-top: 0.4em solid transparent; /* taller */
  border-bottom: 0.4em solid transparent;
  border-left: 0.4em solid currentColor; /* thicker arrow using text color */
  transform: translateY(-1px); /* fine-tune vertical position */
}

/* Add extra padding for balance */
.dropend-toggle {
  padding-right: 1.75rem;
}
