body {
    font-family: Arial, sans-serif;
}

header, nav, main, footer {
    padding: 20px;
    text-align: center;
}

/* Add more styles as needed */
/****************************************header section **********************************************************/
.hero-header {
    background: url('header.jpg') no-repeat center center;
    background-size: cover; /* Keeps it covering fully */
    /*background-position: top center; /* Adjust to keep the focus area */
    color: white;
    padding: 0;
    width: 100%;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index:1000000;
    transition: height 0.5s ease-in-out; /* Slower transition for smooth effect */
}


/* Header Content Box */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    height: 12vh;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    padding: 15px;
    border-radius: 10px;
    transition: padding 1.5s ease-in-out; /* Smooth shrinking effect */

}

/* Ensure smooth centering of h1 */
.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 1.2s ease-in-out;
}

.header-text h1 {
    margin: 0;
    font-size: 1.8rem;
    transition: font-size 1s ease-in-out, transform 1s ease-in-out;
    transform: translateY(0);
}

/* h2 and h3 initial styles */
.header-text h2, .header-text h3 {
    margin: 5px 0;
    font-size: 1.2rem;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
}


/* Logo Container (Outside the Overlay) */
.logo-container {
    position: absolute;
    right: 55px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%); /* Keeps logo vertically centered */
    transition: opacity 1.5s ease-in-out; /* Smooth fade-out */
}

/* Initial Styles */
.logo-snmg {
    position: absolute;
    right: 77%;
    top: 50%;
    transform: translateY(-50%);
    height: 14vh;
    opacity: 0.85;
    display: flex;
    align-items: center;
    transition: height 1.2s ease-in-out, right 1.2s ease-in-out;
}

.logo-snmg img.logo {
    height: 100%;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
    transition: height 1.2s ease-in-out;
}


.header-logo {
    max-height: auto; /* Adjust based on logo size */
    width: 120px;
}


/* Shrinking Header */
.hero-header.shrink-header {
    height: 10vh; /* Shrinks header when scrolled */
    background-size: cover; /* Keeps background responsive */
}

/* When scrolling, reduce the padding */
.hero-header.shrink-header .header-content {
    padding: 5px;
    height: 8vh;
}

/* Header Text */
.header-text {
    text-align: center;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

/* Shrink text size when scrolling */
.hero-header.shrink-header .header-text h1 {
    font-size: 1.2rem; /* Reduce size */
    transform: translateY(27px); /* Adjust slightly down for visual centering */
    position: relative;
    
}

/* Center main text vertically clearly when scrolled */
.hero-header.shrink-header .header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Hide the logo when scrolling */
.hero-header.shrink-header .logo-container {
    opacity: 0;
}

.hero-header.shrink-header .header-text h2,
.hero-header.shrink-header .header-text h3 {
    opacity: 0;
    visibility: hidden;
    
}

/* Hide the logo when scrolling */
.hero-header.shrink-header .logo-snmg {
    height: 8vh;
    right: 79%;
}


/************************************header section end**********************************************************/




/*********************************** Style the navigation menu ****************************************************/
/* Style the top navigation */
.topnav {
    background-color: #ffffff; /* Dark background */
    overflow: visible;
    position: fixed; /* Stay on top */
    width: 98.9%;
    top: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: top 0s ease; /* Smooth transition for any top value adjustments */
}

.topnav a, .dropdown-btn {
    padding: 14px 16px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: block;
    transition: background-color 0.00003s;
    z-index: 1000000;
    border-radius: 10px;
    margin-top: 5px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(112, 109, 109, 0.689);
}

.topnav a:hover, .dropdown-content a:hover {
    background-color: #825732;
    color: rgb(255, 255, 255);
}

/* Dropdown styles */
.dropdown {
    position: relative; /* Necessary for absolute positioning of dropdown content */
}

.menuPanel {
    opacity: 0;
    top: 100%;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    pointer-events: none;
    box-shadow: 0px 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1000001;
}

.menuPanel a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    z-index: 1000001;
}

/* Slide down animation */
.menuPanel.slide-down {
    animation: slideDown 0.4s forwards ease;
    pointer-events: auto;
    opacity: 1;
}
  
/* Slide up animation */
.menuPanel.slide-up {
    animation: slideUp 0.4s forwards ease;
    pointer-events: none;
    opacity: 0;
}
  
