:root {
    --transition-duration: 0.8s;
}

/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: garamond, sans-serif;
    color: #333;
}

:root {
--primary: #0c0074;
--secondary: #757575;
--light: #F3F6F8;
--dark: #0C2B4B;

/* Dynamically adjusting heights */
--top-bar-height: clamp(30px, 5vw, 60px); /* Min 35px, responsive, max 60px */
--min-font-size: clamp(2vw, 2.2vw, 2.3vw);
--navbar-height: clamp(40px, 5vw, 60px);  /* Min 20px, responsive, max 50px */
--video-container-height: clamp(40px, 25vw, 500px); /* Min 400px, responsive, max 600px */
--content-container-height: clamp(40px, 25vw, 500px); /* Min 400px, responsive, max 600px */
--top-image-height: clamp(40px, 25vw, 500px); /* Min 400px, responsive, max 600px */
--bottom-image-height: clamp(40px, 25vw, 500px); /* Min 400px, responsive, max 600px */
--footer-height:clamp(90px, 25vw, 700px);
--font-size:clamp(10px, 1.2vw, 30px);
--footer-title-font-size:clamp(30px, 3vw, 40px);
--footer-content-font-size:clamp(5px, 2vw, 20px);
--sirbar-height: clamp(22vw, 8vw, 19vw);






/* Responsive font sizes */
--font-size-desktop: clamp(14px, 1.5vw, 18px); /* Min 14px, responsive, max 18px */
--font-size-mobile: clamp(12px, 1.2vw, 16px);  /* Min 12px, responsive, max 16px */

/* Sidebar width responsive */
--sidebar-width: clamp(200px, 30vw, 250px); /* Min 200px, responsive, max 250px */
}


