 * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        background-color: #013a33;
        color: white;
        font-size: 100%;
        transition: font-size 0.3s ease;
      }

      body.inverted {
        filter: invert(1) hue-rotate(180deg);
      }

      body.inverted img,
      body.inverted svg {
        filter: invert(1) hue-rotate(180deg);
      }

     

      .navHead {
        background-color: #002a28;
        z-index: 200;
        position: relative;
      }

      .navHead2 .container-fluid {
        flex-wrap: nowrap;
      }

      #top-section {
        position: relative;
        z-index: 200;
      }

      #sticky-nav {
        z-index: 150;
        transition: all 0.3s ease;
        background-color:#013a33;
      }

      #sticky-nav.fixed {
        position: fixed;
        top: 0;
        width: 100%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      }

      /* Add spacer to prevent jumping */
      #sticky-nav-spacer {
        display: none;
      }

      #sticky-nav-spacer.active {
        display: block;
      }

      .nav-link {
        padding: 10px;
        transition: all 0.3s ease;
        color: white;
      }

      .nav-link:hover {
        background-color: #006a58;
        color: white;
        transform: scale(1.05);
        text-decoration: none;
      }

      #navBar {
        background-color: rgba(0, 0, 0, 0.258);
        transition: background-color 0.3s ease;
      }

      #navBar.sticky {
        background-color: #004d44;
      }

      .navBtn {
        background-color: white;
      }
      .navBtn2 {
        background-color: black;
      }

      @media (max-width: 470px) {
        .NITlogo {
          height: 100px !important;
        }
      }

      a {
        text-decoration: none;
        color: inherit;
      }

      .navDrop:hover {
        color: rgb(255, 255, 255);
      }

      .secL {
        background-color: rgba(0, 0, 0, 0.258);
        box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.8);
      }
      .secL.sticky {
        background-color:#013a33;
      }

      .navBar1.sticky{
        background-color: #004d44;
      }

      .searchTab1 {
        display: none;
      }

      @media (max-width: 705px) {
        .searchTab2 {
          display: none;
        }
        .searchTab1 {
          display: flex;
        }
      }

      .dropDetail {
        padding: var(--bs-dropdown-item-padding-y)
          var(--bs-dropdown-item-padding-x);
      }

      .dropDetailBtn {
        border: none;
        background-color: white;
        width: 100%;
        text-align: left;
      }

      .dropDetailBtn:hover {
        background-color: #006a58;
        color: white;
        text-decoration: none;
      }

      .dropdown-item:hover {
        background-color: #006a58;
        color: white;
          text-decoration: none;
      }

      .dropdown-menu {
        z-index: 1030;
      }

      svg:hover {
        opacity: 0.8;
      }

      .searchTab {
        display: flex;
        gap: 10px;
        align-items: center;
      }

      .last {
        background-color: #002a28;
        color: white;
        padding: 20px 0;
      }

      .last a {
        color: #aaa;
        transition: color 0.3s;
      }

      .last a:hover {
        color: white;
      }

      .imgicon {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
      }

      .accessibility-controls {
        display: flex;
        gap: 5px;
        align-items: center;
      }

      .accessibility-btn {
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 4px;
        transition: all 0.3s;
        user-select: none;
      }

      .accessibility-btn:hover {
        background-color: #006a58;
        transform: scale(1.1);
      }

      .accessibility-btn.active {
        background-color: #27ae60;
        color: white;
        font-weight: bold;
      }

      .contactInfo .nav-item {
        position: relative;
      }

      .contactInfo .nav-link::after {
        content: attr(aria-label);
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #222;
        color: white;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 13px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
      }

      .contactInfo .nav-link:hover::after,
      .contactInfo .nav-link:focus::after {
        opacity: 1;
      }

      #sr-notification {
        position: fixed;
        top: 90px;
        right: 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 15px 25px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        z-index: 10000;
        font-size: 16px;
        max-width: 350px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
      }

      #sr-notification.show {
        opacity: 1;
      }

      .sr-reading {
        background-color: rgba(52, 152, 219, 0.3) !important;
        outline: 2px solid #3498db !important;
        outline-offset: 2px;
      }

      #clock {
        font-size: 14px;
        color: #aaa;
      }

      @media (max-width: 768px) {
        .mainBody h1 {
          font-size: 1.8rem;
        }

        #sr-notification {
          right: 10px;
          left: 10px;
          max-width: calc(100% - 20px);
        }
      }

      .offcanvas-body {
        background-color: rgb(255, 255, 255);
      }
      .offcanvas-header h5 {
        color: white;
      }

      .offcanvas-body .nav-link {
        color: black;
      }