@keyframes slideDown {
    0% {
      height: 0;
      opacity: 0;
    }
    100% {
      height: 200px;
      opacity: 1;
    }
}
  
@keyframes slideUp {
    0% {
      height: 200px;
      opacity: 1;
    }
    100% {
      height: 0;
      opacity: 0;
    }
}


.dropdown-icon {
    font-size: 0.75em;
    transition: transform 0.4s ease;
    display: inline-block;   /* Important for transform to work */
    
}



.dropdown-icon.rotate {
    transform: rotate(180deg);
}




/************************************************navigation end************************************************/




/*************************************Welcome section********************************************************/



.welcome-section {
    position: relative; /* Ensures overlay and content align properly */
    background: url('iitg.jpg') no-repeat center center; /* Set your background image here clearly */
    background-size: 100% 100%; /* Image stretched fully in width and height clearly */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    width: 97.35%;
    min-height: 150px;
    padding: 20px;
    margin-top: 40px;
}

/* Dark overlay clearly added here */
.welcome-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.525); /* Adjust opacity for darkness */
    z-index: 1; /* Behind the content, but above the background image */
}

.logo {
    flex-shrink: 0; /* Prevents the logo from shrinking */
    width: 150px; /* Fixed width for the logo */
    height: 140px;
    margin-right: 20px;
    z-index: 0.5; /* Ensure the logo appears above the moving text */
}

.text-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    text-align: center;
}



.static-content {
    padding-left: 20px;
    color: rgb(255, 255, 255);
    font-weight: bold;
}

.typing-container {
    font-size: 24px;
    font-weight: bold;
    color: white;
    font-family: Arial, sans-serif;
    padding: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-align: center; /* Center text */
    display: flex;
    justify-content: center; /* Centers the text */
    align-items: center;
}

/* Cursor blinking effect */
.cursor {
    font-weight: bold;
    color: white;
    animation: blinkCursor 0.7s infinite;
    margin-left: 5px; /* Keeps cursor close to text */
}

@keyframes blinkCursor {
    50% {
        opacity: 0;
    }
}





/************************************************welcome section end**************************************************/



/***********************************************Picture slideshow start**************************************************/


#slideshow {
    width: 100%; /* Full width of the viewport */
    height: 75vh; /* Full height of the viewport */
    margin: auto;
    position: relative;
    overflow: hidden;
    margin-top: 20px; /* Adds space above the slideshow */
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth fading effect */
    object-fit: cover; /* Ensures images fill the space without distortion */
}

.active {
    opacity: 1;
}


.dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.active-dot {
    background-color: #717171;
}

/**************************************************picture slideshow end**********************************************/




/**********************************************research area start*****************************************************/



.research-area {
    width: 100%;
    height: 80px; /* Adjust height as needed */
    background: linear-gradient(to right, #7938c0, #3ed6d6); /* Gradient colors */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white; /* Text color */
    font-size: 2rem;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 1px;
    padding-left: 20px;
}
/**********************************************research area ends*****************************************************/



/**********************************************research image start*****************************************************/

/* Research Section with Background Image & Overlay */
#research {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('rsb.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    overflow: hidden;
}

/* Dark Overlay */
#research::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay with 60% opacity */
    z-index:1;
}


.research-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 99vw;
    height: 99vh;
    object-fit: contain; /* Ensures image fills the screen without gaps */
    opacity: 0; /* Initially hidden */
    transform: scale(1.1); /* Slightly zoomed-in effect */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    z-index:2;
}

/* When image is in view */
.research-image.visible {
    opacity: 1;
    transform: scale(1); /* Normal size */
}


/***********************************************************research image ends*******************************************/



/********************************************** Recent Highlight Start *****************************************************/