@font-face {
font-family: 'kcobraletra';
src: url('../font/KCObraLetraRegular.woff2') format('woff');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Beckman';
src: url('../font/subset-BeckmanFREE.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'Lexend';
src: url('../font/subset-Lexend-Regular.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'Playfair';
src: url('../font/PlayfairDisplay-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Benedict';
src: url('../font/Benedict\ Regular.woff') format('woff');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'Garamond'; /* Name of the font */
src: url('../font/EBGaramond08-Regular.woff') format('woff'); /* Path to the font file */
font-weight: normal; /* Specify the font weight */
font-style: normal; /* Specify the font style */
font-display: swap; /* Optional: Fallback text display while font loads */
}
@font-face {
font-family: 'Montserrat'; /* Name of the font */
src: url('../font/monserrat/Montserrat-Regular.woff') format('woff2'); /* Path to the font file */
font-weight: normal; /* Specify the font weight */
font-style: normal; /* Specify the font style */
font-display: swap; /* Optional: Fallback text display while font loads */
}
@font-face {
font-family: 'Tex-gyre'; /* Name of the font */
src: url('../font/monserrat/subset-TeXGyreTermes-Regular.woff2') format('woff2'); /* Path to the font file */
font-weight: normal; /* Specify the font weight */
font-style: normal; /* Specify the font style */
}


/* Set height for parent elements */
html, body {
margin: 0; /* Remove default margins */
padding: 0; /* Remove default padding */
box-sizing: border-box;

}

body {
font-family: 'KC Obra Letra', sans-serif;
display: flex;
flex-direction: column; /* Align elements vertically */
}

/* Wrapper for Flexibility */
.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}



/* Top Bar */
.top-bar1 {
background-color: #000;
display: flex;
align-items: center;
position: relative;
top: 0;
height: var(--top-bar-height); /* Dynamically adjust height */
width: 100%;
z-index: 1000;
transition: height 0.3s ease, opacity 0.5s ease, top 0.5s ease;
}


/* Top Bar Scroll Effect */
.top-bar1.hidden {
opacity: 0;
top: -50px;
transition: opacity 0.5s ease, top 0.5s ease;
}

/* Navbar Scroll Effect */
nav.scrolled {
position: fixed;
top: 0;
background-color: #ffffff;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
transition: top 0.5s ease, opacity 0.5s ease;
z-index: 10000;
}

.navbar-brand {
display: flex;
position: absolute;
max-height: var(--top-bar-height);
height: 100%;
width: auto;
white-space: nowrap;

}
/* Bioprocess Text */
/* Bioprocess Text */
.top-bar1 h21 {
font-family: "montserrat", sans-serif;
font-style: normal;
font-size: clamp(.2rem, 2.4vw, 2.8em);
color: white;
align-self: center;
position: absolute;
margin-left: 21vw;
margin-right: 20vh;
box-sizing: border-box;
}

/* Hover Effect */
.top-bar1:hover {
opacity: 0.8; /* Slightly fade on hover */
}

/* When scrolled */
.top-bar1.scrolled {
opacity: 0.5;
top: -50px; /* Moves the bar upwards */
}

/* Hidden state for .top-bar */
.hidden {
opacity: 0;
top: -50px;
transition: opacity 0.5s ease, top 0.5s ease;
}
/*End of Top Bar*/


/* Navigation Bar */
nav {
  position: relative; /* Fixed to ensure visibility when it reappears */
  height: var(--navbar-height);
  width: 100%;
  background-color: rgb(87, 192, 248);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99911;
}

/* Show Navigation Bar */
nav.visible {
    opacity: 1; /* Make visible */
    pointer-events: auto; /* Enable interactions */
    top: var(--top-bar-height); /* Fixed position below the top bar */
}

/* Navigation List */
nav ul {
    width: 100%; /* Full width */
    list-style: none; /* Remove bullet points */
    display: flex; /* Align items horizontally */
    justify-content: flex-end; /* Align items to the right */
    align-items: center; /* Center items vertically */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

/* Navigation Items */
nav li {
    height: 40px; /* Match the height of the navbar */
    display: flex; /* Flexbox for alignment */
    align-items: center; /* Center content vertically */
}


/* Navigation Links */
nav a {
    height: 100%;
    padding: 0 30px;
    font-size: clamp(14px, 1.2vw, 18px); /* Responsive font size */
    text-decoration: wavy; /* Remove underline */
    display: flex; /* Flexbox for alignment */
    align-items: center; /* Center content vertically */
    color: #0b088f;
    transition: color 0.2s ease, background-color 0.2s ease; /* Smooth hover effect for color and background */
    display: flex;
    align-items: center;
    color: black;
}
/* Active Link Styling */
nav a.active {
  color: #ffffff; /* Change text color for active website button */
  font-weight:lighter; 
  text-decoration: none; /* Remove underline */
  background-color: rgba(255, 255, 255, 0); /* Subtle background for active link */
  transition: color 0.2s ease, background-color 0.2s ease; /* Smooth transition */
}


/* Hover Effect */
nav a:hover {
text-decoration: wavy;
color: #F3BD00; /* Change text color */
background-color: #0C2B4B; /* Optional: Add a background color on hover */

}

nav li:first-child {
margin-right: 0; /* Push all other items to the right */
}

.sidebar{
position: fixed;
margin-top: var(--top-bar-height);
top: 0;
right: 0;
height: 240px;
width: 200px;
background-color: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
list-style: none;
display: none;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
}
.sidebar li{
width: 100%;
}
.sidebar a{
width: 100%;
}

.menu-button{
display: none;
}
@media(max-width: 800px){
.hideOnMobile{
display: none;
}
.menu-button{
display: block;
}
}
@media(max-width: 400px){
.sidebar{
width: 100%;
}
}



.maven-pro-100 h2 {
  font-family: "Maven Pro", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 80%;
    height: auto;
    padding: 1vw 0; /* Adjust padding as needed */
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-family: 'playfair display';
    font-style: bold;
    font-weight: 400;
    background-color: #dcb09e; /* Hex color extracted from the provided image */
    color: black; /* Adjust text color for better contrast */
    text-align: center;
    z-index: 5;
}






.switch-bar {
    display: flex;
    justify-content: center;
    gap: 30%;
    background: #f8f9fa00;
    padding: 10px;
    font-weight: bold;
    margin: 10px 0;
}




/* General Button Styling */
.switch {
    font-size: clamp(1.2rem, 6vw, 3rem);
    font-family: 'kcobraletra';
    color: #5900ff;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    background-color: #ffffff; /* Default inactive background color */
    border-radius: 4vw;
    padding: 1.1vw;
}

/* Responsive adjustments for the button */
@media (max-width: 768px) {
    .switch {
        font-size: clamp(1.2rem, 6vw, 3rem);
        font-family: 'kcobraletra';
        color: #333333;

        border-radius: 4vw;
        padding: 1vw;
    }
}

@media (max-width: 820px) {
    .switch {
        font-size: clamp(1.2rem, 5vw, 2.5rem);
        font-family: 'kcobraletra';
        color: #333333;

        border-radius: 4vw;
        padding: 1vw;
    }
}

@media (max-width: 480px) {
    .switch {
        font-size: clamp(1.2rem, 5vw, 2.5rem);
        font-family: 'kcobraletra';
        color: #333333;

        border-radius: 4vw;
        padding: 1vw;
    }
}

@media (max-width: 350px) {
    .switch {
        font-size: clamp(1rem, 5vw, 2.5rem);
        font-family: 'kcobraletra';
        color: #333333;

        border-radius: 4vw;
        padding: 2vw;
    }
}

/* Active State */
.switch.active {
    color: #000000; /* Active text color */
    background-color: #90eeff; /* Default inactive background color */; /* Active background color */
}

/* Hover Effect */
.switch:hover {
    background-color: #9c3b9c; /* Slightly darker shade on hover for inactive */
}

/* Hover and Active Underline Animation */
.switch::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, white, rgb(24, 198, 24), white);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.switch:hover::after,
.switch.active::after {
    width: var(--underline-width);
}
















/* Container */
.container {
    position: relative;
    overflow: hidden; /* Ensure content stays within the bounds */
    width: 100%; /* Full width of the parent */
    background: linear-gradient(135deg, #4e367d, #b35387, #6f8edb, #f8e7da);
}

/* Slider */
.slider {
    display: flex; /* Enable horizontal scrolling effect */
    width: 100%; /* Constrain to the width of the container */
    transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
}

/* Section */
.section {
    flex: 0 0 100%; /* Each section takes 100% of the slider width */
    height: auto;
    overflow-y: auto; /* Enable vertical scrolling if content exceeds height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

/* Active Section (Display Only Active One) */
.section.active {
    display: block; /* Show only the active section */
}





/* Add a fade-in class for the alumni section */
.fade-in {
    opacity: 0; /* Start hidden */
    transition: opacity 1s ease-in-out; /* Smooth transition */
}

/* When the section is active, set opacity to 1 */
.section.active.fade-in {
    opacity: 1; /* Fully visible */
}

/* Initially hide the alumni section */
#alumni {
    display: none;
}

/* Make sure that content is wrapped properly and is centered */
.section-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3%;
    width: 90%; /* Center content */
    padding-right: 5%;
    padding-left: 5%;
    padding-top: 4%;
}




/* Student card styles */
.student-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Prevents overflow during animation */
    width: 200px;
    height: 300px;
    margin-bottom: 4%;
}

/* Student card styles */
.student-card1 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Prevents overflow during animation */
    width: 200px;
    height: 300px;
    margin-bottom: 4%;
}


