.navigationbar ul{
    list-style: none;
    text-decoration: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.navigationbar a{
    text-align: center;
    padding: 20px;
    text-decoration: none;
    font-size: 1.1rem;
     color: #2ecc71;
     transition: all 0.3s ease;
}
.navigationbar a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  transition: width 0.3s ease-in-out;
}

.navigationbar a:hover {
  color: #92ed00;
  text-shadow: 0 0 8px #bfff00, 0 0 12px #bfff00;
  transform: scale(1.03);
}

.navigationbar a:hover::after {
  width: 100%;
}
.navigationbar li{
    float: right;
    padding-right: 20px;
}
.navigationbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
body {
  margin: 0;
  padding: 0;
  font-family:"Poppins", sans-serif;
  background-color: #ffffff;
  color: #2ecc71;
}
.navigationbar img{
    margin-left: 50px;
}
.navigationbar a:hover{
    color: #186d3b;
}
.swiper-button-prev,
.swiper-button-next {
  background: rgba(255, 255, 255, 0.15);  /* transparent white */
  backdrop-filter: blur(8px);              /* blur behind */
  -webkit-backdrop-filter: blur(8px);      /* Safari support */
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-30%);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.1);
}

.swiper-button-prev i,
.swiper-button-next i {
  font-size: 20px;
  color: #ffffff;
}
    .swiper {
      width: 100%;
      height: 600px;
    }
    .swiper-slide {
      background: #eee;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 24px;
    }
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}
.title{
    color: #28a937;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    display: inline-block;
    border-radius: 8px;

    /* ✨ Shimmer animation */
    background: linear-gradient(90deg, #28a937, #85ff72, rgb(0, 110, 15));
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
header{
    background-color: #004d40;
}
footer{
    background-color: #002b36;
    margin: 0;
}
.arr{
    color: lightgray;
    text-align: center;
}
.location iframe{
    margin: 20px;
}
@media (max-width: 600px) {
  .title{
    font-size: 2rem;
  }
  label{
    display: hide;
  }
  input{
    font-size: 0.7rem;
  }
}
footer h2{
    color:white;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: white 2px 2px 10px;
}
footer p{
    color: rgb(211, 201, 201);
    font-size: 1rem;
    text-align: center;
}
.footerup{
    display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footerdown{
    text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  justify-content: center;
}
.social.facebook,
.social.instagram,
.social.dubbizle {
    margin: 10px;
  text-decoration: none;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 24px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.4s ease;
}

/* Hover animation base */
.social.facebook::before,
.social.instagram::before,
 .social.dubbizle::before{
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s ease;
}

/* Facebook styles */
.social.facebook::before {
  background: radial-gradient(circle, #1877f2 0%, #0d47a1 100%);
}
.social.facebook:hover::before {
  transform: scale(1);
}
.social.facebook:hover {
  color: white;
  border-color: transparent;
}

/* Instagram styles */
.social.instagram::before {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}
.social.instagram:hover::before {
  transform: scale(1);
}
.social.instagram:hover {
  color: white;
  border-color: transparent;
}
/* dubbizle styles */
.social.dubbizle::before {
  background: radial-gradient(circle at 30% 30%, #ff0000, #e1ff00, #000000);
}
.social.dubbizle:hover::before {
  transform: scale(1);
}
.social.dubbizle:hover {
  color: white;
  border-color: transparent;
}
input{
    font-size: 1.3rem;
    border-radius: 16px;
    border: 2px solid white;
    box-shadow: white 2px 2px 14px;
}
.user-cards{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
    padding: 1rem;
}
.hide{
    display: none;
}

@media (max-width: 768px) {
  .nav-items li{
    width: 30px;
    height: auto;
    margin: 5px;
    padding: 5px;
    flex-direction: row;
    justify-content: space-between;
  }
  input{
    width: 150px;
  }
  .navigationbar .text-nav {
    display: none; /* Hide text on phone */
  }
  .navigationbar img{
    height: 150px;
    width: 150px;
  }
  .category-buttons button {
    padding: 8px 17px;
    font-size: 7px;
}
}

/* Keep the active page link glowing and underlined */
.navigationbar a.active {
  color: #afe900;
  text-shadow: 0 0 8px #bfff00, 0 0 10px #bfff00;
}

.navigationbar a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
}
.category-buttons button {
  margin-top: 30px;
  margin-bottom: 10px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  user-select: none;
  position: relative;
  outline: none;
  margin-right: 10px;
}
/* Hover effect */
.category-buttons button:hover {
  filter: brightness(1.15);
  box-shadow:
    0 0 10px 3px rgba(255, 255, 0, 0.6),
    0 4px 15px rgba(0, 0, 0, 0.25);
  transform: scale(1.08);
  z-index: 1;
}

/* Active effect */
.category-buttons button.active {
  animation: glowPulse 2s infinite;
  box-shadow:
    0 0 15px 5px rgba(255, 255, 0, 0.8),
    inset 0 0 10px rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
  filter: brightness(1.3);
  z-index: 2;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 15px 5px rgba(255, 255, 0, 0.8),
      inset 0 0 10px rgba(255, 255, 255, 0.6);
  }
  50% {
    box-shadow:
      0 0 25px 10px rgba(255, 255, 0, 1),
      inset 0 0 15px rgba(255, 255, 255, 0.8);
  }
}
/* Card base style */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px;
  margin: 15px;
  width: 150px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.5s forwards;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect */
.card:hover {
  transform: scale(1.05);
  box-shadow:
    0 8px 20px rgba(40, 167, 69, 0.4),
    0 0 10px rgba(40, 167, 69, 0.3);
}

/* Image style */
.card img {
  width: 150px;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
  height: 150px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.08);
}

/* Title */
.title-card {
  font-size: 20px;
  margin: 0 0 10px;
  color: #222;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

/* Price */
.price {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #10471d;
  margin: 0;
  text-align: center;
}

/* Fade & slide up animation */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.whatsapp-support {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-family: sans-serif;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.7);
  z-index: 999;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}

.whatsapp-support .text {
  font-size: 1.5rem; 
  max-width: 0;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.4s ease;
}

.whatsapp-support:hover {
  border-radius: 50px;
  padding: 12px 24px;
  animation: none;
  box-shadow: 0 0 20px 5px rgba(37, 211, 102, 0.9);
}

.whatsapp-support:hover .text {
  max-width: 150px;
  opacity: 1;
}

.whatsapp-support .icon i {
  font-size: 40px;
  animation: icon-glow 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px rgba(37, 211, 102, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 211, 102, 1);
  }
  100% {
    box-shadow: 0 0 5px rgba(37, 211, 102, 0.6);
  }
}

@keyframes icon-glow {
  0%, 100% {
    text-shadow: 0 0 5px white;
  }
  50% {
    text-shadow: 0 0 15px #fff, 0 0 25px #25D366;
  }
}
.category-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* right below main button */
  left: 0;
  background: #222; /* dark bg */
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  min-width: 220px;
  z-index: 10;
}

