@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root{
    --primary-color: #0a1e27;
    --secondary-color: #e9c675;
    --text-light: #cbd5e1;
    --white: #ffffff;
    --winered: rgba(255, 100, 100, 0.75);
    --darkwine: #7f3232;
    --beige:#eee0d0;
    --max-width: 100vw;
    --header-font: 'Playfair Display', serif;
    --card-h2: 1.25rem;
    --card-small: 0.813rem;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h3{
    font-family: var(--header-font);
}
.section_container{
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
    padding-top: 80px; /* Adjust this value based on your header height */
}

.section_subheader{
    position:relative;
    isolation: isolate; 
    font-family: var(--header-font); 
    margin-bottom: 1rem;
    padding-left: 5rem;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #e9c675; /* Golden yellow color */
}

.section_subheader::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 2px;
    background-color: var(--darkwine);
}

.section_subheader::after{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-60%,-50%);
    font-family: poppins;
    font-size: 8rem;
    font-weight: 600;
    color: var(--darkwine);
    opacity: .1;
    z-index: 1;
}

.hero_content h3.section_subheader {
    font-size: 1rem !important;
  }

.section_header{
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 400;
    font-family: var(--header-font);
    color: var(--white);
}

.hero_content{
    z-index: 2;
    padding: 0rem 1rem;
}

/* Make the welcome text more visible */
.hero_content h3.section_subheader,
.hero_content h1.section_header,
.hero_content h2.subheader1,
.hero_content h3.subheader2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Subtle shadow for better visibility */
    font-weight: 700; /* Slightly increase font weight */
}

/* Ensure the text color remains consistent */
.hero_content h3.section_subheader {
    color: #e9c675; /* White color for "WELCOME TO" */
}

.hero_content h1.section_header span {
    color: #ffffff; /* White color for "Institute of Remote Sensing" */
}

.hero_content h2.subheader1,
.hero_content h3.subheader2 {
    color: #ffffff; /* White color for the remaining text */
}

img{
    display: flex;
    width: 100%;
}

a{
    text-decoration: none;
    transition: 0.3s;
}

html,body{
    scroll-behavior: smooth;

}

body{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--beige); /* Ensure consistent background color */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.no-scroll{
    overflow: hidden;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--winered);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.5s ease;
  }
  
.header.scrolled{
    background-color: rgba(255, 100, 100, 1);
}
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;  /* offset for fixed header */
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, var(--beige) 100%);
    z-index: 0; 
  } 

  #hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure video covers the entire section */
    z-index: -1; /* Ensure video is behind the content */
  }

nav{
    position: relative;
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
}

.nav_logo{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav_logo .logo {
    width: 80px; /* Increase the width of the logo */
    height: auto; /* Maintain the aspect ratio */
    margin-right: 15px;
}

.nav_logo a {
    font-size: 1.0rem; /* Increase the font size of the title text */
    font-weight: 700; /* Make the title text bold */
    color: var(--white); /* Preserve the existing white color */
    text-align: left;
    padding-bottom: 5px;
    margin: 0;
    padding: 0 0.5rem;
}

.nav_bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_links{
    position: absolute;
    top: 0;
    right: 0;
    width: wrap-content;
    height: 100vh;
    list-style: none;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-color:rgba(255,255,255,0.95);
    padding-left: 2rem;
    padding-right: 2rem;
}

.nav_links.open{
    display: flex;
    animation: show-nav .1s linear forwards;
}

.nav_links.close{
    animation: hide-nav .1s linear forwards;
}
.nav_links li a {
    font-size: 0.7rem; /* Reduced from larger size */
    padding: 8px 12px; /* Reduced padding for a more compact look */
}

.dropdown-content a {
    font-size: 0.7rem;
    padding: 8px 12px;
}

@keyframes show-nav{
    0%{
        transform: translateX(100%);
    }
    100%{
        transform: translateX(0%);
    }
}

@keyframes hide-nav{
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(100%);
    }
}

.nav_links a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--white); /* Adjust color as needed */
    padding: 8px 16px; /* Ensure padding is included */
    transition: color 0.3s ease;
    width: 100%; /* Ensure the link spans the full width of the tab */
    text-align: center; /* Center-align the text */
}

.nav_links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color); /* Golden yellow color */
    transition: width 0.3s ease;
}

.nav_links a:hover::after {
    width: 100%; /* Expand underline to the full width of the tab */
}

.nav_links a:hover {
    color: var(--secondary-color); /* Optional: Change text color on hover */
}

.nav_menu_btn{
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    z-index: 99;
}

.nav_menu_btn.darkred{
    color: var(--darkwine);
}

.about{
    background-color: var(--beige);
    overflow: hidden;
}

.about_container{
    padding-top: 0;
    display: grid;
    gap: 5rem 2rem;
    overflow: hidden;
}

.about_container .section_header{
    color: var(--darkwine);
    padding-top: 1rem;
}
.about_image img{
    max-width: 90%;
    margin-inline: auto;
    border-radius: 0.5rem;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.3);
}

.about_content{
    padding: 1rem;
}
.about_content-1 .section_subheader::after {
    content: "01";
}
  
.about_content-2 .section_subheader::after {
    content: "02";
}
  
.about_content-3 .section_subheader::after {
    content: "03";
}

.about_content-4 .section_subheader::after {
    content: "04";
}

.about_content-5 .section_subheader::after {
    content: "05";
}

.about_content-6 .section_subheader::after {
    content: "06";
}

.about_content p{
    margin-bottom: 1.5rem;
    color: black;
    text-align: justify;
}

.about_content a{
    display: flex;
    align-items: center;
    gap: 5px;
    color:var (--darkwine);
}

.about_content a span{
    transition: .3s;
}

.about_content a:hover span{
    transform: translateX(5px);
}

.about .logocontainer .cardcontainer .logoarticle img{
    display: block;
   max-width: 90%;
   justify-self: center;
    height: auto;
}

.logocontainer{
    display: grid;
    place-items: center;
    margin-inline: 1.5rem;
    padding-block: 5rem;
}

.cardcontainer{
    display: grid;
    row-gap: 2.5rem;
}

.logoarticle {
    position: relative;
    overflow: hidden;
}

.card{
    width: fit-content;
    border-radius: 0.5rem;
}

.card_data{
    width: 80%;
    background-color: var(--white);
    padding: 1.5rem 2rem;
    box-shadow:0 8px 24px hsla(0, 0%, 0%, 0.15);
    border-radius: 0.25rem;
    position: absolute;
    bottom: -7rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    opacity: 1;
    transition: opacity 1s 1s;
}

.card_description{
    display: block;
    font-size: var(--card-small);
    margin-bottom: .25rem;
}

.card_title{
    font-size: var(--card-h2);
    font-weight: 500;
    color: var(--primary-color);    
    margin-bottom: .75rem;
}

.card_button{
    text-decoration: none;
    font-size: var(--card-small);
    font-weight: 500;
    color: var (--darkwine);
}

.card_button:hover{
    text-decoration: underline;
}


.logoarticle:hover .card_data {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity 0.3s;
}

.logoarticle:hover{
    animation: remove-overflow 2s forwards;
}

.logoarticle:not(:hover) {
    animation: show-overflow 2s forwards;
}
  
.logoarticle:not(:hover) .card_data {
  animation: remove-data 1s forwards;
}

@keyframes show-data{
    0%{
        transform: translateY(0.5rem);
    }
    50%{
        transform: translateY(-8rem);  
    }
    100%{
        transform: translateY(-6rem);
    }
}

@keyframes remove-overflow{
    to{
        overflow: initial;
    }
}

@keyframes remove-data {
  0% {
    transform: translateY(-6rem);
  }
  50% {
    transform: translateY(-8rem);
  }
  100% {
    transform: translateY(.5rem);
  }
}
  
@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
}

.academics{
    background-color: var(--beige);
    padding: 5rem 1rem;
}

.research{
    background-color: var(--beige);
    padding: 5rem 1rem;
}

.people{
    background-color: var(--beige);
    padding: 5rem 1rem;
}

.banner{
    position: relative;
    width: 100%;    
    height: 100%;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: .5s;
}

.content{
    position: relative;
    max-width: 700px;
    flex: 1;
    padding: 1rem;
    display: none;
    visibility: hidden;
    transform: scale(0);
    transition: .5s;
    background-color: var(--white);
    border-radius: 0.5rem;
    border: 1px solid var(--darkwine);
}

.content.active{
    display: block;
    visibility: visible;
    transform: scale(1);
    transition: .5s;
}

.content h3.name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--darkwine);
    margin-bottom: 0.5rem;
}

.content h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.content h4 span {
    display: block;
}

.content h4 span:first-child {
    font-size: 1.5rem;
    font-weight: 600;
    color: var (--primary-color);
}

.content h4 span:not(:first-child) {
    font-size: 1rem;
    color: black;
}

.content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.content .button{
    position: relative;
}
.content .button a {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    transition: color 0.5s;
    cursor: pointer;
}

.content .button a:hover {
    color: var(--secondary-color);
}

.container{
    padding: 0rem 0rem 0rem 1rem;
}

.slider-wrapper{
    position: relative;
    margin: 0 auto;
}

.slider{
    display: flex;
    aspect-ratio: 2/3;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
    border: 1px solid var(--darkwine);
}

.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

/* Left-aligned social media icons */
.button .left-links {
    display: flex;
    gap: 1rem;
    padding-left: 1rem;
}

.button .left-links a {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.button .left-links a:hover {
    color: var(--secondary-color);
}

/* Right-aligned navigation buttons */
.button .nav-buttons {
    display: flex;
    gap: 1rem;
}

.slider-control {
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
  }
  .slider-control:hover {
    color: var(--secondary-color);
  }
  

.recognition{
    background-color: var(--beige);
    padding: 5rem 1rem;
}

.infrastructure{
    background-color: var(--beige);
    padding: 5rem 1rem;
}

/* Infrastructure section */
.infrastructure {
    padding: 60px 0;
    text-align: center;
}

.infrastructure h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #800000; /* Wine red color */
}

.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.gallery-image {
    max-width: 290px; /* Adjust this value to set the desired size */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.gallery-image:hover {
    transform: scale(1.05);
}

#infrastructure ul {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.8;
}

#infrastructure ul li {
    margin-bottom: 10px;
}

#infrastructure h3 {
    margin-top: 20px;
    color: var(--darkwine);
}

.footer {
    background-color: #7f3232;
    color: var(--white);
    padding: 1rem 1rem;
  }

  .footer_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: var(--max-width);
    margin: auto;
  }
  
  .footer_column {
    flex: 1;
    padding: 0.5rem 1rem 1rem 1rem;
  }

  .footer_column:first-child {
    align-self: center;
  }

  .footer_column:last-child {
    align-items: end;
  }

  #location {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

.announcement {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  margin-top: 10px;
}

.announcement-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

.subheader1 {
  font-size: 1.5rem;
  color: #e9c675; /* Golden yellow color */
  margin-top: 10px;
  text-align: center; /* Center align */
}

.subheader2 {
  font-size: 1.1rem;
  color: #6b1b1bd5;
  margin-top: 5px;
  font-family: 'Lora', serif; /* Apply the new font */
  text-align: center; /* Center align */
}

/* Dropdown Button */
.dropbtn {
    background-color: rgba(255, 255, 255, 0.2); /* Transparent glass effect */
    color: #6b1b1bd5;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 8px; /* Rounded corners */
    transition: background-color 0.3s ease;
}

/* Change the background color of the dropdown button when hovered */
.dropbtn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #800000; /* Wine red color */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}

/* Links inside the dropdown */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #a12727; /* Darker wine red color */
}

/* Show the dropdown menu on hover for desktop */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Show the dropdown menu on click for mobile */
.dropdown-content.show {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn,
.dropdown-content.show .dropbtn {
    background-color: #a12727; /* Darker wine red color */
}

/* Hide all dropdown sections by default */
.dropdown-section {
    display: none;
    padding-top: 80px; /* Adjust this value based on your header height */
}

/* Show the selected dropdown section */
.dropdown-section.active {
    display: block;
}

#professor-bio {
    color: #333; /* Darker color for better visibility */
    font-size: 14px;
    margin-top: 10px;
}

#professor-emails p {
    margin: 5px 0;
    font-size: 14px;
}

#professor-emails a {
    color: #800000; /* Wine red color */
    text-decoration: none;
}

#professor-emails a:hover {
    text-decoration: underline;
}

/* Justify text alignment for Programmes section */
#programmes p {
    text-align: justify;
}

#additional-content-1 {
    margin-top: 10px;
    text-align: justify;
    display: none;
}

.about_btn a {
    color: #800000; /* Wine red color */
    text-decoration: none;
    font-weight: bold;
}

.about_btn a:hover {
    text-decoration: underline;
}

#additional-content-1, #additional-content-2 {
    margin-top: 10px;
    text-align: justify;
}

/* Uniform background color for Alumni, Student Activities, International Conference, and Consultancy sections */
#alumni, #student-activities, #international-conference, #consultancy {
    background-color: var(--beige);
    padding: 5rem 1rem;
}

/* Align Infrastructure section and its content to the left */
#infrastructure {
    text-align: left;
    padding: 2rem 1rem;
}

#infrastructure h2 {
    text-align: left;
    margin-bottom: 1rem;
}

#infrastructure ul {
    list-style-type: disc;
    margin-left: 2rem;
    line-height: 1.8;
}

#infrastructure ul li {
    margin-bottom: 10px;
}

/* Adjust bullet points under Programmes */
#programmes ul {
    margin-left: 2rem; /* Push the bullet points slightly to the right */
    list-style-type: disc; /* Ensure proper bullet styling */
    line-height: 1.8; /* Improve readability */
}

/* Remove unwanted space in Academics section */
#academics {
    margin: 0; /* Remove any default margin */
    padding: 5rem 1rem; /* Adjust padding as needed */
}

#academics h2 {
    margin-bottom: 1rem; /* Ensure proper spacing below the heading */
}

#academics .dropdown-section {
    margin: 0; /* Remove any extra margin between subsections */
    padding: 0; /* Remove any extra padding */
}

#academics ul {
    margin: 0; /* Remove extra margin for lists */
    padding-left: 1.5rem; /* Add consistent padding for list items */
}

#academics p {
    margin: 0; /* Remove extra margin for paragraphs */
    line-height: 1.6; /* Adjust line height for readability */
}

/* Invited Experts Lectures Section */
#invited-experts-lectures {
  padding: 2rem 1rem; /* Adjust padding for mobile */
  background-color: var(--beige); /* Match the beige background */
}

#invited-experts-lectures h3 {
  text-align: center;
  color: var(--darkwine);
  margin-bottom: 2rem;
}

.lecture-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column for mobile */
  gap: 1rem; /* Reduce gap for smaller screens */
}