.recent-highlight {
    width: 100%;
    height: 50px; /* Adjust height as needed */
    background: linear-gradient(to right, #7938c0, #3ed6d6); /* Gradient colors */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns text to the left */
    color: white; /* Text color */
    font-size: 2rem;
    font-weight: bold;
    text-transform: none; /* Keeps text format as written */
    letter-spacing: 1px;
    padding-left: 20px; /* Adds spacing from the left */
}

/********************************************** Recent Highlight Ends *****************************************************/







/********************************************** Recent Highlight Section *****************************************************/

/* Parent container for both sections */
.highlight-resources-container {
    display: flex;
    width: 100%;
    gap: 10px; /* Adds spacing between sections */
    margin-top: 20px;
}

/* Left Section: Recent Highlights */
.recent-highlight {
    width: calc(50%-10px);
    background: rgba(244, 209, 132, 0);
    padding: 20px;
    border-radius: 10px;
    color: rgb(12, 12, 12);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Title: Recent Highlights */
/* Title: Recent Highlights */
.highlight-title {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: rgb(22, 22, 22);
}


/* Icon beside Recent Highlights */
.highlight-icon {
    width: 30px; /* Adjust size as needed */
    height: auto;
    margin-right: 10px; /* Space between icon and text */
}

/* Underline effect */
.highlight-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), transparent);
    border-radius: 2px;
}

/* Icon */
.highlight-title i {
    margin-right: 10px;
}

/* Highlight List */
.highlight-list {
    margin-top: 15px;
    padding-left: 15px;
    font-size: 1.2rem;
    list-style-type: none;
}

.highlight-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Ribbon Styling */
.ribbon {
    font-size: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
    left: -15px;
    width: 100%;
    margin-top: -10px;
}

.text {
    display: inline-block;
    padding: 0.5em 1em;
    min-width: 20em;
    line-height: 1.2em;
    background: #FFD72A;
    position: relative;
}

/* Decorative Elements */
.ribbon:after, .ribbon:before,
.text:before, .text:after,
.bold:before {
    content: '';
    position: absolute;
    border-style: solid;
}

.ribbon:before {
    top: 0.3em;
    left: 0.2em;
    
    width: 100%;
    height: 100%;
    border: none;
    background: #383839;
    z-index: -2;
}

.text:before {
    bottom: 100%;
    left: 0;
    border-width: .5em .7em 0 0;
    border-color: transparent #FC9544 transparent transparent;
}

.text:after {
    top: 100%;
    right: 0;
    border-width: .5em 2em 0 0;
    border-color: #FC9544 transparent transparent transparent;
}

.ribbon:after, .bold:before {
    top: 0.5em;
    right: -2em;
    border-width: 1.1em 1em 1.1em 3em;
    border-color: #FECC30 transparent #FECC30 #FECC30;
    z-index: -1;
}

.bold:before {
    border-color: #535353 transparent #4b4c4c #5d5d5e;
    top: 0.7em;
    right: -2.3em;
}

/* Icon Near "Recent Highlights" */
.recent-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}


/* Scholarly Resources Section */
.scholarly-resources {
    width: 50%;
    height: 66vh;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    padding: 15px;
    font-family: Arial, sans-serif;
    margin-left: 8px;
}

/* Header Styling */
.resource-header {
    background: #6B4F2B;
    color: white;
    font-size: 1.7rem;
    font-weight: bold;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: left;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Bigger Book Icon in Header */
.resource-header i {
    font-size: 1.8rem; /* Adjusted size */
    margin-right: 10px;
}

/* Publications & Patents Block */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.532);
}

/* List of Items */
.scholarly-list {
    margin-top: 10px;
}

