 .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 */
.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;
}
