
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f8f9fa;
}
.gallery-banner-section .background_image{
  width: 100%;
  height: 320px;
  background-image: url(/assets/images/gallery/gallery.jpg);
  background-size: cover;
}
.gallery-banner-section .background_image .blur{
    width: 100%;
    height: 100%;
    background: rgb(0,0,0,0.5);
    display: flex;
    justify-content: start;
    /* padding-left: 7%; */
    align-items: center;
}
.gallery-banner-section .background_image .blur .blur_on_write{
    font-size: 40px;
    color: whitesmoke;
    font-weight: bold;
    position: relative;

    font-family: 'Poppins', sans-serif !important;

}
.gallery-banner-section .background_image .blur .blur_on_write::before{
    width: 10%;
    height: 6%;
    content: '';
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
}
.gallery-banner-section .background_image .blur .blur_on_write::after{
    width: 7%;
    height: 5%;
    content: '';
    background-color: white;
    position: absolute;
    bottom: -10px;
    left: 0;
}

    .gallery-title {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: #333;
      font-weight: bold;
      text-transform: uppercase;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: transform 0.3s;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
    }

    .gallery-item:hover img {
      transform: scale(1.1);
      filter: brightness(80%) blur(2px);
    }

    .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.9);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      display: none;
    }

    .lightbox img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 12px;
      box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    }

    .lightbox.active {
      display: flex;
      animation: fadeIn 0.3s ease-in-out;
      z-index: 9999;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .lightbox:after {
      content: "✕";
      position: absolute;
      top: 30px;
      right: 40px;
      font-size: 2rem;
      color: #fff;
      cursor: pointer;
    }

    @media(max-width:995px){
      .gallery-banner-section .background_image .blur .blur_on_write::before{
    width: 20%;
    height: 6%;
    content: '';
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
}
.gallery-banner-section .background_image .blur .blur_on_write::after{
    width: 17%;
    height: 5%;
    content: '';
    background-color: white;
    position: absolute;
    bottom: -10px;
    left: 0;
}
    }