/* end of header/navbar */

/* start of about-dept */

.newsNav {
 
  display: flex;
  flex-direction: column;
}

.notice {
  font-size: 1.5rem;
}

.notice .container-fluid {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #001D1B;
  height: 70vh;
}

@media (max-width: 768px) {
  .notice .container-fluid {
    display: flex;
    flex-direction: column;
  }

  .newsNav {
    display: flex;
    justify-content: left;
    flex-direction: row;
  }
}

.notice .col3 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
}

.col3 Button {
  background-color: rgb(1, 58, 51);
}

.notice .col9 {
  height: 100%;
  width: 100%;
  display: grid;
  overflow: auto;
}

.notice .paragraph {
  display: none;
  padding: 25px;

  font-size: 23px;
  font-family: Helvetica;
  font-weight: lighter;
  line-height: 24.15px;
  word-wrap: break-word;
  text-align: justify;
}

.notice .active {
  display: block;
}

.notice #text1,
#text2,

#text5 {
  cursor: pointer;
  color: white;
  font-weight: bold;
  background-color: #013A33;
  height: 12%;
  margin: 10px 10px 10px 15px;
  border-radius: 9px;
  outline: 3px #006A58 solid;
  display: flex;
  justify-content: left;
  align-items: center;
  font-family: Helvetica;
  word-wrap: break-word;
  font-size: 1rem;
}

@media (max-width: 768px) {

  .notice #text1,
  #text2,
 
  #text5{
    cursor: pointer;
    color: white;
    font-weight: bold;
    background-color: #013A33;
    height: 60px;
    margin: 10px 10px 10px 15px;
    border-radius: 9px;
    outline: 3px #006A58 solid;
    display: flex;
    justify-content: left;
    align-items: center;
    font-family: Helvetica;
    word-wrap: break-word;
    flex: 1 0 30%;
  }
}

.notice #contentDiv {
  background-color: #006A58;
  color: white;
  display: grid;
  border-radius: 9px;
  overflow: auto;
  margin: 10px 0px;
}

.me-auto {
  padding: 25px;
  text-align: justify;
}
.mySelector.active {
  background-color: #006A58 !important;
  border: 2px solid #00FFCC !important;
  outline: 3px #00FFCC solid !important;
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
}

