#page .title p {
    line-height: 2;
    padding-top: 15px;
    text-align: left;
    line-height: 26px;
  }
  
  #page .heading-top h1, #page h2 {
    color: #050B20;
    font-size: 40px !important;
    font-weight: 700;
    line-height: 40px;
    display: inline-block;
    padding: 0 0 65px 0;
  }
  #page h2{
    padding-bottom: 0;
  }
  
  #page .galleryHeading {
    display: flex;
    align-items: self-end;
    gap: 12px;
    padding-bottom: 40px;
  }
  
  #page .galleryHeading span {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    color: var(--white);
    border-radius: 30px;
    background: #3D923A;
    padding: 4px 10px;
    margin-bottom: 3px;
  }
  
  .gallery-head {
    display: grid;
    grid-template-rows: 260px 260px;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
  }
  .hitem{
    cursor: pointer;
  }
  .gallery-head .hitem:first-child{
    grid-row: 1 / 3;
    grid-column: 1 / 3;
  }
  
  .gallery-head.count-4 .hitem:nth-of-type(2){
    grid-column: 3/5;
  }
  
  .gallery-head.count-3 .hitem:nth-of-type(2){
    grid-column: 3/5;
  }
  .gallery-head.count-3 .hitem:nth-of-type(3){
    grid-column: 3/5;
  }
  
  .gallery-head.count-2 .hitem:nth-of-type(2){
    grid-column: 3/5;
    grid-row: 1/3;
  }
  .eventgallerywrap .gallery li a img {
    max-width: none;
    width: auto;
  }
  
  
  .eventgallerywrap .hitem .text a {
    display: block;
    height: 100%;
    width: 100%;
  }
  .eventgallerywrap .hitem img {
      width: 100%; 
      height: 100%;
      border-radius: 14px;
      object-fit: cover;
    }
  
  
      .hitem .videosec{
        width: 80px;
        height: 80px;
        background-color: var(--white);
        border-radius: 80px;
        position: absolute;
        left: 40%;
        top: 35%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        pointer-events: none;
      }
      .hitem .videosec img{
        width: 18px;
        height: 18px;
      }
      .hitem .videosec:hover .svgPath{
        fill: var(--blue);
      }
      .hitem .videosec .wave{
        position: absolute;
        text-align: center;
        width: 115px;
        height: 115px;
        border-radius: 50%;
        background-color: var(--white);
        opacity: .2;
        pointer-events: none;
        animation: wave-video 2s linear infinite;
        z-index: 2;
      }
      @keyframes wave-video{
        0% {
          transform: scale(.5);
        }
        100% {
          transform: scale(1.2);
        }
      }
  
  
      .lightbox {
        z-index: 9999;
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
      }
    
      .lightbox.active {
        display: flex;
      }
    
      .lightbox-content {
        width: 100%;
        height: 100%;
        position: relative;
        max-width: 90%;
        max-height: 90%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    
      .lightbox-slide {
        position: absolute;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    
      .image-count {
        position: absolute;
        top: 10px;
        /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        color: white;
        /* Change color as needed */
        font-size: 18px;
        /* Adjust font size as needed */
        background: rgba(0, 0, 0, 0.5);
        /* Semi-transparent background */
        padding: 5px 10px;
        /* Padding for better visibility */
        border-radius: 5px;
        /* Rounded corners */
        z-index: 10;
        /* Ensure it appears above other elements */
      }
    
      .close-btn,
      .nav-btn {
        position: absolute;
        top: 10px;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        border-radius: 5px;
        background: transparent;
    
      }
      .close-btn {
        right: 10px;
      }
      .close-btn {
      height: 30px;
      width: 30px;
      z-index: 1;
      }
      .close-btn::after,
      .close-btn:before {
        content: "";
        position: absolute;
        left: 8px;
        height: 20px;
        width: 3px;
        background-color: var(--white);
      }
      .close-btn:before {
        transform: rotate(45deg);
      }
      .close-btn:after {
        transform: rotate(-45deg);
      }
    
    
      .next-btn::after,
      .prev-btn::after {
        content: "";
        border: 2px solid var(--white);
        border-width: 0 0 3px 3px;
        display: block;
        width: 20px;
        height: 20px;
        transform: rotate(-135deg);
        opacity: 1;
      }
      .prev-btn::after {
        transform: rotate(45deg);
      }
      .nav-btn {
        top: 50%;
        opacity: .5;
        transform: translateY(-50%);
      }
      .nav-btn:hover{
        opacity: 1;
      }
    
      .prev-btn {
        left: 10px;
      }
    
      .next-btn {
        right: 10px;
      }
      .galry-total{
        font-size: 15px;
        line-height: normal;
        color: var(--white);
        font-weight: 500;
        position: absolute;
        right: 15px;
        bottom: 15px;
        background: var(--blue);
        padding: 5px 10px;
        border-radius: 12px;
        pointer-events: none;
  
      }
  @media screen and (min-width: 1100px) {
    #page .title {
        padding: 0px;
    }
  }
  @media screen and (max-width: 768px) {
    #page{
      padding: 20px 0 10px 0;
    }
  

  #page .heading-top h1{
    padding-top: 15px;
    padding-bottom: 15px;

  }
  #page .galleryHeading{
    align-items: end;
    padding-bottom: 20px;
  }
    #page .heading-top h1, #page h2{
        font-size: 25px !important;
        line-height: normal;
    
    }
    .hitem .videosec{
        width: 50px;
        height: 50px;
    }
    .hitem .videosec .wave{
        width: 65px;
        height: 65px;
    }
    .gallery-head {
        grid-template-rows: auto;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-head.count-4 .hitem:nth-of-type(2){
        grid-column:  1/3;
    }
    .gallery-head.count-2 .hitem:nth-of-type(2){
        grid-column:  1/3;
        grid-row: auto;
    }
  
    .gallery-head.count-3 .hitem:nth-of-type(3),  .gallery-head.count-3 .hitem:nth-of-type(2){
     grid-column: auto;
  
    }
  
    .eventgallerywrap .hitem img{
        aspect-ratio: 3/2;
    }
  }
  
  .gal-span-counter{
    position: absolute;
    bottom: 40px;
    color: var(--white);
    font-size: 15px;
    line-height: 21px;
    white-space: nowrap;
  }
  