/* Border animation */
.student-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 0; /* Start with no height */
    border: 0 solid transparent; /* Invisible border */
    box-sizing: border-box; /* Ensures proper border rendering */
    transition: height 0.2s ease, border-width 0.2s ease, border-color 1s ease; /* Animate height, width, and color */
    z-index: 1;
    padding-left: 5%;
}

/* Border animation */
.student-card1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 0; /* Start with no height */
    border: 0 solid transparent; /* Invisible border */
    box-sizing: border-box; /* Ensures proper border rendering */
    transition: height 0.2s ease, border-width 0.2s ease, border-color 1s ease; /* Animate height, width, and color */
    z-index: 1;
    padding-left: 5%;
}

.student-card:hover::before {
    height: 99.5%; /* Full height */
    border-width: 10px; /* Border thickness adjusts based on viewport */
    border-color: #ffd700; /* Golden border becomes visible */
    padding-left: 5%;
}

.student-card1:hover::before {
    height: 99.5%; /* Full height */
    border-width: 10px; /* Border thickness adjusts based on viewport */
    border-color: #ffd700; /* Golden border becomes visible */
    padding-left: 5%;
}

/* Responsive adjustments for the border */
@media (max-width: 768px) {
    .student-card1:hover::before {
        border-width: 1vw; /* Thicker border for smaller screens */
    }
}

