:root {
  --main-color: #081f5c;
  --font-size: 16px;
  --padding: 1rem;
}

a {
  text-decoration: none;
  color: var(--main-color);
  font-weight: 400;
}

.btn {
  padding: 6px 15px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
}

.btn-primary {
  background: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}

.btn:hover {
  background: var(--main-color);
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); */
}

.btn:active {
  background: var(--main-color) !important;
  color: #fff !important;
  border: 1px solid var(--main-color) !important;
}

.categoryNav {
  padding: 5px 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: start;
}

.categoryNav a {
  text-wrap: nowrap;
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--main-color);
  padding: 5px 10px;
  border-radius: 15px;
}

.categoryNav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0px; /* distance from text */
  width: 0;
  height: 2px; /* thickness */
  background: var(--main-color);
  transition: width 0.4s ease; /* smooth animation */
}

.categoryNav a:hover::after {
  width: 100%; /* expands underline smoothly */
  color: var(--main-color);
  font-weight: 500;
}

.categoryNav a:hover {
  color: var(--main-color);
  font-weight: 500;
  /* text-decoration: underline;
    text-underline-offset: 4px; /* push underline lower */
  /* text-decoration-thickness: 1.5px; */
}

.topHeader a {
  font-size: 15px;
  text-decoration: none;
  color: var(--main-color);
  font-weight: 400;
}

.topHeader a:hover {
  color: var(--main-color);
  font-weight: 400;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--main-color) !important;
  font-weight: 300;
}

.breadcrumb a:hover {
  color: #db3a00;
  font-weight: 300;
}

.productCard {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 10px #0000001a;
  transition: 0.3s;
  /* margin: 10px auto; */
  overflow: hidden;
  position: relative;
  /* cursor: pointer; */
}

.productCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px var(--main-color);
}

.badge.topbadge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #48c44a;
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 15px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
  z-index: 10;
}

.tilt {
  overflow: hidden;
}
.img {
  height: 200px;
  overflow: hidden;
}

.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  border-radius: 14px 14px 0px 0px;
}
.productCard:hover .img img {
  transform: scale(1.05);
}
.info {
  padding: 12px 15px 8px 15px;
}
.cat {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: grey;
  margin-bottom: 4px;
}
.title {
  font-size: 18px;
  font-weight: 700;
  color: var(--main-color);
  margin: 0 0 5px;
  letter-spacing: -0.5px;
}
.desc {
  font-size: 13px;
  color: grey;
  line-height: 1.4;
  margin-bottom: 8px;

  display: -webkit-box;
  display: -moz-box; /* for old Firefox */
  display: box;

  overflow: hidden;
  text-overflow: ellipsis;

  line-clamp: 2; /* modern */
  -webkit-line-clamp: 2; /* safari/chrome */
  -webkit-box-orient: vertical;
}

.notificationdesc {
  font-size: 13px;
  color: grey;
  line-height: 1.4;
  margin-bottom: 8px;

  display: -webkit-box;
  display: -moz-box; /* for old Firefox */
  display: box;

  overflow: hidden;
  text-overflow: ellipsis;

  line-clamp: 4; /* modern */
  -webkit-line-clamp: 4; /* safari/chrome */
  -webkit-box-orient: vertical;
}

.feats {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.feat {
  font-size: 10px;
  background: #f4f4f5;
  color: grey;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 500;
}
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.price {
  display: flex;
  flex-direction: column;
}

.new {
  font-size: 20px;
  font-weight: 700;
  color: var(--main-color);
}

/* .product_btn {
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 10px #0000001a;
}

.product_btn:hover {
  background: var(--main-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
} */

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f4f4f5;
  padding-top: 8px;
}
.location {
  display: flex;
  align-items: center;
  gap: 2px;
}
.locationKm {
  margin-left: 0px;
  font-size: 12px;
  color: grey;
  font-weight: 600;
}
.postDate {
  font-size: 12px;
  color: grey;
  font-weight: 600;
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--main-color);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 1px;
  font-size: 13px;
}

.breadcrumb li {
  margin-right: 1px;
}

.breadcrumb li + li:before {
  content: "/";
  margin: 0 6px;
  color: grey;
}
.breadcrumb a {
  text-decoration: none;
  color: grey;
}
.breadcrumb .active {
  color: var(--main-color);
  font-weight: 500;
}

.sort-by select {
  min-width: 180px;
}

.filterCard {
  border-radius: 15px;
  overflow: hidden;
}

.filterCard .card-header {
  font-size: 1rem;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
}

