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

/* ABOVE THE NAVBAR START */
.above {
    display: flex;
    margin: 1% 6%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.above-img img {
    max-width: 6.25rem;
    height: auto;
}

.above-text {
    padding: 0.5rem 3rem;
    text-transform: uppercase;
    color: rgb(39, 66, 107);
    text-align: center;
}

.above-img-2 img {
    width: 6.25rem;
}

.above-text h3 {
    font-size: 2.4rem;
    font-weight: 400;
}

.above-text p a {
    text-align: center;
    text-decoration: none;
    color: rgb(39, 66, 107);
}

.above-text p a:hover {
    color: rgb(11, 137, 239);
}

/* Media Queries for responsiveness */
@media screen and (max-width: 990px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        text-align: center;
        width: 100%;
    }

    .dropdown-menu {
        width: 100%;
    }

    .above {
        gap: 1rem;
        flex-direction: column;
    }

    .above-img {
        order: 1;
    }

    .above-text {
        order: 2;
        padding: 0.5rem 1rem;
        width: 100%;
    }

    .above-img-2 {
        order: 3;
    }

    .above-img img,
    .above-img-2 img {
        width: 5rem;
        height: 5rem;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .above {
        margin: 2% 5%;
    }

    .above-text {
        padding: 0.5rem 1rem;
    }

    .above-text h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .above-text h3 {
        font-size: 1.6rem;
    }

    .above-text p {
        font-size: 0.9rem;
    }
}


@media (max-width: 280px) {
    .above-text h3 {
        font-size: 1.2rem;
    }

    .above-text p {
        font-size: 0.8rem;
    }

    .above-img img,
    .above-img-2 img {
        width: 4rem;
        height: 4rem;
    }
}

/* ABOVE THE NAVBAR END */



/* NAVBAR START */

.nav {
    border-radius: 15px;
    padding: 10px;
    border-bottom: 1px solid black;
    margin: 1% auto;
    /* Center the navbar horizontally */
    width: fit-content;
    /* Adjust the width according to the content */
}

.container-fluid {
    display: flex;
    justify-content: center;
    /* Center the navbar content */
}

.navbar-collapse {
    justify-content: center;
    /* Center the items within the navbar */
}

.nav-item .nav-link {
    color: black;
}

.mega-dropdown .dropdown-menu {
    width: max-content;
    padding: 20px;
    background-color: #fff;
    border: none;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.mega-dropdown-menu .row {
    margin: 0;
}

.padding-class {
    padding: 20px 15px;
}

.row .first-nav-1,
.first-nav-2,
.first-nav-3 {
    margin: 0 1.5rem;
}

.first-nav-1 h6,
.first-nav-2 h6 {
    width: max-content;
}

.student .dropdown-header {
    width: max-content;
}

.mega-dropdown-menu .dropdown-header {
    font-size: 1rem;
    color: #fff;
    background: #D1A640;
    /* background: #71482a; */
    padding-left: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #0056b3;
    text-decoration: none;
    transform: scale(1.02);
}

.navbar-light .navbar-nav .dropdown-menu .dropdown-item {
    color: #000;
}

.navbar-light .navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-light .navbar-nav .dropdown-menu .dropdown-item:focus {
    color: red;
    background-color: #fff;
    text-decoration: none;
    transform: scale(1.02);
}

.navbar-nav>li>.dropdown-menu {
    margin-top: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .mega-dropdown .dropdown-menu {
        width: 100vw;
        padding: 10px;
    }

    .padding-class {
        padding: 10px;
    }

    .mega-dropdown-menu .row {
        flex-direction: column;
    }

    .mega-dropdown-menu .col-md-3 {
        width: 100%;
    }

    .mega-dropdown-menu .dropdown-header {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .mega-dropdown .dropdown-menu {
        padding: 5px;
    }

    .padding-class {
        padding: 5px;
    }

    .mega-dropdown-menu .dropdown-header {
        font-size: 1rem;
    }
}

@media screen and (max-width: 280px) {
    .nav {
        padding: 5px;
    }

    .nav-item .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }

    .mega-dropdown .dropdown-menu {
        padding: 5px;
    }

    .mega-dropdown-menu .dropdown-header {
        font-size: 0.9rem;
        padding: 5px;
    }
}

/* NAVBAR END */










/* CAROUSEL IMG START  */
.carousel {
    width: 40%;
    height: 60vh;
}

.carousel-item {
    transition: transform .6s ease-in-out;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    height: 60vh;
    padding: 1rem;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f0f0f0;
    display: block;
    margin: 0 auto;
    padding: 0.1rem;
    border-radius: 10px;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
}

#carouselExampleAutoplaying {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 0.2rem;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* Loading animation */
.carousel-item.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .carousel {
        width: 90%;
        height: 40vh;
    }

    .carousel-item {
        height: 40vh;
    }

    .carousel-item img {
        height: 40vh;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 35vh;
    }

    .carousel-item,
    .carousel-item img {
        height: 35vh;
    }
}

@media screen and (max-width: 280px) {
    .carousel {
        width: 100%;
        height: 25vh;
    }

    .carousel-item {
        height: 25vh;
        padding: 0.5rem;
    }

    .carousel-item img {
        height: 25vh;
        padding: 0.75rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }
}

h1 {
    font-family: 'Times New Roman', Times, serif;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 2% 6%;  /* Reduced from 3% 6% */
    gap: 1rem;      /* Reduced from 2rem */
}

.overflow-auto {
    width: 30%;
    height: 60vh;
    padding: 0.5rem;  /* Reduced from 1rem if it exists */
    background-color: #ffffff;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.625rem rgba(7, 1, 1, 0.249);
}

.tftl-heading {
    text-align: center;
    padding-top: 0.938rem;
}

.tftl-para {
    padding: 0 1.25rem;
    font-size: 1rem;
    word-spacing: 0.125rem;
    text-align: justify;
}


.overflow-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0.5rem;
}

.overflow-auto::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.overflow-auto::-webkit-scrollbar {
    width: 0.25rem;
    margin: auto 0.313rem;
}






.containers {
    width: 30%;
    height: 60vh;
    margin: 0;
    padding: 0.5rem;  /* Reduced from 1rem */
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.625rem rgba(7, 1, 1, 0.249);
}

.section h1 {
    margin: 0;
    color: #000;
    padding: 0.625rem;
    text-align: center;
    font-size: 1.5rem;
    background-color: #89e7e735;
    border-radius: 0.5rem;
}

.item {
    padding: 0.625rem;
    border-bottom: 0.063rem solid #ddd;
    background: white;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
}

/* Add these styles for the news & events section links */
.content-list .item a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
    /* Smooth transition for color change */
}

.content-list .item a:hover {
    color: #1400ff;
    text-decoration: underline;
    /* Change this color to match your preferred hover color */
}


.scroll-container {
    height: calc(60vh - 4rem);
    overflow: hidden;
    position: relative;
}

/* Updated Media Queries for better responsiveness */
@media (max-width: 80rem) {

    /* 1280px */
    .overflow-auto {
        width: 30%;
    }
}

@media (max-width: 71.875rem) {

    /* 1150px */
    .hero {
        margin: 3% 4%;
        gap: 1rem;
    }

    .overflow-auto,
    .carousel,
    .containers {
        height: 50vh;
    }

    .scroll-container {
        height: calc(50vh - 4rem);
    }
}