@media (max-width: 480px) {
    .student-card1:hover::before {
        border-width: 1.5vw; /* Even thicker border for very small screens */
    }
}


/* Responsive adjustments for the border */
@media (max-width: 768px) {
    .student-card1:hover::before {
        border-width: 1vw; /* Thicker border for smaller screens */
    }
}

@media (max-width: 480px) {
    .student-card1:hover::before {
        border-width: 1.5vw; /* Even thicker border for very small screens */
    }
}
/* Profile image styling */
.profile-image {
    width: 188px;
    height: 217px;
    z-index: 1;
    padding-top: 5px;
    position: relative;
    transition: all 0.3s ease; /* Smooth hover effect */
}

/* Profile image styling */
.profile-image1 {
    width: 188px;
    height: 217px;
    z-index: 1;
    padding-top: 5px;
    position: relative;
    transition: all 0.3s ease; /* Smooth hover effect */
}

/* Darken image on hover */
.student-card:hover .profile-image {
    filter: brightness(25%); /* 50% darker */
}
/* Darken image on hover */
.student-card1:hover .profile-image {
    filter: brightness(25%); /* 50% darker */
}



/* Hidden state */
.hidden {
    opacity: 0;
    transform: translateY(50px); /* Position it slightly below */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Smooth transition */
}

/* Visible state (fade-in) */
.fade-in {
    opacity: 1;
    transform: translateY(0); /* Bring to original position */
}

/* Hidden state */
.hidden {
    opacity: 0;
    transform: translateY(50px); /* Position it slightly below */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Smooth transition */
}

/* Visible state (fade-in) */
.fade-in {
    opacity: 1;
    transform: translateY(0); /* Bring to original position */
}




/* Name box styling */
.name-box {
    background-color: #d9d9d9;
    padding: 8px 10px;
    width: 168px;
    height: 55px; /* Extra height for alignment */
    display: flex;
    justify-content: center;
    flex-direction: column; /* Arrange name and position vertically */
    align-items: center;
    margin-bottom: 10px;
    z-index: 1;
}

/* Name box styling */
.name-box1 {
    background-color: #d9d9d9;
    padding: 8px 10px;
    width: 168px;
    height: 55px; /* Extra height for alignment */
    display: flex;
    justify-content: center;
    flex-direction: column; /* Arrange name and position vertically */
    align-items: center;
    margin-bottom: 10px;
    z-index: 1;
}
/* Name box styling */
.name-box2 {
    background-color: #d9d9d9;
    padding: 8px 10px;
    width: 168px;
    height: 55px; /* Extra height for alignment */
    display: flex;
    justify-content: center;
    flex-direction: column; /* Arrange name and position vertically */
    align-items: center;
    margin-bottom: 10px;
    z-index: 1;
}
/* Student name text */
.student-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    z-index: 2;
    padding-top: 10px;
}

.student-name1 {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    z-index: 2;
    padding-top: 10px;
}
.student-name2 {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    z-index: 2;
    padding-top: 0px;
}

.button-style {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;

    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #0b0054; /* Button color */
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Button shadow */
}

.button-style:hover {
    background-color: #000000; /* Darker color on hover */
    transform: translateY(-0px); /* Slight lift effect */
}

.button-style:active {
    background-color: #000000; /* Active button color */
    color: #000000;
    transform: translateY(1px); /* Slight press effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Reduced shadow on press */
}

.switch-bar {
    display: flex;
    justify-content: center;

}






