:root {
      --primary-blue: #007a93;
      --secondary-blue: #429EBD;
      --dark-blue: #053F5C;
      --accent: #C89D4A;
    }

    body {
      font-family: "Poppins", sans-serif;
      background-color: #f8f9fa;
    }

    .gallery-section {
      padding: 80px 15px;
    }

    .gallery-title {
      text-align: center;
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 50px;
      color: var(--dark-blue);
      text-transform: uppercase;
    }

    /* Filter Buttons */
    .filter-btn {
      margin: 0 8px 15px;
      border-radius: 0;
      border: 2px solid var(--accent);
      color: var(--secondary-blue);
      padding: 6px 16px;
      font-weight: 500;
      transition: all 0.3s;
    }

    .filter-btn:hover,
    .filter-btn.active {
      background-color: var(--primary-blue);
      color: #fff;
      border-color: var(--primary-blue);
    }

    /* Gallery Items */
    .gallery-item {
      cursor: pointer;
    }

    .gallery-item img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 0px;
      transition: transform 0.5s;
    }

    .gallery-item img:hover {
      transform: scale(1.05);
    }

    .gallery-caption {
      text-align: center;
      margin-top: 10px;
      font-size: 1rem;
      font-weight: 600;
      color: var(--dark-blue);
    }

    /* Modal */
    .modal-content {
      background: transparent;
      border: none;
      position: relative;
      text-align: center;
      border-radius: 0;
    }

.modal-img {
  width: 100%;
  max-width: 100%;
  max-height: 80vh; 
  object-fit: contain; 
}
    .modal-caption {
      margin-top: 10px;
      color: #fff;
      font-size: 1.2rem;
      background: var(--dark-blue);
      padding: 10px 15px;
      border-radius: 0px;
      display: inline-block;
    }

    .modal-navigation {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
    }

    .nav-btn {
      background: rgba(0, 0, 0, 0.6);
      color: white;
      border: none;
      padding: 12px 16px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.5rem;
      transition: 0.3s;
    }

    .nav-btn:hover {
      background: var(--dark-blue);
    }

    /* Modal Close Button */
    .modal-content .btn-close {
      width: 35px;
      height: 35px;
      background-color: var(--accent);
      /* Your theme accent color */
      border-radius: 50%;
      opacity: 0.9;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: #fff;
      transition: all 0.3s;
    }

    .modal-content .btn-close:hover {
      background-color: var(--saffron);
      opacity: 1;
      transform: scale(1.1);
    }

  


    @media (max-width: 1200px) {
      .gallery-item img {
        height: 220px;
      }
    }

    @media (max-width: 992px) {
      .gallery-item img {
        height: 200px;
      }
    }

    @media (max-width: 768px) {
      .gallery-item img {
        height: 180px;
      }
    }

    @media (max-width: 576px) {
      .gallery-item img {
        height: 200px;
      }

      .gallery-title {
        font-size: 2rem;
      }
    }