.elementor-16247 .elementor-element.elementor-element-cb9ba5b{--display:flex;}.elementor-16247 .elementor-element.elementor-element-8e2a96e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-ab8595a *//* Container Layout */
.custom-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  justify-content: center;
}

/* Card ki basic styling */
.gallery-item {
  position: relative;
  width: 300px; /* Aap width adjust kar sakte hain */
  height: 400px;
  overflow: hidden;
  cursor: pointer;
  background-color: #000; /* Dark background base */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease; /* Smooth effect ke liye */
}

/* Overlay jo text ko hold karega */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* White color with transparency */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Shuru mein gayab rahega */
  transition: opacity 0.4s ease;
}

.text {
  text-align: center;
  padding: 15px;
}

.text h3 {
  margin: 0;
  font-family: serif;
  letter-spacing: 2px;
  color: #333;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.text p {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
}

/* --- Hover Effects --- */

/* Image ko halka sa blur ya zoom karne ke liye (Optional) */
.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(50%); /* Image ko thoda pheeka karne ke liye */
}

/* Hover par overlay show karna */
.gallery-item:hover .overlay {
  opacity: 1;
}/* End custom CSS */