.lecture-tab {
  background-color: #e3ccb2; /* Preserve the tab color */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column; /* Stack image and text vertically */
  align-items: center; /* Center align content */
  text-align: center; /* Center align text */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lecture-tab:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.lecture-tab img {
  width: 50%; /* Adjust image size for mobile */
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.lecture-tab-content {
  text-align: left; /* Align text to the left */
}

.lecture-tab-content h4 {
  font-size: 1rem; /* Adjust font size for mobile */
  margin-bottom: 0.5rem;
}

.lecture-tab-content p {
  font-size: 0.8rem; /* Adjust font size for mobile */
  margin-bottom: 0.5rem;
  color: #333; /* Darker text for better contrast */
}

.lecture-tab-content p strong {
  color: var(--darkwine);
  font-weight: bold;
}

@media (min-width: 768px) {
  .lecture-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
  }

  .lecture-tab {
    flex-direction: row; /* Align image and text side by side */
    text-align: left; /* Align text to the left */
  }

  .lecture-tab img {
    width: 30%; /* Adjust image size for tablets */
    margin-right: 1rem;
  }
}

@media (min-width: 1024px) {
  .lecture-grid {
    grid-template-columns: repeat(3, 1fr); /* Three columns for desktops */
  }

  .lecture-tab img {
    width: 25%; /* Adjust image size for desktops */
  }
}

@media (width > 1010px){
    .nav_logo{
        flex: 1;
    }

    .nav_links{
        position: static;
        justify-content: flex-end;
        padding: 0;
        height: fit-content;
        display: flex;
        flex-direction: row;
        background-color: transparent;
    }
    .nav_menu_btn{
        display: none;
    }

    .nav_links a{
        color: var(--white);
    }

    .about_container{
        padding-top: 3rem;
        grid-template-columns: repeat(2,1fr);
        align-items: center;
        gap: 10rem 2rem;
    }

    .about_image-1 {
        grid-area: 1/2/2/3;
    }

    .about_image-3 {
        grid-area: 3/2/4/3;
    }

    .about_image-5 {
        grid-area: 5/2/6/3;
    }

    
    .about_content{
        padding: 0rem;
        margin-left: 5rem;
    }

    .logocontainer{
        height:100%;
    }

    .cardcontainer{
        grid-template-columns: repeat(3,1fr);
        gap: 1rem;
    }

    .card{
        width: 348px;
        
    }

    .card_data{
        padding-inline: 2.5rem;
    }
}
@media (min-width: 769px) and (max-width: 1009px) {
    .cardcontainer {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
      }
}
@media (max-width: 768px) {
    .banner {
      display: flex;
      flex-direction: column;
    }
  
    .content {
      order: 1;
    }
  
    .container {
      padding: 1rem 0rem 1rem 0rem;
    }

    .slider-wrapper {
        max-width: 100%;
    }
}

@media screen and (max-width: 340px) {
    .logocontainer {
      margin-inline: 1rem;
    }
  
    .card_data {
      padding: 1rem;
    }
}

.scroll-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scroll-buttons button {
    background-color: var(--darkwine); /* theme color */
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.scroll-buttons button:hover {
    background-color: #a12727; /* darker shade */
}

/* Apply the glassy effect to nav links without dropdown menus */
.nav_links li:not(.dropdown) a {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 8px;
  transition: background-color 0.3s ease;
}
/* Animation for the "WELCOME TO" text */
.hero_content h3.section_subheader {
    animation: fadeIn 2s ease-in-out;
}

/* Animation for the "Institute of Remote Sensing" text */
.hero_content h1.section_header span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 1s ease-in-out forwards;
}

.hero_content h1.section_header span:nth-child(1) {
    animation-delay: 0.5s;
}
.hero_content h1.section_header span:nth-child(2) {
    animation-delay: 0.7s;
}
.hero_content h1.section_header span:nth-child(3) {
    animation-delay: 0.9s;
}
.hero_content h1.section_header span:nth-child(4) {
    animation-delay: 1.1s;
}

/* Animation for the "Department of Civil Engineering" text */
.hero_content h2.subheader1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-in-out forwards;
    animation-delay: 1.5s;
}

/* Animation for the "College of Engineering Guindy, Anna University - Chennai" text */
.hero_content h3.subheader2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-in-out forwards;
    animation-delay: 2s;
}

/* Keyframes for fade-in effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Keyframes for slide-in effect */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for fade-in-up effect */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Ensure text and background are visible in mobile view */
@media (max-width: 768px) {
    .nav_links {
        background-color: rgba(128, 0, 0, 0.9); /* Dark wine red background */
        color: white; /* Ensure text is visible */
    }

    .nav_links a {
        color: white; /* Text color for links */
        text-decoration: none;
    }

    .nav_links a:hover {
        color: #ffd700; /* Optional: Golden yellow on hover */
    }

    .dropbtn {
        background-color: rgba(255, 255, 255, 0.2); /* Transparent glass effect */
        color: white; /* Ensure dropdown button text is visible */
    }

    .dropdown-content {
        background-color: rgba(128, 0, 0, 0.95); /* Slightly darker wine red for dropdown */
    }

    .dropdown-content a {
        color: white; /* Ensure dropdown links are visible */
    }

    .dropdown-content a:hover {
        background-color: rgba(255, 255, 255, 0.2); /* Light transparent hover effect */
        color: #ffd700; /* Optional: Golden yellow text on hover */
    }
}

/* IRS News Section Styles */
#irs-news {
    padding: 40px 20px;
    background-color: var(--beige); /* Matches your theme background */
}

#irs-news h2 {
    text-align: center;
    /* Use your theme’s wine red color */
    color: var(--darkwine);
    margin-bottom: 20px;
}

.newsDiv {
    background-color: #e3ccb2; /* A light background for contrast */
    border: 1px solid #151010;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsDiv h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    /* Titles use the theme’s wine red color */
    color: var(--darkwine);
}

.newsDiv p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 10px;
}

.newsDiv a {
    text-decoration: underline;
    font-weight: bold;
    /* Link color uses a dark variant from your theme */
    color: var(--darkwine);
}

.newsDiv a:hover {
    /* On hover, use the theme’s wine red color */
    color: var(--winered);
}

/* Contact Us Section */
.contact-section {
    padding: 50px 20px;
    background-color: var(--beige); /* Match the theme background */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section h2 {
    font-size: 2rem;
    color: var(--darkwine);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-details {
    animation: fadeInUp 1.5s ease-in-out;
}

.contact-line {
    font-size: 1.2rem;
    color: var(--darkwine);
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
}

.contact-line:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-line:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-line:nth-child(3) {
    animation-delay: 0.6s;
}

.contact-line:nth-child(4) {
    animation-delay: 0.8s;
}

.contact-line:nth-child(5) {
    animation-delay: 1s;
}

.contact-line a {
    color: var(--darkwine);
    text-decoration: underline;
    font-weight: bold;
}

.contact-line a:hover {
    color: var(--winered);
}

/* Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Society of Geoinformatics Engineers Section */
#society-of-geoinformatics-engineers {
    padding: 40px 20px;
    background-color: var(--beige); /* Match the theme background */
}

#society-of-geoinformatics-engineers h2 {
    text-align: center;
    color: var(--darkwine);
    margin-bottom: 20px;
}

#society-of-geoinformatics-engineers p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

#society-of-geoinformatics-engineers ul {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.8;
}

#society-of-geoinformatics-engineers ul li {
    margin-bottom: 10px;
}

/* Society of Geoinformatics Engineers Table Styles */
.sge-table-container {
    margin-top: 20px;
    overflow-x: auto; /* Enable horizontal scrolling for small screens */
}