.marquee-container {
            width: 100%;
            overflow: hidden;
            
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            padding: 20px 0;
            position: relative;
        }

        .marquee-container::before,
        .marquee-container::after {
            content: '';
            position: absolute;
            top: 0;
            width: 100px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .marquee-container::before {
            left: 0;
            background: linear-gradient(to right, rgba(255, 255, 255, 0.95), transparent);
        }

        .marquee-container::after {
            right: 0;
            background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
        }

        .marquee-track {
            display: flex;
            gap: 40px;
            animation: scroll-horizontal 30s linear infinite;
            width: fit-content;
        }

        .marquee-track:hover {
            animation-play-state: paused;
        }

        .marquee-track p {
            margin: 0;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .marquee-track a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 15px 30px;
            background:#013A33;
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
          
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .marquee-track a:hover {
            transform: translateY(-3px);
            
        }

        @keyframes scroll-horizontal {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .marquee-track a {
                padding: 12px 24px;
                font-size: 14px;
            }
        }



.marquee-track-placement {
  display: flex;
  gap: 100px;
  animation: scrollRight 20s linear infinite;
}

.marquee-track a:hover {
  color: black;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}


/*newsboard */
  .newsBoard {
            width: 100%;
            max-width:100%;
            height:100%;
            overflow: hidden;
            position: relative;
           
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            padding: 20px;
        }

        .board-header {
            text-align: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 3px solid #667eea;
        }

        .board-header h2 {
            margin: 0;
            color: #667eea;
            font-size: 24px;
            font-weight: 700;
        }

        .marquee-wrapper {
            height: 320px;
            overflow: hidden;
            position: relative;
            mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
        }
        
        .marquee-content {
            display: flex;
            flex-direction: column;
            animation: scroll-vertical 20s linear infinite;
        }
        
        .marquee-content:hover {
            animation-play-state: paused;
        }
        
        .marquee-item {
            padding: 20px;
            margin-bottom: 12px;
            background:#013A33;
            color: white;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            min-height: 60px;
            display: flex;
            align-items: center;
        }

        .marquee-item:hover {
            transform: translateX(5px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        }

        .item-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 20px;
            flex-shrink: 0;
        }

        .item-content {
            flex: 1;
        }

        .item-title {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 4px;
        }

        .item-description {
            font-size: 13px;
            opacity: 0.9;
        }
        
        @keyframes scroll-vertical {
            0% {
                transform: translateY(0);
            }
            100% {
                transform: translateY(-50%);
            }
        }

      /*----------------- */

      .navHover:hover{
        background-color: #00FFCC;
      }

.circle-arrow-list {
  list-style: none;
}

.circle-arrow-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 10px;
  padding-top: 5px;
}

.circle-arrow-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  content: '\27A3';
  color: #ffffff;
}

.ntn {
  color: rgb(0, 0, 0);
}

.aboutNIT {
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgb(1, 42, 37)), url('./photo/mainnit.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  padding-left: 20px;
  border-radius: 30px;
  font-weight: 300;
  position: relative;
}
.aboutus{
  position: absolute;
  overflow-y: scroll;
  height: 50%;
}
.secBD3 {
  margin-right: 0;
  margin-left: 20px;
}

.vm {
  display: flex;
  flex-direction: column;
  height: 80vh;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 992px) {
  .vm {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 50vh;
  }
}

@media (max-width: 768px) {
  .vm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 64vh;
  }

  .aboutNIT {
    height: 60vh;
  }

  .v,
  .m {
    font-size: x-large;
  }
}

@media (max-width: 400px) {
  .aboutNIT {
    height: 40vh;
    font-size: smaller;
  }
}

.flex-lg-row-reverse {
  flex-direction: column-reverse;
}

.v,
.m {
  background-color: #ffffff;
  color: #002A28;
  text-align: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 10px;
}

.half {
  flex: 1;
  border: 1px solid #333;
  background-color: #00312E;
  color: white;
  border-radius: 20px;
  overflow: auto;
}

.half p {
  padding: 20px;
}



      /*----------------- */

    
    .table{
      color: white;
      background-color: #002a28;
      width: auto;
      /* margin-left: 20px; */
      padding: 15px 15px 15px 20px;
      overflow-x: auto;
    }
    tr,td{
      border: 1px solid ;
      padding: 5px;
    }
    table{
      border-spacing: 20;
    }
    
   

    .right-side{
      margin-top: 30px;
    }

    
    .block1{
      list-style-type: none;
      font-size: 20px;
      text-align: justify;
    }
    /* for hod */
    .hod{
      background-color: #01473f;
      height: 80vh;
      margin: 30px;
      padding: 20px;
      text-align: justify;
      position: relative;
    }
    .hod-mess{
    position: absolute;
    overflow-y: auto;
    height: 50%;
   }
    .hod .hodphoto{
      width: 30%;
      height: 150px;
      
    }
    .hod:hover{
      border: 5px solid transparent;
      position: z-index;
    }


    /* for gallery */
    /* ==================== GALLERY RESPONSIVE UPDATES ==================== */
/* Replace your existing .rating section CSS with this updated version */

.rating {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #004d44;
    border-radius: 20px;
}

.rating .rating-top {
    background-color: #315335;
    width: 100%;
    padding: 20px;
    color: #fff;
    font-family: "Kumbh Sans";
    font-size: 2.5rem;
    font-weight: 900px;
    text-align: center;
}

.rating span {
    width: 100%;
    height: 1px;
    border: 1px solid rgba(163, 161, 161, 0.2);
}

