  .custom-gallery-wrapper {
      padding: 40px 20px;
    }

    .custom-img-box {
      position: relative;
      width: 100%;
      padding-top: 75%; /* 4:3 Aspect Ratio */
      overflow: hidden;
      cursor: pointer;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .custom-img-box img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .custom-img-box:hover img {
      transform: scale(1.05);
      filter: brightness(80%);
    }

    /* Lightbox */
    .custom-lightbox {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background-color: rgba(0,0,0,0.9);
      z-index: 1050;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .custom-lightbox.active {
      display: flex;
    }

    .custom-lightbox img {
      max-width: 90%;
      max-height: 80vh;
    }

    .custom-lightbox .close-btn,
    .custom-lightbox .nav-btn {
      position: absolute;
      color: white;
      font-size: 2rem;
      cursor: pointer;
      user-select: none;
    }

    .custom-lightbox .close-btn {
      top: 20px;
      right: 30px;
    }

    .custom-lightbox .nav-left {
      left: 30px;
      top: 50%;
      transform: translateY(-50%);
    }

    .custom-lightbox .nav-right {
      right: 30px;
      top: 50%;
      transform: translateY(-50%);
    }