.list-item {
    background: #847594;
    color: white;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.list-item a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

/* Resource Items Container */
.resource-content {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Aligns items to both ends */
}

/* Left Side (Publications) */
.resource-left {
    display: flex;
    align-items: center;
}

/* Document Icon */
.resource-left i {
    font-size: 3rem; /* Bigger Icon */
    color: #333;
    margin-right: 15px;
}



/* Publications & Patents Container */
.resource-item {
    display: flex;
    flex-direction: column;
    text-align: left;
}
/* Icon Styling */
.resource-item i {
    font-size: 5rem; /* Increased size */
    margin-right: 10px;
    color: #333;
}

/* Title Styling */
.resource-title {
    color: black;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Number Styling */
.resource-number {
    color: #E09B3D;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Responsive Design for Mobile */
@media (max-width: 800px) {
    .highlight-resources-container {
        flex-direction: column;
    }

    .recent-highlight,
    .scholarly-resources {
        width: 100%;
    }
}



/********************************************** News Section *****************************************************/

/* News Container */
.news-container {
    width: 63%;
    max-width: 1200px;
    height: 50vh;
    background-color: #e0e0e0; /* Grey background */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
    margin: 20px auto;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: -27%;
    margin-left: 0;
}

/* News Year Sub-header */
.news-year {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 2px solid #ccc; /* Underline separator */
    color: #333;
}

/* News Ticker */
.news-ticker {
    position: relative;
    height: 58px; /* Height of one news item */
    overflow: hidden;
    width: 100%;
}

/* News Items */
.news-item {
    position: absolute;
    width: 100%;
    height: 60px; /* Matches ticker height */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 3s ease-in-out, opacity 0.5s ease-in-out;
}



/* Active and Leaving Classes for Controlled Animation */
.news-item.active {
    opacity: 1; /* Ensure full visibility when active */
    transform: translateY(0); /* Move into view */
}

/* News Links */
.news-item a {
    color: #0044cc;
    text-decoration: none;
    font-weight: bold;
}

.news-item a:hover {
    text-decoration: underline;
}



/* Highlight Red Text */
.highlight-red {
    color: red;
    font-weight: bold;
}


/* Enhance visibility control */
.news-item.leaving {
    opacity: 0; /* Quick fade out to avoid visual remnants */
    transform: translateY(-100%); /* Move up and out of view */
    transition: opacity 0.3s ease-out, transform 3s ease-in-out; /* Quick opacity transition with standard move */
}

/* View All Button */
.view-all-btn {
    font-size: 0.9rem;
    color: #0044cc;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    background-color: #f5f5f5;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    position: absolute; /* Makes it float */
    right: 540px;
    margin-top: 5px;
    
}

.view-all-btn:hover {
    background-color: #0044cc;
    color: white;
}

/* News Header (Title + View All Button) */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 10px;
    width: 100%;
}

/********************************************** News Animation *****************************************************/

/* Generalized Animation */
@keyframes scrollNews {
    0% { opacity: 0; transform: translateY(100%); }
    10% { opacity: 1; transform: translateY(0); } /* Show */
    40% { opacity: 1; transform: translateY(0); } /* Stay */
    60% { opacity: 1; transform: translateY(-100%); } /* Move Up */
    100% { opacity: 0; transform: translateY(-100%); } /* Reset */
}



.news-toggle-btn {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: #0044cc;
    cursor: pointer;
    margin-right: auto;
    margin-left: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

.news-toggle-btn:hover {
    opacity: 1;
}

/********************************************** Online courses *****************************************************/



.online-course {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
    position: relative;
    height: 80px;
    background: linear-gradient(to right, #7938c0, #3ed6d6);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "🎓"; /* Using the scholar icon directly */
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  

.course-details {
    display: none;
    padding: 20px;
    background-color: #f4f4f4;
}

.course {
    display: flex;
    margin-bottom: 20px;
}

.course-image {
    width: 300px;
    height: 200px;
    margin-right: 20px;
}

.course-description {
    flex-grow: 1;
}

/* Ensure transitions are smooth and visual */
.switch input:checked + .slider {
    box-shadow: 0 0 1px #2196F3;
}




/****************************************************Announcements**********************************************************************/
#announcements {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #050505;
    font-family: 'Arial', sans-serif;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Make sure this doesn't cut off the marquee */
}


.announcement-title {
    font-size: 2rem; /* Larger font size for the title */
    font-weight: bold; /* Bold font for emphasis */
    color: rgb(39, 92, 142); /* White color for contrast */
    margin-bottom: 10px; /* Space below the title */
    text-align: center; /* Center text */
}

marquee {
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0 50px; /* Add padding to ensure it scrolls out of view entirely */
    width: 1200px; /* Ensure it takes the necessary width */
    white-space: nowrap; /* Prevents breaking into new lines */
}

.blinking {
    animation: blinkingText 1.2s infinite; /* Blinking effect for attention */
    text-align: center; /* Center blinking text */
    width: 100%; /* Full width */
    margin-top: 20px;
}

@keyframes blinkingText {
    0% { color: #fff; }
    50% { color: #feb47b; }
    100% { color: #fff; }
}

.static-text {
    text-align: center; /* Center static text */
    width: 100%; /* Full width */
    margin-top: 20px; /* Space between blinking text and static text */
}

.static-text a {
    color: #ffeead; /* Soft yellow color for links */
    text-decoration: none; /* No underline */
}

.static-text a:hover {
    text-decoration: underline; /* Underline on hover for clarity */
}


.scrolling-text-wrapper {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    width: 100%;
    background-color: transparent;
    border: none;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
    font-weight: bold;
    color: rgb(44, 18, 18); /* Optional styling */
    font-size: 1.5rem;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/**********************************************scroll to top button************************************************/

#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    border: 3px solid #333;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

#back-to-top-btn:hover {
    background-color: #333;
    color: #fff;
}

/* Entrance Animation */
.btnEntrance {
    animation: fadeInUp 0.5s ease-in-out;
}

/* Exit Animation */
.btnExit {
    animation: fadeOutDown 0.3s ease-in-out;
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/***************************************TWO COLUMN SCROLL**********************************************************************/

/*************************************************
  News-Hiring Section with Background Image
**************************************************/
.news-hiring-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* Background Image */
.news-hiring-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: brightness(60%);
}

/* Overlay */
.news-hiring-overlay {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*************************************************
  News Slideshow (Left Side)
**************************************************/
.news-slideshow {
    width: 55%;
    height: 90%;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

/* Slideshow Header */
.news-slideshow-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

/* Slides */
.news-slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    transition: opacity 1s ease-in-out;
}

.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Play/Pause Buttons */
.toggle-slideshow, .toggle-hiring {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}

.toggle-slideshow:hover, .toggle-hiring:hover {
    opacity: 1;
}

/* Navigation Arrows */
.news-prev, .news-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    border: none;
    transition: background 0.3s;
}

.news-prev:hover, .news-next:hover {
    background: rgba(255, 255, 255, 0.6);
}

.news-prev { left: 10px; }
.news-next { right: 10px; }

/* Dots */
.news-dots-container {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.news-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.active-news-dot, .news-dot:hover {
    background: #007bff;
}



.see-more-btn {
    position: absolute;
    bottom: 125px;
    right: 20px;
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: background-color 0.3s, opacity 0.3s;
    z-index: 5000;
}

.see-more-btn:hover {
    background-color: #0056b3;
    opacity: 1;
}











/*************************************************
  Hiring Section (Right Side)
**************************************************/
.news-hiring {
    width: 45%;
    height: 81%;
    margin-top: 30px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Hiring Section Header - Move Play/Pause to Top-Right */
.news-hiring-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100; /* Ensures it's always clickable */
}

.news-section-header button:hover {
    opacity: 1;
}

/* Scrolling Job List */
#news-hiring-list {
    list-style: none;
    padding: 0;
    margin: 0;
    
    height: 350px;
    overflow: hidden;
    position: relative;
}

/* Apply scrolling only when active */
.news-scroll {
    animation: scrollUp 20s linear infinite;
    animation-play-state: running; /* Default to running */
}

/* No shifting when paused */
#news-hiring-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30%;
    height: 400px;
    overflow: hidden;
    position: relative;
}
/* Smooth Scrolling Animation */
/* Smooth Scrolling Animation */
@keyframes scrollUp {
    0% { transform: translateY(100%); opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; } /* Ensure all items go under */
}


/* Apply scrolling only when active */
.news-scroll {
    animation: scrollUp 20s linear infinite;
    animation-play-state: running;
}

.news-hiring h2 {
    position: absolute;
    top: 0; /* Moves to the top */
    left: 50%; /* Centers horizontally */
    transform: translateX(-50%); /* Ensures perfect centering */
    font-size: 20px; /* Adjust as needed */
    background-color: #ffffff00; /* Optional: Add background if needed */
    padding: 5px 10px; /* Optional: Add padding for better visibility */
    font-weight: bold;
    font-size: 1.8em;
}

/* Pause animation without shifting */
.news-paused {
    animation-play-state: paused !important;
}

/* Play/Pause Button - Always Clickable */
.toggle-hiring {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
    pointer-events: all;
}

.toggle-hiring:hover {
    opacity: 1;
    cursor: pointer;
}

/* Styling for Serial Number Icon */
#news-hiring-list li {
    font-size: 1.1rem;
    padding: 8px;
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: flex-start;
    gap: 8px; /* Space between icon and text */
}

#news-hiring-list li i {
    color: #007bff; /* Blue color for icon */
    font-size: 1.2rem;
}


/* Play/Pause Button - Red Color */
.toggle-slideshow i, .toggle-hiring i {
    background: transparent; /* Remove any background */
    border: none;
    font-size: 1.8rem;
    color: #ff0000; /* Set to red */
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out;
    cursor: pointer;
    pointer-events: all;
}

/* Hover Effect - Brighter Red */
.toggle-slideshow i:hover, .toggle-hiring i:hover {
    opacity: 1;
    color: #ff4444; /* Slightly brighter red */
    cursor: pointer;
}


/*************************************************
  "What's New.." Scrolling Section
**************************************************/
.news-scroll-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height:200px; /* Fixed height */
    overflow: hidden; /* Prevents text from scrolling outside */
    background: rgba(0, 0, 0, 0.14); /* Semi-transparent background */
    padding: 10px;
    border-radius: 5px;

    /* Fade effect at top & bottom */
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}


#news-hiring-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}






















/**********************************************************Footer section*******************************************************************/

/******************************************************* Footer Styling ************************************************************/
footer {
    background: linear-gradient(135deg, #595959, #323233,#060606); /* Gradient Background */
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between; /* Keeps contact, clock, and map in one row */
    align-items: center; /* Centers everything vertically */
    border-radius: 15px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

/* Contact Info */
.contact-info {
    flex: 1;
    text-align: left;
}












/* Right Section: Map */
.map {
    text-align: right;
}

.map iframe {
    width: 30vw;  /* Ensures it adapts inside the footer */
    height: 200px; /* Adjust this as needed */
    border-radius: 15px; /* Keeps rounded corners */
}


@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}




.map img {
    border-radius: 15px; /* Rounded corners for the map */
}

/* Styles for the digital clock are included in the body of the HTML */


.rounded-social-buttons {
    
    text-align: left;
}

.rounded-social-buttons .social-button {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 3.125rem;
    height: 3.125rem;
    border: 0.125rem solid transparent;
    padding: 0;
    text-decoration: none;
    text-align: center;
    color: #fefefe;
    font-size: 1.5625rem;
    line-height: 2em;
    border-radius: 1.6875rem;
    transition: all 0.5s ease;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.rounded-social-buttons .social-button:hover, .rounded-social-buttons .social-button:focus {
    transform: rotate(360deg);
    color: #fefefe;
    background: transparent;
    border-color: #fefefe;
}

.rounded-social-buttons .fa-linkedin, .google-scholar img {
    font-size: 25px;
}

.rounded-social-buttons .social-button.linkedin {
    background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover, .rounded-social-buttons .social-button.linkedin:focus {
    color: #007bb5;
    background: #fefefe;
    border-color: #007bb5;
}

.rounded-social-buttons .social-button.google-scholar {
    background: black;
}

.rounded-social-buttons .social-button.google-scholar:hover, .rounded-social-buttons .social-button.google-scholar:focus {
    color: black;
    background: #fefefe;
    border-color: black;
}

.clock-container {
    margin-top: 30px;
    background-color: #080808;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 1px 1px 5px rgba(255,255,255,0.15),
                0 15px 90px 30px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    transform: translateX(-100px);
}
  
  .clock-col {
    text-align: center;
    margin: 0 8px;
    min-width: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .clock-col:not(:last-child)::after {
    content: ':';
    color: rgba(255,255,255,0.5);
    font-size: 2rem;
    position: absolute;
    top: 20%;
    right: -14px;
    transform: translateY(-50%);
  }
  
  .clock-timer {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
  }
  
  .clock-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 6px;
  }
  
  .clock-col:last-child::after {
    display: none;
  }
  

.site-footer {
    width: 100%;
    background-color: #2f0aa000; /* Dark footer background */
    color: #ffffff;            /* White text */
    text-align: center;
    padding: 15px 10px;
    font-size: 1.0rem;
    position: relative;
    bottom: 0;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.designer-credit {
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #f1f1f1;
    padding: 12px 25px;
    background-color: #33333300;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-top: -8px;
    
    letter-spacing: 0.5px;
}

.designer-credit strong {
    font-weight: 600;
    color: #ffd166;
    text-shadow: 0 0 5px rgba(255, 209, 102, 0.4);
}

.designer-credit a {
    color: #66c2ff;
    text-decoration: none;
    margin-left: 6px;
    transition: color 0.3s ease;
}

.designer-credit a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px #66c2ff;
}




/*******************************************************end of index page****************************************************************/