@media (max-width: 59.375rem) {

    /* 950px */
    .hero {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .overflow-auto,
    .carousel,
    .containers {
        width: 90%;
        height: auto;
        min-height: 40vh;
    }

    .scroll-container {
        height: 40vh;
    }
}

@media (max-width: 48rem) {

    /* 768px */
    .overflow-auto,
    .carousel,
    .containers {
        width: 95%;
        min-height: 35vh;
    }

    .scroll-container {
        height: 35vh;
    }
}

@media (max-width: 30rem) {

    /* 480px */
    .hero {
        margin: 3% 2%;
        gap: 1rem;
    }

    .overflow-auto,
    .carousel,
    .containers {
        width: 100%;
        min-height: 30vh;
    }

    .scroll-container {
        height: 30vh;
    }
}

@media screen and (max-width: 280px) {
    .hero {
        margin: 1% 3%;
        gap: 0.75rem;
    }

    .overflow-auto {
        width: 100%;
        height: auto;
        min-height: 25vh;
    }

    .tftl-heading h1 {
        font-size: 1.2rem;
    }

    .tftl-para {
        padding: 0 0.75rem;
        font-size: 0.8rem;
    }

    .containers {
        width: 100%;
        padding: 0.5rem;
    }

    .section h1 {
        font-size: 1.2rem;
        padding: 0.4rem;
    }

    .item {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
}

/* CAROUSEL SECTION  END */















/* NEWS SECTION START FOR EXTERNAL PAGE */
.accordion {
    margin: 3% 6%;
}

.accordion-item {
    margin: 1% 4%;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.image-container img {
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

.news-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    animation: fadeInDown 0.8s ease-out;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ebae21, #4a8ad6);
    animation: expandWidth 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

/* Add hover effect */
.news-title:hover::after {
    background: linear-gradient(90deg, #4a8ad6, #ebae21);
    transition: background 0.3s ease;
}

/* Responsive styles for news title */
@media (max-width: 768px) {
    .news-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
}

/* NEWS SECTION END  EXTERNAL PAGE*/












/* RESEARCH SECTION START  */

.research-section {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* Section Title Styles */
.research-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.research-underline {
    height: 3px;
    width: 100px;
    background: #007bff;
    margin: 10px auto;
}

/* Cards Container */
.research-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card Styles */
.research-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px);
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Reduced margin/padding */
    margin: 0.5rem;  /* Reduced from default */
}

.research-card.animate {
    animation: cardReveal 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Card Image Styles */
.research-card-image {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    background: #f8f9fa;
}

.research-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.1rem 0;
    /* Changed from 0.5rem to only add vertical padding */
}

.research-card-content {
    padding: 0.8rem;  /* Reduced from 1.2rem */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;  /* Reduced from 0.8rem */
}

/* Card Content Styles */
.research-card-body {
    padding: 0.8rem;  /* Reduced from 1rem */
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.research-card-title {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    margin-bottom: 0.4rem;
    /* Reduced from 0.5rem */
}

.research-card-text {
    font-size: 0.9rem;
    opacity: 0.9;
    flex-grow: 1;
}

/* Button Styles */
.research-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: #fd7e14;
    border: 2px solid #fd7e14;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.research-btn:hover {
    background: #fd7e14;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .research-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .research-section {
        padding: 3rem 1rem;
    }

    .research-title {
        font-size: 2rem;
    }

    .research-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .research-btn {
        min-width: 120px;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .research-section {
        padding: 2rem 0.5rem;
    }

    .research-title {
        font-size: 1.75rem;
    }

    .research-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .research-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }

    .research-card {
        width: 100%;
        margin: 10px 0;
    }

    .research-card-image {
        padding-top: 75%;
    }

    .research-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* RESEARCH SECTION END */










/* FACILITIES SECTION START  */
.facilities {
    margin: 3% 6%;
    position: relative;
    overflow: hidden;
}

.facilities-heading {
    text-align: center;
    margin-bottom: 40px;
}

.facilities-underline {
    height: 3px;
    width: 100px;
    background: #007bff;
    margin: 10px auto;
}

.facilities-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    transition: transform 0.3s ease;
}

.facility-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.facility-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.facility-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.facility-nav-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.facility-nav-btn:hover::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
}

.prev-btn {
    left: 10px;
}

.prev-btn:hover {
    padding-right: 3px;
}

.next-btn {
    right: 10px;
}

.next-btn:hover {
    padding-left: 3px;
}

.prev-btn::before,
.next-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-style: solid;
    border-width: 2px 2px 0 0;
    border-color: white;
    transition: all 0.3s ease;
}

.prev-btn::before {
    left: 50%;
    transform: translate(-25%, -50%) rotate(-135deg);
}

.next-btn::before {
    left: 50%;
    transform: translate(-75%, -50%) rotate(45deg);
}

.prev-btn:hover::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.next-btn:hover::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.facility-item {
    width: 100%;
    max-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
}

.facility-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    height: 100%;
}

.facility-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.facility-info {
    text-align: center;
}

.facility-info {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.facility-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
    text-align: center;
}

.facility-info h3 {
    font-size: 1.2rem;
    color: black;
    margin: 5px 0;
    text-align: center;
}

/* Facilities button styles */
.facilities-btn {
    text-align: center;
    margin: 2rem auto;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.facilities-btn .btn {
    position: relative;
    padding: 12px 35px;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    z-index: 1;
    display: inline-block;
}

.facilities-btn .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0056b3, #003d80);
    transition: all 0.5s ease;
    z-index: -1;
}

.facilities-btn .btn::after {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.facilities-btn .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    color: #fff;
}

.facilities-btn .btn:hover::before {
    left: 0;
}

.facilities-btn .btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.facilities-btn .btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

