.custom-gallery-wrapper {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    max-width: 1250px;
    margin: auto;
}

/* GRID */
.custom-gallery-wrapper .custom-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* ITEM */
.custom-gallery-wrapper .custom-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.custom-gallery-wrapper .custom-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}

/* HOVER EFFECT */
.custom-gallery-wrapper .custom-gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(80%);
}

/* LIGHTBOX */
.custom-gallery-wrapper .custom-gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

/* IMAGE */
.custom-gallery-wrapper .custom-lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  animation: customZoom 0.3s ease;
}

/* CLOSE BUTTON */
.custom-gallery-wrapper .custom-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
}

/* ANIMATION */
@keyframes customZoom {
  from { transform: scale(0.7); }
  to { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .custom-gallery-wrapper {
    padding: 20px 10px;
  }

  .custom-gallery-wrapper .custom-gallery-grid {
    gap: 12px;
  }
}

.custom-floating-bar {
  position: fixed;
  top: 50%;
  left: -3;
  transform: translateY(-50%);
  z-index: 9999;
}

/* Item */
.custom-floating-bar .cfb-item {
      display: flex;
    align-items: center;
    width: 44px;
    height: 44px;
    margin: 4px 0;
    background: #333;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: .8;
}

/* Icon */
.custom-floating-bar .cfb-icon {
     width: 55px;
    text-align: center;
    padding-left: 12px;
}

/* Text */
.custom-floating-bar .cfb-text {
     white-space: nowrap;
    opacity: 0;
    padding-right: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #fff;
}

/* Hover Effect */
.custom-floating-bar .cfb-item:hover {
  width: 160px;
}

.custom-floating-bar .cfb-item:hover .cfb-text {
  opacity: 1;
}

/* Colors */
.custom-floating-bar .whatsapp {
     background: #348f0a;
}

.custom-floating-bar .call {
    background: #2196f5;
}

.custom-floating-bar .mail {
     background: #f03f05;
}

/* Mobile */
@media(max-width: 768px) {
  .custom-floating-bar {
    bottom: 20px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    display:none;
  }

  .custom-floating-bar .cfb-item {
    border-radius: 30px;
    margin: 0 5px;
  }

  .custom-floating-bar .cfb-item:hover {
    width: 50px;
  }

  .custom-floating-bar .cfb-text {
    display: none;
  }
}



.custom-mobile-bottom-nav {
  position: fixed;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

/* Hide on desktop */
@media (min-width: 768px) {
       

  .custom-mobile-bottom-nav {
    display: none;
  }
}

.custom-mobile-bottom-nav-wrapper {
     background: #1e1e1e;
    padding: 0px 15px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 96%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

/* Items */
.custom-mobile-bottom-nav-item,
.custom-mobile-bottom-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #f5f8ff;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Icons */
.custom-mobile-bottom-nav-icon svg {
     width: 31px;
    height: 31px;
    stroke: rgb(247 250 255);
}

/* Active State */
.custom-mobile-bottom-nav-item.active {
  color: #4da3ff;
}

/* Hover effect */
.custom-mobile-bottom-nav-item:hover {
  color: #4da3ff;
  transform: translateY(-2px);
}

/* Center Button */
.custom-mobile-bottom-nav-center {
  position: relative;
  top: -20px;
}

.custom-mobile-bottom-nav-center-btn {
        width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f74215, #f74215);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(77, 163, 255, 0.5);
    transition: all 0.3s ease;
}

.custom-mobile-bottom-nav-center-btn svg {
  width: 24px;
  height: 24px;
}

/* Glow + hover */
.custom-mobile-bottom-nav-center-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(106, 92, 255, 0.7);
}

/* Text */
.custom-mobile-bottom-nav-text {
  font-size: 10px;
  color: inherit;
}