/* ==== HEADER (NAVBAR) ==== */
.navbar {
  background-color: #fff;
  box-shadow: 0 7px 30px rgba(243, 103, 4, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Open dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  /* removes gap */
}

/* Optional: highlight on hover */
.nav-item.dropdown:hover>a {
  color: #1707ff !important;
}


.nav-link:hover {
  color: #fff !important;
  background-color: rgb(245, 72, 9);
}

.navbar-toggler {
  border: none;
}

.navbar form input {
  border-radius: 25px;
  border: 1px solid #ff6600;
}

.navbar form button {
  border-radius: 25px;
  border-color: #ff6600;
  color: #ff6600;
  transition: 0.3s;
}

.navbar form button:hover {
  background-color: #ff6600;
  color: #fff;
}

/* === Sticky Navbar Effect === */
.navbar.fixed-top {
  top: 0;
  z-index: 1030;
}

.offer-banner {
  width: 100%;
  height: 40px;
  padding: 10px 0;
  background: linear-gradient(120deg, #fcfcfc, #dfdcda, rgb(241, 130, 32));
  color: rgb(13, 34, 225);
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* ✨ Scrolling animation */
.scrolling-text {
  animation: scrollLeft 15s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* 💡 Flashing effect for emphasis */
.offer-banner span {
  display: inline-block;
  padding: 0 50px;
  animation: flash 0.5s infinite alternate;
}

@keyframes flash {
  from {
    opacity: 1;
  }

  to {
    color: rgb(255, 0, 0);
    opacity: 0.7;
  }
}

/* 🧩 Responsive */
@media (max-width: 768px) {
  .offer-banner {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .offer-banner span {
    padding: 0 15px;
  }
}

main {
  padding-top: 80px;
}

.card-category {
  padding: 30px;
  font-size: 2.5rem !important;
}

.product-img {
  width: 100%;
  height: 220px;
  /* Set same height for all images */
  object-fit: cover;
  /* Crop images beautifully */
  border-radius: 8px;
}

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(to left, #c67204, #2a51d29f);
  color: #fff;
  margin-top: 50px;
}

footer h5,
footer h6 {
  color: #ffc107;
  font-weight: 600;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  text-decoration: underline;
  color: #ffc107;
}
footer .btn-warning {
  background-color: #ff6600;
  border: none;
  color: #fff;
  border-radius: 25px;
  padding: 6px 15px;
  transition: 0.3s;
}

footer .btn-warning:hover {
  background-color: #e65c00;
}

footer input[type="email"] {
  border-radius: 25px;
  padding: 8px 15px;
  border: 1px solid #ffc107;
}

footer .bi {
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .bi:hover {
  transform: scale(1.2);
  color: #ffc107;
}

#backBtn,
#forwardBtn {
  background-color: rgb(243, 55, 8);
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
}

#backBtn:disabled,
#forwardBtn:disabled {
  background-color: rgb(30, 6, 18);
  cursor: not-allowed;
}