.rating .rating-wrapper-container {
    min-height: 200px;
    width: 100%;
    margin: 40px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rating-wrapper-container::-webkit-scrollbar {
    display: none;
}

.rating-wrapper-container .prev-btn, 
.rating-wrapper-container .next-btn {
    border: none;
    width: 50px;
    height: 50px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #315335;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(49, 83, 53, 0.5);
}

.rating-wrapper-container .prev-btn {
    left: 5%;
    transform: rotate(180deg);
}

.rating-wrapper-container .next-btn {
    right: 5%;
}

.rating-wrapper-container .prev-btn:hover, 
.rating-wrapper-container .next-btn:hover {
    background: #27ae60;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
    transform: scale(1.1);
}

.rating-wrapper-container .prev-btn:hover {
    transform: rotate(180deg) scale(1.1);
}

.rating-wrapper-container .next-btn:hover {
    transform: scale(1.1);
}

.prev-btn img, .next-btn img {
    width: 30px;
    height: 30px;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: invert(1);
}

.rating-wrapper-container .prev-btn:hover img,
.rating-wrapper-container .next-btn:hover img {
    opacity: 1;
    transform: scale(1.2);
}

.rating-wrapper-container .rating-carousel {
    width: 80%;
    height: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.rating-carousel .rating-slider {
    height: fit-content;
    width: auto;
    display: flex;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.rating-slider .rating-wrapper {
    margin: 0 10px;
    flex-shrink: 0;
    width: 280px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    background-color: #e5f5dcbb;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 30px;
    padding: 30px;
    scale: 0.75;
    transition: all 0.4s ease;
}

.rating-wrapper.focused {
    animation: zoom 0.65s forwards;
}

.rating-wrapper.focused .rating-profile p {
    color: #fff;
}

.rating-wrapper.focused p {
    color: #fff;
}

@keyframes zoom {
    0% {
        transform: scale(0.75);
    }
    100% {
        background-color: #315335;
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(49, 83, 53, 0.6);
    }
}

.rating-wrapper .rating-profile {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.rating-profile img {
    width: 50px;
    height: 50px;
    border: 1px solid #fff;
    background-color: #fff;
    border-radius: 50%;
    padding: 3px;
}

.rating-wrapper .rating-profile p {
    padding-left: 10px;
    color: #000;
    font-size: 1.5rem;
    font-family: "Kumbh Sans", sans-serif;
    font-weight: bold;
}

.rating-wrapper p {
    color: #000;
    font-family: "Kumbh Sans", sans-serif;
    font-size: 1.2rem;
    text-align: justify;
}

.rating-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

/* Mobile Responsive - Show only 1 card */
@media (max-width: 768px) {
    .rating .rating-top {
        font-size: 2rem;
        padding: 15px;
    }
    
    .rating-wrapper-container {
        margin: 30px 10px;
    }
    
    .rating-wrapper-container .prev-btn,
    .rating-wrapper-container .next-btn {
        width: 40px;
        height: 40px;
    }
    
    .rating-wrapper-container .prev-btn {
        left: 2%;
    }
    
    .rating-wrapper-container .next-btn {
        right: 2%;
    }
    
    .prev-btn img, .next-btn img {
        width: 24px;
        height: 24px;
    }
    
    .rating-wrapper-container .rating-carousel {
        width: 90%;
    }
    
    .rating-slider .rating-wrapper {
        width: 260px;
        min-height: 300px;
        padding: 20px;
        margin: 0 5px;
    }
    
    .rating-wrapper .rating-profile p {
        font-size: 1.3rem;
    }
    
    .rating-wrapper p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rating .rating-top {
        font-size: 1.5rem;
    }
    
    .rating-wrapper-container .prev-btn,
    .rating-wrapper-container .next-btn {
        width: 35px;
        height: 35px;
    }
    
    .rating-slider .rating-wrapper {
        width: 240px;
        min-height: 280px;
        padding: 15px;
    }
    
    .rating-wrapper .rating-profile p {
        font-size: 1.2rem;
    }
    
    .rating-wrapper p {
        font-size: 0.95rem;
    }
}