.filterCard .list-group-item {
  border: none;
  font-size: 15px;
  transition: 0.2s;
  padding: 3px 5px;
}

/* .filterCard .list-group-item:hover {
  background-color: #f8f9fa;
  padding-right: 4px;
} */

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
  transition: 0.3s;
}

.feature-card-dark:hover .icon-wrapper {
  transform: rotate(20deg) scale(1.1);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.9);
}

.feature-card-dark h5 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  font-weight: 700;
  color: #fff;
}

.feature-card-dark p {
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #d1d5db;
}

.feature-card-dark button {
  background: rgb(255, 254, 254);
  border: none;
  padding: 8px 15px;
  font-weight: 600;
  color: #1e1919;
  border-radius: 15px;
  margin-top: 15px;
  transition: all 0.3s ease-in-out;
}

.feature-card-dark button:hover {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.7);
}

.loginCard {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 30px #0000001a;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sellerCard {
  border-radius: 15px;
  box-shadow: 0 3px 10px #0000001a;
}

.sellerCard img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.profileCard {
  border-radius: 15px;
  box-shadow: 0 3px 10px #0000001a;
}

.profileCard img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.range-container {
  width: 100%;
  margin: 10px auto;
}

.slider {
  position: relative;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
}

.progress {
  position: absolute;
  height: 6px;
  background: var(--main-color);
  border-radius: 3px;
  left: 0;
  right: 0;
}

.range-input {
  position: relative;
  width: 100%;
}

.range-input input {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 6px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--main-color);
  cursor: pointer;
  -webkit-appearance: none;
}

.labels {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--main-color);
}

.footer {
  font-size: 15px;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--main-color);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--main-color);
  padding-left: 5px;
}

.social-icon {
  font-size: 20px;
  color: var(--main-color);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: var(--main-color);
  transform: scale(1.2);
}

.chatList {
  border-radius: 15px;
  box-shadow: 0 3px 10px #0000001a;
}