.sge-table {
    width: 90%; /* Reduced width from 100% */
    margin: 20px auto; /* Center the table */
    border-collapse: collapse;
    font-size: 0.95rem; /* Slightly reduced font size */
    text-align: left;
    background: linear-gradient(to bottom, #f9f9f9, #e3ccb2); /* Subtle gradient background */
    border: 1px solid var(--darkwine); /* Border color matches theme */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Add shadow for a 3D effect */
    /*transform: perspective(800px) rotateX(2deg); /* Subtle 3D tilt */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sge-table:hover {
    /*transform: perspective(800px) rotateX(0deg); /* Flatten the table on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

.sge-table th,
.sge-table td {
    padding: 10px 15px;
    border: 1px solid var(--darkwine); /* Cell borders match theme */
}

.sge-table th {
    background: linear-gradient(to right, var(--darkwine), #a12727); /* Gradient for header */
    color: white; /* Header text color */
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add subtle text shadow */
}

.sge-table tr:nth-child(even) {
    background: linear-gradient(to right, #f9f9f9, #e3ccb2); /* Gradient for even rows */
}

.sge-table tr:nth-child(odd) {
    background: linear-gradient(to right, #ffffff, #f9f9f9); /* Gradient for odd rows */
}

.sge-table tr:hover {
    background: linear-gradient(to right, #ebd96e, #e3ac07); /* Highlight row with shiny gradient */
    transition: background-color 0.3s ease;
}

.sge-table td {
    color: #333; /* Text color for table cells */
    text-align: center; /* Center-align text */
}

/* Mobile View Fix */
@media (max-width: 768px) {
    .sge-table {
        width: 100%; /* Ensure the table fits within the screen */
        transform: none; /* Remove 3D effect for smaller screens */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for mobile */
    }

    .sge-table th,
    .sge-table td {
        font-size: 0.85rem; /* Slightly reduce font size for better readability */
        padding: 8px 10px; /* Adjust padding for smaller screens */
    }
}

/* Society of Geoinformatics Engineers Table Styles */
.sge-table-container {
    margin-top: 20px;
    overflow-x: auto; /* Enable horizontal scrolling for small screens */
}

.sge-table {
    width: 90%; /* Reduced width from 100% */
    margin: 20px auto; /* Center the table */
    border-collapse: collapse;
    font-size: 0.95rem; /* Slightly reduced font size */
    text-align: left;
    background: linear-gradient(to bottom, #f9f9f9, #e3ccb2); /* Subtle gradient background */
    border: 1px solid var(--darkwine); /* Border color matches theme */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Add shadow for a 3D effect */
    /*transform: perspective(800px) rotateX(2deg); /* Subtle 3D tilt */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sge-table:hover {
    transform: perspective(800px) rotateX(0deg); /* Flatten the table on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

.sge-table th,
.sge-table td {
    padding: 10px 15px;
    border: 1px solid var(--darkwine); /* Cell borders match theme */
}

.sge-table th {
    background: linear-gradient(to right, var(--darkwine), #a12727); /* Gradient for header */
    color: white; /* Header text color */
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add subtle text shadow */
}

.sge-table tr:nth-child(even) {
    background: linear-gradient(to right, #f9f9f9, #e3ccb2); /* Gradient for even rows */
}

.sge-table tr:nth-child(odd) {
    background: linear-gradient(to right, #ffffff, #f9f9f9); /* Gradient for odd rows */
}

.sge-table tr:hover {
    background: linear-gradient(to right, #ebd96e, #e3ac07); /* Highlight row with shiny gradient */
    transition: background-color 0.3s ease;
}

.sge-table td {
    color: #333; /* Text color for table cells */
    text-align: center; /* Center-align text */
}

/* Mobile View Fix */
@media (max-width: 768px) {
    .sge-table {
        width: 100%; /* Ensure the table fits within the screen */
        transform: none; /* Remove 3D effect for smaller screens */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for mobile */
    }

    .sge-table th,
    .sge-table td {
        font-size: 0.85rem; /* Slightly reduce font size for better readability */
        padding: 8px 10px; /* Adjust padding for smaller screens */
    }
}

/* Spatia Banner Styles */
.spatia-banner {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.spatia-banner img {
    width: 110%; /* Increased from 80% */
    max-width: 900px; /* Increased from 600px */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Shadow effect */
    transform: perspective(1000px) rotateX(10deg); /* 3D effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spatia-banner img:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05); /* Slight zoom and flatten on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

/* Animation for fade-in effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resources Section Styles */
.resources-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.resource-item {
    text-align: center;
    width: 150px; /* Adjust the size of each item */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-item img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-item img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.resource-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--darkwine); /* Match the theme color */
    font-weight: bold;
}

/* Lab Manuals Section Styles */
.lab-manuals-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.lab-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Ensure responsiveness */
}

.lab-item {
    width: 190px; /* Increased from 120px */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lab-item img {
    width: 100%;
    height: auto;
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lab-item img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.lab-item a {
    text-decoration: none;
}

/* Training Section Styles */
#training {
    padding: 40px 20px;
    background-color: var(--beige); /* Match the theme background */
}

#training h3 {
    text-align: center;
    color: var(--darkwine); /* Theme's wine red color */
    margin-bottom: 20px;
}

.training-tab {
    background-color: #f4eeed; /* White background for the tab */
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-tab:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.training-content p {
    font-size: 1rem;
    color: #333; /* Dark text color */
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.training-content ul {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.8;
}

.training-content ul li {
    margin-bottom: 10px;
    font-weight: bold; /* Bold list items */
    color: var(--darkwine); /* Theme's wine red color */
}

.training-content a {
    color: var(--darkwine); /* Theme's wine red color for links */
    text-decoration: underline;
    font-weight: bold;
}

.training-content a:hover {
    color: var(--winered); /* Lighter wine red on hover */
}

/* Ph.D. Awarded Table Styles */
.phd-table-container {
    margin-top: 20px;
    overflow-x: auto; /* Enable horizontal scrolling for small screens */
}

.phd-table {
    width: 80%; /* Reduced width from 100% */
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 0.85rem; /* Reduced font size */
    text-align: left;
    background: linear-gradient(to bottom, #f9f9f9, #e3ccb2); /* Subtle gradient background */
    border: 1px solid var(--darkwine); /* Border color matches theme */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Slightly reduced shadow */
}

.phd-table th,
.phd-table td {
    padding: 8px 10px; /* Reduced padding */
    border: 1px solid var(--darkwine); /* Cell borders match theme */
}

.phd-table th {
    background: linear-gradient(to right, var(--darkwine), #a12727); /* Gradient for header */
    color: white; /* Header text color */
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add subtle text shadow */
}

.phd-table tr:nth-child(even) {
    background: linear-gradient(to right, #f9f9f9, #e3ccb2); /* Gradient for even rows */
}

.phd-table tr:nth-child(odd) {
    background: linear-gradient(to right, #ffffff, #f9f9f9); /* Gradient for odd rows */
}

.phd-table tr:hover {
    background: linear-gradient(to right, #ebd96e, #e3ac07); /* Highlight row with shiny gradient */
    transition: background-color 0.3s ease;
}

.phd-table td {
    color: #333; /* Text color for table cells */
    text-align: center; /* Center-align text */
}

/* Ph.D. in Progress Section Styles */
.phd-progress-container {
    margin-top: 20px;
    overflow-x: auto; /* Enable horizontal scrolling for small screens */
}

.table-header {
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--darkwine); /* Theme color */
    margin-bottom: 10px;
}

.phd-progress-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 0.85rem;
    text-align: left;
    background: linear-gradient(to bottom, #f9f9f9, #e3ccb2); /* Subtle gradient background */
    border: 1px solid var(--darkwine); /* Border color matches theme */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.phd-progress-table th,
.phd-progress-table td {
    padding: 10px 15px;
    border: 1px solid var(--darkwine); /* Cell borders match theme */
}

.phd-progress-table th {
    background: linear-gradient(to right, var(--darkwine), #a12727); /* Gradient for header */
    color: white; /* Header text color */
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add subtle text shadow */
}

.phd-progress-table tr:nth-child(even) {
    background: linear-gradient(to right, #f9f9f9, #e3ccb2); /* Gradient for even rows */
}

.phd-progress-table tr:nth-child(odd) {
    background: linear-gradient(to right, #ffffff, #f9f9f9); /* Gradient for odd rows */
}

.phd-progress-table tr:hover {
    background: linear-gradient(to right, #ebd96e, #e3ac07); /* Highlight row with shiny gradient */
    transition: background-color 0.3s ease;
}

.phd-progress-table td {
    color: #333; /* Text color for table cells */
    text-align: center; /* Center-align text */
}

/* M.S. Awarded Table Styles */
.ms-table-container {
    margin-top: 20px;
    overflow-x: auto; /* Enable horizontal scrolling for small screens */
}

.ms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 0.9rem;
    text-align: left;
    background: linear-gradient(to bottom, #f9f9f9, #e3ccb2); /* Subtle gradient background */
    border: 1px solid var(--darkwine); /* Border color matches theme */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.ms-table th,
.ms-table td {
    padding: 10px 15px;
    border: 1px solid var(--darkwine); /* Cell borders match theme */
}

.ms-table th {
    background: linear-gradient(to right, var(--darkwine), #a12727); /* Gradient for header */
    color: white; /* Header text color */
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add subtle text shadow */
}

.ms-table tr:nth-child(even) {
    background: linear-gradient(to right, #f9f9f9, #e3ccb2); /* Gradient for even rows */
}

.ms-table tr:nth-child(odd) {
    background: linear-gradient(to right, #ffffff, #f9f9f9); /* Gradient for odd rows */
}

.ms-table tr:hover {
    background: linear-gradient(to right, #ebd96e, #e3ac07); /* Highlight row with shiny gradient */
    transition: background-color 0.3s ease;
}

.ms-table td {
    color: #333; /* Text color for table cells */
    text-align: center; /* Center-align text */
}

/* Master Degree Theses Section Styles */
.master-thesis-container {
    text-align: center;
    margin-top: 20px;
}

.master-thesis-image {
    display: inline-block;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out; /* Delayed animation */
    transform: perspective(1000px) rotateY(10deg); /* 3D effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.master-thesis-image img {
    width: 100%; /* Adjust image size */
    max-width: 600px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

.master-thesis-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05); /* Flatten and zoom on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

.master-thesis-container p {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.master-thesis-container ul {
    list-style-type: none;
    padding: 0;
}

.master-thesis-container ul li {
    margin: 10px 0;
}

.master-thesis-container ul li a {
    font-size: 1rem;
    font-weight: bold;
    color: var(--darkwine); /* Theme color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.master-thesis-container ul li a:hover {
    color: var(--secondary-color); /* Lighter color on hover */
}

/* Animation for fade-in effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Projects Section Styles */
.projects-container {
    margin-top: 20px;
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 0.85rem;
    text-align: left;
    background: linear-gradient(to bottom, #f9f9f9, #e3ccb2); /* Subtle gradient background */
    border: 1px solid var(--darkwine); /* Border color matches theme */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.projects-table th,
.projects-table td {
    padding: 10px 15px;
    border: 1px solid var(--darkwine); /* Cell borders match theme */
}

.projects-table th {
    background: linear-gradient(to right, var(--darkwine), #a12727); /* Gradient for header */
    color: white; /* Header text color */
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add subtle text shadow */
}

.projects-table tr:nth-child(even) {
    background: linear-gradient(to right, #f9f9f9, #e3ccb2); /* Gradient for even rows */
}

.projects-table tr:nth-child(odd) {
    background: linear-gradient(to right, #ffffff, #f9f9f9); /* Gradient for odd rows */
}

.projects-table tr:hover {
    background: linear-gradient(to right, #ebd96e, #e3ac07); /* Highlight row with shiny gradient */
    transition: background-color 0.3s ease;
}

.projects-table td {
    color: #333; /* Text color for table cells */
    text-align: center; /* Center-align text */
}
/* Style for the years in Research Publications */
.years-links a {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--darkwine); /* Use the theme color */
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.years-links a:hover {
    color: var(--secondary-color); /* Optional: Lighter color on hover */
}
/* Increase size and apply theme color for Publication Year subtitles */
.publication-year h4 {
    font-size: 2rem;  /* Increase the font size as needed */
    color: var(--darkwine); /* Use the theme color */
    font-weight: bold;
    margin-bottom: 1rem;
}
/* Ensure year headings are visible when jumping via anchor */
.publication-year {
    /* height of your fixed header + a bit of spacing */
    scroll-margin-top:115px;
}
/* Only mobile view */
@media (max-width: 768px) {
  .dropdown-caret {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s;
    font-size: 1.1em;
    vertical-align: middle;
  }
  .dropbtn.active .dropdown-caret {
    transform: rotate(180deg);
  }
  .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
    /* Already has display:none for desktop, so this is mobile only */
  }
  .dropdown-content.show {
    display: block;
    max-height: 500px; /* enough for your menu, adjust if needed */
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }
}
/* Mobile dropdown fix */
@media (max-width: 900px) {
  .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
    display: block !important; /* override display:none if set elsewhere */
    box-shadow: none;
    background: rgba(255,255,255,0.98);
    position: static;
  }
  .dropdown-content.show {
    max-height: 500px; /* adjust as needed */
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .dropbtn .dropdown-caret {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s;
  }
  .dropbtn.active .dropdown-caret {
    transform: rotate(180deg);
  }
}
@media (max-width: 900px) {
  .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
    display: block !important;
    position: static;
    background: #800000;
    box-shadow: none;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 90%; /* Center and control width */
    border-radius: 10px;
  }
  .dropdown-content.show {
    max-height: 500px;
  }
  .dropbtn .dropdown-caret {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s;
  }
  .dropbtn.active .dropdown-caret {
    transform: rotate(180deg);
  }
}
/* Always keep hamburger menu icon white */
.nav_menu_btn,
.nav_menu_btn.darkred {
    color: #fff !important;
}
.emeritus-subtitle {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #800000;
  margin-top: 32px;
  margin-bottom: 18px;
  letter-spacing: 1px;
  animation: emeritusFadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.emeritus-card-3d {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 900px;
  margin-bottom: 32px;
}

.emeritus-card-content {
  background: linear-gradient(135deg, #fff8f0 0%, #ffe4c4 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(80,0,0,0.22), 0 2px 8px 0 rgba(128,0,0,0.10), 0 1.5px 0 #800000;
  padding: 32px 28px 24px 28px;
  min-width: 270px;
  max-width: 340px;
  width: 100%;
  transform: rotateY(-7deg) rotateX(2deg) scale(0.97);
  opacity: 0;
  animation: emeritusCardIn 1.1s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
  transition: box-shadow 0.3s, transform 0.3s;
  font-size: 1.13rem;
  color: #800000;
  text-align: center;
}

.emeritus-card-content:hover {
  box-shadow: 0 16px 40px 0 rgba(80,0,0,0.32), 0 4px 16px 0 rgba(128,0,0,0.13), 0 2px 0 #800000;
  transform: rotateY(0deg) rotateX(0deg) scale(1.01);
}

.emeritus-name {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.emeritus-title {
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: #a12727;
}

.emeritus-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.emeritus-icon {
  color: #800000;
  font-size: 1.2em;
}

@keyframes emeritusCardIn {
  0% {
    opacity: 0;
    transform: rotateY(-24deg) rotateX(8deg) scale(0.92) translateY(40px);
    box-shadow: none;
  }
  60% {
    opacity: 1;
    transform: rotateY(-7deg) rotateX(2deg) scale(1.01) translateY(-8px);
    box-shadow: 0 16px 40px 0 rgba(80,0,0,0.15);
  }
  100% {
    opacity: 1;
    transform: rotateY(-7deg) rotateX(2deg) scale(0.97) translateY(0);
    box-shadow: 0 8px 32px 0 rgba(80,0,0,0.22), 0 2px 8px 0 rgba(128,0,0,0.10), 0 1.5px 0 #800000;
  }
}

@keyframes emeritusFadeIn {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}
.visiting-faculty-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  animation: emeritusFadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.visiting-faculty-card {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #fff8f0 0%, #ffe4c4 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(80,0,0,0.22), 0 2px 8px 0 rgba(128,0,0,0.10), 0 1.5px 0 #800000;
  min-width: 320px;
  max-width: 400px;
  width: 100%;
  min-height: 220px;
  margin: 0 8px;
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(2deg) scale(0.97);
  opacity: 0;
  animation: emeritusCardIn 1.1s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
  transition: box-shadow 0.3s, transform 0.3s;
}

.visiting-faculty-card:hover {
  box-shadow: 0 16px 40px 0 rgba(80,0,0,0.32), 0 4px 16px 0 rgba(128,0,0,0.13), 0 2px 0 #800000;
  transform: rotateY(0deg) rotateX(0deg) scale(1.01);
}

.visiting-faculty-img {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0;
  min-height: 220px;
}

.visiting-faculty-img img {
  width: 120px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
  box-shadow: 0 4px 16px rgba(80,0,0,0.10);
  background: #fff;
}

.visiting-faculty-info {
  flex: 1 1 0;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #800000;
  text-align: left;
}

@media (max-width: 900px) {
  .visiting-faculty-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .visiting-faculty-card {
    max-width: 95vw;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .visiting-faculty-img {
    border-radius: 22px 22px 0 0;
    min-height: unset;
    padding: 16px 0 0 0;
  }
  .visiting-faculty-img img {
    border-radius: 16px 16px 0 0;
    width: 120px;
    height: 160px;
  }
  .visiting-faculty-info {
    padding: 18px 12px 18px 12px;
    text-align: center;
  }
}
/* Overseas Faculty slider matches regular faculty */
.overseas-slider-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 24px auto;
  position: relative;
  background: linear-gradient(135deg, #fff8f0 0%, #ffe4c4 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(80,0,0,0.22), 0 2px 8px 0 rgba(128,0,0,0.10);
  padding: 0;
  overflow: hidden; /* Ensures image corners are clipped */
  height: 400px; /* Set the height to match the image */
  display: flex;
  align-items: stretch;
}

.overseas-slider {
  width: 100%;
  height: 100%;
}

.overseas-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: none;
  display: none;
  border: none;
  background: #fff;
  margin: 0;
}

.overseas-slider img:first-child {
  display: block;
}
#overseas-content {
  text-align: center;
  margin-bottom: 18px;
}
#overseas-prof-name {
  font-size: 1.25rem;
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
#overseas-prof-title {
  font-size: 1.08rem;
  font-weight: 500;
  color: #a12727;
  display: block;
  margin-bottom: 8px;
}
#overseas-prof-phone {
  display: block;
  margin-bottom: 8px;
}
#overseas-prof-bio {
  font-size: 1rem;
  margin-bottom: 8px;
  color:#151010;
}
#overseas-prof-email {
  margin-bottom: 8px;
}
#overseas-prof-blog i,
#overseas-prof-email-link i {
  font-size: 1.2em;
  color: #800000;
  margin-right: 6px;
}
@media (max-width: 600px) {
  .overseas-slider-wrapper {
    height: 320px; /* Make the wrapper height match the image */
    max-width: 95vw;
  }
  .overseas-slider img {
    height: 100%;
    min-height: 220px;
    max-height: 320px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
  }
}
/* Theme styles for Other Staff tables */
.other-staff-title {
  text-align: center;
  color: #800000;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 8px;
  margin-top: 24px;
}

.other-staff-updated {
  text-align: right;
  color: #800000;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.other-staff-subtitle {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 28px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.other-staff-subtitle.admin { color: #800000; }
.other-staff-subtitle.tech { color: #800000; }
.other-staff-subtitle.retired { color: #a12727; }

.other-staff-table {
  width: 100%;
  max-width: 540px;
  margin: 0 auto 26px auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff8f0;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  overflow: hidden;
  font-size: 1.07rem;
}

.other-staff-table th, .other-staff-table td {
  padding: 10px 16px;
  text-align: left;
}

.other-staff-table th {
  background: #800000;
  color: #f0f0f4;
  font-weight: bold;
  border-bottom: 2px solid #800000;
}

.other-staff-table tr:nth-child(even) td {
  background: #f8f3ee;
}

.other-staff-table tr:nth-child(odd) td {
  background: #fff;
}

.other-staff-table td {
  color: #222;
  border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 700px) {
  .other-staff-table, .other-staff-table th, .other-staff-table td {
    font-size: 0.98rem;
    padding: 8px 8px;
  }
}
/* Make Ph.D. thesis link images small in the table */
.phd-table img, .phd-table td img {
  max-width: 40px;
  max-height: 40px;
  width: auto;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
/*  Activities Section Styles */
.recent-activities-section {
  margin: 40px auto 0 auto;
  max-width: 1470px;
  background: linear-gradient(135deg, #edeff0 0%, #764545 100%);
  /* Silverish white gradient */
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  padding: 32px 36px;
}

.recent-activities-title {
  color: #800000;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 1px;
}

.recent-activities-subtitle {
  color: #1a237e;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 1px;
}

.recent-activities-desc {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 28px;
  text-align: justify;
}

.recent-activities-video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.recent-activities-video {
  width: 100%;
  max-width: 800px;     /* Increased from 520px */
  min-height: 340px;    /* Ensures a taller video */
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.13);
  background: #000;
}
.student-achievements-section {
  margin: 48px auto 0 auto;
  max-width: 1100px;
  background: linear-gradient(135deg, #ffffff 0%, #898a8b 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  padding: 32px 36px;
}

.student-achievements-title {
  color: #1a237e;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.student-achievements-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  align-items: flex-start;
}

.student-achievement {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 500px;
  min-width: 320px;
}

.student-achievement-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  border: 1.5px solid #ccc;
  background: #fff;
  box-shadow: 0 2px 8px rgba(80,0,0,0.08);
  transition: transform 0.2s;
}
.student-achievement-img:hover {
  transform: scale(1.07);
}

.student-achievement-desc {
  font-size: 1.08rem;
  color: #222;
  line-height: 1.5;
}

.student-name {
  font-weight: bold;
  color: #111;
  letter-spacing: 0.5px;
}

.student-uni {
  font-weight: bold;
  color: #800000;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .student-achievements-row {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .student-achievement {
    max-width: 100%;
    min-width: 0;
  }
}
.student-achievements-table-container {
  margin: 36px auto 0 auto;
  max-width: 1100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #e3e6ea 100%);
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  padding: 18px 12px 24px 12px;
}

.student-achievements-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1.07rem;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.student-achievements-table th,
.student-achievements-table td {
  padding: 10px 14px;
  text-align: left;
}

.student-achievements-table th {
  background: #800000;
  color: #f0f0f4;
  font-weight: bold;
  border-bottom: 2px solid #800000;
}

.student-achievements-table tr:nth-child(even) td {
  background: #f8f3ee;
}

.student-achievements-table tr:nth-child(odd) td {
  background: #fff;
}

.student-achievements-table td {
  color: #222;
  border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 900px) {
  .student-achievements-table-container {
    padding: 8px 2px 12px 2px;
  }
  .student-achievements-table th,
  .student-achievements-table td {
    padding: 7px 6px;
    font-size: 0.97rem;
  }
}
.international-conference-section {
  max-width: 900px;
  margin: 60px auto 48px auto;
  background: linear-gradient(135deg, #ffffff 0%, #7f3232 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  padding: 32px 36px 40px 36px;
  text-align: center;
}

.international-conference-title {
  color: #800000;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.international-conference-subtitle {
  color: #1a237e;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.isde-banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.isde-banner-img {
  width: 100%;
  max-width: 540px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(80,0,0,0.18), 0 2px 8px rgba(80,0,0,0.10);
  background: #fff;
  transform: perspective(900px) rotateY(-8deg) scale(0.96);
  opacity: 0;
  transition: 
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s,
    transform 1.1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}

/* Lazy 3D animation: fade in and rotate to normal */
.isde-banner-img.lazy-3d-img.loaded {
  opacity: 1;
  transform: perspective(900px) rotateY(0deg) scale(1);
}


.consultancy-title {
  color: #800000;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.consultancy-desc {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 18px;
  text-align: justify;
}

.consultancy-list {
  margin-bottom: 18px;
  margin-left: 1.5em;
  color: #222;
  font-size: 1.08rem;
  padding-left: 1.2em;
}

.consultancy-list li {
  margin-bottom: 7px;
  list-style-type: disc;
}

.consultancy-contact {
  color: #800000;
  font-weight: bold;
  font-size: 1.08rem;
  margin-top: 18px;
  line-height: 1.7;
}
.consultancy-section {
  margin: 48px auto 0 auto;
  width: 100vw;
  max-width: none;
  border-radius: 0;
  background: linear-gradient(135deg, #ffffff 0%, #935a5a 100%);
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  padding: 32px 0 36px 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.consultancy-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 32px;
  margin: 36px auto 0 auto;
  max-width: 1400px;
  padding: 0 16px;
}

.consultancy-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(80,0,0,0.13), 0 2px 8px rgba(80,0,0,0.10);
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
  transform: perspective(600px) rotateY(-8deg) scale(0.97);
  opacity: 0;
  filter: blur(2px);
}

.consultancy-logo.loaded {
  opacity: 1;
  filter: blur(0);
  transform: perspective(600px) rotateY(0deg) scale(1.04);
  box-shadow: 0 10px 32px rgba(80,0,0,0.18), 0 2px 8px rgba(80,0,0,0.13);
}

.consultancy-logo:hover {
  transform: scale(1.09) perspective(600px) rotateY(0deg);
  box-shadow: 0 16px 40px rgba(80,0,0,0.22), 0 2px 8px rgba(80,0,0,0.13);
  z-index: 2;
}

@media (max-width: 900px) {
  .consultancy-logos-row {
    gap: 18px 12px;
    max-width: 98vw;
  }
  .consultancy-logo {
    width: 60px;
    height: 60px;
  }
}
/* Ultimate mobile overflow fix */
@media (max-width: 1100px) {
  html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
  }
  .consultancy-section,
  .international-conference-section {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 16px !important;
    position: static !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }
}
.alumni-achievements-title {
  text-align: center;
  color: #800000;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 18px;
  margin-top: 36px;
}

.alumni-achievements-table-container {
  margin: 0 auto 48px auto;
  max-width: 1100px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #e3e6ea 100%);
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  padding: 18px 12px 24px 12px;
}

.alumni-achievements-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1.07rem;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.alumni-achievements-table th,
.alumni-achievements-table td {
  padding: 10px 14px;
  text-align: left;
}

.alumni-achievements-table th {
  background: #800000;
  color: #f0f0f4;
  font-weight: bold;
  border-bottom: 2px solid #800000;
  font-size: 1.07rem;
}

.alumni-achievements-table tr:nth-child(even) td {
  background: #f8f3ee;
}

.alumni-achievements-table tr:nth-child(odd) td {
  background: #fff;
}

.alumni-achievements-table td {
  color: #222;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

@media (max-width: 900px) {
  .alumni-achievements-table-container {
    padding: 8px 2px 12px 2px;
  }
  .alumni-achievements-table th,
  .alumni-achievements-table td {
    padding: 7px 6px;
    font-size: 0.97rem;
  }
  .alumni-achievements-title {
    font-size: 1.3rem;
  }
}
/* ...existing code... */
.placements-section {
  margin: 48px 0 32px 0;
  padding: 0 0 32px 0;
  background: linear-gradient(135deg, #7f3232 0%, #edceaa 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
}

.placements-title {
  text-align: center;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 24px;
  margin-top: 0;
  letter-spacing: 1px;
}

.placements-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 32px;
  padding: 0 16px;
}

.placement-logo {
  width: 120px;
  height: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(80,0,0,0.13), 0 1.5px 4px rgba(0,0,0,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
  margin-bottom: 12px;
  border: 1.5px solid #e0e0e0;
  perspective: 400px;
}

.placement-logo:hover {
  transform: scale(1.07) rotateY(7deg);
  box-shadow: 0 10px 28px rgba(80,0,0,0.19), 0 2.5px 8px rgba(0,0,0,0.13);
  border-color: #800000;
}

@media (max-width: 900px) {
  .placement-logo {
    width: 90px;
    height: 60px;
  }
  .placements-title {
    font-size: 1.3rem;
  }
  .placements-logos {
    gap: 16px 12px;
  }
}
/* Memories Section */
.memories-section {
  margin: 60px auto 10px auto; /* Reduced bottom margin from 40px to 10px */
  max-width: 1500px;
  padding: 8px 32px 56px 32px; 
  background: linear-gradient(120deg, #f8fafc 0%, #828486 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(80,0,0,0.10);
  
}

.memories-title {
  display: flex;
  justify-content: center;
  font-size: 3.1rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  margin-top: 0;
  color: #800000;
  text-shadow: 0 6px 32px rgba(80,0,0,0.13), 0 2px 0 #003366;
  animation: memoriesTitlePop 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.memories-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.8) rotate(-10deg);
  animation: memoriesLetterIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.memories-title span:nth-child(1) { animation-delay: 0.05s; }
.memories-title span:nth-child(2) { animation-delay: 0.15s; }
.memories-title span:nth-child(3) { animation-delay: 0.25s; }
.memories-title span:nth-child(4) { animation-delay: 0.35s; }
.memories-title span:nth-child(5) { animation-delay: 0.45s; }
.memories-title span:nth-child(6) { animation-delay: 0.55s; }
.memories-title span:nth-child(7) { animation-delay: 0.65s; }
.memories-title span:nth-child(8) { animation-delay: 0.75s; }

@keyframes memoriesTitlePop {
  0% { opacity: 0; transform: scale(0.8) translateY(40px);}
  100% { opacity: 1; transform: scale(1) translateY(0);}
}
@keyframes memoriesLetterIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.8) rotate(-10deg);}
  80% { opacity: 1; transform: translateY(-8px) scale(1.1) rotate(7deg);}
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0);}
}

.memories-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px 18px;
  justify-items: center;
  align-items: center;
}

.memory-img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(80,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  object-fit: cover;
  background: #fff;
  opacity: 0;
  transform: scale(0.85) translateY(40px) rotateY(25deg);
  transition: 
    box-shadow 0.25s cubic-bezier(.25,.8,.25,1),
    transform 0.25s cubic-bezier(.25,.8,.25,1),
    opacity 0.25s;
  filter: blur(2.5px) grayscale(0.3) brightness(0.93);
  will-change: transform, opacity, filter;
  cursor: pointer;
}

.memory-img.visible {
  opacity: 1;
  filter: blur(0) grayscale(0) brightness(1);
  transform: scale(1) translateY(0) rotateY(0);
  animation: memoryAppear 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes memoryAppear {
  0% { opacity: 0; filter: blur(2.5px) grayscale(0.3) brightness(0.93); transform: scale(0.85) translateY(40px) rotateY(25deg);}
  80% { opacity: 1; filter: blur(0.5px) grayscale(0.1) brightness(1.03); transform: scale(1.08) translateY(-8px) rotateY(-7deg);}
  100% { opacity: 1; filter: blur(0) grayscale(0) brightness(1); transform: scale(1) translateY(0) rotateY(0);}
}

.memory-img:hover {
  box-shadow: 0 16px 48px rgba(80,0,0,0.22), 0 4px 16px rgba(0,0,0,0.14);
  transform: scale(1.07) rotateY(-8deg) rotateZ(1deg);
  z-index: 2;
  filter: brightness(1.08) saturate(1.1);
}

@media (max-width: 1100px) {
  .memories-gallery { grid-template-columns: repeat(4, 1fr); }
  .memory-img { max-width: 170px; }
}
@media (max-width: 800px) {
  .memories-gallery { grid-template-columns: repeat(3, 1fr); }
  .memory-img { max-width: 140px; }
  .memories-title { font-size: 2rem; }
}
@media (max-width: 600px) {
  .memories-gallery { grid-template-columns: repeat(2, 1fr); }
  .memory-img { max-width: 100px; }
  .memories-section { padding: 16px 2px 24px 2px; }
  .memories-title { font-size: 1.3rem; }
}
/* CSTAR (CENTRE FOR SURVEY TRAINING AND RESEARCH) Section Styles */
#cstar {
  margin: 48px auto 0 auto;
  max-width: 1400px;
  background: linear-gradient(135deg, #ffffff 0%, #858687 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.07);
  padding: 32px 36px;
}
/* CSTAR Director Card Styles */
.cstar-director-section {
  margin: 38px auto 0 auto;
  max-width: 520px;
  background: linear-gradient(135deg, #f8fafc 0%, #edceaa 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(80,0,0,0.10);
  padding: 32px 24px 24px 24px;
  text-align: center;
}

.cstar-director-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(80,0,0,0.10);
}

.cstar-director-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cstar-director-img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(80,0,0,0.18), 0 2px 8px rgba(80,0,0,0.10);
  background: #fff;
  margin-bottom: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  filter: grayscale(0.08) brightness(1.04);
}

.cstar-director-img:hover {
  transform: scale(1.04) rotateY(-4deg);
  box-shadow: 0 16px 48px rgba(80,0,0,0.22), 0 4px 16px rgba(0,0,0,0.14);
  filter: grayscale(0) brightness(1.08);
}

.cstar-director-desc {
  font-size: 1.08rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cstar-director-desc a {
  color: #800000;
  text-decoration: underline;
  font-weight: 500;
}

.cstar-director-blog {
  margin-top: 10px;
}

.cstar-director-blog-link {
  display: inline-block;
  font-size: 1.08rem;
  color: #003366;
  background: linear-gradient(90deg, #9c6161 0%, #e3e6ea 100%);
  padding: 7px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(80,0,0,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cstar-director-blog-link:hover {
  background: linear-gradient(90deg, #800000 0%, #3f3b36 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(80,0,0,0.18);
}

@media (max-width: 700px) {
  .cstar-director-section {
    max-width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
  .cstar-director-img {
    width: 120px;
    height: 150px;
  }
}
/* CSTAR Technical Staff Styles */
.cstar-techstaff-section {
  margin: 44px auto 0 auto;
  max-width: 950px;
  padding: 24px 0 0 0;
}

.cstar-techstaff-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: bold;
  color: #003366;
  letter-spacing: 1px;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(80,0,0,0.08);
  animation: cstarTechTitleFadeIn 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes cstarTechTitleFadeIn {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}

.cstar-techstaff-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  justify-items: center;
  align-items: start;
}

.cstar-techstaff-card {
  background: linear-gradient(120deg, #f8fafc 0%, #e3e6ea 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.10);
  padding: 18px 10px 14px 10px;
  text-align: center;
  width: 100%;
  max-width: 200px;
  min-width: 0;
  opacity: 0;
  transform: translateY(40px) scale(0.93);
  animation: cstarTechStaffAppear 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: var(--cstar-techstaff-delay, 0s);
  transition: box-shadow 0.2s, transform 0.2s;
}

.cstar-techstaff-card:hover {
  box-shadow: 0 12px 36px rgba(80,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  transform: scale(1.04) translateY(-6px);
}

.cstar-techstaff-img {
  width: 110px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(80,0,0,0.13);
  margin-bottom: 10px;
  background: #fff;
  transition: filter 0.2s, box-shadow 0.2s;
  filter: grayscale(0.07) brightness(1.03);
}

.cstar-techstaff-card:hover .cstar-techstaff-img {
  filter: grayscale(0) brightness(1.08);
  box-shadow: 0 12px 32px rgba(80,0,0,0.18);
}

.cstar-techstaff-name {
  font-size: 1.08rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 2px;
  margin-top: 2px;
}

.cstar-techstaff-role {
  font-size: 0.98rem;
  color: #003366;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@keyframes cstarTechStaffAppear {
  0% { opacity: 0; transform: translateY(40px) scale(0.93);}
  80% { opacity: 1; transform: translateY(-8px) scale(1.04);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}

/* Responsive for tablets and mobile */
@media (max-width: 1100px) {
  .cstar-techstaff-gallery { grid-template-columns: repeat(2, 1fr); }
  .cstar-techstaff-card { max-width: 260px; }
}
@media (max-width: 700px) {
  .cstar-techstaff-gallery { grid-template-columns: 1fr; }
  .cstar-techstaff-card { max-width: 320px; margin: 0 auto; }
  .cstar-techstaff-img { width: 90px; height: 110px; }
}

/* Animation delay for each card using JS */
/* CSTAR Infrastructure Styles */
.cstar-infra-section {
  margin: 54px auto 0 auto;
  max-width: 1100px;
  padding: 32px 0 0 0;
}

.cstar-infra-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #003366;
  letter-spacing: 1px;
  margin-bottom: 30px;
  text-shadow: 0 2px 12px rgba(80,0,0,0.08);
  animation: cstarInfraTitleFadeIn 1.1s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes cstarInfraTitleFadeIn {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}

.cstar-infra-gallery {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cstar-infra-img {
  width: 270px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(80,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  opacity: 0;
  transform: scale(0.92) rotateY(18deg) translateY(40px);
  filter: blur(2.5px) grayscale(0.25) brightness(0.93);
  transition: 
    box-shadow 0.3s cubic-bezier(.25,.8,.25,1),
    transform 0.3s cubic-bezier(.25,.8,.25,1),
    opacity 0.3s,
    filter 0.3s;
  will-change: transform, opacity, filter;
}
.cstar-infra-img.visible {
  opacity: 1;
  filter: blur(0) grayscale(0) brightness(1);
  transform: scale(1) rotateY(0) translateY(0);
  animation: cstarInfraAppear 1.1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes cstarInfraAppear {
  0% { opacity: 0; filter: blur(2.5px) grayscale(0.25) brightness(0.93); transform: scale(0.92) rotateY(18deg) translateY(40px);}
  80% { opacity: 1; filter: blur(0.5px) grayscale(0.1) brightness(1.03); transform: scale(1.06) rotateY(-7deg) translateY(-8px);}
  100% { opacity: 1; filter: blur(0) grayscale(0) brightness(1); transform: scale(1) rotateY(0) translateY(0);}
}
.cstar-infra-img:hover {
  box-shadow: 0 18px 48px rgba(80,0,0,0.22), 0 4px 16px rgba(0,0,0,0.14);
  transform: scale(1.07) rotateY(-8deg) rotateZ(1deg);
  filter: brightness(1.08) saturate(1.1);
}

.cstar-infra-desc {
  margin-top: 18px;
  font-size: 1.08rem;
  color: #222;
  line-height: 1.7;
}

.cstar-infra-subtitle {
  font-weight: bold;
  color: #800000;
  margin-bottom: 6px;
  margin-top: 18px;
  font-size: 1.13rem;
}

.cstar-infra-list {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 1.2em;
  color: #011745;
  font-size: 1.05rem;
}

@media (max-width: 1000px) {
  .cstar-infra-gallery {
    gap: 18px;
  }
  .cstar-infra-img {
    width: 180px;
    height: 120px;
  }
}
@media (max-width: 700px) {
  .cstar-infra-gallery {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .cstar-infra-img {
    width: 98vw;
    max-width: 340px;
    height: 120px;
  }
}
/* Infrastructure Facilities Section Styles */
.infrastructure {
  background: linear-gradient(120deg, #f9ebdb 0%, #eea97c 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(80,0,0,0.10);
  margin: 10px auto 0 auto;
  max-width: 1470px;
  padding: 40px 40px 40px 40px;
}

.infrastructure .section_container {
  padding: 0 12px;
}

.infrastructure h2 {
  text-align: center;
  font-size: 2.3rem;
  font-weight: bold;
  color: #003366;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  margin-top: 0;
  text-shadow: 0 2px 12px rgba(80,0,0,0.08);
}

.infrastructure ul,
.infrastructure ol {
  margin-left: 2em;
  margin-bottom: 1.2em;
  font-size: 1.08rem;
}

.infrastructure li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.infrastructure p {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 18px;
  text-align: justify;
}

.infra-general-facilities {
  margin-top: 18px;
  margin-bottom: 8px;
}

.infra-general-title {
  color: var(--darkwine, #800000);
  font-size: 1.13rem;
  margin-bottom: 8px;
}

.infra-general-list {
  margin-left: 1.2em;
  margin-bottom: 1.2em;
  font-size: 1.05rem;
  color: #0a3543;
}

@media (max-width: 900px) {
  .infrastructure {
    padding: 18px 4vw 18px 4vw;
    max-width: 98vw;
  }
  .infrastructure h2 {
    font-size: 1.5rem;
  }
}
/* Contact Us Pad Styles */
.contact-section, #contact {
  background: linear-gradient(120deg, #f8fafc 0%, #ffe4c4 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(80,0,0,0.10);
  margin: 48px auto 0 auto;
  max-width: 1400px;
  padding: 40px 32px 40px 32px;
  text-align: center;
}

.contact-section h2, #contact h2 {
  font-size: 2.2rem;
  color: #800000;
  font-weight: bold;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(80,0,0,0.08);
}

.contact-details, .contact-location {
  font-size: 1.13rem;
  color: #020e1a;
  margin-bottom: 18px;
  line-height: 1.7;
}

.contact-details a {
  color: #800000;
  text-decoration: underline;
  font-weight: 500;
}

.contact-details a:hover {
  color: #a12727;
}

.contact-location {
  margin-top: 18px;
  font-size: 1.08rem;
  color: #222;
}

@media (max-width: 900px) {
  .contact-section, #contact {
    padding: 18px 4vw 18px 4vw;
    max-width: 98vw;
  }
  .contact-section h2, #contact h2 {
    font-size: 1.3rem;
  }
}
/* Highlight and enlarge "The Director" and align address block left */
.contact-address-block {
  text-align: left;
  margin: 0 0 18px 0;    /* Remove auto centering, add bottom margin */
  display: block;         /* Make it a block element */
  max-width: 420px;       /* Optional: limit width for neatness */
}

.contact-director {
  color: #800000;
  font-size: 1.25em;
  font-weight: bold;
  letter-spacing: 1px;
}
.card_data {
    background: linear-gradient(135deg, #ffffff 0%, #747474 100%);
}
/* Infrastructure Slideshow Styles */
.infra-slideshow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  margin-top: 10px;
}

.infra-slideshow-image-wrapper {
  position: relative;
  width: 620px;      /* Increased from 420px */
  height: 380px;     /* Increased from 260px */
  background: linear-gradient(120deg, #f8fafc 0%, #e3e6ea 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(80,0,0,0.13), 0 2px 8px rgba(80,0,0,0.10);
  overflow: hidden;
}

.infra-slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0;
  position: absolute;
  left: 0; top: 0;
  box-shadow: 0 8px 32px rgba(80,0,0,0.18);
  transition: none;
}

.infra-slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(128,0,0,0.85);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 10px 0;
  text-align: center;
  border-radius: 0 0 18px 18px;
  letter-spacing: 1px;
  opacity: 0.93;
  transition: background 0.3s;
}

@keyframes infraFadeIn {
  0% { opacity: 0; transform: scale(0.96) translateY(30px);}
  80% { opacity: 1; transform: scale(1.04) translateY(-8px);}
  100% { opacity: 1; transform: scale(1) translateY(0);}
}

@media (max-width: 700px) {
  .infra-slideshow-image-wrapper {
    width: 98vw;
    max-width: 98vw;
    height: 160px;
  }
  .infra-slideshow-caption {
    font-size: 1rem;
    padding: 7px 0;
  }
}
/* Base for all slideshow images */
.infra-slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0;
  position: absolute;
  left: 0; top: 0;
  box-shadow: 0 8px 32px rgba(80,0,0,0.18);
  transition: none;
}

/* Animation 1: Grid Reveal */
@keyframes gridReveal {
  0% { opacity: 0; filter: blur(8px) grayscale(1); clip-path: inset(50% 50% 50% 50%); }
  60% { opacity: 1; filter: blur(2px) grayscale(0.3); clip-path: inset(0 0 0 0); }
  100% { opacity: 1; filter: blur(0) grayscale(0); clip-path: inset(0 0 0 0); }
}
.grid-reveal {
  animation: gridReveal 1.2s cubic-bezier(.23,1,.32,1) forwards;
}

/* Animation 2: Slide In from Right */
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(100%) scale(0.95) rotateY(20deg);}
  80% { opacity: 1; transform: translateX(-4%) scale(1.05) rotateY(-5deg);}
  100% { opacity: 1; transform: translateX(0) scale(1) rotateY(0);}
}
.slide-in-right {
  animation: slideInRight 1.1s cubic-bezier(.23,1,.32,1) forwards;
}

/* Animation 3: Scale In (Inside Out) */
@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.1) rotate(-10deg);}
  80% { opacity: 1; transform: scale(1.08) rotate(7deg);}
  100% { opacity: 1; transform: scale(1) rotate(0);}
}
.scale-in {
  animation: scaleIn 1.1s cubic-bezier(.23,1,.32,1) forwards;
}

/* Animation 4: Rocket (Old School Album) */
@keyframes rocketIn {
  0% { opacity: 0; transform: translateY(100%) rotate(-30deg) scale(0.3);}
  60% { opacity: 1; transform: translateY(-10%) rotate(8deg) scale(1.08);}
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1);}
}
.rocket-in {
  animation: rocketIn 1.2s cubic-bezier(.23,1,.32,1) forwards;
}

/* Animation 5: Fade In (default fallback) */
@keyframes infraFadeIn {
  0% { opacity: 0; transform: scale(0.96) translateY(30px);}
  80% { opacity: 1; transform: scale(1.04) translateY(-8px);}
  100% { opacity: 1; transform: scale(1) translateY(0);}
}
.fade-in {
  animation: infraFadeIn 1.1s cubic-bezier(.23,1,.32,1) forwards;
}
.newsDiv {
  margin-bottom: 32px;
}

.news-flex {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: linear-gradient(120deg, #f8fafc 0%, #e3e6ea 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.10);
  padding: 18px 24px;
  min-height: 180px;
}

.news-img {
  width: 180px;
  max-width: 220px;
  min-width: 120px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(80,0,0,0.10);
  background: #fff;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #003366;
  font-size: 1.18rem;
  font-weight: bold;
}

.news-content p {
  margin-bottom: 10px;
  color: #222;
  font-size: 1.05rem;
}

.news-content a {
  color: #800000;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s;
}
.news-content a:hover {
  color: #a12727;
}

@media (max-width: 700px) {
  .news-flex {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 6px;
    gap: 12px;
  }
  .news-img {
    width: 100%;
    max-width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 8px;
  }
}
.news-flex {
  position: relative;
}

.news-date {
  position: absolute;
  top: 14px;
  right: 24px;
  background: #800000;
  color: #fff;
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(80,0,0,0.08);
  z-index: 2;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .news-date {
    right: 10px;
    top: 10px;
    font-size: 0.92rem;
    padding: 3px 10px;
  }
}
/* Add to your style.css */

.celestia-events-section {
  margin: 38px 0 24px 0;
  text-align: center;
}

.celestia-events-title {
  font-size: 2rem;
  color: #800000;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-align: center;
}

.celestia-events-gallery {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.celestia-event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(120deg, #f8fafc 0%, #e3e6ea 100%);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.10);
  padding: 16px 18px 12px 18px;
  transition: transform 0.25s cubic-bezier(.23,1,.32,1), box-shadow 0.25s;
  max-width: 210px;
}

.celestia-event-card:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(80,0,0,0.18);
}

.celestia-event-img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(80,0,0,0.10);
  background: #fff;
  transition: box-shadow 0.2s;
}

.celestia-event-date {
  font-size: 1.07rem;
  color: #003366;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .celestia-events-gallery {
    gap: 16px;
  }
  .celestia-event-img {
    width: 120px;
    height: 80px;
  }
  .celestia-event-card {
    max-width: 140px;
    padding: 10px 8px 8px 8px;
  }
}
.geohorizon-events-section {
  margin: 38px 0 24px 0;
  text-align: center;
}

.geohorizon-events-title {
  font-size: 2rem;
  color: #800000;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-align: center;
}

.geohorizon-events-gallery {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.geohorizon-event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(120deg, #f8fafc 0%, #e3e6ea 100%);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(80,0,0,0.10);
  padding: 16px 18px 12px 18px;
  transition: transform 0.25s cubic-bezier(.23,1,.32,1), box-shadow 0.25s;
  max-width: 210px;
}

.geohorizon-event-card:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(80,0,0,0.18);
}

.geohorizon-event-img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(80,0,0,0.10);
  background: #fff;
  transition: box-shadow 0.2s;
}

.geohorizon-event-date {
  font-size: 1.07rem;
  color: #003366;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .geohorizon-events-gallery {
    gap: 16px;
  }
  .geohorizon-event-img {
    width: 120px;
    height: 80px;
  }
  .geohorizon-event-card {
    max-width: 140px;
    padding: 10px 8px 8px 8px;
  }
}
.spatia-section.spatia-book-theme {
  margin: 48px 0 32px 0;
  text-align: center;
}

.spatia-title {
  font-size: 2rem;
  color: #800000;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-align: center;
}

.spatia-desc {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 28px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.spatia-book-gallery {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.spatia-book-card {
  perspective: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spatia-book-link {
  text-decoration: none;
}

.spatia-book-cover {
  background: linear-gradient(120deg, #f8fafc 0%, #e3e6ea 100%);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(80,0,0,0.13), 0 2px 8px rgba(80,0,0,0.10);
  padding: 0;
  width: 190px;
  height: 270px;
  position: relative;
  transition: transform 0.5s cubic-bezier(.23,1,.32,1), box-shadow 0.3s;
  transform-style: preserve-3d;
  overflow: visible;
  cursor: pointer;
}

.spatia-book-cover:hover {
  transform: rotateY(-22deg) scale(1.07);
  box-shadow: 0 16px 48px rgba(80,0,0,0.18), 0 4px 16px rgba(80,0,0,0.10);
}

.spatia-book-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 8px 8px;
  box-shadow: 0 2px 10px rgba(80,0,0,0.10);
  background: #fff;
  display: block;
}

.spatia-book-year {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #800000;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 4px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(80,0,0,0.10);
  letter-spacing: 1px;
  z-index: 2;
  transition: background 0.2s;
}

.spatia-book-cover:hover .spatia-book-year {
  background: #a12727;
}

@media (max-width: 900px) {
  .spatia-book-gallery {
    gap: 18px;
  }
  .spatia-book-cover {
    width: 120px;
    height: 170px;
  }
  .spatia-book-year {
    font-size: 0.95rem;
    padding: 3px 10px;
    bottom: -14px;
  }
}
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#satellite-anim-container {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  overflow: visible;
  background: transparent;
}

.satellite-anim {
  position: absolute;
  width: 140px;
  height: 140px;
  opacity: 0;
  filter: drop-shadow(0 8px 24px #0008);
  will-change: transform, opacity;
  z-index: 100000;
}

.sat1 {
  animation: sat1-fly 9s cubic-bezier(.23,1,.32,1) 0.2s forwards;
  transform: rotateY(0deg) scale(1.1);
}
.sat2 {
  animation: sat2-fly 5s cubic-bezier(.23,1,.32,1) 0.5s forwards;
  transform: rotateY(180deg) scale(1.1);
}

@keyframes sat1-fly {
  0%   { left: -120px; top: 18vh; opacity: 0; transform: rotate(-60deg) scale(0.7);}
  10%  { opacity: 1; }
  40%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 110vw; top: 38vh; opacity: 0; transform: rotate(40deg) scale(1.25);}
}
@keyframes sat2-fly {
  0%   { left: 110vw; top: 60vh; opacity: 0; transform: rotate(80deg) scale(0.7);}
  10%  { opacity: 1; }
  40%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: -120px; top: 80vh; opacity: 0; transform: rotate(-40deg) scale(1.25);}
}

/* Meteor (tailstar) styles */
.meteor-anim {
  position: absolute;
  width: 38px;
  height: 38px;
  opacity: 0;
  pointer-events: none;
  z-index: 99998;
  filter: blur(0.5px) drop-shadow(0 0 8px #fff8) brightness(1.2);
  will-change: transform, opacity;
  animation: meteor-fall 1.6s cubic-bezier(.23,1,.32,1) forwards;
}

@keyframes meteor-fall {
  0%   { opacity: 0; transform: scale(0.7) rotateZ(-20deg);}
  10%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.1) translateY(120px) translateX(180px) rotateZ(20deg);}
}
.announcements-ticker {
  width: 100vw;
  background: #efd2b1cd;
  border-top: 3px solid #800000;
  border-bottom: 3px solid #800000;
  padding: 0;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
}

.announcements-title {
  background: #800000;
  color: #fff;
  font-weight: bold;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  border-radius: 0 0 12px 0;
  margin-right: 18px;
  flex-shrink: 0;
  z-index: 2;
}

.announcements-track {
  position: absolute;
  left: 170px; /* Adjust this value to match the width of your title + margin */
  top: 0;
  height: 100%;
  display: inline-block;
  white-space: nowrap;
  animation: tickerMove 23s linear infinite;
  font-size: 1.08rem;
  color: #003366;
  font-weight: 500;
  line-height: 44px;
  z-index: 1;
}

@keyframes tickerMove {
  0% { transform: translateX(100%);}
  100% { transform: translateX(-100%);}
}
.announcements-track.paused {
  animation-play-state: paused !important;
}
.highlight-event {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  padding: 0 8px;
  background: linear-gradient(100deg, #800000 40%, #e9c675 100%);
  border-radius: 6px;
  box-shadow: 0 2px 8px #80000055, 0 1.5px 0 #fff8 inset;
  text-shadow:
    1px 1px 2px #800000cc,
    0 2px 8px #fff8,
    0 0 12px #e9c67588;
  position: relative;
  perspective: 200px;
  transform: rotateY(-8deg) scale(1.07);
  animation: event3d 2.5s cubic-bezier(.23,1,.32,1) infinite alternate;
  overflow: visible;
}

/* 3D floating animation */
@keyframes event3d {
  0% { transform: rotateY(-8deg) scale(1.07) translateY(0);}
  50% { transform: rotateY(8deg) scale(1.13) translateY(-2px);}
  100% { transform: rotateY(-8deg) scale(1.07) translateY(0);}
}

/* Sparkle effect using pseudo-element */
.highlight-event::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;
  background: 
    radial-gradient(circle at 60% 40%, #fffbe6cc 0%, #fffbe600 60%),
    radial-gradient(circle at 20% 80%, #fffbe6aa 0%, #fffbe600 70%);
  opacity: 0.7;
  filter: blur(1.5px);
  animation: sparkle 2.2s linear infinite;
}

@keyframes sparkle {
  0% { opacity: 0.7; left: 0; }
  40% { opacity: 1; left: 30%; }
  60% { opacity: 0.7; left: 60%; }
  100% { opacity: 0.7; left: 100%; }
}
/* Student Feedback Videos Layout */
.feedback-videos-row {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 24px;
  flex-wrap: wrap;
}

.feedback-video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px #0001;
  padding: 18px 12px 16px 12px;
  margin-bottom: 18px;
}

.feedback-video {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 9/16;
  border-radius: 10px;
  background: #eee;
  box-shadow: 0 2px 12px #0002;
}

.feedback-student-name {
  margin-top: 12px;
  font-size: 1.18rem;
  font-weight: bold;
  color: #800000;
  letter-spacing: 0.5px;
  text-align: center;
}

.feedback-student-desc {
  font-size: 1rem;
  color: #444;
  margin-top: 2px;
  text-align: center;
}
/* Typewriter effect base styles */
#about-typewriter {
  font-family: inherit;
  font-size: 1.08rem;
  white-space: pre-line;
  min-height: 80px;
  overflow: hidden;
  background: transparent;
  animation: blink-caret 0.8s step-end infinite;
}


.about_image-1 img {
  opacity: 0;
  transform: translateX(120px) scale(0.98);
  transition: all 1.1s cubic-bezier(.23,1,.32,1);
}

.about_image-1.visible img {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.feedback-videos-parallax {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 32px;
}

.feedback-videos-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/irs5.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.22; /* Adjust for visibility */
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s;
}

.feedback-videos-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
  padding: 32px 0;
}
/* Animate about_image-2 from left */
.about_image-2 img {
  opacity: 0;
  transform: translateX(-120px) scale(0.98);
  transition: all 1.1s cubic-bezier(.23,1,.32,1);
  will-change: opacity, transform;
}

.about_image-2.visible img {
  opacity: 1;
  transform: translateX(0) scale(1);
}
/* Vision text animation */
.vision-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.23,1,.32,1), transform 0.7s cubic-bezier(.23,1,.32,1);
  will-change: opacity, transform;
}

.vision-animate.visible {
  opacity: 1;
  transform: translateY(0);
  animation: typewriterVision 2.2s steps(60, end) 0.2s 1 normal both;

  white-space: pre-line;
  overflow: hidden;
}

@keyframes typewriterVision {
  from { width: 0; }
  to { width: 100%; }
}
#vision-typewriter {
  font-family: inherit;
  font-size: 1.08rem;
  white-space: pre-line;
  min-height: 80px;
  overflow: hidden;
  background: transparent;
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {
  0%, 100% { border-color: #800000; }
  50% { border-color: transparent; }
}
.social-float-bar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* <-- changed from flex-end */
  width: 54px;
  height: 54px;
  border-radius: 27px 0 0 27px; /* <-- flipped the border radius */
  box-shadow: 0 2px 12px #0002;
  transition: width 0.25s, box-shadow 0.25s;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  margin-right: auto; /* <-- changed from margin-left: auto */
}

.social-btn img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  margin-left: 6px;
  filter: drop-shadow(0 1px 2px #0002);
  transition: transform 0.2s;
}

.social-btn:hover img {
  transform: scale(1.13) rotate(-8deg);
}

/* Instagram Gradient */
.social-btn.instagram {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
}

/* Facebook Gradient */
.social-btn.facebook {
  background: linear-gradient(135deg, #1877f3 0%, #4da7ff 100%);
}

/* LinkedIn Gradient */
.social-btn.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #ffffff 100%);
}

/* Optional: Add a little pop-out on hover */
.social-btn:hover {
  width: 70px;
  box-shadow: 0 4px 18px #0003;
}
/* Only pop out the hovered button, not all */
.social-float-bar:hover .social-btn,
.social-btn {
  width: 54px;
  box-shadow: 0 2px 12px #0002;
}

.social-btn:hover {
  width: 70px;
  box-shadow: 0 4px 18px #0003;
  z-index: 2;
}

/* Prevent unwanted space after the flat side during pop out */
.social-btn {
  margin-right: 0;
  border-radius: 27px 0 0 27px;
  transition: width 0.25s, box-shadow 0.25s, z-index 0s;
}
.news-events-sidebar {
  position: fixed;
  top: 18vh;
  left: 0;
  z-index: 10010;
  width: 150px;
  font-size: 0.92rem;
  background: #fff;
  border-radius: 0 14px 14px 0;
  box-shadow: 2px 4px 24px #0002;
  border-left: 4px solid #800000;
  font-family: 'Lora', serif;
  transition: box-shadow 0.3s;
}

.news-events-toggle {
  width: 100%;
  background: linear-gradient(90deg, #800000 70%, #e9c675 100%);
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 9px 12px 9px 12px;
  border: none;
  border-radius: 0 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}

.news-events-toggle .fa {
  margin-right: 10px;
  font-size: 1.2em;
}

.news-events-toggle .chevron {
  margin-left: auto;
  transition: transform 0.3s;
}

.news-events-dropdown {
  max-height: 0;
  overflow: hidden;
  background: #f9f6f2;
  transition: max-height 0.4s cubic-bezier(.23,1,.32,1);
  box-shadow: 0 2px 12px #80000022;
}

.news-events-sidebar.open .news-events-dropdown {
  max-height: 520px;
  transition: max-height 0.5s cubic-bezier(.23,1,.32,1);
}

.news-events-sidebar.open .news-events-toggle .chevron {
  transform: rotate(180deg);
}

.news-events-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 10px 0 10px 0;
}

.news-events-dropdown li {
  padding: 0;
  margin: 0;
}

.news-events-dropdown a {
  display: block;
  padding: 8px 14px 8px 14px;
  color: #800000;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}

.news-events-dropdown a:hover {
  background: #e9c67533;
  color: #4a1a1a;
}


.news-events-sidebar.transparent {
  background: rgba(255,255,255,0);
  box-shadow: none;
  border-left: 4px solid #80000033;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.news-events-toggle.transparent {
  background: linear-gradient(90deg, #800000cc 70%, #e9c67588 100%);
  color: #fff;
}
.news-events-dropdown {
  max-height: 0px; /* Set a reasonable max height */
  overflow-y: auto;  /* Enable vertical scroll if needed */
  background: #f9f6f2;
  transition: max-height 0.4s cubic-bezier(.23,1,.32,1);
  box-shadow: 0 2px 12px #80000022;
}
/* Scroll-in Animations for About Images */
.animate-from-right {
  opacity: 0;
  transform: translateX(120px) scale(0.98);
  transition: all 1.1s cubic-bezier(.23,1,.32,1);
  will-change: opacity, transform;
}

.animate-from-left {
  opacity: 0;
  transform: translateX(-120px) scale(0.98);
  transition: all 1.1s cubic-bezier(.23,1,.32,1);
  will-change: opacity, transform;
}

.animate-from-right.visible,
.animate-from-left.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}
/* Academics Title Bar */
.academics-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.academics-title-text {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #800000 0%, #e9c675 50%, #fffbe6 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #e9c675;
  position: relative;
  overflow: hidden;
  /* Metallic shine effect */
  animation: academics-metallic-shine 3.5s linear infinite;
}

@keyframes academics-metallic-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

/* Animated line below the title */
.academics-title-anim-line {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.academics-title-anim-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
}

.academics-title-anim-line-inner {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: academics-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes academics-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .academics-title-bar {
    margin-bottom: 18px;
  }
  .academics-title-text {
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .academics-title-anim-line {
    width: 90vw;
    height: 14px;
  }
  .academics-title-anim-line-inner {
    top: 8px;
    height: 3px;
  }
  .academics-title-anim-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* IRS in News Title Bar (same style as Academics) */
.irs-news-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.irs-news-title-text {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #800000 0%, #e9c675 50%, #fffbe6 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff !important;
  border-radius: 18px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #e9c675;
  position: relative;
  overflow: hidden;
  animation: academics-metallic-shine 3.5s linear infinite;
}

.irs-news-title-anim-line {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.irs-news-title-anim-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
}

.irs-news-title-anim-line-inner {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: academics-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .irs-news-title-bar {
    margin-bottom: 18px;
  }
  .irs-news-title-text {
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .irs-news-title-anim-line {
    width: 90vw;
    height: 14px;
  }
  .irs-news-title-anim-line-inner {
    top: 8px;
    height: 3px;
  }
  .irs-news-title-anim-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* Society of Geoinformatics Engineers Title Bar */
.sge-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sge-title-text {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #01172e 0%, #4da7ff 50%, #86bbe1 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 4px 24px #00336622, 0 1.5px 0 #4da7ff;
  text-shadow: 0 2px 12px #00336655, 0 1.5px 0 #e9f6ff, 0 0 12px #fff;
  position: relative;
  overflow: hidden;
  animation: sge-metallic-shine 3.5s linear infinite;
}

@keyframes sge-metallic-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

.sge-title-anim-line {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sge-title-anim-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #e9f6ff 60%, #4da7ff 100%);
  border-radius: 50%;
  box-shadow: 0 0 16px 4px #4da7ff88, 0 0 8px #fff, 0 0 18px #b3e0ff;
  transform: translateX(-50%);
  z-index: 2;
  animation: sge-dot-sparkle 2.2s infinite alternate;
}

@keyframes sge-dot-sparkle {
  0% { box-shadow: 0 0 16px 4px #4da7ff88, 0 0 8px #fff, 0 0 18px #b3e0ff; }
  50% { box-shadow: 0 0 24px 8px #b3e0ffcc, 0 0 16px #fff, 0 0 28px #4da7ff; }
  100% { box-shadow: 0 0 16px 4px #4da7ff88, 0 0 8px #fff, 0 0 18px #b3e0ff; }
}

.sge-title-anim-line-inner {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #e9f6ff 0%, #4da7ff 50%, #003366 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px #4da7ff88, 0 0 8px #fff;
  transform: translateX(-50%);
  z-index: 1;
  animation: sge-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes sge-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .sge-title-bar {
    margin-bottom: 18px;
  }
  .sge-title-text {
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .sge-title-anim-line {
    width: 90vw;
    height: 14px;
  }
  .sge-title-anim-line-inner {
    top: 8px;
    height: 3px;
  }
  .sge-title-anim-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* People Title Bar (same as Academics) */
.people-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.people-title-text {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #800000 0%, #e9c675 50%, #fffbe6 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #e9c675;
  position: relative;
  overflow: hidden;
  animation: academics-metallic-shine 3.5s linear infinite;
}

.people-title-anim-line {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.people-title-anim-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
}

.people-title-anim-line-inner {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: academics-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .people-title-bar {
    margin-bottom: 18px;
  }
  .people-title-text {
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .people-title-anim-line {
    width: 90vw;
    height: 14px;
  }
  .people-title-anim-line-inner {
    top: 8px;
    height: 3px;
  }
  .people-title-anim-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* Regular Faculty Subtitle Stylish Bar */
.regular-faculty-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

@keyframes faculty-bar-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

.regular-faculty-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes faculty-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 220px; opacity: 1; }
}

/* Optional: Add a small icon or sparkle for extra interest */
.regular-faculty-subtitle::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .regular-faculty-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .regular-faculty-subtitle::after {
    height: 3px;
  }
}
/* Professor of Emeritus Subtitle Stylish Bar */
.emeritus-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

.emeritus-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Optional: Add a small icon or sparkle for extra interest */
.emeritus-subtitle::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .emeritus-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .emeritus-subtitle::after {
    height: 3px;
  }
}
/* Programmes Subtitle Stylish Bar */
.programmes-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

@keyframes faculty-bar-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

.programmes-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes faculty-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 220px; opacity: 1; }
}

/* Optional: Add a small icon for extra interest */
.programmes-subtitle::before {
  content: "🎓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .programmes-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .programmes-subtitle::after {
    height: 3px;
  }
}
/* Invited Experts Lectures Subtitle Stylish Bar */
.invited-experts-lectures-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff !important;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

.invited-experts-lectures-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Optional: Add a small icon for extra interest */
.invited-experts-lectures-subtitle::before {
  content: "🎤";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .invited-experts-lectures-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .invited-experts-lectures-subtitle::after {
    height: 3px;
  }
}
/* Lab Manuals Subtitle Stylish Bar */
.lab-manuals-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

.lab-manuals-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Optional: Add a small icon for extra interest */
.lab-manuals-subtitle::before {
  content: "📒";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .lab-manuals-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .lab-manuals-subtitle::after {
    height: 3px;
  }
}
/* Training Subtitle Stylish Bar */
.training-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff !important;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

.training-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Optional: Add a small icon for extra interest */
.training-subtitle::before {
  content: "📚";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .training-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .training-subtitle::after {
    height: 3px;
  }
}
/* Student Feedback Subtitle Stylish Bar */
.student-feedback-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

.student-feedback-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Optional: Add a small icon for extra interest */
.student-feedback-subtitle::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .student-feedback-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .student-feedback-subtitle::after {
    height: 3px;
  }
}
.academics-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 24px;
  align-items: stretch;
}

.academics-extras-grid .dropdown-section {
  height: 100%;
}

.projects-showcase {
  background: radial-gradient(circle at top left, rgba(233,198,117,0.25), transparent 40%),
    linear-gradient(135deg, rgba(7,11,27,0.95), rgba(63,9,9,0.92));
  border-radius: 22px;
  padding: 32px 28px 36px 28px;
  border: 1px solid rgba(233,198,117,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.projects-showcase::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,0.07);
  pointer-events: none;
}

.projects-title-bar {
  width: 100%;
  margin: 0 auto 18px auto;
  text-align: center;
}

.projects-title-text {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(128,0,0,0.35);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.projects-title-anim-line {
  position: relative;
  width: 260px;
  max-width: 90%;
  height: 18px;
  margin: 6px auto 0 auto;
}

.projects-title-anim-line-inner {
  position: absolute;
  inset: auto 0 0 0;
  margin: 0 auto;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 12px rgba(233,198,117,0.6);
  overflow: hidden;
}

.projects-title-anim-line-inner::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -40px;
  width: 40px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(233,198,117,0));
  animation: projects-line-spark 2.8s linear infinite;
}

.projects-title-anim-dot {
  position: absolute;
  left: 50%;
  top: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffbe6 40%, #e9c675 100%);
  box-shadow: 0 0 15px rgba(233,198,117,0.8);
  transform: translateX(-50%);
  animation: projects-dot-glow 2s ease-in-out infinite alternate;
}

@keyframes projects-line-spark {
  0% { left: -40px; opacity: 0.6; }
  30% { opacity: 1; }
  70% { left: calc(100% + 40px); opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes projects-dot-glow {
  0% { box-shadow: 0 0 8px rgba(233,198,117,0.7); }
  100% { box-shadow: 0 0 22px rgba(233,198,117,1); }
}

.projects-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
  margin: 0 auto 28px auto;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  width: fit-content;
  background: rgba(255,255,255,0.08);
  letter-spacing: 1px;
  border: 1px solid rgba(233,198,117,0.35);
  text-transform: uppercase;
}

.projects-subtitle span {
  color: #e9c675;
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
}

.project-card {
  --proj-tilt-x: 0deg;
  --proj-tilt-y: 0deg;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(233,198,117,0.25);
  background: linear-gradient(150deg, rgba(10,13,24,0.95), rgba(63,9,9,0.9));
  text-decoration: none;
  color: #fff;
  box-shadow: 0 15px 35px rgba(3,0,20,0.55);
  position: relative;
  overflow: hidden;
  min-height: 260px;
  transform: translateY(30px) scale(0.96) rotateX(var(--proj-tilt-y)) rotateY(var(--proj-tilt-x));
  opacity: 0;
  transition: transform 0.65s cubic-bezier(.23,1,.32,1), opacity 0.65s ease, box-shadow 0.35s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(233,198,117,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.01) rotateX(var(--proj-tilt-y)) rotateY(var(--proj-tilt-x));
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:active {
  transform: translateY(-2px) scale(0.99) rotateX(var(--proj-tilt-y)) rotateY(var(--proj-tilt-x));
}

.project-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(var(--proj-tilt-y)) rotateY(var(--proj-tilt-x));
}

.project-card.clicked::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.6);
  animation: project-click-flash 0.5s ease;
}

@keyframes project-click-flash {
  0% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.08); }
}

.project-card-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.06) rotateZ(-0.3deg);
}

.project-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.project-card-content h4 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.project-card-content p {
  margin: 8px 0 14px 0;
  color: #bdc9ff;
  font-size: 0.95rem;
  line-height: 1.4;
}

.project-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #fff;
  gap: 12px;
}

.project-year {
  font-weight: 600;
  color: #e9c675;
}

.project-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.project-open i {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .projects-showcase {
    padding: 24px 18px;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 600px) {
  .projects-title-text {
    font-size: 1.5rem;
  }
  .projects-subtitle {
    width: 100%;
    font-size: 1rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Contact Us Section: Modern Dynamic Gradient & Animation --- */
.contact-section {
  padding: 56px 20px 48px 20px;
  background: linear-gradient(120deg, #f8fafc 0%, #ffe4c4 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(80,0,0,0.10);
  margin: 48px auto 0 auto;
  max-width: 1400px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Contact Us Title Bar */
.contact-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.contact-title-text {
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(270deg, #800000 0%, #e9c675 30%, #003366 70%, #800000 100%);
  background-size: 400% 100%;
  background-position: 0% 0%;
  color: #fff !important;
  border-radius: 18px;
  box-shadow: 0 4px 24px #00336622, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #00336655, 0 1.5px 0 #e9c675;
  position: relative;
  overflow: hidden;
  animation: contact-gradient-move 5s linear infinite;
}

@keyframes contact-gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* Animated underline with glowing pulse */
.contact-title-anim-line {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.contact-title-anim-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 18px 4px #e9c675bb, 0 0 8px #fff, 0 0 22px #80000088;
  transform: translateX(-50%);
  z-index: 2;
  animation: contact-dot-glow 2.2s infinite alternate;
}

@keyframes contact-dot-glow {
  0% { box-shadow: 0 0 18px 4px #e9c675bb, 0 0 8px #fff, 0 0 22px #80000088; }
  50% { box-shadow: 0 0 32px 10px #e9c675ee, 0 0 18px #fff, 0 0 32px #800000cc; }
  100% { box-shadow: 0 0 18px 4px #e9c675bb, 0 0 8px #fff, 0 0 22px #80000088; }
}

.contact-title-anim-line-inner {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 5px;
  width: 260px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 30%, #003366 70%, #800000 100%);
  border-radius: 2.5px;
  box-shadow: 0 0 18px #e9c67588, 0 0 8px #fff;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
}
.contact-title-anim-line-inner::after {
  content: "";
  display: block;
  position: absolute;
  left: -60px;
  top: -2px;
  width: 60px;
  height: 9px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 80%, transparent 100%);
  opacity: 0.8;
  border-radius: 4px;
  filter: blur(1.5px);
  animation: contact-underline-shine 2.8s linear infinite;
}
@keyframes contact-underline-shine {
  0% { left: -60px; opacity: 0.7; }
  20% { opacity: 1; }
  50% { left: 200px; opacity: 1; }
  80% { opacity: 1; }
  100% { left: 260px; opacity: 0.7; }
}

/* Contact address fade-in animation */
.contact-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.1s cubic-bezier(.23,1,.32,1), transform 1.1s cubic-bezier(.23,1,.32,1);
  will-change: opacity, transform;
  font-size: 1.13rem;
  color: #020e1a;
  margin: 32px auto 18px auto;
  line-height: 1.7;
  max-width: 420px;
  text-align: left;
  background: rgba(255,255,255,0.82);
  border-radius: 12px;
  box-shadow: 0 2px 12px #80000011;
  padding: 24px 22px 18px 22px;
  border-left: 5px solid #e9c675;
}
.contact-animate.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-director {
  color: #800000;
  font-size: 1.25em;
  font-weight: bold;
  letter-spacing: 1px;
}

.contact-animate a {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s;
}
.contact-animate a:hover {
  color: #e9c675;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .contact-section {
    padding: 18px 2vw 18px 2vw;
    max-width: 99vw;
  }
  .contact-title-bar {
    margin-bottom: 18px;
  }
  .contact-title-text {
    font-size: 1.3rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .contact-title-anim-line {
    width: 90vw;
    height: 14px;
  }
  .contact-title-anim-line-inner {
    top: 8px;
    height: 3px;
    width: 70vw;
  }
  .contact-title-anim-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
  .contact-animate {
    font-size: 1rem;
    padding: 14px 8px 10px 12px;
    max-width: 98vw;
  }
}
/* Overseas Faculty Subtitle Stylish Bar */
.overseas-faculty-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #4a1a1a;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 60%, #fff 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #a18cd122, 0 1.5px 0 #fbc2eb;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #a18cd144, 0 1.5px 0 #fbc2eb;
  animation: overseas-bar-shine 3.2s linear infinite;
}

@keyframes overseas-bar-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

.overseas-faculty-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff 0%, #fbc2eb 50%, #a18cd1 100%);
  box-shadow: 0 0 8px #fbc2eb88;
  animation: overseas-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes overseas-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 220px; opacity: 1; }
}

/* Optional: Add a small icon for extra interest */
.overseas-faculty-subtitle::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fbc2ebcc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .overseas-faculty-subtitle {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .overseas-faculty-subtitle::after {
    height: 3px;
  }
}
/* Other Staff Subtitle Stylish Bar */
.other-staff-title {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
}

.other-staff-title::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Optional: Add a small icon for extra interest */
.other-staff-title::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .other-staff-title {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .other-staff-title::after {
    height: 3px;
  }
}
/* Animated "Last Updated" Bar for Other Staff */
.other-staff-updated {
  display: inline-block;
  position: relative;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  margin: 0 auto 18px auto;
  padding: 0.32em 1.2em 0.32em 1.2em;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 8px;
  box-shadow: 0 1.5px 8px #80000022, 0 1px 0 #e9c675;
  text-shadow: 0 1.5px 6px #80000044, 0 1px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
  width: fit-content;
  z-index: 1;
  letter-spacing: 0.5px;
  overflow: hidden;
}

.other-staff-updated::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 5px;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 60%, #800000 100%);
  box-shadow: 0 0 6px #e9c67588;
  animation: faculty-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Responsive */
@media (max-width: 600px) {
  .other-staff-updated {
    font-size: 0.92rem;
    border-radius: 6px;
    padding: 0.22em 0.7em 0.22em 0.7em;
  }
  .other-staff-updated::after {
    height: 2px;
  }
}
/* Alumni Achievements Title Bar (same as Academics) */
.alumni-achievements-title {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0.7em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  background: linear-gradient(90deg, #800000 0%, #e9c675 50%, #fffbe6 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #e9c675;
  position: relative;
  overflow: hidden;
  animation: academics-metallic-shine 3.5s linear infinite;
}

.alumni-achievements-title-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.alumni-achievements-title-anim-line {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.alumni-achievements-title-anim-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
}

.alumni-achievements-title-anim-line-inner {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: academics-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes academics-metallic-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

@keyframes academics-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .alumni-achievements-title {
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .alumni-achievements-title-anim-line {
    width: 90vw;
    height: 14px;
  }
  .alumni-achievements-title-anim-line-inner {
    top: 8px;
    height: 3px;
  }
  .alumni-achievements-title-anim-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* Shared Research Section Title Bar (like Programmes) */
.research-section-title {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 38px auto 24px auto;
  padding: 0.5em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 12px;
  box-shadow: 0 2px 16px #80000022, 0 1.5px 0 #e9c675;
  width: 340px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1.5px 0 #e9c675;
  animation: faculty-bar-shine 3.2s linear infinite;
  transition: box-shadow 0.3s;
}

.research-section-title::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 8px;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 8px #e9c67588;
  transition: width 1.2s cubic-bezier(.23,1,.32,1), opacity 1.2s cubic-bezier(.23,1,.32,1);
  opacity: 0;
}

/* When section is active (scrolled to or clicked), expand underline */
.research-section-title.active::after {
  width: 220px;
  opacity: 1;
}

/* Optional: Add a small icon for extra interest */
.research-section-title::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .research-section-title {
    font-size: 1.1rem;
    border-radius: 8px;
    width: 98vw;
    padding: 0.4em 0;
  }
  .research-section-title::after {
    height: 3px;
  }
}
.faculty-more-info-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 0.5em 1.2em;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.faculty-more-info-btn:hover {
  background: linear-gradient(90deg, #e9c675 0%, #800000 100%);
  color: #fffbe6;
}
/* Society of Geoinformatics Engineers - Leadership and Events Title */
.sge-leadership-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.sge-leadership-title {
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(270deg, #0a2342 0%, #274690 40%, #576ca8 80%, #1b2845 100%);
  background-size: 300% 100%;
  background-position: 0% 0%;
  color: #fff !important;
  border-radius: 18px;
  box-shadow: 0 4px 24px #27469044, 0 1.5px 0 #576ca8;
  text-shadow: 0 2px 12px #0a234288, 0 1.5px 0 #fff;
  position: relative;
  overflow: hidden;
  animation: sge-gradient-wave 4s ease-in-out infinite alternate;
}

@keyframes sge-gradient-wave {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* Animated underline with pulse and glow */
.sge-leadership-underline {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.sge-leadership-underline-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff 60%, #274690 100%);
  border-radius: 50%;
  box-shadow: 0 0 18px 4px #274690bb, 0 0 8px #fff, 0 0 22px #0a234288;
  transform: translateX(-50%);
  z-index: 2;
  animation: sge-dot-pulse 2.2s infinite alternate;
}

@keyframes sge-dot-pulse {
  0% { box-shadow: 0 0 18px 4px #274690bb, 0 0 8px #fff, 0 0 22px #0a234288; }
  50% { box-shadow: 0 0 32px 10px #274690ee, 0 0 18px #fff, 0 0 32px #0a2342cc; }
  100% { box-shadow: 0 0 18px 4px #274690bb, 0 0 8px #fff, 0 0 22px #0a234288; }
}

.sge-leadership-underline-line {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 5px;
  width: 260px;
  background: linear-gradient(90deg, #fff 0%, #274690 30%, #576ca8 70%, #0a2342 100%);
  border-radius: 2.5px;
  box-shadow: 0 0 18px #27469088, 0 0 8px #fff;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
  animation: sge-underline-glow 2.8s linear infinite;
}

@keyframes sge-underline-glow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.4) drop-shadow(0 0 8px #fff); }
  100% { filter: brightness(1); }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .sge-leadership-title {
    font-size: 1.3rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .sge-leadership-underline {
    width: 90vw;
    height: 14px;
  }
  .sge-leadership-underline-line {
    top: 8px;
    height: 3px;
    width: 70vw;
  }
  .sge-leadership-underline-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* Subtitle Bar for ADMINISTRATIVE STAFF, TECHNICAL STAFF, RETIRED STAFF */
.staff-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fff;
  margin: 28px auto 18px auto;
  padding: 0.38em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 9px;
  box-shadow: 0 2px 12px #80000022, 0 1px 0 #e9c675;
  width: 260px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1px 0 #e9c675;
  animation: staff-bar-shine 3.2s linear infinite;
}

@keyframes staff-bar-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

.staff-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 7px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 6px #e9c67588;
  animation: staff-line-grow 1.1s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes staff-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 30px; opacity: 1; }
  100% { width: 160px; opacity: 1; }
}

/* Optional: Add a small icon for extra interest */
.staff-subtitle::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
  filter: drop-shadow(0 0 4px #fffbe6cc);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
  .staff-subtitle {
    font-size: 0.98rem;
    border-radius: 7px;
    width: 96vw;
    padding: 0.28em 0;
  }
  .staff-subtitle::after {
    height: 2px;
  }
}
/* Subtitle Bar for Celestia Events, Geo Horizon Events, SPATIA - Dark Bluish Dynamic Gradient */
.event-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fff;
  margin: 26px auto 16px auto;
  padding: 0.38em 0;
  background: linear-gradient(270deg, #0a2342 0%, #274690 40%, #576ca8 80%, #1b2845 100%);
  background-size: 300% 100%;
  background-position: 0% 0%;
  border-radius: 11px;
  box-shadow: 0 2px 12px #27469044, 0 1px 0 #576ca8;
  width: 270px;
  max-width: 92vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #0a234288, 0 1px 0 #fff;
  animation: sge-gradient-wave 4s ease-in-out infinite alternate;
}

@keyframes sge-gradient-wave {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

.event-subtitle-underline {
  position: relative;
  width: 180px;
  max-width: 70vw;
  height: 14px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.event-subtitle-dot {
  position: absolute;
  left: 50%;
  top: 5px;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle, #fff 60%, #274690 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #274690bb, 0 0 4px #fff, 0 0 14px #0a234288;
  transform: translateX(-50%);
  z-index: 2;
  animation: sge-dot-pulse 2.2s infinite alternate;
}

@keyframes sge-dot-pulse {
  0% { box-shadow: 0 0 12px 2px #274690bb, 0 0 4px #fff, 0 0 14px #0a234288; }
  50% { box-shadow: 0 0 20px 6px #274690ee, 0 0 10px #fff, 0 0 18px #0a2342cc; }
  100% { box-shadow: 0 0 12px 2px #274690bb, 0 0 4px #fff, 0 0 14px #0a234288; }
}

.event-subtitle-line {
  position: absolute;
  left: 50%;
  top: 8px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #fff 0%, #274690 30%, #576ca8 70%, #0a2342 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #27469088, 0 0 4px #fff;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
  animation: event-underline-grow 1.1s cubic-bezier(.23,1,.32,1) 0.2s forwards, sge-underline-glow 2.8s linear infinite;
}

@keyframes event-underline-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 30px; opacity: 1; }
  100% { width: 120px; opacity: 1; }
}

@keyframes sge-underline-glow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.4) drop-shadow(0 0 8px #fff); }
  100% { filter: brightness(1); }
}

/* Responsive */
@media (max-width: 600px) {
  .event-subtitle {
    font-size: 1.02rem;
    border-radius: 8px;
    width: 96vw;
    padding: 0.22em 0;
  }
  .event-subtitle-underline {
    width: 70vw;
    height: 10px;
  }
  .event-subtitle-line {
    top: 5px;
    height: 2px;
  }
  .event-subtitle-dot {
    width: 6px;
    height: 6px;
    top: 2.5px;
  }
}
/* Infrastructure Facilities Title Card - Same as Academics */
.infrastructure-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.infrastructure-title {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #fffbe6 13%, #800000 13%, #a52a2a 60%, #e9c675 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #fffbe6;
  position: relative;
  overflow: hidden;
  animation: infra-gradient-move 6s ease-in-out infinite alternate;
}

@keyframes infra-gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* Animated underline */
.infrastructure-title-underline {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.infrastructure-title-underline-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
  animation: infra-dot-glow 2.2s infinite alternate;
}

@keyframes infra-dot-glow {
  0% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
  50% { box-shadow: 0 0 24px 6px #e9c675cc, 0 0 8px #fff; }
  100% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
}

.infrastructure-title-underline-line {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: infra-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes infra-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .infrastructure-title {
    font-size: 1.3rem;
    border-radius: 16px;
    padding: 0.5em 0;
  }
  .infrastructure-title-underline {
    width: 90vw;
    height: 14px;
  }
  .infrastructure-title-underline-line {
    top: 8px;
    height: 3px;
  }
  .infrastructure-title-underline-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* "Our location" Subtitle - Elegant, Modern, Small Animation */
.our-location-subtitle {
  position: relative;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fff;
  margin: 24px auto 12px auto;
  padding: 0.32em 0;
  background: linear-gradient(90deg, #800000 0%, #e9c675 60%, #fffbe6 100%);
  border-radius: 8px;
  box-shadow: 0 2px 10px #80000022, 0 1px 0 #e9c675;
  width: 180px;
  max-width: 90vw;
  overflow: hidden;
  z-index: 1;
  text-shadow: 0 2px 8px #80000044, 0 1px 0 #e9c675;
  animation: ourloc-bar-shine 3.2s linear infinite;
}

@keyframes ourloc-bar-shine {
  0% { background-position: 200% 0; }
  100% { background-position: 0 0; }
}

.our-location-subtitle::after {
  content: "";
  display: block;
  margin: 0 auto;
  margin-top: 6px;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  box-shadow: 0 0 5px #e9c67588;
  animation: ourloc-line-grow 1s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes ourloc-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 24px; opacity: 1; }
  100% { width: 90px; opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .our-location-subtitle {
    font-size: 0.98rem;
    border-radius: 6px;
    width: 92vw;
    padding: 0.18em 0;
  }
  .our-location-subtitle::after {
    height: 2px;
  }
}
/* Recent Activities Title Card - Same as Academics */
.recent-activities-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.recent-activities-title {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #fffbe6 13%, #800000 13%, #a52a2a 60%, #e9c675 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #fffbe6;
  position: relative;
  overflow: hidden;
  animation: academics-gradient-move 6s ease-in-out infinite alternate;
}

@keyframes academics-gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* Animated underline */
.recent-activities-title-underline {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.recent-activities-title-underline-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
  animation: academics-dot-glow 2.2s infinite alternate;
}

@keyframes academics-dot-glow {
  0% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
  50% { box-shadow: 0 0 24px 6px #e9c675cc, 0 0 8px #fff; }
  100% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
}

.recent-activities-title-underline-line {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: academics-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes academics-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .recent-activities-title {
    font-size: 1.3rem;
    border-radius: 16px;
    padding: 0.5em 0;
  }
  .recent-activities-title-underline {
    width: 90vw;
    height: 14px;
  }
  .recent-activities-title-underline-line {
    top: 8px;
    height: 3px;
  }
  .recent-activities-title-underline-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* International Conference Title Card - Uniform Gradient, No White Transition */
.international-conference-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.international-conference-title {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #800000 0%, #a52a2a 40%, #e9c675 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #fffbe6;
  position: relative;
  overflow: hidden;
  animation: intlconf-gradient-move 6s ease-in-out infinite alternate;
}

@keyframes intlconf-gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* Animated underline */
.international-conference-title-underline {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.international-conference-title-underline-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #e9c675 60%, #fffbe6 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
  animation: intlconf-dot-glow 2.2s infinite alternate;
}

@keyframes intlconf-dot-glow {
  0% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
  50% { box-shadow: 0 0 24px 6px #e9c675cc, 0 0 8px #fff; }
  100% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
}

.international-conference-title-underline-line {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #e9c675 0%, #a52a2a 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: intlconf-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes intlconf-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .international-conference-title {
    font-size: 1.3rem;
    border-radius: 16px;
    padding: 0.5em 0;
  }
  .international-conference-title-underline {
    width: 90vw;
    height: 14px;
  }
  .international-conference-title-underline-line {
    top: 8px;
    height: 3px;
  }
  .international-conference-title-underline-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* Consultancy Services Title Card - Uniform Gradient, Same as International Conference */
.consultancy-services-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.consultancy-services-title {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #800000 0%, #a52a2a 40%, #e9c675 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #fffbe6;
  position: relative;
  overflow: hidden;
  animation: consultancy-gradient-move 6s ease-in-out infinite alternate;
}

@keyframes consultancy-gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* Animated underline */
.consultancy-services-title-underline {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.consultancy-services-title-underline-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #e9c675 60%, #fffbe6 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
  animation: consultancy-dot-glow 2.2s infinite alternate;
}

@keyframes consultancy-dot-glow {
  0% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
  50% { box-shadow: 0 0 24px 6px #e9c675cc, 0 0 8px #fff; }
  100% { box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff; }
}

.consultancy-services-title-underline-line {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #e9c675 0%, #a52a2a 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: consultancy-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes consultancy-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .consultancy-services-title {
    font-size: 1.3rem;
    border-radius: 16px;
    padding: 0.5em 0;
  }
  .consultancy-services-title-underline {
    width: 90vw;
    height: 14px;
  }
  .consultancy-services-title-underline-line {
    top: 8px;
    height: 3px;
  }
  .consultancy-services-title-underline-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* Student Achievements Title Card - Dark Wine + Silver Gradient */
.student-achievements-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.student-achievements-title {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #3a0a24 0%, #800040 40%, #bcbcbc 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px #3a0a2440, 0 1.5px 0 #bcbcbc;
  text-shadow: 0 2px 12px #80004055, 0 1.5px 0 #fff;
  position: relative;
  overflow: hidden;
  animation: student-achievements-gradient-move 6s ease-in-out infinite alternate;
}

@keyframes student-achievements-gradient-move {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* Animated underline */
.student-achievements-title-underline {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.student-achievements-title-underline-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #bcbcbc 60%, #800040 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #bcbcbc88, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
  animation: student-achievements-dot-glow 2.2s infinite alternate;
}

@keyframes student-achievements-dot-glow {
  0% { box-shadow: 0 0 12px 2px #bcbcbc88, 0 0 2px #fff; }
  50% { box-shadow: 0 0 24px 6px #bcbcbccc, 0 0 8px #fff; }
  100% { box-shadow: 0 0 12px 2px #bcbcbc88, 0 0 2px #fff; }
}

.student-achievements-title-underline-line {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #bcbcbc 0%, #800040 50%, #3a0a24 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #bcbcbc88;
  transform: translateX(-50%);
  z-index: 1;
  animation: student-achievements-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

@keyframes student-achievements-line-grow {
  0% { width: 0; opacity: 0; }
  30% { width: 40px; opacity: 1; }
  100% { width: 300px; opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .student-achievements-title {
    font-size: 1.3rem;
    border-radius: 16px;
    padding: 0.5em 0;
  }
  .student-achievements-title-underline {
    width: 90vw;
    height: 14px;
  }
  .student-achievements-title-underline-line {
    top: 8px;
    height: 3px;
  }
  .student-achievements-title-underline-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
#irs-flowchart-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 48px 0 32px 0;
  min-height: 600px;
  position: relative;
  background: #eee0d0;
}

.irs-flowchart {
  position: relative;
  width: 100%;
  max-width: 900px;
  min-width: 320px;
  margin: 0 auto;
  z-index: 1;
}

.irs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0;
  position: relative;
  z-index: 2;
}

.irs-row-top {
  margin-bottom: 40px;
}

.irs-row-middle {
  margin: 40px 0 40px 0;
}

.irs-row-bottom {
  margin-top: 40px;
}

.irs-box {
  opacity: 0;
  transform: scale(0.9) translateY(30px);
  transition: opacity 0.6s cubic-bezier(.23,1,.32,1), transform 0.6s cubic-bezier(.23,1,.32,1);
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 60%, #800000 100%);
  color: #800000;
  border-radius: 18px;
  box-shadow: 0 2px 16px #80000022;
  padding: 18px 28px;
  font-size: 1.18rem;
  font-weight: 600;
  text-align: center;
  min-width: 170px;
  max-width: 260px;
  border: 2.5px solid #e9c675;
  letter-spacing: 1px;
}

.irs-box-top {
  background: linear-gradient(135deg, #a50044 0%, #004d98 0%, #75bbf4 55%, #ffffff 75%, #75bbf4 100%);
  color: #000;
  border-color: #000;
  font-size: 1.18rem;
}

.irs-box-center {
  background: linear-gradient(135deg, #a50044 0%, #004d98 0%, #75bbf4 55%, #ffffff 75%, #75bbf4 100%);
  border: 3px solid #000;
  font-size: 1.32rem;
  font-weight: 700;
  min-width: 260px;
  max-width: 340px;
  margin: 0 auto;
  box-shadow: 0 4px 24px #80000033;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(0.9) translateY(30px);
  transition: opacity 0.6s cubic-bezier(.23,1,.32,1), transform 0.6s cubic-bezier(.23,1,.32,1);
}

.irs-box-mid {
  background: linear-gradient(135deg, #a50044 0%, #004d98 0%, #75bbf4 55%, #ffffff 75%, #75bbf4 100%);
  color: #111;
  border-color: #111;
  font-size: 1.08rem;
}

#irs-academics b, #irs-projects b {
  color: #a52a2a;
}

.irs-red {
  color: #a12727;
  font-weight: bold;
}

.irs-committee {
  opacity: 0;
  transform: scale(0.9) translateY(30px);
  transition: opacity 0.6s cubic-bezier(.23,1,.32,1), transform 0.6s cubic-bezier(.23,1,.32,1);
  background: linear-gradient(135deg, #a50044 0%, #004d98 0%, #75bbf4 55%, #ffffff 75%, #75bbf4 100%);
  border-radius: 12px;
  box-shadow: 0 2px 12px #80000022;
  padding: 10px 18px;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: center;
  min-width: 120px;
  max-width: 180px;
  border: 2px solid #000;
  margin: 0 10px;
}

#irs-committee-syndicate {
  background: linear-gradient(135deg, #a50044 0%, #004d98 0%, #75bbf4 55%, #ffffff 75%, #75bbf4 100%);
  border-color: #111;
}

#irs-committee-exec {
  background: linear-gradient(135deg, #a50044 0%, #004d98 0%, #75bbf4 55%, #ffffff 75%, #75bbf4 100%);
  border-color: #000;
}

/* SVG overlay for connectors */
#irs-flowchart-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
}

.irs-connector-path {
  stroke: #1a237e;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Animation Classes */
.irs-box.irs-visible,
.irs-box-center.irs-visible,
.irs-committee.irs-visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .irs-flowchart { max-width: 98vw; }
  .irs-box, .irs-box-center { font-size: 0.98rem; min-width: 90px; max-width: 98vw; padding: 10px 6px; }
  .irs-committee { font-size: 0.85rem; min-width: 60px; max-width: 98vw; padding: 6px 4px; }
}
#irs-center {
  color: #000 !important;
}
#irs-committee-syndicate {
  color: #000 !important;
}
.irs-footer {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: #555;
  background: linear-gradient(90deg, #f8f1e7 0%, #e9c675 100%);
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.5px;
  padding: 10px 0 8px 0;
  border-top: 1.5px solid #e9c675;
  margin-top: 40px;
  box-shadow: 0 -2px 8px #e9c67533;
}
/* Alumni Map Section */
.alumni-map-section {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background: linear-gradient(90deg, #f8f8f8 0%, #e6e6e6 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alumni-map-title {
  font-size: 2rem;
  font-weight: bold;
  color: #800000; /* Dark wine theme */
  text-shadow: 0 2px 6px rgba(128, 0, 0, 0.4);
  margin-bottom: 20px;
  animation: fadeInTitle 1.5s ease-in-out;
}

@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.alumni-map {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.alumni-legend {
  margin-top: 20px;
  text-align: left;
  display: inline-block;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.alumni-legend h3 {
  font-size: 1.2rem;
  color: #800000;
  margin-bottom: 10px;
}

.alumni-legend ul {
  list-style: none;
  padding: 0;
}

.alumni-legend li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
}

.legend-icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-icon.academia {
  background-color: #1565b3; /* Blue */
}

.legend-icon.industry {
  background-color: #ff4500; /* Red */
}

.legend-icon.startup {
  background-color: #32cd32; /* Green */
}

.legend-icon.research {
  background-color: #9400d3; /* Purple */
  width: 16px; /* Ensure width is equal to height */
  height: 16px; /* Ensure height is equal to width */
  border-radius: 50%; /* Make it a perfect circle */
  display: inline-block;
}
.custom-tooltip {
  background-color: #fff;
  color: #333;
  font-size: 0.9rem;
  font-weight: bold;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
/* Container for legend and boxes */
.alumni-info-container {
  display: flex;
  gap: 20px; /* Space between boxes */
  margin-top: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Legend Box */
.alumni-legend {
  flex: 1;
  padding: 15px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* General Box Styling */
.alumni-box {
  flex: 1;
  padding: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.alumni-box h3 {
  font-size: 1.2rem;
  color: #800000; /* Dark wine theme */
  margin-bottom: 10px;
}

.alumni-box p {
  font-size: 1rem;
  color: #333;
  margin: 5px 0;
}

/* Specific Box Colors */
.academia-box {
  background: #e6f7ff; /* Light blue */
}

.corporate-box {
  background: #fff5e6; /* Light orange */
}

.startup-box {
  background: #e6ffe6; /* Light green */
}
/* Mission Section Styling */
.mission-section {
  opacity: 0; /* Initially hidden */
  transform: translateX(-50px); /* Start from left */
  transition: opacity 1s ease, transform 1s ease; /* Smooth fade-in and slide */
}

.mission-section.visible {
  opacity: 1; /* Fully visible */
  transform: translateX(0); /* Reset position */
}
/* Base styles */
.about_content {
  position: relative;
  opacity: 0; /* Start invisible */
  transform: translateX(100px); /* Start off-screen to the right */
  animation: fadeInRight 1s ease-out forwards; /* Apply animation */
}

/* Animation keyframes */
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px); /* Start off-screen */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* End at original position */
  }
}
.fade-in-right {
  opacity: 0; /* Initially hidden */
  transform: translateX(100px); /* Start off-screen to the right */
  transition: opacity 1s ease-out, transform 1s ease-out; /* Smooth fade-in and slide */
}

.fade-in-right.visible {
  opacity: 1; /* Fully visible */
  transform: translateX(0); /* Reset position */
}
/* Fade in from left for Achievements */
.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
/* Distinguished Alumni Box */
.distinguished-alumni-box {
  background: #fff;
  border: 2px solid #222;
  border-radius: 12px;
  margin-top: 18px;
  padding: 18px 20px 12px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  min-width: 260px;
  max-width: 340px;
}

.distinguished-alumni-box h3 {
  font-size: 1.2rem;
  color: #800000;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 1px;
}

.distinguished-alumni-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}

.distinguished-alumni-legend li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
}

.alumni-marker {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 1.1em;
  text-align: center;
  line-height: 18px;
}

.academia-marker {
  background: #1565b3;
  color: #fff;
  /* Academic cap emoji 🎓 */
  content: "🎓";
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><text x="0" y="15" font-size="16">🎓</text></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.society-marker {
  background: #ffb300;
  color: #fff;
  /* Government/office emoji 🏛️ */
  content: "🏛️";
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><text x="0" y="15" font-size="16">🏛️</text></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.industry-marker {
  background: #32cd32;
  color: #fff;
  /* Briefcase emoji 💼 */
  content: "💼";
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><text x="0" y="15" font-size="16">💼</text></svg>');
  background-repeat: no-repeat;
  background-position: center;
}
/* Explore Open Geospatial Data Sidebar (right) */
.geodata-sidebar {
  position: fixed;
  top: 18vh;
  right: 0;
  z-index: 10010;
  width: 180px;
  font-size: 0.92rem;
  background: #fff;
  border-radius: 14px 0 0 14px;
  box-shadow: -2px 4px 24px #0002;
  border-right: 4px solid #800000;
  font-family: 'Lora', serif;
  transition: box-shadow 0.3s, transform 0.35s ease, opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.geodata-toggle {
  width: 100%;
  background: linear-gradient(90deg, #e9c675 0%, #800000 100%);
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 9px 12px 9px 12px;
  border: none;
  border-radius: 14px 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  transition: background 0.2s;
}

.geodata-toggle .fa {
  margin-right: 10px;
  font-size: 1.2em;
}

.geodata-toggle:hover {
  background: linear-gradient(90deg, #800000 0%, #e9c675 100%);
  color: #fffbe6;
}
/* Open Geospatial Data Section */
.open-geodata-section {
  background: #ffe4c4;
  padding: 64px 0 48px 0;
}

.open-geodata-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #800000;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.open-geodata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.open-geodata-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(80,0,0,0.10);
  padding: 28px 22px 22px 22px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  transition: transform 0.7s cubic-bezier(.23,1,.32,1), box-shadow 0.7s;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}

.open-geodata-card.animated {
  opacity: 1;
  transform: translateY(0) scale(1.04);
  box-shadow: 0 12px 32px rgba(80,0,0,0.18);
}

.open-geodata-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(80,0,0,0.10);
  transition: transform 0.5s cubic-bezier(.23,1,.32,1);
}

.open-geodata-card.animated .open-geodata-logo {
  transform: scale(1.13) rotateZ(-2deg);
}

.open-geodata-details {
  flex: 1;
  min-width: 0;
}

.open-geodata-details h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 6px;
}

.open-geodata-desc {
  font-size: 0.98rem;
  color: #333;
  margin-bottom: 8px;
}

.open-geodata-details ul {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  padding-left: 18px;
}

.open-geodata-details li {
  margin-bottom: 3px;
}
body.no-scroll .geodata-sidebar {
  transform: translateX(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .geodata-sidebar {
    top: auto;
    bottom: 24vh;
    right: 12px;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .geodata-sidebar {
    width: min(68vw, 170px);
    font-size: 0.88rem;
    right: max(6px, env(safe-area-inset-right, 0px));
    bottom: 18vh;
  }
}

@media (max-width: 520px) {
  .geodata-sidebar {
    width: min(72vw, 150px);
    bottom: 22vh;
  }
}
/* Explore Open Geospatial Data Title Bar */
.open-geodata-title-bar {
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.open-geodata-title-text {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0.7em 0;
  width: 100%;
  background: linear-gradient(90deg, #800000 0%, #e9c675 50%, #fffbe6 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #80000022, 0 1.5px 0 #e9c675;
  text-shadow: 0 2px 12px #80000055, 0 1.5px 0 #e9c675;
  position: relative;
  overflow: hidden;
  animation: academics-metallic-shine 3.5s linear infinite;
}

.open-geodata-title-underline {
  position: relative;
  width: 320px;
  max-width: 90vw;
  height: 18px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.open-geodata-title-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fffbe6 60%, #e9c675 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e9c67588, 0 0 2px #fff;
  transform: translateX(-50%);
  z-index: 2;
  animation: academics-dot-glow 2.2s infinite alternate;
}

.open-geodata-title-underline-line {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 50%, #800000 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px #e9c67588;
  transform: translateX(-50%);
  z-index: 1;
  animation: academics-line-grow 1.2s cubic-bezier(.23,1,.32,1) 0.2s forwards;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .open-geodata-title-text {
    font-size: 1.4rem;
    border-radius: 10px;
    padding: 0.5em 0;
  }
  .open-geodata-title-underline {
    width: 90vw;
    height: 14px;
  }
  .open-geodata-title-underline-line {
    top: 8px;
    height: 3px;
  }
  .open-geodata-title-dot {
    width: 7px;
    height: 7px;
    top: 4px;
  }
}
/* Gradient background for Open Geospatial Data cards */
.open-geodata-card {
  background: linear-gradient(120deg, #e9c675 0%, #fffbe6 60%, #800000 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(80,0,0,0.10);
  padding: 28px 22px 22px 22px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  transition: transform 0.7s cubic-bezier(.23,1,.32,1), box-shadow 0.7s;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}

/* Optional: Make text stand out on gradient */
.open-geodata-details h3,
.open-geodata-desc,
.open-geodata-details ul,
.open-geodata-details li {
  color: #800000;
  text-shadow: 0 2px 8px #fffbe6cc;
}
/* Metallic animated golden frame around the top-left logo */
.nav_logo {
  --frame-width: 6px;         /* thickness of the metallic frame */
  --inner-radius: 12px;       /* logo corner radius */
  --angle: 0deg;              /* driver for rotating metallic gradient */
}

.nav_logo > a:first-child {
  position: relative;
  display: inline-block;
  padding: var(--frame-width);
  border-radius: calc(var(--inner-radius) + var(--frame-width));
  /* metallic gradient frame */
  background: conic-gradient(
    from var(--angle),
    #6b4e16 0deg,
    #b8860b 30deg,
    #e9c675 70deg,
    #fff7c4 110deg,
    #ffd700 160deg,
    #a97142 220deg,
    #e9c675 300deg,
    #6b4e16 360deg
  );
  animation: metallic-rotate 8s linear infinite;
  /* keep it crisp, no cloudy shadows */
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.35);
}

.nav_logo > a:first-child img.logo {
  display: block;
  border-radius: var(--inner-radius);
}

/* moving specular highlight only on the frame band */
.nav_logo > a:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--frame-width);
  border-radius: calc(var(--inner-radius) + var(--frame-width));
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.9) 10deg,
    transparent 24deg,
    transparent 360deg
  );
  animation: metallic-sheen 2.8s linear infinite;
  pointer-events: none;
  /* mask so highlight appears only on the ring (frame), not over the logo */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

@keyframes metallic-rotate {
  to { --angle: 360deg; }
}

@keyframes metallic-sheen {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Optional: intensify on hover */
.nav_logo > a:first-child:hover {
  animation-duration: 5s;
}
/* Unique color and text design for Spatia magazine description */
.spatia-desc {
  font-family: 'Lora', serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #7f3232; /* deep wine */
  background: linear-gradient(90deg, #fffbe6 0%, #e9c675 60%, #a12727 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.5px #a12727;
  text-shadow:
    0 2px 12px #e9c67555,
    0 1px 0 #01172e;
  letter-spacing: 1.2px;
  padding: 18px 0 12px 0;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 18px;
  animation: spatiaDescShine 7s linear infinite;
}

@keyframes spatiaDescShine {
  0% { background-position: 120% 0; }
  100% { background-position: 0 0; }
}