.dropdown-menu .dropdown-item {
  padding: 10px 20px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #444;
}

/* Show dropdown on hover of container */
.category-dropdown:hover .dropdown-menu {
  display: block;
}
.main-category-btn {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  margin: 0.5rem;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* COLORS AND BASE GLOW */
.main-category-btn[data-category="electrical"] {
  background-color: #2e8b57; /* green */
  box-shadow: 0 0 5px #2e8b57;
}
.main-category-btn[data-category="solar products"] {
  background-color: #fff200; /* dark yellow */
  box-shadow: 0 0 5px #b8860b;
}
.main-category-btn[data-category="cctv/security system"] {
  background-color: #1e90ff; /* blue */
  box-shadow: 0 0 5px #1e90ff;
}
.main-category-btn[data-category="home appliances"] {
  background-color: #303030; /* purple */
  box-shadow: 0 0 5px #8a2be2;
}
.main-category-btn[data-category="special offers"] {
  background-color: #ff4500; /* red */
  box-shadow: 0 0 5px #ff4500;
    box-shadow:
    0 0 15px 5px rgba(255, 0, 0, 0.8),
    inset 0 0 10px rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
  filter: brightness(1);
  z-index: 2;
}
.scroll-icon {
  position: fixed;
  bottom: 80px; /* Adjust to not overlap WhatsApp */
  right: 20px;
  z-index: 999;
  background-color: #ff4d4d; /* red like offers */
  color: white;
  font-size: 12px;
  padding: 22px;
  border-radius: 50%;
  box-shadow: 0 0 12px #ff4d4d;
  display: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-bottom: 20px;
}

.scroll-icon:hover {
  background-color: #da0000; /* darker red */
  box-shadow: 0 0 16px #e60000;
}
@keyframes glowPulse {
  0% { box-shadow: 0 0 10px #ff4d4d; }
  50% { box-shadow: 0 0 20px #ff1a1a; }
  100% { box-shadow: 0 0 10px #ff3434; }
}

.scroll-icon {
  animation: glowPulse 2s ease-in-out;
}
html {
  scroll-behavior: smooth;
}
.search-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.search-label {
  margin-top: 10px;
  color: rgb(23, 196, 0);
  font-weight: bold;
  padding: 6px 16px;
  background-color: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  border-radius: 16px;
  letter-spacing: 1px;
}

.search-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1)
  );
  transform: skewX(-30deg);
  animation: shine 2s infinite;
  z-index: 0;
}
.search{
  margin-bottom: 10px;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
} 