.student-position {
    font-size: 0.7rem; /* Slightly smaller than the name */
    font-weight: bold;
    color: #8400ff; /* Neutral color */
    margin-top: 0; /* Space between the name and position */
    font-style: italic; /* Optional: Italicize the position */
}
.student-position1 {
    font-size: 0.6rem; /* Slightly smaller than the name */
    font-weight: bold;
    color: #8400ff; /* Neutral color */
    margin-top: 0; /* Space between the name and position */
    font-style: italic; /* Optional: Italicize the position */
}
.student-positions {
    font-size: 0.6rem; /* Slightly smaller than the name */
    font-weight: bold;
    color: #8400ff; /* Neutral color */
    margin-top: 0; /* Space between the name and position */
    font-style: italic; /* Optional: Italicize the position */
}
.student-positions1 {
    font-size: 0.6rem; /* Slightly smaller than the name */
    font-weight: bold;
    color: #8400ff; /* Neutral color */
    margin-top: 0; /* Space between the name and position */
    font-style: italic; /* Optional: Italicize the position */
}




/* Social icons container */
.social-icons {
    position: absolute;
    top: -30%; /* Start off-screen above the profile */
    left: 50%;
    transform: translate(-50%, -30%);
    opacity: 0.2;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: all 0.5s ease, opacity 0.5s ease;
    z-index: 3;
}

/* Social icons container */
.social-icons1 {
    position: absolute;
    top: -30%; /* Start off-screen above the profile */
    left: 50%;
    transform: translate(-50%, -30%);
    opacity: 0.2;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: all 0.5s ease, opacity 0.5s ease;
    z-index: 3;
}

/* Show icons on hover */
.student-card:hover .social-icons {
    top: 50%; /* Move to the middle of the profile */
    transform: translate(-50%, -50%);
    opacity: 1;
}

.student-card1:hover .social-icons {
    top: 50%; /* Move to the middle of the profile */
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Icon styling */
.social-icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%; /* Optional: Make the icons circular */
}

.social-icons1 a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%; /* Optional: Make the icons circular */
}

/* Glow effect on hover */
.social-icons a img:hover {
    transform: scale(1.2); /* Slight zoom */
    box-shadow: 0 0 15px 5px; /* Default shadow color */
}

.social-icons1 a img:hover {
    transform: scale(1.2); /* Slight zoom */
    box-shadow: 0 0 15px 5px; /* Default shadow color */
}

/* Glow colors for specific icons */
.social-icons a:nth-child(1) img:hover { /* LinkedIn */
    box-shadow: 0 0 15px 5px #0072b1; /* Dark blue glow */
}

.social-icons1 a:nth-child(1) img:hover { /* LinkedIn */
    box-shadow: 0 0 15px 5px #0072b1; /* Dark blue glow */
}

.social-icons a:nth-child(2) img:hover { /* ORCID */
    box-shadow: 0 0 15px 5px #3AB54A; /* Green glow */
}

.social-icons1 a:nth-child(2) img:hover { /* ORCID */
    box-shadow: 0 0 15px 5px #3AB54A; /* Green glow */
}

.social-icons a:nth-child(3) img:hover { /* Google Scholar */
    box-shadow: 0 0 15px 5px #00BFFF; /* Light aqua blue glow */
}

.social-icons1 a:nth-child(3) img:hover { /* Google Scholar */
    box-shadow: 0 0 15px 5px #00BFFF; /* Light aqua blue glow */
}



/* Hidden state */
.hidden1 {
    opacity: 0;
    transform: translateY(50px); /* Slightly below initial position */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Smooth transition */
}

/* Visible state */
.fade-in {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}

/* Hidden state */
.hidden2 {
    opacity: 0;
    transform: translateY(50px); /* Slightly below initial position */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Smooth transition */
}
.fade-in {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}






.top-left-image{
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    z-index: 1;
}
.main-bar-image{
    position: absolute;
    top: 0;
    left: 0;
    height: 5vw;
    width: 100%;
    z-index: 3;
}

