
      body {
    
        background: none;
      }

      .gallery-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background: rgba(0, 0, 0, 0.05); */
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
      }

      .gallery-content {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.409);
        border-radius: 16px;
        padding-bottom: 10px;
        max-width: 1200px;
        width: 100%;
        max-height: 90vh;
        overflow: hidden;
        position: relative;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
      }

      /* .close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 0, 0, 0.114);
        color: rgb(0, 0, 0);
        border: 1px solid rgba(255, 0, 0, 0.285);
        border-radius: 8px;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
      } */

      /* .close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.05);
      } */

      .gallery-header {
        text-align: center;
        padding: 40px 40px 20px 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 10;
        border-radius: 16px 16px 0 0;
      }

      .gallery-title {
        color: rgba(0, 0, 0, 0.95);
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 8px;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        position: relative;
        display: inline-block;
      }

      .gallery-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
        border-radius: 2px;
      }

      .gallery-subtitle {
        color: rgba(0, 0, 0, 0.8);
        font-size: 1rem;
        font-weight: 400;
        margin: 0;
      }

      .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 10px; /* row-gap column-gap */
        margin-top: 0;
        padding: 20px;
        overflow-y: auto;
        flex: 1;
        /* Hide scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
      }

      /* Hide scrollbar for webkit browsers */
      .gallery-grid::-webkit-scrollbar {
        display: none;
      }

      .gallery-item {
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
        display: flex;
        flex-direction: column;
        height: fit-content;
      }

      .gallery-item:hover {
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.15);
      }

      .gallery-item img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
        border-radius: 11px;
        transition: transform 0.3s ease;
      }

      .gallery-item:hover img {
        transform: scale(1.02);
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        .gallery-content {
          margin: 10px;
        }

        .gallery-header {
          padding: 24px 24px 16px 24px;
        }

        .gallery-title {
          font-size: 1.5rem;
        }

        .gallery-subtitle {
          font-size: 0.9rem;
        }

        .gallery-grid {
          grid-template-columns: 1fr;
          gap: 24px 16px; /* row-gap column-gap */
          padding: 24px;
        }

        .gallery-item img {
          height: 180px;
        }
      }

      @media (max-width: 480px) {
        .gallery-header {
          padding: 20px 20px 16px 20px;
        }

        .gallery-title {
          font-size: 1.3rem;
        }

        .gallery-grid {
          padding: 20px;
        }
      }

      /* Animation for popup entrance */
      .gallery-popup.show {
        display: flex;
        animation: fadeIn 0.3s ease;
      }

      .gallery-popup.show .gallery-content {
        animation: slideIn 0.3s ease;
      }

      @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
      }

      @keyframes slideIn {
        from {
          transform: translateY(20px);
          opacity: 0;
        }
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }