* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial;
    background-color: var( --body-color);
  }
  
  .main{
      margin-top: 120px;
  }
  
    /* .breadcrumb styles */
    .breadcrumb-item+.breadcrumb-item::before {
      padding-right: 3.5px ;
      }
  
      .breadcrumb-item+.breadcrumb-item {
          padding-left: 3.5px;
      }
  
    .breadcrumb li{
       font-size:14px
       }
       
       @media(max-width:599px){
       .breadcrumb li{
       font-size:12.5px
       }
       }
  
  /* content styles */
  .content h2,h2, h3, h4, h5{
      color: var(--accent-color);
   }
   
   .content ul li{
      list-style-type: circle;
      margin-bottom: 5px;
   
   }
   .content li::marker{
      color: var(--accent-color);
   }
   .content li a{
     color:var(--header-color)
   }
   .content li a:hover{
     color:var(--accent-color)
   }
   
   /* popup  modal styles */
   .modal-content ul {
   
       padding-left: 5% !important;
   }
   
   .modal-content li {
       list-style-type: circle !important;
        font-size: 14px;
   
    }
  

  /* hostel styles */
  
  .content .naac-photos {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
      gap: 10px; /* Adjust the gap between images */
   }
   
   
   .content .recent-photos {
      overflow: hidden; /* Ensure images fit within the container */
   
      box-shadow: 0 0 15px -5px  rgb(178, 178, 178);
   
   }
   
   
   .content .recent-photos img {
      object-fit: cover;
      object-position: center;
      width: 100%;
      aspect-ratio: 16/9;
      display: block;
      border-radius: 3px;
   
   }
   
   
   @media (max-width: 1200px) {
    .content .naac-photos {
          grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
      }
   }
   
   @media (max-width: 768px) {
      .content .naac-photos {
          grid-template-columns: 1fr; /* 1 column for smaller screens */
      }
   }
   
   @media (max-width: 576px) {
      .content .naac-photos {
          gap: 5px; /* Reduce gap for smaller screens */
      }
   }

  
   /* Labarotories Styles */
   
  @import url(https://fonts.googleapis.com/css?family=Raleway:400,800);

  .gallery {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center; /* Center items */
    gap: 2px; /* Space between items */
  }

  figure.snip1184 {
    font-family: 'Raleway', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    margin: 5px;
    min-width: 220px; /* Minimum width of each figure */
    max-width: 310px; /* Maximum width of each figure */
    width: calc(33.33% - 20px); /* Default to three items per row */
    background: #000000;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 0 10px  rgba(0, 0, 0, 0.40);
    /* box-shadow: 0 0 15px rgba(230, 229, 229, 0.4); */
    border-radius: 7px;
    object-position: center;
    object-fit: cover;
  }

  figure.snip1184:hover {

    box-shadow: 0 0 15px  var(--accent-color);

  }


  figure.snip1184 * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }

  figure.snip1184 img {
    max-width: 100%;
    height: 100%;
    position: relative;
    opacity: 1; /* Set default opacity to 1 */
    vertical-align: top;
  }

  figure.snip1184 figcaption {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

  figure.snip1184 h2 {
    position: absolute;
    left: 40px;
    right: 40px;
    display: inline-block;
    background: #000000;
    -webkit-transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
    transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
    padding: 12px 35px;
    margin: 0;
    top: -50%;
    text-transform: uppercase;
    font-weight: 400;
    border-radius: 5px;
  }



  figure.snip1184:before {
    height: 100%;
    width: 100%;
    top: 100%;
    left: 0;
    content: '';
    background: #000000;
    /* background: #fff; */
    position: absolute;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: skew(-10deg) rotate(-10deg) translateY(-50%);
    transform: skew(-10deg) rotate(-10deg) translateY(-50%);
  }

  figure.snip1184.red {
    background: #6c231c;
  }

  figure.snip1184.red h2 {
    background: #4b1c17;
    color: white;
    font-size: 18px;
  }



  /* Hover effects for individual figures */
  figure.snip1184:hover img {
    opacity: 0.4; /* Fade out on hover for the specific image */
    -webkit-transform: scale(0.9); /* Scale down on hover for the specific image */
    transform: scale(1.2); /* Scale down on hover for the specific image */
  }

  figure.snip1184:hover h2 {
    top: 50%; /* Move h2 up on hover for the specific figure */
  }

  figure.snip1184:hover:before,
  figure.snip1184.hover:before  {
    -webkit-transform: skew(-10deg) rotate(-10deg) translateY(-50%);
    transform: skew(-10deg) rotate(-10deg) translateY(-50%);
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    figure.snip1184 {
      width: calc(50% - 20px); /* Two items per row on medium screens */
    }
  }

  @media (max-width: 480px) {
    figure.snip1184 {
      width: 100%; /* One item per row on small screens */
    }
  }