.main-bar-image1{
    position: absolute;
    top: 48.9vw;
    left: 0;
    height: 5vw;
    width: 50%;
    z-index: 3;
}


h5 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 60%;
    height: auto;
    padding: 1vw 0; /* Adjust padding as needed */
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-family: 'kcobraletra';
    font-style: bold;
    font-weight: 400;
    background-color: #ffffff;
    border-radius: 2vw;
    color: black; /* Adjust text color for better contrast */
    text-align: center;
    z-index: 5;
}








.modal1 {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed to viewport */
    z-index: 1000; /* Ensure it's on top */
    top: 0; /* Start at the top of the viewport */
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    justify-content: center; /* Horizontally centered */
    align-items: flex-start; /* Start aligning at the top */
    overflow-y: auto; /* Allow scrolling within the modal */
    padding: 100px; /* Add padding for mobile-friendly view */
}

.modal-content1 {
    background: #ffffff;
    border-radius: 2vw;
    top: 0;
    height:550px;
    width: 90%;
    max-width: 800px;
    margin: 20px auto; /* Add spacing from top and bottom */
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out; /* Smooth fade-in effect */
    position: relative; /* Ensure close button is positioned correctly */
    transform: translate(-12%, -7%); /* Adjust to move slightly higher 
    max-height: calc(100vh - 40px); /* Ensure modal fits within the viewport */
    overflow-y: auto; /* Enable scrolling inside the modal */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}







/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed to viewport */
    z-index: 1000; /* Ensure it's on top */
    top: 0; /* Start at the top of the viewport */
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    justify-content: center; /* Horizontally centered */
    align-items: flex-start; /* Start aligning at the top */
    overflow-y: auto; /* Allow scrolling within the modal */
    padding: 20px; /* Add padding for mobile-friendly view */
}
/* Modal Content */
.modal-content {
    background: #ffffff;
    border-radius: 2vw;
    top: 0;
    height:550px;
    width: 90%;
    max-width: 800px;
    margin: 20px auto; /* Add spacing from top and bottom */
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out; /* Smooth fade-in effect */
    position: relative; /* Ensure close button is positioned correctly */
    transform: translate(-2%, -7%); /* Adjust to move slightly higher 
    max-height: calc(100vh - 40px); /* Ensure modal fits within the viewport */
    overflow-y: auto; /* Enable scrolling inside the modal */
}

.modal-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease-in-out; /* Smooth transition for positioning */
}




/* Responsive adjustments for the border */
@media (max-width: 768px) {
/* Modal Content */
.modal-content {
    background: #ffffff;
    border-radius: 2vw;
    top: 0;
    height:35vw;
    width: 90%;
    max-width: 800px;
    margin: 20px auto; /* Add spacing from top and bottom */
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out; /* Smooth fade-in effect */
    position: relative; /* Ensure close button is positioned correctly */
    transform: translate(-2%, -7%); /* Adjust to move slightly higher 
    max-height: calc(100vh - 40px); /* Ensure modal fits within the viewport */
    overflow-y: auto; /* Enable scrolling inside the modal */
}
}

@media (max-width: 480px) {
/* Modal Content */
.modal-content {
    background: #ffffff;
    border-radius: 2vw;
    top: 0;
    height:35vw;
    width: 90%;
    max-width: 800px;
    margin: 20px auto; /* Add spacing from top and bottom */
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out; /* Smooth fade-in effect */
    position: relative; /* Ensure close button is positioned correctly */
    transform: translate(-2%, -7%); /* Adjust to move slightly higher 
    max-height: calc(100vh - 40px); /* Ensure modal fits within the viewport */
    overflow-y: auto; /* Enable scrolling inside the modal */
}
}


/* Responsive adjustments for the border */
@media (max-width: 768px) {
/* Modal Content */
.modal-content {
    background: #ffffff;
    border-radius: 2vw;
    top: 0;
    height:70vw;
    width: 90%;
    max-width: 800px;
    margin: 20px auto; /* Add spacing from top and bottom */
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out; /* Smooth fade-in effect */
    position: relative; /* Ensure close button is positioned correctly */
    transform: translate(-2%, -7%); /* Adjust to move slightly higher 
    max-height: calc(100vh - 40px); /* Ensure modal fits within the viewport */
    overflow-y: auto; /* Enable scrolling inside the modal */
}
}

