.controls {
    text-align: start;
    margin-bottom: 20px;
    margin-left: 30px;
    position: relative;
  }

  /* Custom Dropdown Styles */
  .gallery-dropdown {
    display: inline-block;
    position: relative;
    min-width: 240px;
    user-select: none;
  }

  .gallery-dropdown-toggle {
    background: #fff;
    border: 1px solid #734bd1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: #734bd1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .gallery-dropdown:hover .gallery-dropdown-toggle {
    border-color: #734bd1;
    box-shadow: 0 0 5px #734bd1;
  }
  .dropdown-arrow {
    margin-left: 10px;
    font-size: 20px;
    color: #555;
    transition: transform 0.2s ease;
    pointer-events: none;
    color: #734bd1 ;
  }
  .gallery-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 11;
  }



  .arrow:hover {
    background: rgba(255,255,255,0.2);
  }

  .gallery-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 10;
  }

  .gallery-dropdown.open .gallery-dropdown-menu {
    max-height: 300px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }

  .dropdown-option {
    padding: 10px 14px;
    cursor: pointer;
  }

  .dropdown-option:hover {
    background: #ddd5f1;
  }

  .dropdown-option.active {
    background: #734bd1;
    color: white;
  }

  /* Gallery and Lightbox styles remain unchanged */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 0 20px;
  }

  .photo {
    background: #fff;
    padding: 5px;
    border-radius: 12px;
    overflow: hidden;
    display: none;
    cursor: pointer;
  }

  .photo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .load-more-container {
    text-align: center;
    margin: 20px;
  }

  button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #734bd1;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }
 
  .load-more-container button:hover {
    color:#734bd1;
    background: transparent;
    border: 1px solid #734bd1;
  }
  .photo:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -o-object-fit: contain;
    object-fit: contain;
    overflow: hidden;
    -webkit-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out
}
  /* Lightbox styling */
  .lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    z-index: 10;
  }

  .lightbox .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0,0,0,0.4);
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 11;
    user-select: none;
  }

  .arrow:hover {
    background: rgba(255,255,255,0.2);
  }

  #prevBtn {
    left: 20px;
  }

  #nextBtn {
    right: 20px;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 12;
  }
  
  