    /* EVENT AND PROJECT PAGE STYLE */

       * { 
          box-sizing: border-box;
          margin: 0;
          padding: 0; 
        }

    body {
          font-family: sans-serif;
          background: #fdfdfd;
          box-sizing: border-box;
          margin: 0;
          padding: 0;
    }
    .main-title{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 40px;
        font-weight: bold;
        font-size: 0.9rem;
       
    }

 

    .projects {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      row-gap: 30px;
      width: 95%;
      margin: 40px;
      padding:  0 30px;
     
      
      
    }
  
    .card {
     
     /* width: 555px;*/
      height: auto;
      background: white;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      overflow: hidden;
      /*flex: 1 1 48%;*/
        flex: 0 1 calc(50% - 20px);
      /*transition: transform 0.3s ease;*/
   
    }
   /*  .card:hover {
      transform: scale(1.03);
    }*/
   
    .card img {
      width: 100%;
      height: 500px;
      display: block;
      object-fit:cover;
    
 
    }
    
    .card-content {
      padding: 15px;
    }
    .card-content h3 {
      margin-bottom: 10px;
    }
  
    .view-btn {
      margin-top: 10px;
      padding: 8px 16px;
      background: black;
      color: white;
      border: none;
      cursor: pointer;
      font-size: 20px;
      font-weight: bolder;
      
      border-radius: 5px;
      transition: all 0.3s ease;
      box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    }
    .view-btn:hover {
  background-color: #444;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.view-btn::after {
  content: ' →';
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.view-btn:hover::after {
  opacity: 1;
  transform: translateX(5px);
}
    /* Detail Page Layout */
    .project-detail {
     display: none;
      padding-top:40px;
      padding: 20px;
      text-align: center;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: white;
      overflow-y: auto;
      z-index: 1000;
     
    }
      
 

    .project-detail .card-content {
      width: 100%;
      max-width: 900px;
      max-height: 95vh;
      margin-top: 340px;
      overflow: visible;
    
  
      
    
    }

    .project-detail .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);

      gap: 10px;
      justify-content: center;
      max-width: 700px;
      margin: 0 auto;
    }

    .project-detail .gallery img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
    
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      cursor: pointer;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .project-detail .gallery img:hover{
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .back-btn {
      display: inline-flex;
      align-items: center;
      margin-top: 25px;
      padding: 8px 16px;
      background: #333;
      color: #fff;
      font-size: 20px;
      font-weight: bolder;
      text-decoration: none;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 5px rgba(0,0,0,0.15);
      margin-bottom: 40px;
    }
    .back-btn .arrow {
  opacity: 0;
  transform: translateX(-10px);
  margin-right: 8px;
  transition: all 0.3s ease;
  display: inline-block;
}
    .back-btn:hover {
  background-color: #444;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.back-btn:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}




    /* Lightbox Popup */

    #lightbox {
      position: fixed;
      top: 0; 
      left: 0;
      width: 100vw;
       height: 100vh;
      background: rgba(0,0,0,0.9);
      /* background: rgba(255, 255, 255, 0.85); */
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      display: none;
      flex-direction: column;
    }



    #lightbox-img {
      max-width: 90%;
      max-height: 80%;
      box-shadow: 0 0 20px rgba(255,255,255,0.2);
    }

    body.no-scroll {
  overflow: hidden;
}

    .close {
      position: absolute;
      top: 20px; right: 30px;
      font-size: 40px;
      color: white;
      cursor: pointer;
    }

    .nav {
      position: absolute;
      top: 50%;
      font-size: 50px;
      color: white;
      cursor: pointer;
      user-select: none;
      padding: 10px;
      transform: translateY(-50%);
    }

    .nav.prev { left: 30px; }
    .nav.next { right: 30px; }
 

/* event page style */
 .event-wrapper {
    height: 45vh; /* adjust height if needed */
    display: flex;
    justify-content: center; 
    align-items: center;    
      overflow: hidden;
      
}
  /* Card container */
.event-card {
    margin-top: 20px;
    padding: 30px 40px;
    display: inline-block;
    text-align: center;
    width: 450px;
    position: absolute;
   

}

/* Text inside card */
.coming-soon {
    font-size: 20px;
    color:black;
}



     @media (max-width: 820px) {
      .text-overlay {
        font-size: 1.2rem;
        padding: 6vw;
        line-height: 1.3rem;
      }
      .projects{
        padding: 10px;
        gap:20px ;
        row-gap: 40px;
      }
          .news_container{
            padding-right: 7px !important;
        }
         .footer_img{
        padding-right: 24px !important;
        background: white !important;
       }
       .event-wrapper{
        height: 35vh;
       }

    }

    @media (max-width: 480px) {

      .main-title{
        margin-top: -40px;
      }
      .text-overlay {
        font-size: 0.9rem;
        padding: 5vw;
        line-height: 1.1;
      }
      .image-container1 img{
        height: 45vh;
      
      }
      .projects{
        padding: 20px;
        gap: 40px;
      }
      .event-wrapper{
        height: 25vh;
        margin-bottom: -80px;
      }
      .event-card{
       width: 350px;
      }


    }
    @media (max-width: 768px) {
      .card {
         flex: 1 1 100%; 
         height: auto;
         justify-content: center;
         align-items: center;
        }
        .card img{
          height: 300px;
        }

       

        .projects{
          margin-left: 0;
          width: 100%;
        }
        .project-detail .card-content{
          width: 100%;
          height: 100%;
       
        }

        .news_container{
            padding-right: 9px !important;
        }
         .footer_img{
        padding-right: 15px !important;
        background: white !important;
       }
        
    }

    @media(max-width: 820px){
      .image-container1{
        margin-left: 0;
      }
      .projects{
        margin-left: 0;
        width: 100%;
      }
      .card img{
        height: 350px;
      }

      .back-btn{
        margin-bottom: 160px;
      }
      .project-detail .card-content{
        margin-top: 140px;
      }
      .project-detail .gallery{
        margin-top: 30px;
        margin-bottom: 30px;
      }
    }


     @media(max-width: 414px){
      
      .image-container1{
        
        margin-bottom: 0;
       
      }
    
      .projects{
        margin-left: -12px;
        width: 100%;
      }
      
       .card {
         flex: 1 1 100%; 
          margin-right: -30px;
         justify-content: center;
         align-items: center;
        max-width: 100%;
         width: 100%;
        }
      
      .card img{
        height: 250px;
        width: 100%;
        
      }
      .project-detail .card-content{
        margin-top: 300px;
      }
   
  
    
    }