@media (max-width: 480px) {
/* Modal Content */
.modal-content {
    background: #ffffff;
    border-radius: 2vw;
    top: 0;
    height:100vw;
    width: 90%;
    max-width: 800px;
    margin: 20px auto; /* Add spacing from top and bottom */
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out; /* Smooth fade-in effect */
    position: relative; /* Ensure close button is positioned correctly */
    transform: translate(-2%, -7%); /* Adjust to move slightly higher 
    max-height: calc(100vh - 40px); /* Ensure modal fits within the viewport */
    overflow-y: auto; /* Enable scrolling inside the modal */
}
}
















/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
/* Close Button */
.close1 {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.close1:hover {
    color: #333;
}




.modal-title {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 15px;
}

.modal-title1 {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 15px;
}

.modal-image {
    width: 13vw;
    height: 15vw;
    border-radius: 10px;
    border: 2px solid #000000;
    margin: 0 auto 15px;
}

.modal-image1 {
    width: 13vw;
    height: 15vw;
    border-radius: 10px;
    border: 2px solid #000000;
    margin: 0 auto 15px;
}

/* Social icons container */
.profile-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px; /* Adjust spacing for layout */
}

.profile-links1 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px; /* Adjust spacing for layout */
}

/* Icon styling */
.profile-links a img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Optional: Make the icons circular */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-links1 a img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Optional: Make the icons circular */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Glow effect on hover */
.profile-links a img:hover {
    transform: scale(1.2); /* Slight zoom */
    box-shadow: 0 0 15px 5px; /* Default shadow effect */
}

.profile-links1 a img:hover {
    transform: scale(1.2); /* Slight zoom */
    box-shadow: 0 0 15px 5px; /* Default shadow effect */
}

/* Specific glow colors for icons */
.profile-links a:nth-child(1) img:hover { /* LinkedIn */
    box-shadow: 0 0 15px 5px #0072b1; /* Dark blue glow */
}

.profile-links1 a:nth-child(1) img:hover { /* LinkedIn */
    box-shadow: 0 0 15px 5px #0072b1; /* Dark blue glow */
}

.profile-links a:nth-child(2) img:hover { /* ORCID */
    box-shadow: 0 0 15px 5px #3AB54A; /* Green glow */
}

.profile-links1 a:nth-child(2) img:hover { /* ORCID */
    box-shadow: 0 0 15px 5px #3AB54A; /* Green glow */
}

.profile-links a:nth-child(3) img:hover { /* Google Scholar */
    box-shadow: 0 0 15px 5px #00BFFF; /* Light aqua blue glow */
}

.profile-links1 a:nth-child(3) img:hover { /* Google Scholar */
    box-shadow: 0 0 15px 5px #00BFFF; /* Light aqua blue glow */
}


.modal-section-title {
    font-size: 20px;
    color: #6a11cb;
    font-weight: bold;
    margin-top: 20px;
    border-bottom: 2px solid #6a11cb;
    padding-bottom: 5px;
}

.modal-section-title1 {
    font-size: 20px;
    color: #6a11cb;
    font-weight: bold;
    margin-top: 20px;
    border-bottom: 2px solid #6a11cb;
    padding-bottom: 5px;
}

/* Research List Styling */
.research-list {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    gap: 15px; /* Space between items */
    justify-content: center; /* Center the items */
    padding: 0;
    margin: 20px auto;
    list-style: none; /* Remove default list styling */
}

.research-list1 {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    gap: 15px; /* Space between items */
    justify-content: center; /* Center the items */
    padding: 0;
    margin: 20px auto;
    list-style: none; /* Remove default list styling */
}

.research-list li {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 10px 20px;
    border-radius: 10px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    min-width: 200px; /* Set a minimum width for consistency */
    text-align: center; /* Center align text */
    font-weight: bold;
    transition: transform 0.3s ease; /* Add hover effect */
}