.chatUser {
  height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.chatCard {
  border-radius: 15px;
  box-shadow: 0 3px 10px #0000001a;
  min-height: 400px;
  max-height: 400px;
  overflow-y: auto;
}

.contact-item {
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-item:hover {
  background-color: #f1f3f5;
}

.contact-item img {
  width: 55px;
  height: 55px;
}

.text-truncate {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatName {
  font-size: 14px;
  font-weight: 600;
}

.chatTitle {
  font-size: 16px;
  font-weight: 700;
}

.chatTime {
  font-size: 11px;
  color: grey;
}

.chat-list {
  height: 90vh;
  overflow-y: auto;
}

.chat-area {
  height: auto;
}

.chat-messages {
  overflow-y: auto;
  background: #f9f9f9;
  border-radius: 8px;
}

.message {
  max-width: 60%;
  padding: 5px 15px;
  margin: 8px 0;
  display: inline-flex;
  flex-direction: column;
}

.message.received {
  background: #fff;
  align-self: flex-start;
  border: 1px solid #ddd;
  border-radius: 20px 20px 20px 0px;
}

.message.sent {
  background: #dcf8c6;
  align-self: flex-end;
  border-radius: 20px 20px 0px 20px;
}

.message.sent {
  background: #dcf8c6; /* WhatsApp-like green */
}

.message .time {
  font-size: 0.75rem;
  color: #777;
  text-align: right;
  margin-top: 2px;
}

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  /* width: 300px;
  height: 300px; */
}

.allcat.swiper-slide img {
  display: block;
  width: 100%;
}

.notification-card {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.notification-card:hover,
.notification-card:focus {
  background-color: #f8f9fa;
  outline: none;
}
.text-truncate {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-text-truncate {
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
}

.alert-dismissible {
  padding-right: 1rem;
}

.list-group-item.active {
  z-index: 2;
  color: var(--main-color);
  font-weight: 700;
  background-color: #fff;
  border-color: var(--main-color);
}

.myAccList .list-group-item {
  border-radius: 5px;
  padding: 10px 15px;
}

.posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows stacking on smaller screens */
  gap: 1rem;
  margin-bottom: 5px;
}

.filterChecks {
  font-size: 0.95rem;
  font-weight: 600;
}

.filterChecks .form-check-inline {
  margin-right: 8px;
}

.subFilters {
  font-size: 0.9rem;
  font-weight: 400;
  /* display: none; */
}

.searchWrapper {
  position: relative;
  width: 25%;
}

.searchbar {
  width: 25%;
}

.glass-overlay {
  position: relative;
  isolation: isolate; /* important for proper backdrop-filter scope */
}

.glass-overlay::before {
  content: "";
  position: absolute;
  inset: 0; /* covers entire parent */
  background: rgba(255, 255, 255, 0.15); /* translucent white layer */
  border-radius: inherit; /* respect parent radius */
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  z-index: 1;
  pointer-events: auto; /* lets clicks do not pass through */
}

.glass-overlay::after {
  content: "Sign in to access details.";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--main-color);
  z-index: 2;
  pointer-events: auto; /* allows clicks to pass through */
}

/* Preloader Container */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* background color */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Spinner */
.loader {
  width: 50px;
  height: 50px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--main-color); /* spinner color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

/* Loading Text */
.loading-text {
  font-size: 18px;
  color: var(--main-color);
  font-weight: 400;
}

.nav-link {
  color: var(--main-color);
}

.nav-link:focus,
.nav-link:hover {
  color: var(--main-color);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: var(--main-color);
  font-weight: 500;
}

.postCrud .nav-link {
  color: var(--main-color);
  border: 1px solid var(--main-color);
  margin-right: 8px;
  padding: 5px 15px;
}

.postCrud .nav-pills .nav-link.active {
  background-color: var(--main-color);
  color: #fff;
}

.delete-image-btn {
  font-size: 16px;
  font-weight: 600;
  position: absolute; /* ensure absolute positioning inside image container */
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%); /* center perfectly */
  padding: 6px 8px;
  opacity: 0.9;
  transition: opacity 0.2s ease-in-out;
  z-index: 5;
}

.delete-image-btn:hover {
  opacity: 1;
}

.postname {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 0px;
}

.postprice {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 0px;
  color: var(--main-color);
}

.showNumber {
  cursor: pointer;
  color: var(--main-color);
  font-weight: 600;
}

.message-text-truncate {
  font-size: 12px;
  color: grey;
  line-height: 1.3;
  margin-bottom: 8px;
}

.chatBlock {
  cursor: pointer;
}

.userImage {
  width: 45px;
  height: 45px;
  border: 1px solid var(--main-color);
}

.selectedChat {
  border-radius: 10px;
  background-color: #eeeeee;
}

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

.suggestionBox {
  list-style: none;
  margin-top: 5px;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 5px 5px 10px 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  z-index: 999;
  display: none;
}

.suggestionBox li {
  padding: 10px 12px;
  cursor: pointer;
}

.suggestionBox li:hover {
  background: #f2f2f2;
  border-radius: 5px 5px 10px 10px;
}

.searchInput {
  border-radius: 15px !important;
}

.form-check-input:checked {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.textMessage {
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.3;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background: var(--main-color) !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  /* box-shadow: 0px 2px 2px rgb(245, 245, 245); */
  z-index: 9 !important;
}

.catImage {
  border-radius: 15px;
  padding: 15px;
  border: 1px solid #d7d7d7;
}

.post-ad-btn {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #081f5c9c;
  color: #fff;
  padding: 5px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  z-index: 9999;
  border: 1px solid var(--main-color);
}

/* Hover effect */
.post-ad-btn:hover {
  background: #e64a19;
}

.sectioncard {
  transition: all 0.25s ease;
}

.sectioncard:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 30px var(--main-color);
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 320px) {
  .nodatamsgimg {
    width: 25%;
  }

  .publishposttitle {
    font-size: 14px;
  }

  .publishpostprice {
    font-size: 17px;
    font-weight: 600;
    color: var(--main-color);
  }

  .publishpostinfo {
    font-size: 12px;
    font-weight: 400;
    color: grey;
    margin-bottom: 5px !important;
  }

  .nav-link {
    color: var(--main-color);
    font-weight: 500;
    font-size: 14px;
    padding-inline: 10px;
    margin-right: 5px;
  }

  .nav-tabs .nav-item.show .nav-link,
  .nav-tabs .nav-link.active {
    color: var(--main-color);
    font-weight: 500;
    font-size: 14px;
    background-color: #94b1ff45;
    padding-inline: 10px;
  }

  .suggestionBox li {
    padding: 5px 12px;
    cursor: pointer;
  }

  .badge.mobbadge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: var(--main-color);
    color: #fff;
    padding: 3px 5px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 15px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
    z-index: 10;
  }

  .searchInput {
    border-radius: 25px !important;
  }

  .searchWrapper {
    position: relative;
    width: 100%;
  }

  .searchbar {
    width: 100%;
  }

  .offcanvas-body .menuli i {
    font-size: 10px;
  }

  .chatTitle {
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
  }

  .userImage {
    width: 40px;
    height: 40px;
    border: 1px solid var(--main-color);
  }

  .message {
    max-width: 70%;
    padding: 5px 10px;
    margin: 4px 0;
    display: inline-flex;
    flex-direction: column;
  }

  .chatName {
    font-size: 12px;
    font-weight: 400;
  }

  .chatCard {
    border-radius: 15px;
    box-shadow: 0 3px 10px #0000001a;
    min-height: calc(
      100vh - 170px
    ); /* Restrict max height so overflow can scroll */
    overflow-y: auto;
  }

  .chatUser {
    min-height: calc(
      100vh - 250px
    ); /* Expand to full mobile height when content is small */
    overflow-y: auto; /* Enable scrolling when content exceeds available height */
  }

  .loginCard {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 30px #0000001a;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .breadcrumb a {
    text-decoration: none;
    color: var(--main-color) !important;
    font-weight: 400;
  }

  .showNumber {
    cursor: pointer;
    color: var(--main-color);
    font-weight: 600;
    font-size: 12px;
  }

  .memberInfo {
    font-size: 12px;
  }

  .seller-title {
    font-size: 14px;
    font-weight: 600;
  }

  .sellerCard img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 0.5px solid #ddd;
  }

  .postDetailsTitle {
    font-size: 18px;
    font-weight: 500;
    margin-top: 0px;
    color: var(--main-color);
  }

  .postDetailsExchangeTitle {
    font-size: 20px;
    font-weight: 500;
    margin-top: 0px;
    color: var(--main-color);
  }

  .postDetailsPrice {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0px;
    color: var(--main-color);
  }

  .breadcrumb li + li:before {
    content: "/";
    margin: 0 4px;
    color: grey;
  }

  .breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 1px;
    font-size: 12px;
  }

  .btn {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
  }

  .selectedMobCat {
    background-color: #94b1ff45;
    border: 2px solid var(--main-color) !important;
  }

  .postWrapper {
    /* border-radius: 9px; */
    overflow: hidden;
  }

  .postImageBox {
    width: 100%;
    height: 330px;
    border-radius: 9px;
    overflow: hidden;
    /* background: #000000; */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.5px solid #d7d7d7;
  }

  .postImageBox img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover; /* THIS solves the irregular image sizes */
    /* border-radius: 9px; */
  }

  .postMobImage {
    width: 100%;
    aspect-ratio: 1 / 1; /* forces square layout */
    object-fit: cover;
    border-radius: 9px 9px 0px 0px;
  }

  .postPrice {
    font-size: 17px;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 0px;
  }

  .postTitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 15px;
  }

  .postlocation {
    margin-top: 0px;
    font-size: 11px;
    font-weight: 400;
  }

  .section-header h2::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 2px;
    background: var(--main-color);
    bottom: 0;
    left: 0;
    border-radius: 10px;
  }

  .mobCatImage {
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #d7d7d78f;
    /* width: 100%; */
  }

  .mcatName {
    font-size: 11px;
  }

  .post-section-heading {
    font-size: 16px;
  }

  .navbar-brand {
    font-size: 21px;
    margin-right: 0px;
  }

  .topHeader a {
    font-size: 18px;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 500;
  }

  .offcanvas {
    max-width: 80%;
  }

  .offcanvas-body .menuli {
    padding-left: 2px;
    margin-bottom: 15px;
  }

  .offcanvas-body .menuli a {
    font-size: 16px;
    font-weight: 500;
  }

  .hamburgerMenu a {
    font-size: 24px;
  }

  .hamburgerMenu a img {
    margin-right: 8px;
    width: 26px;
    height: 26px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .post-ad-btn {
    display: none;
  }

  .nodatamsgimg {
    width: 20%;
  }

  .topHeader img {
    width: 19px;
    height: 19px;
  }

  .categoryNav img {
    width: 20px;
    height: 20px;
  }

  .catName {
    font-size: 12px;
    font-weight: 500;
  }

  .showNumber {
    cursor: pointer;
    color: var(--main-color);
    font-weight: 600;
    font-size: 11px;
  }

  .memberInfo {
    font-size: 10px;
  }

  .profileBadge {
    font-size: 10px;
  }

  .breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 1px;
    font-size: 12px;
  }

  .navbar-brand {
    font-size: 16px;
    margin-right: 2px;
  }

  .topHeader a {
    font-size: 12px;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 400;
  }

  .searchWrapper {
    position: relative;
    width: 70%;
  }

  .searchbar {
    width: 100%;
  }

  .footer {
    font-size: 13px;
    line-height: 1.4;
  }

  .categoryNav a {
    text-wrap: nowrap;
    position: relative;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: var(--main-color);
    padding: 4px 8px;
    border-radius: 15px;
  }

  .post-section-heading {
    font-size: 18px;
    margin-bottom: 3px;
  }

  .post-section-subheading {
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .sellerCard .card-body {
    padding: 12px;
  }

  .sellerCard .card-footer {
    padding: 6px 12px;
  }

  .info {
    padding: 5px 10px 8px 10px;
  }

  .cat {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: grey;
    margin-bottom: 2px;
  }

  .title {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 5px;
    letter-spacing: -0.5px;
  }

  .new {
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color);
  }

  .btn {
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 8px;
  }

  .locationKm {
    margin-left: 0px;
    font-size: 10px;
    color: grey;
    font-weight: 600;
  }

  .postDate {
    font-size: 10px;
    color: grey;
    font-weight: 600;
  }

  .footer-links li {
    margin-bottom: 5px;
  }

  .loginCard {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 30px #0000001a;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .subFilters {
    font-size: 0.8rem;
    font-weight: 400;
    /* display: none; */
  }
  .masterfilters {
    font-size: 0.85rem;
    font-weight: 400;
  }
  .masterfilters .form-check-inline {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 5px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .post-ad-btn {
    display: none;
  }

  .postImageBox {
    width: 100%;
    height: 350px;
    border-radius: 9px;
    overflow: hidden;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.5px solid #d7d7d7;
  }

  .nodatamsgimg {
    width: 15%;
  }

  .topHeader img {
    width: 19px;
    height: 19px;
  }

  .categoryNav img {
    width: 18px;
    height: 18px;
  }

  .catName {
    font-size: 12px;
    font-weight: 500;
  }

  .sellerCard .card-body {
    padding: 12px;
  }

  .postname {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px;
  }

  .postprice {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--main-color);
  }

  .showNumber {
    cursor: pointer;
    color: var(--main-color);
    font-weight: 600;
    font-size: 13px;
  }

  .memberInfo {
    font-size: 12px;
  }

  .profileBadge {
    font-size: 10px;
  }

  .breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 1px;
    font-size: 13px;
  }

  .btn {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
  }

  .navbar-brand {
    font-size: 17px;
    margin-right: 10px;
  }

  .searchWrapper {
    position: relative;
    width: 37%;
  }

  .searchbar {
    width: 95%;
  }

  .filterChecks {
    font-size: 0.8rem;
    font-weight: 600;
  }

  .footer {
    font-size: 13px;
    line-height: 1.3;
  }

  .footer-links a {
    font-size: 12px;
    font-weight: 400;
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .footer-links li {
    margin-bottom: 5px;
  }

  .topHeader a {
    font-size: 12px;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 400;
  }

  .categoryNav a {
    text-wrap: nowrap;
    position: relative;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: var(--main-color);
    padding: 5px 8px;
    border-radius: 15px;
  }

  .post-section-heading {
    font-size: 18px;
  }

  .post-section-subheading {
    font-size: 11px;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  .info {
    padding: 8px 10px 8px 10px;
  }

  .cat {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: grey;
    margin-bottom: 4px;
  }

  .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 5px;
    letter-spacing: -0.5px;
  }

  .locationKm {
    margin-left: 0px;
    font-size: 10px;
    color: grey;
    font-weight: 600;
  }

  .postDate {
    font-size: 10px;
    color: grey;
    font-weight: 600;
  }

  .loginCard {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 30px #0000001a;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .subFilters {
    font-size: 0.85rem;
    font-weight: 400;
    /* display: none; */
  }

  .masterfilters {
    font-size: 0.9rem;
    font-weight: 400;
  }
  .form-check-inline {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 5px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .post-ad-btn {
    display: none;
  }

  .nodatamsgimg {
    width: 11%;
  }

  .categoryNav img {
    width: 20px;
    height: 20px;
  }

  .topHeader img {
    width: 19px;
    height: 19px;
  }

  .catName {
    font-size: 13px;
    font-weight: 500;
  }
  .sellerCard .card-body {
    padding: 14px;
  }

  .profileBadge {
    font-size: 10px;
  }

  .breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 1px;
    font-size: 14px;
  }

  .btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
  }

  .filterChecks {
    font-size: 0.85rem;
    font-weight: 600;
  }

  .footer-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .navbar-brand {
    font-size: 18px;
    margin-right: 10px;
  }

  .searchWrapper {
    position: relative;
    width: 45%;
  }

  .searchbar {
    width: 80%;
  }

  .topHeader a {
    font-size: 14px;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 500;
  }

  .categoryNav a {
    text-wrap: nowrap;
    position: relative;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--main-color);
    padding: 5px 8px;
    border-radius: 15px;
  }

  .footer {
    font-size: 13px;
    line-height: 1.3;
  }

  .post-section-heading {
    font-size: 20px;
  }

  .post-section-subheading {
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  .info {
    padding: 8px 10px 8px 10px;
  }

  .cat {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: grey;
    margin-bottom: 2px;
  }

  .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 5px;
    letter-spacing: -0.5px;
  }

  .new {
    font-size: 15px;
    font-weight: 700;
    color: var(--main-color);
  }

  .subFilters {
    font-size: 0.9rem;
    font-weight: 400;
    /* display: none; */
  }

  .masterfilters {
    font-size: 0.9rem;
    font-weight: 400;
  }

  .form-check-inline {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 5px;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .post-ad-btn {
    display: none;
  }

  .nodatamsgimg {
    width: 11%;
  }

  .categoryNav img {
    width: 19px;
    height: 19px;
  }

  .topHeader img {
    width: 20px;
    height: 20px;
  }

  .catName {
    font-size: 14px;
    font-weight: 500;
  }
  .profileBadge {
    font-size: 10px;
  }

  .postname {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
  }

  .postprice {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--main-color);
  }

  .showNumber {
    cursor: pointer;
    color: var(--main-color);
    font-weight: 600;
    font-size: 13px;
  }

  .memberInfo {
    font-size: 12px;
  }

  .profileBadge {
    font-size: 10px;
  }

  .filterChecks {
    font-size: 0.85rem;
    font-weight: 600;
  }

  .filterChecks .form-check-inline {
    margin-right: 5px;
  }

  .masterfilters {
    font-size: 0.9rem;
    font-weight: 400;
  }

  .subFilters {
    font-size: 0.9rem;
    font-weight: 400;
    /* display: none; */
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .badge.topbadge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #081f5c;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 15px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
    z-index: 10;
  }

  .cat {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: grey;
    margin-bottom: 2px;
  }

  .title {
    font-size: 15px;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 5px;
    letter-spacing: -0.5px;
  }

  .feat {
    font-size: 9px;
    background: #f4f4f5;
    color: grey;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 500;
  }

  .desc {
    font-size: 12px;
  }

  .new {
    font-size: 18px;
  }

  .btn {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
  }

  .locationKm {
    margin-left: 0px;
    font-size: 11px;
    color: grey;
    font-weight: 600;
  }

  .postDate {
    font-size: 11px;
    color: grey;
    font-weight: 600;
  }

  .sellerCard img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ddd;
  }

  .chatName {
    font-size: 12px;
    font-weight: 600;
  }

  .chatTitle {
    font-size: 12px;
    font-weight: 700;
  }

  .chatTime {
    font-size: 10px;
    color: grey;
  }

  .message .time {
    font-size: 10px;
    color: #777;
    text-align: right;
    margin-top: 2px;
  }

  .info {
    padding: 8px 10px 10px 10px;
  }

  .searchWrapper {
    position: relative;
    width: 50%;
  }

  .navbar-brand {
    font-size: 18px;
    margin-right: 20px;
  }

  .categoryNav a {
    text-wrap: nowrap;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--main-color);
    padding: 5px 8px;
    border-radius: 15px;
  }

  .searchbar {
    width: 70%;
  }

  .topHeader a {
    font-size: 14px;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 400;
  }

  .post-section-heading {
    font-size: 21px;
  }

  .post-section-subheading {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  .footer {
    font-size: 12px;
    line-height: 1.3;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .post-ad-btn {
    display: none;
  }

  .nodatamsgimg {
    width: 10%;
  }

  .catName {
    font-size: 15px;
    font-weight: 500;
  }
  .btn {
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
  }

  .btn-primary {
    background: var(--main-color);
    color: #fff;
    border: 1px solid var(--main-color);
  }

  .btn:hover {
    background: var(--main-color);
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); */
  }

  .btn:active {
    background: var(--main-color) !important;
    color: #fff !important;
    border: 1px solid var(--main-color) !important;
  }

  .categoryNav {
    padding: 5px 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: start;
  }

  .categoryNav a {
    text-wrap: nowrap;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--main-color);
    padding: 5px 10px;
    border-radius: 15px;
  }

  .categoryNav img {
    width: 20px;
    height: 20px;
  }

  .categoryNav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0px; /* distance from text */
    width: 0;
    height: 2px; /* thickness */
    background: var(--main-color);
    transition: width 0.4s ease; /* smooth animation */
  }

  .categoryNav a:hover::after {
    width: 100%; /* expands underline smoothly */
    color: var(--main-color);
    font-weight: 500;
  }

  .categoryNav a:hover {
    color: var(--main-color);
    font-weight: 500;
    /* text-decoration: underline;
    text-underline-offset: 4px; /* push underline lower */
    /* text-decoration-thickness: 1.5px; */
  }

  .topHeader a {
    font-size: 14px;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 400;
  }

  .topHeader img {
    width: 20px;
    height: 20px;
  }

  .topHeader a:hover {
    color: var(--main-color);
    font-weight: 400;
  }

  .breadcrumb a {
    text-decoration: none;
    color: var(--main-color) !important;
    font-weight: 300;
  }

  .breadcrumb a:hover {
    color: #db3a00;
    font-weight: 300;
  }

  .productCard {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 10px #0000001a;
    transition: 0.3s;
    /* margin: 10px auto; */
    overflow: hidden;
    position: relative;
    /* cursor: pointer; */
  }

  .productCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px var(--main-color);
  }

  .badge.topbadge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #081f5c;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 15px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
    z-index: 10;
  }

  .badgev1 {
    position: absolute;
    top: 50%;
    right: 10px;
    background: #ffc107;
    color: #fff;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 15px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
    z-index: 10;
    color: #2c3645;
  }

  .tilt {
    overflow: hidden;
  }
  .img {
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0px 0px;
  }

  .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  .productCard:hover .img img {
    transform: scale(1.05);
  }
  .info {
    padding: 8px 15px 8px 15px;
  }

  .cat {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: grey;
    margin-bottom: 4px;
  }
  .title {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
    margin: 0 0 5px;
    letter-spacing: 0px;
  }

  .desc {
    font-size: 12px;
    color: grey;
    line-height: 1.3;
    margin-bottom: 8px;

    display: -webkit-box;
    display: -moz-box; /* for old Firefox */
    display: box;

    overflow: hidden;
    text-overflow: ellipsis;

    line-clamp: 2; /* modern */
    -webkit-line-clamp: 2; /* safari/chrome */
    -webkit-box-orient: vertical;
  }

  .notificationdesc {
    font-size: 13px;
    color: grey;
    line-height: 1.4;
    margin-bottom: 8px;

    display: -webkit-box;
    display: -moz-box; /* for old Firefox */
    display: box;

    overflow: hidden;
    text-overflow: ellipsis;

    line-clamp: 4; /* modern */
    -webkit-line-clamp: 4; /* safari/chrome */
    -webkit-box-orient: vertical;
  }

  .feats {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
  }
  .feat {
    font-size: 10px;
    background: #f4f4f5;
    color: grey;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 500;
  }
  .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .price {
    display: flex;
    flex-direction: column;
  }

  .new {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
  }

  /* .product_btn {
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 10px #0000001a;
}

.product_btn:hover {
  background: var(--main-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
} */

  .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f4f4f5;
    padding-top: 8px;
  }
  .location {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .locationKm {
    margin-left: 0px;
    font-size: 12px;
    color: grey;
    font-weight: 600;
  }
  .postDate {
    font-size: 12px;
    color: grey;
    font-weight: 600;
  }

  .section-header h2::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--main-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
  }

  .breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 1px;
    font-size: 14px;
  }

  .breadcrumb li {
    margin-right: 1px;
  }

  .breadcrumb li + li:before {
    content: "/";
    margin: 0 6px;
    color: grey;
  }
  .breadcrumb a {
    text-decoration: none;
    color: grey;
  }
  .breadcrumb .active {
    color: var(--main-color);
    font-weight: 500;
  }

  .sort-by select {
    min-width: 180px;
  }

  .filterCard {
    border-radius: 15px;
    overflow: hidden;
  }

  .filterCard .card-header {
    font-size: 1rem;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
  }

  .filterCard .list-group-item {
    border: none;
    font-size: 15px;
    transition: 0.2s;
    padding: 3px 5px;
  }

  /* .filterCard .list-group-item:hover {
  background-color: #f8f9fa;
  padding-right: 4px;
} */

  .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
    transition: 0.3s;
  }

  .feature-card-dark:hover .icon-wrapper {
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.9);
  }

  .feature-card-dark h5 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: #fff;
  }

  .feature-card-dark p {
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: #d1d5db;
  }

  .feature-card-dark button {
    background: rgb(255, 254, 254);
    border: none;
    padding: 8px 15px;
    font-weight: 600;
    color: #1e1919;
    border-radius: 15px;
    margin-top: 15px;
    transition: all 0.3s ease-in-out;
  }

  .feature-card-dark button:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.7);
  }

  .loginCard {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 30px #0000001a;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .sellerCard {
    border-radius: 15px;
    box-shadow: 0 3px 10px #0000001a;
  }

  .sellerCard img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #ddd;
  }

  .profileCard {
    border-radius: 15px;
    box-shadow: 0 3px 10px #0000001a;
  }

  .profileCard img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 1px solid #ddd;
  }

  .range-container {
    width: 100%;
    margin: 10px auto;
  }

  .slider {
    position: relative;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
  }

  .progress {
    position: absolute;
    height: 6px;
    background: var(--main-color);
    border-radius: 3px;
    left: 0;
    right: 0;
  }

  .range-input {
    position: relative;
    width: 100%;
  }

  .range-input input {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
  }

  input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--main-color);
    cursor: pointer;
    -webkit-appearance: none;
  }

  .labels {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
  }

  .footer {
    font-size: 15px;
    line-height: 1.6;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .footer-links a:hover {
    color: var(--main-color);
    padding-left: 5px;
  }

  .social-icon {
    font-size: 20px;
    color: var(--main-color);
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .social-icon:hover {
    color: var(--main-color);
    transform: scale(1.2);
  }

  .chatList {
    border-radius: 15px;
    box-shadow: 0 3px 10px #0000001a;
  }

  .chatUser {
    height: 520px;
    max-height: 520px;
    overflow-y: auto;
  }

  .chatCard {
    border-radius: 15px;
    box-shadow: 0 3px 10px #0000001a;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
  }

  .contact-item {
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .contact-item:hover {
    background-color: #f1f3f5;
  }

  .contact-item img {
    width: 55px;
    height: 55px;
  }

  .text-truncate {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .chatName {
    font-size: 12px;
    font-weight: 600;
  }

  .chatTitle {
    font-size: 14px;
    font-weight: 700;
  }

  .chatTime {
    font-size: 11px;
    color: grey;
  }

  .chat-list {
    height: 90vh;
    overflow-y: auto;
  }

  .chat-area {
    height: auto;
  }

  .chat-messages {
    overflow-y: auto;
    background: #f9f9f9;
    border-radius: 8px;
  }

  .message {
    max-width: 60%;
    padding: 5px 15px;
    margin: 8px 0;
    display: inline-flex;
    flex-direction: column;
  }

  .message.received {
    background: #fff;
    align-self: flex-start;
    border: 1px solid #ddd;
    border-radius: 20px 20px 20px 0px;
  }

  .message.sent {
    background: #dcf8c6;
    align-self: flex-end;
    border-radius: 20px 20px 0px 20px;
  }

  .message.sent {
    background: #dcf8c6; /* WhatsApp-like green */
  }

  .message .time {
    font-size: 10px;
    color: #777;
    text-align: right;
    margin-top: -2px;
  }

  .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    /* width: 300px;
    height: 300px; */
  }

  .allcat.swiper-slide img {
    display: block;
    width: 100%;
    padding: 28px;
  }

  .notification-card {
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .notification-card:hover,
  .notification-card:focus {
    background-color: #f8f9fa;
    outline: none;
  }
  .text-truncate {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .notification-text-truncate {
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
  }

  .alert-dismissible {
    padding-right: 1rem;
  }

  .list-group-item.active {
    z-index: 2;
    color: var(--main-color);
    font-weight: 700;
    background-color: #fff;
    border-color: var(--main-color);
  }

  .myAccList .list-group-item {
    border-radius: 5px;
    padding: 10px 15px;
  }

  .posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* allows stacking on smaller screens */
    gap: 1rem;
    margin-bottom: 5px;
  }

  .filterChecks {
    font-size: 0.95rem;
    font-weight: 600;
  }

  .filterChecks .form-check-inline {
    margin-right: 8px;
  }

  .subFilters {
    font-size: 0.9rem;
    font-weight: 400;
    /* display: none; */
  }

  .searchWrapper {
    position: relative;
    width: 60%;
  }

  .searchbar {
    width: 60%;
  }

  .footer-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .navbar-brand {
    font-size: 20px;
    margin-right: 20px;
  }

  .masterfilters {
    font-size: 0.9rem;
    font-weight: 400;
  }

  .post-section-heading {
    font-size: 25px;
  }

  .post-section-subheading {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
}
