 .mbr-gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 15px;
    justify-items: center;
}
figure.icon_size {
    font-size: xxx-large;
}
.mbr-gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px; /* Optional rounded corners */
}

.mbr-gallery-item img {
    width: 100%; /* Ensures all images take full width */
    height: 250px; /* Set fixed height for uniformity */
    object-fit: cover; /* Crop images to maintain aspect ratio */
    border-radius: 10px; /* Optional rounded corners */
}
@media (max-width:599px) {
  .mbr-gallery-item img{
    height: 100px;
  }
}
body {
    font-family: "Montserrat", sans-serif;
}
.readmore {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 1.6rem;
  padding: 0 0 10px;
  text-align: center;
  opacity: 1;
  pointer-events: initial;
  font-weight: 500;
  border-top-right-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
  transition: all ease-in-out 0.325s;
  transition-delay: 0.5s;
}

.readmore:after {
  content: none;
  font-size: 1rem;
  color: #000;
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
}

.item_about_us {
  position: relative;
  overflow: hidden;
  max-height: 120px;
  width: 100%;
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.item_about_us:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  pointer-events: none;
  transition: all ease-in 0.5s;
}
/* For odd sections */
#main-page section:nth-child(odd) .item_about_us::before {
  background-color: #f5f5f5;
}

/* For even sections */
#main-page section:nth-child(even) .item_about_us::before {
  background-color: #ffffff; 
}
.item_about_us:after {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.8rem;
  color: #F71E35;
  background: #2b2d42;
  padding: 0.25rem 0.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.item_about_us.active {
  height: auto;
  max-height: 800px;
  cursor: initial;
  overflow-y: visible;
  transition: all ease-out 0.5s;
}

.item_about_us.active:before {
  box-shadow: none;
  background: transparent;
  display: none;
}

.item_about_us.active:after {
  color: #2BBBD8;
}

.item_about_us.active .readmore {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0s;
}
@media(max-width:1180px){
    .wh-fixed.whatsapp-pulse{
        display: none;
    }
}

/* slider */
/* Wrapper holds the preloader and limits its area */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

/* Adjust the height as per your slider design */
@media (max-width: 767px) {
    .slider-wrapper {
        min-height: 150px;
    }
}
@media (min-width: 768px) and  (max-width: 1180px) {
    .slider-wrapper {
        min-height: 350px;
    }
}

@media (min-width: 1181px) and  (max-width: 1399px) {
    .slider-wrapper {
        min-height: 450px;
    }
}
@media (min-width: 1600px) {
    .slider-wrapper {
        min-height: 600px;
    }
}

/* Preloader overlay fits wrapper area */
.slider-preloader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    transition: opacity 0.4s ease;
}

/* Spinner style */
.slider-preloader .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* When loaded, fade out preloader */
.slider-wrapper.loaded .slider-preloader {
    opacity: 0;
    pointer-events: none;
}

/* business page  */
 .footer_bottom {
        margin-bottom: 0;
    }

    @media (min-width:1500px) {
        .business-container.container {
            max-width: 1480px !important;
        }
    }
    section#browse-users {
        padding-top: 75px;
    }

    /* Mobile Filter Sidebar Styles */
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 1050;
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .filter-sidebar.open {
        left: 0;
    }

    .mobile-only {
        display: none;
    }

    @media (max-width: 750px) {
        .mobile-only {
            display: block;
            position: absolute;
            top: 0;
            right: 20px;
            z-index: 1040;
        }

        .filter-sidebar .table {
            display: block;
        }

        .filter-sidebar .table thead,
        .filter-sidebar .table tbody {
            display: block;
        }

        .filter-sidebar .table tr {
            display: block;
            margin-bottom: 15px;
        }

        .filter-sidebar .table th {
            display: block;
            width: 100% !important;
            padding: 10px 0;
        }
    }
    @media (max-width: 768px) {
    .mobile-only {
        display: block;
        width: auto;
        margin: 7px 0 0 auto;
        background-color: #00a0e3 !important;
        font-size: 13px;
        border-radius: 5px;
        padding: 2px 7px;
        border-color: #00a0e3 !important;
    }
        .section-heading.mainpage-title {
            font-size: 1.7rem;
    }
}
    .slider-container {
        position: relative;
        padding: 10px 0;
    }

    .slider-container input[type="range"] {
        width: 100%;
        background: linear-gradient(to right, #00a0e3 0%, #ddd 0%);
    }

    .value-display {
        display: block;
        text-align: center;
        margin-top: 5px;
        font-weight: bold;
    }

    .no-found-container {
        text-align: center;
        padding: 40px 0;
    }

    .no-found {
        max-width: 300px;
        margin: 20px auto;
    }

    .close-fil {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1051;
    }

    /* Load More Button Styles */
    .load-more-container {
        text-align: center;
        margin: 30px 0;
    }

    .load-more-btn {
        padding: 12px 30px;
        font-size: 16px;
        background: linear-gradient(45deg, #007bff, #0056b3);
        border: none;
        border-radius: 25px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .load-more-btn:hover {
        background: linear-gradient(45deg, #0056b3, #004494);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    }

    .load-more-btn:disabled {
        background: #6c757d;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .loading-spinner {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 3px solid #ffffff;
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 1s ease-in-out infinite;
        margin-right: 10px;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Hidden cards */
    .business-card {
        display: none;
    }

    .business-card.visible {
        display: block;
    }
    @media (max-width:1180px){
        #mobileFilterSidebar-ss {
            display: none;
        }
    }