.research-list1 li {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 10px 20px;
    border-radius: 10px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    min-width: 200px; /* Set a minimum width for consistency */
    text-align: center; /* Center align text */
    font-weight: bold;
    transition: transform 0.3s ease; /* Add hover effect */
}

/* Icon for Research Area */
.research-list li::before {
    content: '\1F4DA'; /* Example: Unicode for a book emoji */
    font-size: 20px;
    color: #6a11cb; /* Accent color */
    margin-right: 8px;
}

.research-list1 li::before {
    content: '\1F4DA'; /* Example: Unicode for a book emoji */
    font-size: 20px;
    color: #6a11cb; /* Accent color */
    margin-right: 8px;
}

/* Hover Effect */
.research-list li:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.research-list1 li:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.education-list {
    display: flex;
    flex-direction: column; /* Arrange items vertically */
    align-items: center; /* Center the items horizontally */
    justify-content: center; /* Center the items vertically */
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
    position: relative; /* Needed for centering */
    gap: 5px; /* Add gap between points */
    text-align: center; /* Ensure text alignment is consistent */
}


.education-list1 {
    display: flex;
    flex-direction: column; /* Arrange items vertically */
    align-items: center; /* Center the items horizontally */
    justify-content: center; /* Center the items vertically */
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
    position: relative; /* Needed for centering */
    gap: 5px; /* Add gap between points */
    text-align: center; /* Ensure text alignment is consistent */
}

.education-list li {
    display: flex;
    align-items: center; /* Align icon and text properly */
    gap: 10px; /* Add space between icon and text */
    text-align: left; /* Align text to the left within the list item */
    width: 100%; /* Take up full width of the parent container */
    max-width: 600px; /* Limit the width for consistent alignment */
}

.education-list1 li {
    display: flex;
    align-items: center; /* Align icon and text properly */
    gap: 10px; /* Add space between icon and text */
    text-align: left; /* Align text to the left within the list item */
    width: 100%; /* Take up full width of the parent container */
    max-width: 600px; /* Limit the width for consistent alignment */
}


.education-list li::before {
    content: '\1F393'; /* Graduation Cap Icon */
    font-size: 20px;
    margin-right: 10px;
    color: #6a11cb;
}

.education-list1 li::before {
    content: '\1F393'; /* Graduation Cap Icon */
    font-size: 20px;
    margin-right: 10px;
    color: #6a11cb;
}



.current-work {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-align: justify;
    margin-top: 10px;
    text-indent: 2em;
}


.current-work1 {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-align: justify;
    margin-top: 10px;
    text-indent: 2em;
}

/* Scrollbar for modal content */
.modal-content::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

.modal-content1::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light gray background for the track */
    border-radius: 10px; /* Rounded corners */
}


.modal-content1::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light gray background for the track */
    border-radius: 10px; /* Rounded corners */
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradient scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
}

.modal-content1::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradient scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #4a00e0, #8e2de2); /* Brighter gradient on hover */
}


.modal-content1::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #4a00e0, #8e2de2); /* Brighter gradient on hover */
}

/* For Firefox */
.modal-content {
    scrollbar-width: thin; /* Thin scrollbar */
    scrollbar-color: #ffd500 #f1f1f1; /* Thumb color and track color */
}

.modal-content1 {
    scrollbar-width: thin; /* Thin scrollbar */
    scrollbar-color: #ffd500 #f1f1f1; /* Thumb color and track color */
}












/* Scroll-to-top button styles */
#scrollTop {
  position: fixed;
  right: 4vw;
  bottom: 4vw;
  display: none; /* Initially hidden */
  z-index: 9999; /* Ensure it's above other elements */
}

#scrollTop a img {
  width: 40px; /* Adjust the width of the image */
  height: 40px; /* Adjust the height of the image */
  border-radius: 50%; /* Optional: make it circular */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease; /* Add animation on hover */
}

#scrollTop a img:hover {
  transform: translateY(-5px) scale(1.1); /* Slight hover animation */
}

@media (max-width: 768px){

  
}



