.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 4;
}
.popup img {
  max-width: 60%;
  max-height: fit-content;
}
.popup.show {
  opacity: 1;
  visibility: visible;
}
.popup .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}
.camps_img img{
  max-width: 300px;
}
.campus_details{
  padding: 3rem 0;
}
.gallery>.col-md-4{
  padding: 8px;
  overflow: hidden;
}
.gallry_bx{
  position: relative;
  overflow: hidden;
}
.gallry_bx img{
  border-radius: 0 0 10px 10px;
  border-bottom: 4px solid var(--primary-color);
  cursor: pointer;
  object-fit: cover;
  height: 100%;
  aspect-ratio: 1.5;
}
.img_caption{
  position: absolute;
  bottom: -35px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #eae2b7cc;
  color: var(--primary-color);
  padding: 4px 0;
  transition: .5s all ease;
  border-radius: 0 0 10px 10px;
  font-family: var(--font-primary-medium);
  font-weight: 500;
}
.gallry_bx:hover .img_caption{
  bottom: 4px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
}
.stlfeimg.gallery .gallery-img{
  flex: 33.3%;
  max-width: 33.3%;
}
.gallery__items{
    flex: 25%;
    max-width: 25%;
    width: 100%;
    padding: 10px;  
}
.stdntlfe .gallery-img{
  padding: 15px;
}
.gallery-img {
    overflow: hidden;
    border-radius: 10px;
    display: inline-block;
}
.gallery-img picture{  
    position: relative;
    overflow: hidden;
}
.gallery-item {
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
    object-fit: cover;
    height: 100%;
    box-shadow: 2px 2px 0 0px var(--primary-color), -2px -2px 0 0 var(--primary-color);
}
.gallery-img picture::before {
    position: absolute;
    top: -20px;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 41%;
    height: 130%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.caption {
    text-align: center;
    font-size: 15px;
    padding-top: 0px;
    color: #212121;
}
.caption-text {
    margin-top: 3px;
    color: inherit;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
  justify-content: center;
  list-style: none;
}
.category-tabs .tab {
  background: #e0e0e0;
  padding: 7px 12px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 500;
}
.category-tabs .tab.active {
  background: #1b304b;
  color: #fff;
}
.gallery-img picture:hover::before {
  -webkit-animation: shine .75s;
  animation: shine .75s;
}
@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
.gallery-img picture:hover img {
    transform: scale(1.1);
}
.slider-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: hidden;
}
.slider-content {
    position: relative;
    text-align: center;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;  /* Allows scrolling */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.slider-content img {
    max-width: 60%;
    /* max-height: 80%; */
    border-radius: 5px;
    display: block;
    margin: auto;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--lightbg-color);
    border: none;
    border-radius: 26%;
    font-size: 20px;
    cursor: pointer;
    padding: 2px 9px;
    line-height: inherit;
}
.prev-btn {
  left: 20px;
}
.next-btn {
  right: 20px;
}
.founder_img {
    max-width: 370px;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}
.founder_img img {
    aspect-ratio: 1.01;
}
.chairperson_img{
  max-width: 300px;
  width: 100%;
  border-radius: 5px;
    overflow: hidden;
}
.founder_img1{
  max-width: 240px;
    width: 100%;
  border-radius: 5px;
    overflow: hidden;
}
.stlfeimg .gallery-item{
  box-shadow: none;
}
.cntnt_list a{
  transition: .3s all ease;
}
.cntnt_list a:hover{
  color: var(--secondary-color);
}
.director_img{
  max-width: 370px;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.director_img img {
    aspect-ratio: 1.5;
}
.drectr_msg {
    margin: 27px auto 14px;
    max-width: 900px;
    background-color: #fdfcf5;
    padding: 42px;
    border-radius: 8px;
}
.drectr_msg p, .drectr_msg p span{
  position: relative;
}
.drectr_msg p:before, .drectr_msg p span:after{
  font-family: "Font Awesome 6 Free";
  position: absolute;
  font-weight: 900;
  font-size: 22px;
}
.drectr_msg p:before{
  content: "\f10d";
  left: -23px;
  top: -14px;
}
.drectr_msg p span:after{
  content: "\f10e";
  right: -24px;
  bottom: -7px;
}
span.drname {
    margin-top: 15px;
    display: block;
    font-family: 'PlaywriteVN-Regular', sans-serif;
}
.about_img {
    max-width: 330px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}
.mainpage_img img {
    aspect-ratio: 0.84;
}
.camus_gllry .col-md-3 {
    padding: 10px;
}
.camps_imgcntnt {
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgb(0,0,0,0.15);
    border-radius: 10px;
    height: 100%;
    overflow: hidden;
}
.campsimgcptn{
    padding: 20px;  
}
.campsimgcptn strong {
    display: block;
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
}
.campsimgcptn p{
  font-size: 15px;
  line-height: 1.4;
}
.camps_imgcntnt img {
    aspect-ratio: 1.5;
    object-fit: cover;
}
.gallery-img img.gallery-item {
    aspect-ratio: 1.1;
    object-fit: cover;
}
.about_img img {
    aspect-ratio: auto;
}
.qrcode__imgbx {
    max-width: 400px;
    width: 100%;
    margin: auto;
}
.mrgnbtm-2{
  margin-bottom: 20px;
}
