* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      background: #f2f2f2;
      color: #555;
    }

    .container {
      width: 90%;
      max-width: 1180px;
      margin: auto;
    }

    .gallery-section {
      padding: 80px 0;
      background: #f2f2f2;
    }

    .gallery-heading {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 35px;
    }

    .gallery-heading h4 {
      font-family: cursive;
      font-size: 32px;
      color: #1c8f43;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .gallery-heading h2 {
      font-size: 38px;
      color: #222;
      margin-bottom: 15px;
      line-height: 1.3;
    }

    .gallery-heading p {
      font-size: 15px;
      color: #666;
      line-height: 1.7;
    }

    .gallery-filters {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .filter-btn {
      border: 1px solid #1c8f43;
      background: transparent;
      color: #1c8f43;
      padding: 10px 24px;
      border-radius: 30px;
      cursor: pointer;
      font-size: 15px;
      transition: 0.3s ease;
    }

    .filter-btn:hover,
    .filter-btn.active {
      background: #1c8f43;
      color: #fff;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .gallery-item {
      position: relative;
      overflow: hidden;
      height: 260px;
      border-radius: 6px;
      cursor: pointer;
      background: #ddd;
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
      transition: 0.4s ease;
    }

    .gallery-item.hide {
      display: none;
    }

    .gallery-item img,
    .gallery-item video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: 0.5s ease;
      display: block;
    }

    .gallery-item:hover img,
    .gallery-item:hover video {
      transform: scale(1.12);
    }

    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: rgba(28, 143, 67, 0.82);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: 0.4s ease;
      color: #fff;
      text-align: center;
      padding: 20px;
    }

    .gallery-item:hover .gallery-overlay {
      opacity: 1;
    }

    .gallery-overlay h3 {
      font-size: 24px;
      margin-bottom: 5px;
    }

    .gallery-overlay span {
      font-size: 14px;
      letter-spacing: 1px;
    }

    .play-icon {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: #fff;
      color: #1c8f43;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 12px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    }

    .video-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      background: #1c8f43;
      color: #fff;
      padding: 6px 12px;
      font-size: 12px;
      border-radius: 20px;
      z-index: 2;
      font-weight: 600;
    }

    /* Image Lightbox */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.85);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      padding: 20px;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox img {
      max-width: 90%;
      max-height: 85vh;
      border-radius: 8px;
      border: 5px solid #fff;
    }

    /* Video Lightbox */
    .video-lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.88);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      padding: 20px;
    }

    .video-lightbox.active {
      display: flex;
    }

    .video-lightbox video,
    .video-lightbox iframe {
      width: 90%;
      max-width: 900px;
      height: 520px;
      background: #000;
      border: 5px solid #fff;
      border-radius: 8px;
    }

    .video-lightbox video {
      height: auto;
      max-height: 85vh;
    }

    .close-lightbox,
    .close-video-lightbox {
      position: absolute;
      top: 25px;
      right: 35px;
      font-size: 42px;
      color: #fff;
      cursor: pointer;
      line-height: 1;
      z-index: 10001;
    }

    @media (max-width: 992px) {
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery-heading h2 {
        font-size: 32px;
      }

      .video-lightbox iframe {
        height: 420px;
      }
    }

    @media (max-width: 576px) {
      .gallery-section {
        padding: 55px 0;
      }

      .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .gallery-item {
        height: 240px;
      }

      .gallery-heading h4 {
        font-size: 27px;
      }

      .gallery-heading h2 {
        font-size: 26px;
      }

      .gallery-heading p {
        font-size: 14px;
      }

      .filter-btn {
        padding: 8px 18px;
        font-size: 14px;
      }

      .close-lightbox,
      .close-video-lightbox {
        top: 18px;
        right: 25px;
        font-size: 36px;
      }

      .video-lightbox iframe {
        width: 95%;
        height: 260px;
      }

      .video-lightbox video {
        width: 95%;
      }
    }
