:root {
  --bs-font-sans-serif: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif !important;
}

.bg-darkred{background-color: rgba(184, 2, 2);}
.text-darkred{color: rgba(184, 2, 2) !important;}
.fs-7{font-size: 16px !important;}

.current-news-custom{
    background-color: rgb(0, 0, 0,0.6) !important;
    padding: 30px 0px;
    background-size: cover;
    background-image: url("https://i.pinimg.com/originals/94/c6/21/94c621cb041a939df0536eab50d14cae.jpg");    
    color: white;    
    text-shadow: 0px 0px 5px  #000000;

}

.current-news-custom:hover{
    background-image: url("https://images.shiksha.com/mediadata/images/articles/1693247327php9Ixvyk.jpeg");
    padding: 30px 0px;
    background-size: cover;
    color: white;
    text-shadow: 0px 0px 5px  #000000;
}

img.aboutusimghome{
    width: 100% !important;
}

.custom-gap{
    justify-content: space-between;
    gap: 10px;
}

/* Masonry image gallery styling */
.gallery-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gallery-custom .images-custom {
    gap: 15px;
    max-width: 100%;
    margin: 40px 0;
    columns: 5 310px;
    list-style: none;
    padding-left: 0px !important;
  }

  .gallery-custom .images-custom .img-custom {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 4px;
  }
  .gallery-custom .images-custom img {
    width: 100%;
    transition: transform 0.2s ease;
  }
  
  .gallery-custom .images-custom .img-custom:hover img {
    transform: scale(1.1);
  }
  
  /* Image lightbox styling */
  .lightbox-custom {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    visibility: hidden;
    background: rgba(0,0,0,0.65);
  }
  .lightbox-custom.show {
    visibility: visible;
    z-index: 9999;
  }
  .lightbox-custom .wrapper-custom {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    padding: 20px;
    max-width: 850px;
    background: #fff;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.1s ease;
  }
  .lightbox-custom.show .wrapper-custom {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  .wrapper-custom :where(header, .details) {
    display: flex;
    align-items: center;
  }
  .wrapper-custom header {
    justify-content: space-between;
  }
  .details-custom i {
    font-size: 1.7rem;
  }
  .details-custom span {
    font-size: 1.2rem;
    margin-left: 10px;
  }
  .buttons-custom i {
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: inline-block;
    color: #fff;
    margin-left: 10px;
    background: #6C757D;
    font-size: 1.25rem;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    transition: 0.2s ease;
  }
  .buttons-custom i:hover {
    background: #5f666d;
  }
  .wrapper-custom .preview-img-custom {
    display: flex;
    justify-content: center;
    margin-top: 25px;
  }
  .preview-img-custom .img-custom {
    max-height: 65vh;
  }
  .preview-img-custom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* Responsive media query code */
  @media screen and (max-width: 688px) {
    .lightbox-custom .wrapper-custom {
      padding: 12px;
      max-width: calc(100% - 26px);
    }
    .wrapper-custom .preview-img-custom {
      margin-top: 15px;
    }
    .gallery-custom .images-custom {
      max-width: 100%;
      padding: 0px 0px;
      margin-top: 20px;
    }
  }

  .bg-custom{
    background: linear-gradient(rgba(0, 0, 0, 0.761), rgba(0, 0, 0, 0.613)), 
    url('https://theoxfordmagazine.com/wp-content/uploads/nuffield-college-oxford-01-1920x1080-1.jpg') no-repeat center center / cover !important;
  }

  .bg-custom-reg{
    background-image: linear-gradient(135deg,rgba(184, 2, 2)60%,rgba(255, 255, 255)40%);
  }

  .bg-custom-regco{
    background-image: linear-gradient(135deg,rgba(184, 2, 2, 0)0%,rgb(255, 166, 0)50%);
  }

  .bdcrp{
    background-image: url('../images/breadcrump.png') !important; background-size: 100% 100%; background-position: center; background-repeat: no-repeat;
  }

.faculty-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
  padding: 10px;
  margin: 5px;
  font-weight: 500;
}

.gallery img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
}

/* Zoom CSS */
.zoom-container {
  overflow: hidden;
  cursor: zoom-in;
}

.zoom-container img {
  transition: transform 0.3s ease-in-out;
}

.zoom-container.zoomed img {
  transform: scale(2);
  cursor: zoom-out;
}
  

  