.gallery-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
    text-align: center;
  margin-bottom: 30px;
  }
  
  .gallery-title {
    font-size: 2rem;
    color: #222;
    margin-bottom: 10px;
  }
  
  .gallery-subtitle {
    color: #666;
    margin-bottom: 40px;
  }
  
  /* ====== Flexbox Layout ====== */
  .gallery-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .gallery-img {
    width: calc(25% - 10px);
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    display: none; /* افتراضيًا الصور مخفية */
  }
  
  .gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .gallery-img { width: calc(33.333% - 10px); }
  }
  @media (max-width: 576px) {
    .gallery-img { width: calc(50% - 10px); }
  }
  
  /* ====== زر عرض المزيد ====== */
  .load-more-btn {
    margin-top: 40px;
    padding: 12px 30px;
    border: none;
    background-color: #222;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
  }
  .load-more-btn:hover {
    background-color: var(--primaryColor);
  }
  
  /* ====== Lightbox ====== */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
  }
  
  .lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
  }
  
  .lightbox-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
  }
  
  .prev, .next {
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
  }