.facilities-btn .btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.facilities-btn .btn:hover span {
    transform: translateX(-4px);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .facility-grid {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 10px 0;
    }

    .facility-item {
        flex: 0 0 300px;
        margin-right: 20px;
    }

    .facility-item:last-child {
        margin-right: 0;
    }

    .facility-grid::-webkit-scrollbar {
        display: none;
    }

    .facility-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .facility-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .facilities {
        margin: 3% 4%;
    }

    .facilities-btn .btn {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .facility-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .facilities {
        margin: 3% 3%;
    }

    .facilities-btn {
        margin: 1rem auto;
        padding-right: 5px;
    }

    .facilities-btn .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .facility-grid {
        gap: 20px;
    }

    .facility-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* FACILITIES SECTION END */







/* FACILITIES SECTION FOR EXTERNAL PAGE START */


.table-container {
    overflow-x: auto;
    padding: 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.animated-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    background: #fff;
    animation: fadeIn 1s ease-in-out;
}

.animated-table th,
.animated-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.animated-table th {
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
}

.animated-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.animated-table img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

/* Hover Effects */
.animated-table tbody tr:hover {
    background-color: #eef4fc;
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {

    .animated-table th,
    .animated-table td {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

@media (max-width: 576px) {

    .animated-table th,
    .animated-table td {
        font-size: 0.8rem;
        padding: 0.3rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* Equipment Section Styles */
.equipment-section {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: #0066cc #f0f0f0;
}

.table-container {
    margin: 1rem auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    min-width: 1130px;
    /* Updated to account for the wider description column */
}

.animated-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
}

/* Table Headers */
.animated-table thead {
    background-color: #0066cc;
}

.animated-table th {
    color: white;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    white-space: nowrap;
    /* Prevent header text wrapping */
}

/* Column Widths */
.animated-table th:nth-child(1),
.animated-table td:nth-child(1) {
    width: 170px;
    /* Increased from 120px */
    min-width: 170px;
    /* Increased from 120px */
    padding: 10px;
}

.animated-table th:nth-child(2),
.animated-table td:nth-child(2) {
    width: 180px;
    min-width: 180px;
}

.animated-table th:nth-child(3),
.animated-table td:nth-child(3) {
    width: 150px;
    min-width: 150px;
}

.animated-table th:nth-child(4),
.animated-table td:nth-child(4) {
    width: 180px;
    min-width: 180px;
}

.animated-table th:nth-child(5),
.animated-table td:nth-child(5) {
    width: 500px;
    min-width: 500px;
    white-space: normal;
    /* Allow text wrapping */
    line-height: 1.5;
    padding: 1rem;
    word-wrap: break-word;
    /* Enable word breaking */
    overflow-wrap: break-word;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {

    .animated-table th:nth-child(5),
    .animated-table td:nth-child(5) {
        width: 400px;
        min-width: 400px;
        padding: 0.8rem;
    }
}

@media screen and (max-width: 992px) {

    .animated-table th:nth-child(5),
    .animated-table td:nth-child(5) {
        width: 300px;
        min-width: 300px;
        padding: 0.6rem;
    }
}

@media screen and (max-width: 768px) {

    .animated-table th:nth-child(5),
    .animated-table td:nth-child(5) {
        width: 250px;
        min-width: 250px;
        font-size: 0.9rem;
    }

    .animated-table th,
    .animated-table td {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 480px) {

    .animated-table th:nth-child(5),
    .animated-table td:nth-child(5) {
        width: 200px;
        min-width: 200px;
        font-size: 0.85rem;
    }
}

/* Table Cells */
.animated-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    white-space: normal;
    /* Allow text to wrap in all cells */
}

/* Image Container */
.equipment-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    /* Added */
    justify-content: center;
    /* Added */
    align-items: center;
    /* Added */
}

.equipment-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 5px;
    display: block;
    /* Added */
    margin: auto;
    /* Added */
}

/* Table cell alignment */
.animated-table td:first-child {
    text-align: center;
    /* Added to center the entire image cell */
}

/* Row Hover Effects */
.animated-table tbody tr {
    transition: all 0.3s ease;
    cursor: pointer;
}

.animated-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.animated-table tbody tr:hover .equipment-image img {
    transform: scale(1.1);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .equipment-section {
        padding: 1.5rem;
    }

    .table-container {
        margin: 1rem 0;
    }
}

@media screen and (max-width: 768px) {
    .equipment-section {
        padding: 1rem;
    }

    .table-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .table-responsive {
        margin: 0;
        padding: 0 0.5rem;
    }

    /* Custom scrollbar for better mobile experience */
    .table-responsive::-webkit-scrollbar {
        height: 6px;
    }

    .table-responsive::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: #0066cc;
        border-radius: 3px;
    }

    /* Adjust image size for mobile */
    .equipment-image {
        width: 120px;
        height: 120px;
    }

    /* Reduce padding for mobile */
    .animated-table th,
    .animated-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .table-title {
        font-size: 1.5rem;
    }

    .equipment-image {
        width: 100px;
        height: 100px;
    }

    .animated-table th,
    .animated-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

}

/* Add horizontal scroll indicator */
.table-responsive::after {
    display: none;
    /* Remove the animated line */
}

/* Hide scroll indicator when not needed */
@media screen and (min-width: 1400px) {
    .table-responsive::after {
        display: none;
    }
}


/* Animated Table Title */
.table-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    padding: 0 1rem;
    animation: fadeInDown 0.8s ease-out;
    width: 80%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.table-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #40a9ff);
    animation: expandWidth 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.table-title:hover::after {
    background: linear-gradient(90deg, #40a9ff, #0066cc);
    transition: background 0.3s ease;
}

@keyframes expandWidth {
    to {
        width: min(200px, 50%);
        /* Responsive underline width */
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .table-title {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .table-title {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
}


.custom-built {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-facility-item {
    margin-bottom: 3rem;
}

.custom-facility-item h5 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.facility-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Add this for the second item to reverse the order */
.facility-content.reverse {
    flex-direction: row-reverse;
}

.facility-content img {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-content img:hover {
    transform: scale(1.05);
}

.facility-content p {
    flex: 1;
    text-align: justify;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {

    .facility-content,
    .facility-content.reverse {
        flex-direction: column;
    }

    .facility-content img {
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    .custom-built {
        padding: 0.5rem;
    }
}

/* Add this for the second item to put image on right and text on left */
.facility-content.reverse-2 {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    /* Changed to flex-start to align with top of content */
}

.facility-content.reverse-2 img {
    order: 1;
    /* Image on right */
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-content.reverse-2 .text-content {
    order: 2;
    /* Text on left */
    flex: 1;
}

.facility-content.reverse-2 h5 {
    margin-bottom: 1rem;
    text-align: left;
    /* Align heading with text */
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.facility-content.reverse-2 p {
    text-align: justify;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .facility-content.reverse-2 img {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .facility-content.reverse-2 {
        flex-direction: column;
        gap: 1rem;
    }

    .facility-content.reverse-2 img {
        order: 1;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .facility-content.reverse-2 .text-content {
        order: 2;
    }

    .facility-content.reverse-2 h5 {
        text-align: center;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .facility-content.reverse-2 {
        gap: 0.8rem;
    }
}

/* FACILITIES SECTION FOR EXTERNAL PAGE END */








/* PEOPLE SECTION START  */

.principal-body {
    padding: 2rem 1rem;
    background: #f8f9fa;
    width: 100%;
}

.principal-card {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.principal-left {
    flex: 0 0 350px;
    padding: 2rem;
    text-align: center;
    border-right: 1px solid #eee;
    background: #fff;
    transition: background-color 0.3s ease;
}

.principal-left:hover {
    background-color: #f8f9fa;
}

.principal-image {
    width: 250px;
    height: 250px;
    margin: 1.5rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principal-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* border: 3px solid #2467c9; */
    transition: transform 0.5s ease;
}

.principal-links {
    margin-top: 2rem;
}

.principal-links strong {
    display: block;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.principal-link {
    color: #2467c9;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.principal-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(36, 103, 201, 0.2), transparent);
    transition: 0.5s;
}

.principal-link:hover {
    background: #2467c9;
    color: white;
    transform: translateX(5px);
}

.principal-link:hover:before {
    left: 100%;
}

.principal-right {
    flex: 1;
    padding: 2rem;
    background: #fff;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

.principal-right:hover {
    background-color: #f8f9fa;
}

.principal-section {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.principal-section:hover {
    transform: translateX(5px);
}

.principal-section h4 {
    color: #2467c9;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2467c9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    transition: color 0.3s ease;
}

.principal-section:hover h4 {
    color: #1a4b8f;
}

.education p,
.biography p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #444;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.education p:hover,
.biography p:hover {
    transform: translateX(10px);
    color: #2467c9;
    background-color: rgba(36, 103, 201, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .principal-card {
        margin: 0 1rem;
    }

    .principal-left {
        flex: 0 0 300px;
    }

    .principal-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .principal-card {
        flex-direction: column;
        width: 95%;
        margin: 0 auto;
    }

    .principal-left {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 1.5rem;
    }

    .principal-right {
        width: 100%;
        padding: 1.5rem;
    }

    .principal-section {
        width: 100%;
    }

    .principal-section h4 {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .principal-body {
        padding: 1rem 0;
    }

    .principal-card {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .principal-left {
        padding: 1rem;
    }

    .principal-right {
        padding: 1rem;
    }

    .principal-section {
        margin-bottom: 1.5rem;
    }

    .principal-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        padding: 0.5rem;
        text-align: center;
        background: #f8f9fa;
        border-radius: 5px;
        border: none;
        position: relative;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        display: block;
        width: 100%;
        hyphens: auto;
        line-height: 1.4;
    }

    .principal-section h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 2px;
        background: #2467c9;
    }
}

@media (max-width: 360px) {
    .principal-card {
        width: 100%;
    }

    .principal-left,
    .principal-right {
        padding: 0.8rem;
    }

    .principal-section h4 {
        font-size: 1rem;
        padding: 0.4rem;
        line-height: 1.3;
        margin: 0.5rem 0;
    }

    .education p,
    .biography p {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0 0.3rem;
    }

    .principal-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* PEOPLE SECTION END  */






























/* JOURNAL PUBLICATION START */
table {
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
    /* Ensures columns respect width settings */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

tr:hover {
    background-color: #f1f1f1;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

th:nth-child(1),
td:nth-child(1) {
    width: 5%;
}

th:nth-child(2),
td:nth-child(2) {
    width: 20%;
}

th:nth-child(3),
td:nth-child(3) {
    width: 45%;
}

th:nth-child(4),
td:nth-child(4) {
    width: 15%;
}

th:nth-child(5),
td:nth-child(5) {
    width: 15%;
}


td a {
    word-break: break-all;
    overflow-wrap: break-word;
    display: block;
    font-size: 14px;
}

th {
    background-color: #f2f2f2;
}

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

a:hover {
    text-decoration: underline;
}

.impact-factor {
    color: purple;
    font-weight: bold;
}

/* Responsive Design */

/* For tablets and small desktops */
@media (max-width: 1024px) {
    body {
        padding: 15px;
    }

    th,
    td {
        padding: 6px;
    }

    th:nth-child(3),
    td:nth-child(3) {
        width: 30%;
    }

    th:nth-child(4),
    td:nth-child(4) {
        width: 15%;
    }

    th:nth-child(7),
    td:nth-child(7) {
        width: 20%;
    }
}


/* For screens 880px and below */
@media (max-width: 880px) {
    .table-container {
        overflow-x: auto;
        max-width: 100%;
    }

    table {
        width: 1200px;
    }

    th,
    td {
        padding: 6px;
    }
}

/* For screens 768px and below */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
    }

    table {
        width: 1400px;
    }

    th,
    td {
        padding: 5px;
        font-size: 12px;
    }

    /* Further adjustments for column widths */
    th:nth-child(2),
    td:nth-child(2) {
        width: 15%;
    }

    th:nth-child(3),
    td:nth-child(3) {
        width: 25%;
    }

    th:nth-child(4),
    td:nth-child(4) {
        width: 15%;
    }

    th:nth-child(5),
    td:nth-child(5) {
        width: 10%;
    }

    th:nth-child(6),
    td:nth-child(6) {
        width: 20%;
    }

    th:nth-child(7),
    td:nth-child(7) {
        width: 20%;
    }
}

/* JOURNAL PUBLICATION END */


/* CONFERENCE PAGE START  */


.conference {
    max-width: 100%;
    margin: 3% 6%;
}

/* CONFERENCE PAGE END */








/* FOOTER SECTION START  */

.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    margin: 0 6%;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 2fr 2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 110%;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease;
    padding: 0.5rem;
    background-color: #ffffff02;
}

.footer-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 16px #ffffff4d;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.footer-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fd7e14;
    position: relative;
    display: inline-block;
}

.footer-content h1::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fd7e14;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-content h1:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-content p:hover {
    transform: translateX(10px);
}

.footer-content a {
    color: #fd7e14;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.footer-content a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fd7e14;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-content a:hover {
    color: #fff;
}

.footer-content a:hover::before {
    transform: scaleX(1);
}

.footer-map {
    width: 100%;
    height: 100%;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2467c9, #fd7e14, #2467c9);
    background-size: 200% 100%;
    animation: borderFlow 3s infinite linear;
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-logo img {
        width: auto;
        max-width: 120px;
    }

    .footer-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-wrapper {
        gap: 1.5rem;
    }

    .footer-logo {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-logo img {
        width: auto;
        max-width: 100px;
    }

    .footer-content {
        width: 100%;
        padding: 0 1rem;
    }

    .footer-map {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0.75rem;
    }

    .footer-wrapper {
        gap: 1rem;
    }

    .footer-content h1 {
        font-size: 1.2rem;
    }

    .footer-map iframe {
        height: 150px;
    }
}

@media screen and (max-width: 350px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .footer-logo img {
        width: 80px;
        height: auto;
    }

    .footer-content {
        text-align: center;
        padding: 0.5rem;
    }

    .footer-content h1 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .footer-content p {
        font-size: 0.8rem;
        margin: 0.2rem 0;
    }

    .email-container {
        justify-content: center;
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .email-container i {
        font-size: 0.8rem;
    }

    .footer-map {
        width: 100%;
        height: 200px;
    }

    .footer-map iframe {
        height: 100%;
    }

    /* Developer section responsive */
    .footer-body {
        padding: 0.5rem;
    }

    .developer-info {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    .developer-info p {
        font-size: 0.7rem;
        margin: 0.2rem 0;
    }

    .copyright,
    .maintainers,
    .developer {
        width: 100%;
    }
}

@media screen and (max-width: 270px) {
    .footer-content h1 {
        font-size: 1rem;
    }

    .footer-content p,
    .email-container,
    .developer-info p {
        font-size: 0.6rem;
    }

    .footer-logo img {
        width: 60px;
    }

    .footer-map {
        height: 150px;
    }

    .email-container i {
        font-size: 0.6rem;
    }
}

/* FOOTER SECTION START  */








/* DEVELOPER SECTION START  */
.footer-body {
    padding: 1rem 6%;
    background-color: #f8f9fa;
}

.developer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright p,
.maintainers p,
.developer p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.maintainers a,
.developer a {
    text-decoration: none;
    color: #fd7e14;
    transition: color 0.3s ease;
}

.maintainers a:hover,
.developer a:hover {
    color: #fb7305;
}

/* Responsive styling for developer section */
@media (max-width: 768px) {
    .developer-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .copyright,
    .maintainers,
    .developer {
        width: 100%;
    }
}

/* DEVELOPER SECTION END  */







/* MULTIPHASE SECTION START  */
.multiphase {
    padding: 2rem 6%;
    background-color: #f8f9fa;
}

.heading h2 {
    text-align: center;
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.multiphase-body {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.multiphase-body p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* General Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Enhanced Slider Styles */
.slider-container {
    position: relative;
    max-width: 1400px;
    margin: 2rem auto;
    overflow: hidden;
    padding: 0 40px;
}

.slider-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: calc(25% - 15px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f8f9fa;
    transform-origin: center;
}

.slide:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}



.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.slide:hover img,
.slide:hover video {
    transform: scale(1.1);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 2.5rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide:hover .slide-caption {
    transform: translateY(0);
}

.slide-caption p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.slide:hover .slide-caption p {
    opacity: 1;
    transform: translateY(0);
}

.slide-caption h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-caption p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide:hover .slide-caption h4,
.slide:hover .slide-caption p {
    transform: translateY(0);
    opacity: 1;
}

/* Enhanced Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-nav:hover {
    background: #D1A640;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(209, 166, 64, 0.3);
}

/* Loading Animation */
.slide.loading {
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.05) 100%);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Responsive Enhancements */
@media (min-width: 1200px) {
    .slide {
        flex: 0 0 calc(25% - 15px);
        /* 4 slides */
        max-width: calc(25% - 15px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .slide {
        flex: 0 0 calc(33.333% - 15px);
        /* 3 slides */
        max-width: calc(33.333% - 15px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .slide {
        flex: 0 0 calc(50% - 10px);
        /* 2 slides */
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .slide {
        flex: 0 0 100%;
        /* Single slide */
        max-width: 100%;
    }

    .slider-container {
        padding: 0 20px;
    }

    .slide-media-container {
        height: 280px;
    }

    .slide img,
    .slide video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Navigation buttons for mobile */
    .slider-nav {
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.5);
        color: white;
    }

    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }
}

/* MULTIPHASE SECTION END  */


/* Add these styles for animated heading and publications */

/* Animated Heading Styles */
.heading {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.animated-heading {
    position: relative;
    display: inline-block;
    color: #333;
    font-size: 2.8rem;
    font-weight: 600;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

.animated-heading::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #D1A640, #ebae21);
    animation: underlineAnimateOnce 1.5s ease-out forwards;
}

@keyframes underlineAnimateOnce {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 50%;
        opacity: 1;
    }
}

/* Responsive styles for the heading */
@media (max-width: 1200px) {
    .animated-heading {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .animated-heading {
        font-size: 2rem;
        padding-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .heading {
        margin-bottom: 2rem;
    }

    .animated-heading {
        font-size: 1.8rem;
        padding-bottom: 10px;
    }

    .animated-heading::before {
        height: 2px;
    }
}

@media (max-width: 576px) {
    .heading {
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }

    .animated-heading {
        font-size: 1.5rem;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }
}

@media (max-width: 400px) {
    .animated-heading {
        font-size: 1.3rem;
        padding-bottom: 6px;
    }

    .animated-heading::before {
        height: 1.5px;
    }
}

/* Publications Section Styles */
.publications {
    padding: 1rem 0;
    background-color: white;
    margin-top: 3rem;
}

.publications .heading {
    text-align: center;
    margin-bottom: 3rem;
}

.publications h3.animated-heading {
    position: relative;
    display: inline-block;
    color: #333;
    font-size: 2.8rem;
    font-weight: 600;
    padding-bottom: 0.9375rem;
    margin-bottom: 1.25rem;
}

.publications h3.animated-heading::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 0;
    height: 0.1875rem;
    background: linear-gradient(90deg, #D1A640, #ebae21);
    animation: underlineAnimateOnce 1.5s ease-out forwards;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 6%;
    margin-bottom: 3rem;
}

.publication-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.publication-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
}

.publication-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.publication-card .authors {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.publication-card .abstract {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* Read More Link Styles */
.read-more {
    color: #D1A640;
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background-color: #ebae21;
    transition: width 0.3s ease;
}

.read-more:hover {
    color: #ebae21;
}

.read-more:hover::after {
    width: 100%;
}

/* Return to Research Area Button Styles */
.view-all-btn {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn .btn-primary {
    background-color: #D1A640;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-all-btn .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.view-all-btn .btn-primary:hover {
    background-color: #ebae21;
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(209, 166, 64, 0.2);
}

.view-all-btn .btn-primary:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 75rem) {

    /* 1200px */
    .publications {
        margin: 3rem 2rem;
    }

    .publications h3.animated-heading {
        font-size: 2.4rem;
    }
}

@media (max-width: 62rem) {

    /* 992px */
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .publications h3.animated-heading {
        font-size: 2rem;
    }

    .publication-card {
        padding: 1.5rem;
    }
}

@media (max-width: 48rem) {

    /* 768px */
    .publications {
        margin: 2rem 1rem;
    }

    .publications-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .publications h3.animated-heading {
        font-size: 1.8rem;
    }

    .publication-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 36rem) {

    /* 576px */
    .publications h3.animated-heading {
        font-size: 1.5rem;
    }

    .publication-card {
        padding: 1.25rem;
    }

    .publication-card h4 {
        font-size: 1.1rem;
    }

    .publication-card .abstract {
        font-size: 0.875rem;
    }
}

@media (max-width: 21.875rem) {

    /* 350px */
    .publications {
        margin: 1.5rem 0.5rem;
    }

    .publications h3.animated-heading {
        font-size: 1.3rem;
        padding-bottom: 0.625rem;
    }

    .publications-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .publication-card {
        padding: 1rem;
    }

    .publication-card h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .publication-card .authors {
        font-size: 0.875rem;
    }

    .publication-card .abstract {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
}

/* Add these styles for the slide links */
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.slide-link:hover {
    color: white;
    text-decoration: none;
}

/* Overlay Effect */
.slide-media-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide:hover .slide-media-container::after {
    opacity: 1;
}

/* Video styles */
.slide video {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide:hover video {
    transform: scale(1.05);
}

/* Responsive adjustments for videos */
@media (max-width: 768px) {
    .slide video {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .slide video {
        height: 220px;
    }
}

/* Enhanced Slider and Hover Animations */
.slide {
    min-width: calc(25% - 15px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f8f9fa;
    transform-origin: center;
}

.slide:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}



.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.slide:hover img,
.slide:hover video {
    transform: scale(1.1);
}

/* Enhanced Caption Animation */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 2.5rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide:hover .slide-caption {
    transform: translateY(0);
}

/* Enhanced Text Animation */
.slide-caption p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.slide:hover .slide-caption p {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Overlay Effect */
.slide-media-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide:hover .slide-media-container::after {
    opacity: 1;
}

/* Glow Effect on Hover */
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(209, 166, 64, 0.2) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.slide:hover::before {
    opacity: 1;
}

/* Link Enhancement */
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.slide-link:hover {
    color: white;
    text-decoration: none;
}

/* Smooth Animation for All Transforms */
.slide * {
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* General Responsive Styles */
:root {
    --container-padding: 6%;
}

@media (max-width: 1400px) {
    :root {
        --container-padding: 4%;
    }

    .multiphase-body p {
        font-size: 1.1rem;
    }

    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    :root {
        --container-padding: 3%;
    }

    .above-text h1 {
        font-size: 2rem;
    }

    .animated-heading {
        font-size: 2.4rem;
    }

    .slide {
        min-width: calc(33.333% - 13.333px);
    }
}

@media (max-width: 992px) {
    .above {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .above-img-2 img {
        width: 150px;
    }

    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .publication-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 2%;
    }

    .above-text h1 {
        font-size: 1.8rem;
    }

    .animated-heading {
        font-size: 2rem;
    }

    .multiphase-body p {
        font-size: 1rem;
        text-align: left;
    }

    .slide {
        min-width: calc(50% - 10px);
    }

    .slide-media-container {
        height: 250px;
    }

    .publications-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--container-padding);
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .above-text h1 {
        font-size: 1.5rem;
    }

    .above-text p {
        font-size: 0.9rem;
    }

    .animated-heading {
        font-size: 1.8rem;
    }

    .slide {
        min-width: 100%;
    }

    .slide-media-container {
        height: 220px;
    }

    .publication-card {
        padding: 1.25rem;
    }

    .publication-card h4 {
        font-size: 1.1rem;
    }

    .slider-container {
        padding: 0 25px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .slide:hover {
        transform: none;
    }

    .slide-caption {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
    }

    .slide-caption p {
        opacity: 1;
        transform: none;
    }

    .publication-card:hover {
        transform: none;
        box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
    }

    .view-all-btn .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Print Media */
@media print {

    .slider-container,
    .footer {
        display: none;
    }

    .multiphase-body,
    .publications {
        page-break-inside: avoid;
    }
}

/* Update slider styles for mobile */
@media (max-width: 768px) {
    .slider-wrapper {
        flex-direction: row;
        gap: 15px;
        padding: 15px 0;
    }

    .slide {
        min-width: 100%;
        margin: 0;
    }

    /* Navigation buttons for mobile */
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        background: rgba(0, 0, 0, 0.5);
        color: white;
    }

    .prev {
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }

    .next {
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }

    .slider-container {
        padding: 0 30px;
        padding-bottom: 20px;
    }

    .slide-media-container {
        height: 250px;
    }

    .slide img,
    .slide video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    .slide-media-container {
        height: 200px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .slider-container {
        padding: 0 25px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .slide-caption {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.9) 0%,
                rgba(0, 0, 0, 0.7) 50%,
                transparent 100%);
    }

    .slide-caption p {
        opacity: 1;
        transform: none;
    }
}

/* MULTIPHASE SECTION START  */






/* STUDENT WEBPAGE SECTION START  */
.curent_member_css {
    font-family: 'Roboto Serif', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin: 0;
    padding-top: 2rem;
}

.profile-card {
    width: 90%;
    max-width: 75rem;
    background-color: white;
    border: 0.0625rem solid #ddd;
    padding: 1.25rem;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 1.25rem;
}

.profile-left {
    text-align: center;
    border-right: 0.125rem solid #aaa;
    padding-right: 1.25rem;
}

.profile-left img {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.profile-left img:hover {
    transform: scale(1.05);
}

.profile-left h2 {
    font-size: 1.5rem;
    color: #1400ff;
    margin: 0.625rem 0 0;
}

.profile-left h3 {
    font-size: 1.125rem;
    color: red;
    margin: 0.3125rem 0;
}

.profile-left h5 {
    font-size: 1rem;
    color: #9300ff;
    margin-top: 1rem;
    line-height: 2rem;
}

.profile-left .links {
    margin-top: 1rem;
    font-size: 0.875rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.profile-left .links a {
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.2rem;
    transition: color 0.3s ease;
}

.profile-left .links a i {
    width: 1rem;
    text-align: center;
}

.profile-left .links a:hover {
    color: #2467c9;
    text-decoration: underline;
}

.profile-right {
    padding-right: 1.5rem;
}

.profile-right h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.3125rem;
}

.profile-right .education {
    margin-bottom: 1rem;
}

.profile-right .education p {
    margin: 0.3125rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.profile-right .biography {
    margin-top: 0.625rem;
}

.profile-right .biography p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.return-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.625rem 1.25rem;
    background-color: #6ba3e8;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 0.3125rem;
    text-align: center;
    transition: all 0.3s ease;
}

.return-button:hover {
    background-color: #4a8ad6;
    transform: translateY(-0.125rem);
}

/* Responsive styling */
@media (max-width: 56.125rem) {

    /* 898px */
    .curent_member_css {
        margin: 1rem 0;
    }

    .profile-left .links {
        gap: 0.8rem;
    }
}

@media (max-width: 48.125rem) {

    /* 770px */
    .profile-card {
        grid-template-columns: 1fr;
        width: 95%;
        padding: 1rem;
    }

    .profile-left {
        border-right: none;
        border-bottom: 0.125rem solid #aaa;
        padding: 0 0 1rem 0;
    }

    .profile-right {
        padding: 1rem 0.5rem;
    }

    .curent_member_css {
        min-height: auto;
        padding: 2rem 0;
    }
}

@media (max-width: 30rem) {

    /* 480px */
    .profile-left h2 {
        font-size: 1.25rem;
    }

    .profile-left h3 {
        font-size: 1rem;
    }

    .profile-right h4 {
        font-size: 1.125rem;
    }

    .profile-right .education p,
    .profile-right .biography p {
        font-size: 0.875rem;
    }

    .return-button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* STUDENT WEBPAGE SECTION END  */







/* COLLABORATORS SECTION START  */

.faculty-heading {
    text-align: center;
    margin: 2rem auto;
}

.faculty-heading h1 {
    position: relative;
}

.faculty-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 3%;
}

.faculty-member {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.faculty-member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.faculty-member h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
    color: #333;
}

.faculty-member p {
    margin: 5px 0;
    color: #ff0606;
}

.faculty-member p2 {
    margin: 2px 0;
    font-size: 80%;
    color: #3606ff;
}

.faculty-member a {
    color: #0066cc;
    text-decoration: none;
}

.faculty-member:hover {
    transform: scale(0.9);
    background-color: #f4f7f8;

}

.faculty-member a:hover {
    text-decoration: none;
}

/* COLLABORATORS SECTION END   */



.principal {
    padding: 2rem;
    background: #f8f9fa;
}

.principal-card {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.principal-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.principal-image {
    width: 250px;
    height: 250px;
    margin: 1rem 0;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #007bff;
    transition: transform 0.3s ease;
}

.principal-image:hover {
    transform: scale(1.05);
}

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

.principal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.principal-links a {
    padding: 0.5rem 1rem;
    color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.principal-links a:hover {
    background: #007bff;
    color: white;
}

.principal-right {
    flex: 1;
}

.principal-section {
    margin-bottom: 2rem;
}

.principal-section h4 {
    color: #007bff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.principal-details p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .principal-card {
        flex-direction: column;
        align-items: center;
    }

    .principal-left {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .principal-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .principal {
        padding: 1rem;
    }

    .principal-card {
        padding: 1rem;
    }

    .principal-image {
        width: 200px;
        height: 200px;
    }

    .principal-links a {
        font-size: 0.9rem;
    }
}

/* Add these styles with your other principal styles */
.principal-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.principal-heading h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Times, serif;
}

.principal-underline {
    height: 3px;
    width: 100px;
    background: #007bff;
    margin: 10px auto;
}

/* Add this to your media queries */
@media (max-width: 768px) {
    .principal-heading h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .principal-heading h1 {
        font-size: 1.75rem;
    }

    .principal-underline {
        width: 60px;
    }
}






/* ALUMNI SECTION CLASS STARTS */
.alumni-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.alumni-member {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.alumni-member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.alumni-member h3 {
    margin: 10px 0 5px;
    font-size: 1.1em;
    color: #333;
}

.alumni-member h4 {
    margin: 10px 0 5px;
    font-size: 0.9em;
    color: #ff0606;
}

.alumni-member p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #3606ff;
}

.alumni-member p2 {
    margin: 2px 0;
    font-size: 80%;
    color: #3606ff;
}

.alumni-member a {
    color: #0066cc;
    text-decoration: none;
}

.alumni-member:hover {
    transform: scale(0.9);
    background-color: #f4f7f8;

}

.alumni-member a:hover {
    text-decoration: none;
}

/* ALUMNI SECTION CLASS ENDS */







/* COLLABORATOR SECTION CLASS STARTS */
.collaborator-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.collaborator-member {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.collaborator-member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.collaborator-member h3 {
    margin: 10px 0 5px;
    font-size: 1.1em;
    color: #333;
}

.collaborator-member h4 {
    margin: 10px 0 5px;
    font-size: 0.9em;
    color: #ff0606;
}

.collaborator-member p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #3606ff;
}

.collaborator-member p2 {
    margin: 2px 0;
    font-size: 80%;
    color: #3606ff;
}

.collaborator-member a {
    color: #0066cc;
    text-decoration: none;
}

.collaborator-member:hover {
    transform: scale(0.9);
    background-color: #f4f7f8;

}

.collaborator-member a:hover {
    text-decoration: none;
}

/* COLLABORATOR SECTION CLASS ENDS */







/* ALUMNI TABS STYLES */
.alumni-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.alumni-tab {
    padding: 0.8rem 2rem;
    border: none;
    background: #f8f9fa;
    color: #2467c9;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #2467c9;
}

.alumni-tab:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.alumni-tab.active {
    background: #2467c9;
    color: white;
    box-shadow: 0 4px 12px #2467c9;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
    .alumni-tabs {
        gap: 0.5rem;
    }

    .alumni-tab {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .alumni-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        width: calc(33.33% - 0.5rem);
    }
}

/* ALUMNI SECTION STYLES */
.alumni-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem auto;
    flex-wrap: wrap;
    max-width: 800px;
    padding: 0 1rem;
}

.alumni-tab {
    padding: 0.8rem 2.5rem;
    border: 2px solid #2467c9;
    background: transparent;
    color: #000;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.alumni-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #2467c9;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.alumni-tab:hover::before {
    width: 200%;
    height: 200%;
}

.alumni-tab:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px #2467c9;
}

.alumni-tab.active {
    background: #2467c9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #2467c9;
}

.alumni-tab.active:hover {
    transform: translateY(-3px);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Center the faculty list content */
.faculty-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.faculty-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .alumni-tabs {
        gap: 1rem;
        margin: 2rem auto;
    }

    .alumni-tab {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }

    .faculty-list {
        padding: 1rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .alumni-tabs {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .alumni-tab {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .faculty-list {
        padding: 0.3rem;
        gap: 0.5rem;
    }
}

/* ALUMNI SECTION STYLES */
.alumni-heading {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-top: 2rem;
}

.alumni-heading h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    display: inline-block;
}


.alumni-heading:hover .animated-underline {
    width: 80px;
}

/* Add animation for initial load */
@keyframes underlineAnimate {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}


/* Add a subtle glow effect */


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

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

/* Responsive styles */


@media (max-width: 480px) {
    .alumni-heading h1 {
        font-size: 1.75rem;
    }


    @keyframes underlineAnimate {
        to {
            width: 60px;
        }
    }

    .alumni-heading:hover .animated-underline {
        width: 60px;
    }
}



/* Bubble Acoustics Slider Styles */
.bubble-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 50px;
    overflow: hidden;
}

.bubble-slider-wrapper {
    overflow: hidden;
}

.bubble-slides {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.bubble-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bubble-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bubble-slide .slide-media-container {
    width: 60%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.bubble-slide .slide-media-container img,
.bubble-slide .slide-media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bubble-slide:hover .slide-media-container img,
.bubble-slide:hover .slide-media-container video {
    transform: scale(1.05);
}

/* Enhanced caption styles */
.bubble-slide .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            transparent 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.bubble-slide:hover .slide-caption {
    transform: translateY(0);
}

.bubble-slide .slide-caption p {
    color: white;
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.bubble-slide:hover .slide-caption p {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation buttons */
.bubble-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.bubble-prev {
    left: 10px;
}

.bubble-next {
    right: 10px;
}

.bubble-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive design */
@media (max-width: 1200px) {
    .bubble-slide .slide-media-container {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .bubble-slide .slide-media-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .bubble-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .bubble-slide .slide-media-container {
        height: 400px;
    }

    .bubble-nav-btn {
        display: flex;
    }

    .bubble-slider-container {
        padding: 0 40px;
    }

    /* Show caption by default on mobile */
    .bubble-slide .slide-caption {
        transform: translateY(0);
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.9) 0%,
                rgba(0, 0, 0, 0.7) 50%,
                transparent 100%);
    }

    .bubble-slide .slide-caption p {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .bubble-slide .slide-media-container {
        height: 300px;
    }

    .bubble-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .bubble-slider-container {
        padding: 0 35px;
    }
}

@media (max-width: 480px) {
    .bubble-slide .slide-media-container {
        height: 250px;
    }
}

/* Add smooth transition for all transforms */
.bubble-slide * {
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Update project section styles */
.project {
    margin: 1% 6%;
    width: auto;
}

.project-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.projects {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Minimum width for content */
}

.project-thead th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.projects td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

/* Column widths */
.projects th:nth-child(1),
.projects td:nth-child(1) {
    width: 40%;
}

.projects th:nth-child(2),
.projects td:nth-child(2) {
    width: 30%;
}

.projects th:nth-child(3),
.projects td:nth-child(3) {
    width: 15%;
}

.projects th:nth-child(4),
.projects td:nth-child(4) {
    width: 15%;
}

/* Hover effect on rows */
.projects tbody tr:hover {
    background-color: #f8f9fa;
}


/* Responsive styles */
@media (max-width: 768px) {
    .project {
        margin: 1% 4%;
    }

    .project-thead th,
    .projects td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .project {
        margin: 1% 3%;
    }

    .project-thead th,
    .projects td {
        padding: 8px;
        font-size: 13px;
    }
}





.close-btn {
    position: absolute;
    right: 25px;
    top: 10px;
    color: #1e1d1d;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover {
    color: #bbb;
}










/* SCROLL TO TOP BUTTON START  */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Bubble Slider Styles Update */
.bubble-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 50px;
    overflow: hidden;
}

.bubble-slider-wrapper {
    overflow: hidden;
}

.bubble-slides {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.bubble-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slide-media-container {
    width: 100%;
    height: 200px;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.slide-media-container img,
.slide-media-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .scroll-top-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* SCROLL TO TOP BUTTON END  */



/* WATER SECTION START  */

.water-slider-container {
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 50px;
}

.water-slider-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 20px;
}

.water-slide {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.water-slide .slide-media-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.water-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.water-slide .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 0, 0, 0) 100%);
    padding: 2.5rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.water-slide .slide-caption p {
    margin: 0;
    color: white;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.water-slide:hover .slide-caption {
    transform: translateY(0);
}

.water-slide:hover .slide-caption p {
    opacity: 1;
    transform: translateY(0);
}

.water-slide .slide-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
    color: white;
}

.water-slide:hover img {
    transform: scale(1.05);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .water-slide .slide-caption {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.9) 0%,
                rgba(0, 0, 0, 0.7) 50%,
                transparent 100%);
    }

    .water-slide .slide-caption p {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation buttons */
.water-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: none;
    /* Hide by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.water-prev {
    left: 5px;
}

.water-next {
    right: 5px;
}

.water-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive styles */
@media (max-width: 1199px) {
    .water-slide {
        flex: 0 0 calc(33.333% - 15px);
        min-width: calc(33.333% - 15px);
    }
}

@media (max-width: 991px) {
    .water-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .water-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .water-slider-container {
        padding: 0 40px;
    }

    .water-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .water-slide .slide-media-container {
        height: 200px;
    }

    .water-nav-btn {
        width: 30px;
        height: 30px;
    }
}

/* WATER SECTION END  */


































/* GALLERY SECTION START  */

.button-container {
    text-align: center;
    margin: 30px 0;
    animation: fadeIn 1s ease-out;
}


.gallery-btn {
    padding: 12px 25px;
    margin: 0 10px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 5px;
    background-color: transparent;
    color: #007bff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeInUp 0.5s ease-out;
}


.gallery-btn.active {
    background-color: #007bff;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.gallery-btn:active {
    transform: scale(0.95);
}

/* Update gallery container styles */
.gallery-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
    margin: 20px auto;
    max-width: 1400px;
}

.gallery-grid {
    display: flex;
    gap: 15px;
    /* Reduced gap between images */
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
    /* Reduced padding */
}

.gallery-item {
    flex: 0 0 300px;
    /* Fixed width for each item */
    height: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 0;
    /* Remove margin */
}

/* Remove the scrolling animation */
.gallery-grid {
    animation: none;
}

@keyframes scrollGallery {

    /* Remove this animation as we'll handle scrolling via JavaScript */
    0%,
    100% {
        transform: translateX(0);
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Title overlay */
.gallery-item::before {
    display: none;
}

/* Show title on hover */
.gallery-item:hover::before {
    transform: translateY(0);
}

/* Remove hover transform effect */
.gallery-item:hover img {
    transform: none;
}

.gallery-item .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    transition: bottom 0.3s ease;
    text-align: center;
}

.gallery-item:hover .overlay {
    bottom: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 500;
}

.overlay p {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.785);
    overflow: auto;
}

.modal-container {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 900px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}


.modal-content {
    max-width: 60%;
    max-height: 60vh;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.modal-text {
    margin-top: 20px;
    padding: 15px;
    background: transparent;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.modal-text p {
    margin: 0;
    color: #ddd;
    line-height: 1.6;
}

.modal-text h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    background: transparent;
}

.close-btn {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #007bff;
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 253, 253, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1010;
}

.nav-btn:hover {
    background: rgba(248, 246, 246, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.nav-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    opacity: 0.7;
}

.gallery {
    margin: 3% 6%;
}

@media (max-width: 992px) {
    .gallery {
        margin: 3% 4%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery {
        margin: 3% 3%;
    }

    .gallery-item {
        flex: 0 0 280px;
        height: 280px;
    }
}

@media (max-width: 576px) {
    .gallery {
        margin: 3% 2%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

.gallery-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #007bff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.gallery-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.gallery-btn:hover::before {
    left: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 50%;
    }
}

.gallery-btn:nth-child(1) {
    animation-delay: 0.2s;
}

.gallery-btn:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }

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

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

.gallery-btn.active {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {

    .gallery-btn {
        padding: 10px 20px;
        margin: 5px;
        font-size: 14px;
    }
}


.modal.show {
    display: flex !important;
}

@media (max-width: 768px) {
    .modal-container {
        max-width: 95vw;
        padding: 15px;
    }

    .modal-text h3 {
        font-size: 1.3rem;
    }

    .modal-text p {
        font-size: 1rem;
    }
}





.gallery-section {
    padding: 4rem 6%;
    background-color: #f8f9fa;
}

.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    font-size: 14px;
    z-index: 2;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    margin: 40px auto;
    text-align: center;
}

.modal-info {
    margin-top: 20px;
    color: white;
    text-align: center;
}

.modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-info p {
    font-size: 1rem;
    line-height: 1.5;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
    transition: background 0.3s;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-prev {
    left: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    margin: 40px auto;
    text-align: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80vh;
    margin: auto;
    display: block;
}

.modal-info {
    margin-top: 20px;
    color: white;
    text-align: center;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-next {
    right: 20px;
}

.modal-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .above {
        margin: 2% 5%;
    }

    .above-text {
        padding: 0.5rem 1rem;
    }

    .above-text h3 {
        font-size: 2rem;
    }

    .phase-change {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .condensation,
    .boiling {
        width: 90%;
        max-width: 500px;
    }

    .gallery-item {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .above-text h3 {
        font-size: 1.6rem;
    }

    .above-text p {
        font-size: 0.9rem;
    }

    .gallery-item {
        min-width: calc(100% - 0px);
    }
}

.gallery-item::before {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(0);
    transition: none;
    text-align: center;
}

.gallery-item:hover::before {
    transform: translateY(0);
}

.close-btn {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #007bff;
}

/* Update gallery container and navigation button styles */


.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-prev {
    left: 5px;
}

.gallery-next {
    right: 5px;
}

.gallery-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container {
        padding: 0 40px;
    }

    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        padding: 0 30px;
    }

    .gallery-nav-btn {
        width: 30px;
        height: 30px;
    }
}

/* GALLERY SECTION END  */


/* SPONSORED SECTION START */
.sponsored-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
    margin: 20px auto;
    max-width: 1400px;
}

.sponsored-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
}

.sponsored-item {
    flex: 0 0 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sponsored-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    /* Make images circular */
    padding: 15px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #f0f0f0;
}

.sponsored-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sponsored-item p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sponsored-item {
        flex: 0 0 200px;
    }

    .sponsored-item img {
        width: 120px;
        height: 120px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .sponsored-item {
        flex: 0 0 150px;
    }

    .sponsored-item img {
        width: 100px;
        height: 100px;
        padding: 8px;
    }

    .sponsored-item p {
        font-size: 0.9rem;
    }
}

.sponsored-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sponsored-prev {
    left: 5px;
}

.sponsored-next {
    right: 5px;
}

.sponsored-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sponsored-container {
        padding: 0 40px;
    }

    .sponsored-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .sponsored-item {
        flex: 0 0 200px;
    }

    .sponsored-item img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .sponsored-container {
        padding: 0 30px;
    }

    .sponsored-nav-btn {
        width: 30px;
        height: 30px;
    }

    .sponsored-item {
        flex: 0 0 150px;
    }

    .sponsored-item img {
        width: 120px;
        height: 120px;
    }
}

/* SPONSORED SECTION END */


/* B.Tech Section Styles */
.btech-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.btech-column {
    flex: 1;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.btech-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.btech-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.btech-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.btech-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.btech-list li:nth-child(5) {
    animation-delay: 0.5s;
}

.btech-list li:nth-child(6) {
    animation-delay: 0.6s;
}

.btech-list li:nth-child(7) {
    animation-delay: 0.7s;
}

.btech-list li:nth-child(8) {
    animation-delay: 0.8s;
}

.btech-list li:nth-child(9) {
    animation-delay: 0.9s;
}

.btech-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.btech-list li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2rem;
    font-size: 1.1rem;
    color: #333;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
    text-align: left;
    display: flex;
/*    justify-content: center;*/
}

.btech-list li::before {
    content: '•';
    position: absolute;
    left: 0%;
    color: #2467c9;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .btech-container {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }

    .btech-column {
        max-width: 100%;
    }

    .btech-list li {
        font-size: 1rem;
        padding: 0.6rem 0 0.6rem 1.5rem;
    }

    .btech-list li::before {
        left: 30%;
    }
}

@media (max-width: 480px) {
    .btech-list li::before {
        left: 15%;
    }
}