filter-group@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

body {
    margin: 0;
    font-family: 'Merriweather', serif !important;
    /* transition: background 0.3s, color 0.3s; */
    /*font-size: 18px;*/
    line-height: 1.7;
    font-weight: 500;
    overflow-x: hidden !important;
    word-break: break-word;
    word-wrap: break-word;

}

/* header */


.top-header {
    width: 100%;
    height: 45px;
    background: linear-gradient(280deg, #8d0524, #10205a);
    /* background: #8d0524; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    font-size: 14px;
}
/* responsive */
@media (max-width: 576px) {
.navbar-brand img{
    width: 100%;
    height: auto;
}}
@media (max-width: 500px) {
    .counter-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.left-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
@media (max-width: 576px) {
    body {
        font-size: 13px;
    }
}

.dropdown {
    position: relative;
}

.left-item {
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dark-mode .top-header {
    background: #000;
}
.dark-mode h6{
    color:black;
}


/* NAV LINKS BASE */
.navbar-nav .nav-link {
  position: relative;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* underline */
/*.navbar-nav .nav-link::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  left: 0;*/
/*  bottom: -6px;*/
/*  width: 0;*/
/*  height: 2px;*/
/*  background: #900026;*/
/*  transition: width 0.4s ease;*/
/*}*/

/* active + hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #900026;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* optional glow */
.navbar-nav .nav-link.active {
  text-shadow: 0 0 8px rgba(144,0,38,0.25);
}
.main-header {
  position: relative;   /* Ã°Å¸â€˜Ë† normal state */
  width: 100%;
  transition: all 0.35s ease;
}

/* scroll ke baad */
.main-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  animation: slideDown 0.35s ease;
}

/* navbar compact feel */
.main-header.fixed .navbar {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* slide animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}



.acc-btn {
    background: #ffffff00;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 1px 5px;
    font-weight: bold;
    cursor: pointer;
}

.theme-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid white;
    background: black;
    cursor: pointer;
}

.dark-mode .theme-btn {
    background: white;
    border-color: black;
}

.dark-mode {
    background: #111 !important;
    color: white !important;
}

/* hero section css start */
.banner-section {
    position: relative;
    padding: 50px 0;
    background: #f9fafc;
    overflow: hidden;
}

/* background pattern */
.banner-section::before {
    content: "";
    position: absolute;
    inset: 0;

    /* MULTIPLE BACKGROUNDS */
    background-image:
        repeating-radial-gradient(circle at 10% 20%,
            rgba(0, 0, 0, 0.03) 0px,
            rgba(0, 0, 0, 0.03) 1px,
            transparent 1px,
            transparent 30px),
        url("http://103.154.2.117/~iiitmgwalior/alumni/public/uploads/media_uploads/1771587333_Background-texture.png");
    /* your image */

    background-size:
        30px 30px,
        cover;

    background-position:
        center,
        center;

    background-repeat:
        repeat,
        no-repeat;

    opacity: 0.6;
    z-index: 0;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
}

.banner-title span {
    color: #900026;
}

.banner-text {
    margin: 20px 0;
    max-width: 480px;
    color: #555;
}

.banner-image {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.banner-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Swiper dots */
.swiper-pagination-bullet {
    background: #900026 !important;
    opacity: 0.3;
}
.navbar-light .navbar-nav .nav-link
 {
    color: rgb(25 25 25);
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

/* hero section css end */

/* video section start */
       .video-section {
  text-align: center;
}

.youtube-title {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 25px;
}

/* card */
.video-card {
  /* max-width: 900px; */
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.video-wrapper {
  position: relative;
  padding-top: 42%;   /* Ã°Å¸â€˜Ë† pehle 56.25% tha */
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

/* dark overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.55)
  );
  z-index: 1;
}

/* iframe */
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 3;
}

/* play button */
.play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn span {
  width: 80px;
  height: 80px;
  background: #900026;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(144,0,38,0.6);
  animation: pulse 2s infinite;
}

.play-btn span::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 24px;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #fff;
}

/* playing state */
.video-wrapper.playing .play-btn,
.video-wrapper.playing .video-overlay {
  display: none;
}

.video-wrapper.playing iframe {
  display: block;
}

/* animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(144,0,38,0.7);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(144,0,38,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(144,0,38,0);
  }
}

/* responsive */
@media (max-width: 768px) {
  .youtube-title {
    font-size: 20px;
  }

  .play-btn span {
    width: 60px;
    height: 60px;
  }

  .play-btn span::after {
    left: 23px;
    top: 17px;
    border-width: 12px 0 12px 20px;
  }
}
/* video section end */

/* about section start */
.title h2 {
    color: #000f68;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
    text-align: left;
    margin-bottom: 20px;
}

.title h2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 55px;
    background-color: #8d0524;
    z-index: 9;
}

.about-content p {
    text-align: justify;
}

.about-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img {
    width: 100%;
}

/* about section end */

/* Counter section start */
.counter-section {
  background: linear-gradient(rgba(50, 20, 20, 0.65), rgba(50, 20, 20, 0.65)), 
                url("http://103.154.2.117/~iiitmgwalior/alumni/public/uploads/media_uploads/1771589386_bg-img.jpg") no-repeat center center;
    background-size: cover;
    padding: 35px 0;
    color: #fff;
    text-align: center;
}

.counter-section h1 {
    margin-bottom: 35px;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 90%;
    margin: auto;
}

.counter-box {
    text-align: center;
    background: #8d052580;
    padding-top: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

/* Counter section close */

/* Alumni Updates start */
.aluni-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-bottom: 3px solid #880C24; */
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.post {
    background-color: #8d0525;
    color: white !important;
    padding: 10px 20px;
    border: none;
    /* font-size: 18px; */
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.aluni-div {
    padding: 10px;
    text-align: center;
    /* border: 1px solid #8d0525; */
}

/* .aluni-div:hover{
    background-color: #900026;
    border: 1px solid blue;
    border-radius: 20px;
    color: white;
} */
/* Blurred Background */
.bg-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/alumnni_1.jpg') center/cover no-repeat;
    filter: blur(25px);
    transform: scale(1.2);
    /* zoom effect */
    z-index: -1;
}

/* Main Image */
.main-image {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.date {
    color: #3b3b3b;
    font-size: 13px;
}

.alumni-content a {
    text-decoration: none;
    color: #8d0525;
}

.alumni-content a:hover {
    text-decoration: underline;
    color: #8d0525;
}
/* Alumni Updates end */
/* events Updates start */
.events {
    border: 1px solid rgb(194, 194, 194);
    /* border-radius: 10px; */
    text-align: left;
}

.events:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: #8d05251c;
}

.events img {
    width: 100%;
    /* border-radius: 10px; */
}

.event-box {
    display: inline-block;
    color: white;
    background-color: #000f68;
    font-size: 14px;
    padding: 3px 9px;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 30px;
}

span {
    display: block;
}

.events h6 {
    font-size: 18px;
    font-weight: 700;
}

.events-slider {
    position: relative;
}

.events-window {
    overflow: hidden;
}

.events-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.event-slide {
    min-width: 33.333%;
    padding: 0 12px;
}

/* card */
.aluni-div.events {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.aluni-div.events:hover {
    transform: translateY(-6px);
}

.aluni-div.events img {
    width: 100%;
    object-fit: cover;
}

.alumni-content {
    padding: 12px 14px;
}

.event-box {
    background: #900026;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
}

.date {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

/* dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots span.active {
    background: #900026;
    transform: scale(1.3);
}

/* responsive */
@media (max-width: 991px) {
    .event-slide {
        min-width: 50%;
    }
}

@media (max-width: 575px) {
    .event-slide {
        min-width: 100%;
    }
}

/* events Updates end */

/* About HOD start */
.hod-img {
    display: flex;
    justify-content: center;
}

.hod-sec img {
    height: 316px;
    border: 1px solid #8d0525;
    /* width: 100%; */
}

/* About HOD end */

/* contact section start */
.contact-headings {
    /*max-width: 1100px;*/
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
}

.contact-headings h2 {
    font-size: 26px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    opacity: 0;
    color: #10205a;
    transform: translateY(20px);
    transition: 0.8s ease;
}

.contact-headings h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background: #8d0525;
}

.contact-headings.show h2,
.contact-headings.show h3 {
    opacity: 1;
    transform: translateY(0);
}

/* ============ GRID ============ */
.contact-container {
    /*max-width: 1100px;*/
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
}

/* ============ FORM ============ */
.contact-form {
    background: #fff;
    border-radius: 14px;
    padding: 40px 36px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.9s ease;
}

.contact-form.show {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 26px;
}

label {
    font-size: 18px;
    color: #363636;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.hod-sec a {
    color: #8d0525;
}

.events-slider a {
    /* background-color: #10205a; */
    margin-top: 20px;
    color: #10205a;
    font-weight: 700;
    /* padding: 6px 20px ; */
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid #d6dbe6;
    font-size: 14px;
    background: transparent;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #1a4fa3;
}

.phone-row {
    display: flex;
    gap: 12px;
}

.phone-row select {
    width: 120px;
}

.phone-row input {
    flex: 1;
}

textarea {
    height: 95px;
    resize: none;
}

/* ============ CONTACT INFO ============ */
.contact-info {
    background: linear-gradient(145deg, #10205a, #10205a, #3f7ad9);
    color: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(40px);
    transition: 0.9s ease;
    /* border: 1px solid #10205a; */
}

.contact-info.show {
    opacity: 1;
    transform: translateX(0);
}

/* MAP */
.contact-map iframe {
    width: 100%;
    height: 220px;
    border: none;
}

/* DETAILS */
.contact-details {
    padding: 28px 32px 10px;
    line-height: 1.8;
    font-size: 14px;
}

.contact-details p {
    margin-bottom: 18px;
}

/* SOCIAL ICONS */
.contact-social {
    display: flex;
    gap: 14px;
    padding: 0 32px 28px;
}

.contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: 0.4s;
    animation: pulse 2.5s infinite;
}

.contact-social a:hover {
    background: #fff;
    color: #1a4fa3;
    transform: translateY(-4px) scale(1.05);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {

    .contact-container,
    .contact-headings {
        grid-template-columns: 1fr;
    }

    .contact-headings h3 {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .phone-row {
        flex-direction: column;
    }

    .phone-row select {
        width: 100%;
    }
}

/* ===== SUBMIT BUTTON ===== */
.form-submit {
    margin-top: 34px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 34px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #8d0525, #8d0525);
    color: #fff;
       font-size: 17px;
    font-weight: 600;

    cursor: pointer;
    box-shadow: 0 10px 25px rgba(26, 79, 163, 0.35);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn i {
    font-size: 14px;
    transition: transform 0.4s ease;
}

/* Hover */
.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(26, 79, 163, 0.45);
}

.contact-submit-btn:hover i {
    transform: translateX(4px);
}

/* Click ripple */
.contact-submit-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-submit-btn:active::after {
    opacity: 1;
}

/* Mobile */
@media (max-width: 576px) {
    .contact-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* contact section end */
/*distinguished-sec start*/
.distinguished-div{
    padding:10px;
}
.distinguished-div:hover{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.distinguished-div img{
    width:100%;
}
.distinguished-div h6{
    font-weight: 700;
}
.distinguished-div a {
    text-decoration: none;
    color: #8d0525;
}
.distinguished-div p{
    
}
.distinguished-div a:hover{
    text-decoration: underline;
    color: #001069;
}
/* footer section start */
footer {
        background: linear-gradient(167deg, #8d0524, #10205a);;
    /* color: white; */
    padding: 20px 0px;
    text-align: center;
    /* text-transform: uppercase; */
    font-size: 16px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration:underline;
}
#scroll-top.active {
    opacity: 1;
    pointer-events: auto;
}
#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #880C24;
    color: white;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s 
ease, transform 0.3s 
ease, opacity 0.3s 
ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}
.dark-mode h6{
    color: white !important;
}

@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .iit-text {
    position: absolute;
    left: 10% !important;
    /* icon ke baad start */
    top: 26px;

    font-size: 18px;
    font-weight: 600;
    color: black;
    line-height: 42px;
    white-space: nowrap;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
    .title h2 {
    font-size: 20px !important;}
    .contact-headings h2 {
    font-size: 20px !important;}
    label {
    font-size: 15px;}
    .banner-title{
        font-size:25px !important;
    }
    .btn-outline-dark{
        margin-bottom:30px;
        
    }
    .navbar-nav .nav-link.active::after {
        width: 25%;
    }
    
}
@media (max-width: 600px) {
    .counter-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* footer section end */



.iit-fixed-icon {
    width: 70px !important;
    height: auto !important;
    padding-top: 5px;
    /* height: 18px; */
    margin-right: 8px;
    flex-shrink: 0;
}

.iit-header-text {
    height: 42px;
    overflow: hidden;
    display: flex;
}


/* Container */
.iit-text-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.iit-text span {
    display: block;
    line-height: 15px;
    color: #001660;
    font-size: 15px;
    /*text-align:center;*/
}

/* FIXED icon */
.iit-fixed-icon {
    width: 70px !important;
    height: auto !important;
    padding-top: 5px;
    /*height: 18px;*/
    margin-right: 8px;
    flex-shrink: 0;
}
.iit-text.active {
    opacity: 1;
    transform: translateY(0);
}
/* Text lines */
.iit-text {
    position: absolute;
    left: 6% !important;
    /* icon ke baad start */
    top: 26px;

    font-size: 18px;
    font-weight: 600;
    color: black;
    line-height: 42px;
    white-space: nowrap;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible text */
.iit-text.active {
    opacity: 1;
    transform: translateY(0);
}
.iit-text span{
    font-size: 12px;
}

@media (max-width: 375px) {
    .iit-text {
        position: absolute;
        left: 20% !important;
        top: 4px;
        /* font-size: 18px; */
    }

@media (max-width: 576px) {
    .navbar-brand img {
        width: 100%;
        height: auto;
    }
    .iit-fixed-icon {
    width: 50px !important;
    height: auto !important;}
    

}
}
@media (max-width: 768px) {
    .iit-text {
        /*display: none;*/
    position: absolute;
    /* left: 11% ; */
    top: 26px;
    }
}

@media (max-width: 425px) {
   .iit-text {
    position: absolute;
    /* left: 20% ; */
    top: 26px;}
}

/* *************All Alumni************ */
.bread_crumbs {
    background: #920025;
    color: white;
    padding: 10px;
}
.bread_crumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    padding-left: 0%;
}
.bread_crumbs a {
    color: white;
    text-decoration: none;
}
.bread_crumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color:  color-mix(in srgb, var(--default-color), transparent 70%);
}
.page__banner {
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    position: relative;
}
.page__bannerInner {
    display: table;
    width: 100%;
    position: relative;
    z-index: 99;
    height: 230px;
    z-index: 99;
}
.page__bannerContent h1 {
    font: 3rem / 1.3 "'Inter', sans-serif;";
    color: #fff;
    letter-spacing: 1.14px;
    text-transform: uppercase;
    margin: 0;
}
.page__bannerContent {
    display: table-cell;
    vertical-align: middle;
    padding: 20px;
}

.tab-content>.active {
    display: block;
}
.facultybox {
    position: relative;
}
.facultybox h2 {
    color: #000f68;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 20px;
}
.facultybox h2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 55px;
    background-color: #8d0524;
    z-index: 9;
}
.associate {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
    height: 100%;
    margin: 0 0 30px;
    position: relative;
    overflow: hidden;
}
.professors {
    position: relative;
    padding: 20px 20px 35px 0;
}
.professors:before {
    content: "";
    width: 97%;
    position: absolute;
    left: -14px;
    height: 1px;
    top: auto;
    background: #a1a1a1;
    bottom: -10px;
}
.associbox {
    position: relative;
    padding-left: 94px;
    /* height: 100%; */
}
.facultyImg {
    width: 80px;
    border-radius: 15px;
    border: 1px solid #707070;
    height: 80px;
    overflow: hidden;
    margin-right: 20px;
    float: left;
    position: absolute;
    left: 0;
    top: 0;
}
.facultyImg img {
    width: 100%;
    height: 100%;
}
.facultyDetail {
    text-align: left;
    height: 100%;
}
.facultyDetail h6 {
    margin: 0;
    color: #223260;
    /*font-size: 20px;*/
    margin-bottom: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.associbox .facultyDetail p {
    word-break: break-all;
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 1.5;
    text-align: justify;
}
.konwbtn {
    color: #8D2A3B;
    font-size: 0.875em;
    text-decoration: none;
    padding-left: 35px;
    position: absolute;
    top: auto;
    bottom: -38px;
    line-height: 20px;
}
.konwbtn:before {
    content: "➡";
    font-size: 20px;
    line-height: 1;
    font-family: 'FontAwesome';
    border: 1px solid #f00;
    color: #25325f;
    font-size: 11px;
    position: absolute;
    width: 28px;
    height: 28px;
    font-weight: 900;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    left: -1px;
    top: -4px;
    transition: all 0.4s;
}
.konwbtn:hover {
    color: #223260;
    padding-left: 40px;
}
.konwbtn:hover:before {
    left: 5px;
}
.professors:after {
    content: "";
    height: 92%;
    position: absolute;
    left: -28px;
    width: 1px;
    top: 7px;
    background: #a1a1a1;
}
.faculty-filter {
    position: sticky;
    padding-top: 30px;
    top: 80px;
    align-self: flex-start;
    height: fit-content;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    /* background: #fafafa; */
    background: #8d0525;
}
.faculty-filter h6 {
    color: white;
}
#searchName {
    width: 100%;
    font-size: 14px;
}
.faculty-filter input, .faculty-filter select {
    /* width: 100%; */
    padding: 10px;
    background-color: white;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.filter-group {
    margin-bottom: 15px;
}
.filter-group input {
    width: auto;
}
/*********** alumni detail*******/

.cse-drpmnt-faculty h1 {
    color: #8d0525;
        font-weight: 700;
}
.detial-fa i {
    font-size: 20px;
    color: #9a0020;
}
.faculties-deatils-main h2 {
    color: #000f68;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 20px;
}
.faculties-deatils-main h2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 55px;
    background-color: #8d0524;
    z-index: 9;
}
.faculties-deatils-main a {
    color: #8d0525;
}
.ResearchInterest h6 {
    font-size: 18px !important;
    color: #920026;
    margin-top: 25px;
    font-weight: 700;
}
.ResearchInterest li {
    font-size: 14px !important;
    list-style-type: circle;
}
.dean-detail .flex-column {
    flex-direction: column !important;
    background: #8d0525;
    border-radius: 10px;
}
.dean-detail .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #193256 !important;
    border-radius: 10px;
}
.dean-detail .nav-pills .nav-link {
    border-radius: 0;
    text-align: left;
}
.dean-detail .nav-link {
    color: #ffffff !important;
}
.cse-drpmnt-faculty p {
    margin-bottom: 0%;
}
.cse-drpmnt-faculty hr {
    margin: 8px 0px !important;
}
.faculties-deatils-main img {
     border: 1px solid #9a0020;
     height: 270px; 
    /*width: 100%;*/
}
.tab-content h4{
        font-weight: 600;
    color: #920026;
}
/*.alumni-profile-card {*/
/*    max-width: 700px;*/
/*    margin: auto;*/
/*    background: #fff;*/
/*    padding: 30px;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 8px 25px rgba(0,0,0,0.08);*/
/*}*/

/*.alumni-profile-card p {*/
/*    font-size: 14px;*/
/*    margin: 10px 0;*/
/*}*/

/*.alumni-profile-card hr {*/
/*    border: none;*/
/*    border-top: 1px solid #eee;*/
/*}*/

.alumni-view-more-btn {
    background: #8d0525;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px 0px;
    cursor: pointer;
    margin: 15px 0;
    font-size: 14px;
    transition: 0.3s ease;
}

.alumni-view-more-btn:hover {
    background: #002356
}

.alumni-hidden-details {
    display: none;
    margin-top: 10px;
}
                .filter-group {
    margin-bottom: 12px;
}

.filter-toggle {
    width: 100%;
    /*background: #0d3b66;*/
    /*color: #fff;*/
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-fac .arrow {
    transition: transform 0.3s ease;
}
.filter-fac input{
    width: auto;
}

.filter-fac .arrow.rotate {
    transform: rotate(180deg);
}

.filter-options {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9f9f9;
    /*border-radius: 6px;*/
    /*margin-top: 8px;*/
    padding: 0 10px;
}

.filter-options.active {
    max-height: 400px;
    padding: 10px;
}

.filter-options label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.faculty-filter {
    max-height: 400px;    
    overflow-y: auto;
    padding-right: 6px; 
}


.faculty-filter::-webkit-scrollbar {
    width: 4px;  
}

.faculty-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.faculty-filter::-webkit-scrollbar-thumb {
    background: red;
    border-radius: 10px;
}

.faculty-filter::-webkit-scrollbar-thumb:hover {
    background: darkred;
}


.faculty-filter {
    scrollbar-width: thin;
    scrollbar-color: #0c2255 #f1f1f1;
}
.alumni-events{
    border:1px solid grey;
    padding:10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.alum p:first-of-type {
    color: grey;
    font-size: 11px !important;
    margin-bottom: 10px !important;
}
.alum a{
   color: #7f001d;
    text-decoration: none;
}
.alum a:hover{
   color: #001067;
    text-decoration: underline;
}
.alum p:nth-of-type(3) span{
   background: #e5e4e4;
    display: inline-block;
    padding: 0px 5px;
    border-radius: 20px;
    color: grey;
    margin: 5px 0px 10px 0px;
}

.alumni-events img{
    /*height:150px;*/
        width: 100%;
    /*border-radius:10px;*/
}
.alumni-event-div{
    display: flex;
    justify-content: space-between;
}
.alumni-event-div a{
    color:#001067;
    font-weight:700!important;
    text-decoration: none;
}
.alumni-ev p{
    margin-bottom:0 !important;
    color:grey;
}
.alumni-events-div h5{
    font-weight:700 !important;
}
.alumni-events-div p{
    margin-bottom:0;
}
.past-event-alumni h5{
    font-weight:700 !important;
    margin: 10px 0;
}
.alumni-events-div{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 10px;
}
.alumni-events-div img{
    width:100%;
}
.alumni-categories{
    display:flex;
    justify-content: space-between;
}
.past-event-alumni{
    border:1px solid #ebebeb;
     border-radius: 10px;
}
.past-event-alumni p{
    margin-bottom:0;
    font-size:12px !important;
}
.past{
    color:#978f8f;
    display: inline;
}
 .event-image {
            width: 50%;
            margin-right: 20px;
        }

        /* Right side event details */
        .event-details {
            width: 45%;
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        /* Event title */
        .event-title {
            font-size: 32px;
            font-weight: bold;
            color: #333;
        }

        /* Event description */
        .event-description {
            font-size: 18px;
            margin: 20px 0;
            color: #555;
        }

        /* Event info */
        .event-info {
            margin-bottom: 20px;
        }

        .event-info span {
            display: block;
            margin: 5px 0;
            font-size: 16px;
            color: #777;
        }

        /* Read More Link */
        a.read-more {
            cursor: pointer;
            display: inline-block;
        }

        /* Popup Style */
        .popup {
            /*display: none;*/
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .popup-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 80%;
            max-width: 600px;
            text-align: center;
            position: relative; /* Position the close button inside */
            max-height: 400px;  /* Set a fixed height for the popup */
            overflow-y: auto;   /* Allow scrolling if the content exceeds the height */
        }

        /* Close Button inside the Popup */
        .close-btn {
            font-size: 30px;
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            color: #333;
            background: transparent;
            border: none;
        }

        .client-info img {
            width: 100PX;
            height: 100PX;
            border-radius: 8px;
        }
        

        .client-info h5 {
            font-size: 24px;
            margin-top: 15px;
        }

        .client-info p {
            font-size: 18px;
            color: #666;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .main-container {
                flex-direction: column;
                align-items: center;
            }

            .event-image {
                width: 80%;
                margin-bottom: 20px;
            }

            .event-details {
                width: 80%;
            }
        }
/***********Header*********/
        .translate-h {
            display: none !important;
        }

        header {
            align-items: center;
            padding: 0px 10px !important;
            background: #fff;
            position: relative;
        }

        .logo .scroll-header-logo {
            /*display: none !important;*/
            height: 115px;
        }

        .logo .mobile-header-logo {
            display: none !important;
        }

        .iit-fixed-icon {
            width: 70px !important;
            height: auto !important;
            padding-top: 5px;
            /* height: 18px; */
            margin-right: 8px;
            flex-shrink: 0;
        }

        /* Wrapper */
        .iit-header-text {
            height: 42px;
            overflow: hidden;
            display: flex;
        }

        .iit-text

        /* Container */
        .iit-text-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            height: 100%;
        }

        .iit-text span {
            display: block;
            line-height: 15px;
            color: #001660;
            font-size: 15px;
            /*text-align:center;*/
        }

        /* FIXED icon */
        .iit-fixed-icon {
            width: 60px !important;
            height: auto !important;
            padding-top: 5px;
            /*height: 18px;*/
            margin-right: 8px;
            flex-shrink: 0;
        }

        /* Text lines */
        .iit-text {
            position: absolute;
            /*left: 26px;          */
            /* icon ke baad start */
            top: 0;
            font-size: 18px;
            font-weight: 600;
            color: black;
            line-height: 42px;
            white-space: nowrap;
            /* opacity: 0; */
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .logo .scroll-header-logo {
            display: none !important;
            height: 115px;
        }
        .logo .mobile-header-logo {
            display: none !important;
        }
        .scrolled .header-logo {
            display: none !important;
        }
        /* Visible text */
        .iit-text.active {
            opacity: 1;
            transform: translateY(0);
        }
        .scrolled {
    position: fixed !important;
    top: 0 !important;
    width: 100%;
    background: #8d0524;
    color: #ffffff !important;
    z-index: 9999;
    padding-top: 10px;
}

.scrolled .scroll-header-logo {
    left: 40px;
}
.scrolled .scroll-header-logo {
    position: absolute;
    /* background: #000f65; */
    padding: 3px;
    bottom: -65px;
    /* border-radius: 50%; */
    display: block !important;
    left: 140px;
    /* border: 2px solid #000f66; */
}
.scrolled .navbar-light .navbar-nav .nav-link {
    color: white !important;
}

@media (max-width: 480px) {
    .scrolled {
        display: none !important;
        padding: 0 8px;
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .slider-img .banner img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }
}
.share{
    display:none;
}
.offcanvas-body img{
    height:100px;
}
.slider.round {
    border-radius: 34px;
    border: 2px solid #ffffff;
}

.iitm-footer {
    background: linear-gradient(167deg, #8d0524, #10205a);
    color: white;}
body {  font-family: 'Merriweather', serif !important;
    overflow-x: hidden;
}

input:checked+.slider:before {
    transform: translateX(22px);
}
.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    bottom: 0.5px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}
*, ::after, ::before {
    box-sizing: border-box;
}
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 22px;
}
.switch input {
    display: none;
}
.lang-btn {
    background: rgba(255, 255, 255, 0);
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
input:checked+.slider {
    background-color: #9a0020;
}
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}
@media (max-width: 768px) and (min-width: 425px) {
    
     .iit-text {
    position: absolute;
    left: 12% !important;
    /* icon ke baad start */
    /*top: 26px;*/
         
     }

}
.image-w img{
    width:100%;
}
@media (max-width: 425px) and (min-width: 375px) {
    .iit-text {
    position: absolute;
    left: 17% !important;}}
/************** header end*********/

.dark-mode .title h2 {color:white !important;}   
.dark-mode .date{color:white !important;} 
.dark-mode  .alumni-content a{color:white !important; text-decoration: underline;}
.dark-mode .aluni-div.events {background: #000000;}
.dark-mode .banner-section p{color:black !important;}
.dark-mode .date{color:white !important;} 
.dark-mode  .contact-headings h2 {color:white !important;} 
.dark-mode .hod-sec a {color:white !important; text-decoration: underline;}
.dark-mode .distinguished-div a{color:white !important; text-decoration: underline;} 
.dark-mode  .facultybox h2{color:white !important;}
.dark-mode .konwbtn {color:white !important;}
.dark-mode .konwbtn:before{color:white !important;}
.dark-mode .cse-drpmnt-faculty h1{color:white !important;}
.dark-mode .alumni-event-div a {color:white !important;}
.dark-mode .alum p:first-of-type {color:white !important;}
.dark-mode .alumni-ev p{color:white !important;}
.dark-mode .alum p:nth-of-type(3) span{color:black !important;}
.dark-mode .alum a{color:white !important;}
.dark-mode .alum a:hover {color:white !important; text-decoration: underline;}
.dark-mode .popup-content {background: #000000;}
.dark-mode .client-info p {color:white !important;}


