.hero {
    background-image: url("https://png.pngtree.com/background/20230616/original/pngtree-an-empty-room-with-many-framed-photos-on-the-wall-picture-image_3634366.jpg");
    padding: 300px 0 150px;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #333;
  }

  .gallery-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
  }

  .gallery-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .gallery-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.4s ease;
    position: relative;
  }

  .gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  }

  .gallery-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(95%);
  }

  .gallery-card:hover .gallery-image {
    transform: scale(1.07);
    filter: brightness(105%) contrast(110%);
  }

  .gallery-text {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    color: #333;
    transition: all 0.4s ease;
    position: relative;
  }

  .gallery-card:hover .gallery-text {
    color: #0078d4;
    letter-spacing: 0.5px;
    transform: translateY(-3px);
  }

  @media (max-width: 600px) {
    .gallery-title {
      font-size: 2rem;
    }
    .gallery-text {
      font-size: 1rem;
    }
  }

  /* Popup overlay */
  .popup-overlay {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 1000;
  }

  /* When popup is active */
  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Popup box */
  .popup-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.5s ease;
  }

  /* Animate form when overlay becomes active */
  .popup-overlay.active .popup-form {
    transform: scale(1);
    opacity: 1;
  }

  /* Close button */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
    color: #999;
  }

  .popup-form h2 {
    margin-bottom: 15px;
  }

  .popup-form input,
  .popup-form select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .popup-form button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .popup-form button:hover {
    background-color: #0056b3;
  }
  nav ul li a.btn-primary.active {
color: white !important;
}
