body {
  font-family: 'Segoe UI', sans-serif;padding-top: 67px;
}

.navbar {
  background-color: #fbb513 !important;
}

.navbar .nav-link,
.navbar .navbar-brand {
  color: #ffffff !important;
}

.navbar .nav-link:hover {
  color: #e6ffe6 !important;
}

.navbar-brand img{max-width:230px;}
/* ================= NAVBAR ================= */
.dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)),
  url('../images/banner.jpg') center/cover;
  padding: 220px 0;
  color: #fff;min-height: 600px;
}

/* ================= POPULAR CATEGORIES ================= */
.category-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffc107, #ff5722);
  opacity: 0;
  transition: 0.4s;
  z-index: 0;
}
.category-card i,
.category-card h6 {
  position: relative;
  z-index: 1;
}
.category-card i {
  font-size: 2.5rem;
  color: #ffc107;
  transition: 0.4s;
}
.category-card h6 {
  margin-top: 15px;
  font-weight: 600;
  transition: 0.4s;
}
.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.category-card:hover::before {
  opacity: 1;
}
.category-card:hover i,
.category-card:hover h6 {
  color: #fff;
}

/* ================= FEATURED LISTINGS ================= */
.listing-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
.listing-card img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}
.listing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: 0.4s;
}
.listing-card:hover img {
  transform: scale(1.1);
}
.listing-card:hover .listing-overlay {
  opacity: 1;
}

/* =======================
   LISTING CARD HOVER
======================= */
.listing-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

/* Image */
.listing-img {
  position: relative;
  overflow: hidden;
}
.listing-img img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.listing-card:hover .listing-img img {
  transform: scale(1.12);
}

/* Image overlay */
.listing-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.1)
  );
  opacity: 0;
  transition: 0.4s;
}

/* Listing card */
.listing-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Image */
.listing-img img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.listing-card:hover .listing-img img {
  transform: scale(1.05);
}


/* sponsor card */
.sponsor-card {
  border-radius: 16px;
  overflow: hidden;
  transition: 0.4s;margin-bottom:20px;
}
.sponsor-card img {
  height: 200px;
  object-fit: cover;
  transition: 0.5s;
}
.sponsor-card:hover img {
  transform: scale(1.1);
}
.sponsor-card:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Hover overlay */
.sponsor-img {
  position: relative;
  overflow: hidden;
}
.sponsor-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}
.sponsor-img:hover .sponsor-overlay {
  opacity: 1;
}

.secondbar {
  display: flex;
  justify-content: space-between;  /* LEFT & RIGHT */
  align-items: center;
  padding: 10px 20px;
  background: #f4fdf7;
  border-bottom: 1px solid #e5e5e5;
}

/* Ad Count */
.ads-count {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

/* Button Group */
.button-group {
  display: flex;
  gap: 8px;
}

/* Buttons */
.top-div {
  background-color: #13a953;
  color: #ffffff;
  padding: 6px 15px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.3s ease;
}

.top-div:hover {
  background-color: #0f8a45;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .secondbar {
    flex-direction: column;
    align-items: flex-start;font-size:10pt;
  }

  .button-group {
    margin-top: 8px;
  }
}

/* Sidebar */
.filter-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}

/* Stars */
.star {
  color: #ffc107;
}

/* Pagination */
.pagination .page-link {
  border-radius: 50px;
  margin: 0 4px;
  color: #333;
}
.pagination .page-link:hover {
  background: #ffc107;
  color: #000;
}
.pagination .active .page-link {
  background: #ffc107;
  border-color: #ffc107;
  color: #000;
}

/* ================= FOOTER ================= */
footer {
  background: #6f1e06;
  color: #bbb;
}
footer h6 {
  color: #fff;
}
footer a {
  color: #bbb;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}
.social-icons a {
  font-size: 1.2rem;
  margin-right: 10px;
}

.blink a, .blink a:visited{text-decoration:none; color:#333;}
.blink a:hover{text-decoration:underline; color:orange;}

a.click {
  color: #0d6efd;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

a.click:hover {
  color: #ffc107;
  animation: blinkGlow 1s infinite;
}

@keyframes clickGlow {
  0% {
    opacity: 1;
    text-shadow: none;
  }
  50% {
    opacity: 0.4;
    text-shadow: 0 0 8px rgba(255,193,7,0.8);
  }
  100% {
    opacity: 1;
    text-shadow: none;
  }
}

h3 {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #ffc107;
  transition: width 0.3s ease;
}

h3:hover::after {
  width: 100%;
}

/* Sidebar */
.sidebar {
  background: #111;
  min-height: 100vh;
  color: #fff;
}
.sidebar a {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  border-radius: 8px;
}
.sidebar a:hover,
.sidebar a.active {
  background: #ffc107;
  color: #000;
}

/* Cards */
.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Profile */
.profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}
