/* Gallery Styles */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item img {
    transition: all 0.5s ease;
    height: 250px;
    width: 100%;
    object-fit: cover;
    opacity: 0.9;
    cursor: pointer;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
  }
  
  /* Expanded image container */
  .gallery-expanded-container {
    position: relative;
    margin: 30px auto;
    border-radius: 10px;
    overflow: visible;
    max-width: 1000px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  /* Expanded image */
  #expandedImg {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    max-height: 600px;
  }
  
  /* Arrows */
  .arrowg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #fea116;
    z-index: 100;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    transition: all 0.3s ease;
  }
  
  .arrowg:hover {
    background-color: #e0910e;
    transform: translateY(-50%) scale(1.1);
  }
  
  .left-arrow {
    left: -25px;
  }
  
  .right-arrow {
    right: -25px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .gallery-expanded-container {
      margin: 20px auto;
    }
    
    #expandedImg {
      max-height: 500px;
    }
  }
  
  @media (max-width: 768px) {
    .gallery-item img {
      height: 200px;
    }
    
    .arrowg {
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
    
    .left-arrow {
      left: 10px;
    }
    
    .right-arrow {
      right: 10px;
    }
    
    #expandedImg {
      max-height: 400px;
    }
  }
  
  @media (max-width: 576px) {
    .gallery-item img {
      height: 180px;
    }
    
    .arrowg {
      width: 36px;
      height: 36px;
      font-size: 16px;
    }
    
    #expandedImg {
      max-height: 300px;
    }
  }