
:root {
--primary: #0c0074;
--secondary: #757575;
--light: #F3F6F8;
--dark: #0C2B4B;

/* Dynamically adjusting heights */
--top-bar-height: clamp(40px, 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);

--transition-duration: 0.8s;




/* 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 {
scroll-behavior: smooth;
margin: 0; /* Remove default margins */
padding: 0; /* Remove default padding */
box-sizing: border-box;
font-family: garamond, sans-serif;
}

body {
font-family: 'KC Obra Letra', sans-serif;
display: flex;
flex-direction: column; /* Align elements vertically */
}




/* 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 */
.top-bar1 h21 {
  font-family: "montserrat", sans-serif;
  font-style: normal;
  font-size: 2.3vw;
  color: white;
  align-self: center;
  position: absolute;
  margin-left: 23vw;
  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: #000000; /* 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: rgb(87, 192, 248);
  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%;
}
}



.image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 41vw; /* Adjust the height as needed */
  overflow: hidden;
  border-bottom: hsl(45, 100%, 50%) solid 4px;
}

.bioprocess {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container */
}

.image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  text-align: justify; /* Align both paragraphs properly */
  width: 60%; /* Adjust width as needed */
  padding: 1%;
  border-radius: 15px; /* Increased border-radius for smoother edges */
  overflow: hidden; /* Ensure content respects rounded edges */
}

.image-text h1 {
  background-color: rgba(0, 0, 0, 0.83); /* Semi-transparent background */
  padding: 1%;
  border-radius: 15px; /* Match this to the container */
  font-size: 4vw; /* Responsive font size */
  font-family: 'kcobraletra';
  text-align: center;
  transform: translate(+50%, +00%);
  padding-bottom: 1%;
  width: 50%;
}

.image-text p {
  font-size: 1.2vw; /* Responsive font size */
  line-height: 1.5; /* Standard line height */
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
  padding: 1%;
  color: #000000;
  border-radius: 15px; /* Smoother rounded edges */
  text-align: left; /* Change justify to left to remove gaps between words */
  margin: 0; /* Remove unwanted margins */
  text-indent: 4em; /* Adds two tab spaces for indentation */
  word-spacing: normal; /* Ensure normal word spacing */
  letter-spacing: normal; /* Ensure normal letter spacing */
  overflow: hidden; /* Ensure content respects rounded corners */
}






/* General Sidebar Styles */
#vertical-sidebar {
  position: fixed;
  left: -250px; /* Initially hidden off-screen */
  top: 0;
  height: 100%;
  width: 250px; /* Fixed width for all screen sizes */
  background-color: #333;
  overflow-y: auto;
  transition: left 0.3s ease-in-out; /* Smooth transition effect */
  color: white;
  z-index: 1000;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5); /* Add subtle shadow for visibility */
}

/* Sidebar Open */
#vertical-sidebar.open {
  left: 0;
}

/* Sidebar Links */
#vertical-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#vertical-sidebar ul li {
  margin: 0;
}

#vertical-sidebar ul li a {
  display: block;
  padding: 15px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#vertical-sidebar ul li a:hover {
  background-color: #444;
}

/* Menu Toggle Button */
#menu-toggle {
  position: fixed;
  top:60%; /* Below the navbar */
  left: 15px;
  font-size: 15px;
  background-color: #555;
  border: 2px solid #333;
  border-radius: 5px;
  color: white;
  padding: 1% 1.5%;
  cursor: pointer;
  z-index: 1000;
  display: block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Sidebar Styles */
#vertical-sidebar {
  position: fixed;
  left: -250px; /* Hidden by default */
  top: 80vw;
  height: 100%;
  width: 250px;
  background-color: #333;
  color: white;
  overflow-y: auto;
  z-index: 1000;
  transition: left 0.3s ease-in-out;
}

/* Sidebar Open */
#vertical-sidebar.open {
  left: 0;
}
#vertical-sidebar ul li a.active {
  background-color: #121b46; /* Highlight color */
  color: #ffcc00; /* Text color for active link */
}


/* Close Button */
#close-sidebar {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: block;
}

/* Overlay for Sidebar */
#sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
}

/* Show Overlay */
#sidebar-overlay.active {
  display: block;
}

/* Responsive Design */
@media (min-width: 769px) {
  #menu-toggle {
    display: none;
  }
  #vertical-sidebar {
    left: 0;
    width: 250px;
  }
  #sidebar-overlay {
    display: none;
  }
}



/* Close Button */
#close-sidebar {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: block; /* Default state is visible */
}

/* Hide Close Button and Toggle for Larger Screens */
@media (min-width: 769px) {
  #close-sidebar {
    display: none; /* Hide the close button on larger screens */
  }

  #menu-toggle {
    display: none; /* Hide toggle button */
  }

  #vertical-sidebar {
    left: 0; /* Always visible on larger screens */
    width: 250px; /* Fixed width */
  }

  #sidebar-overlay {
    display: none; /* No overlay needed for larger screens */
  }
}

/* Overlay for Click Outside */
#sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900; /* Below the sidebar */
}

/* Show Overlay */
#sidebar-overlay.active {
  display: block;
}

/* Mobile Screen Design */
@media (max-width: 768px) {
  #vertical-sidebar {
    width: 250px; /* Fixed width on mobile */
  }

  #menu-toggle {
    display: block; /* Ensure toggle button is visible */
  }

  #close-sidebar {
    display: block; /* Close button remains visible */
  }
}

















/* Header Section */
#header {
  background-color: #e6e6e6;
  padding: 10px;
}

/* About Section */
#about {
  background-color: #ddd;
  padding: 10px;
}

/* Courses Section */
#courses {
  background-color: #bbb;
  padding: 10px;
}

/* Teachers Section */
#teachers {
  background-color: #999;
  padding: 10px;
}

/* Programs Section */
#programs {
  background-color: #777;
  padding: 10px;
}

/* Contact Section */
#contact {
  background-color: #555;
  color: white;
  padding: 10px;
}

/* Section Styles */
.content-section {
  margin-left: 240px;
  padding: 20px;
  height: auto;
  box-sizing: border-box;
}

/* Heading Styles */
.content-section h2 {
  text-align: center;
  font-size: 3vw;
  font-weight: bold;
  text-decoration: wavy;
  margin-bottom: 2vw;
  color: #fff;
  background: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradient background */
  padding: 1vw 2vw; /* Padding around the text */
  border-radius: 1vw; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Glowing text effect */
}


/* Caption Specific Styling */
.caption {
  text-align: center;
  font-size: clamp(1vw, 1.8vw, 1.2vw);
  line-height: 1.5;
  color: #666;
  margin: 10px 0 0 0; /* Adjust spacing for better readability */
}

/* Image Gallery Container */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center-align items */
  gap: 20px; /* Space between gallery items */
  margin: 20px auto; /* Center the gallery on the page */
}

/* Gallery Item */
.gallery-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content at the top */
  align-items: center; /* Center-align horizontally */
  text-align: center;
  max-width: clamp(250px, 30%, 300px); /* Dynamic width based on container */
  height: auto; /* Flexible height to fit content */
  border: 1px solid #ddd; /* Subtle border for separation */
  padding: 15px;
  box-sizing: border-box; /* Include padding in the box model */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover effect */
}

/* Image Styling */
.gallery-item img {
  width: 100%; /* Image spans the width of the container */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Prevent image distortion */
  margin-bottom: 10px; /* Space between image and caption */
  border-radius: 8px; /* Match border radius of the container */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Caption Styling */
.gallery-item .caption {
  font-size: 1vw; /* Uniform font size for captions */
  word-wrap: break-word; /* Prevent overflow */
  color: #444; /* Slightly darker text color for better readability */
}



/* Responsiveness for Smaller Screens */
@media (max-width: 768px) {
  .image-gallery {
    flex-direction: column;
    gap: 15px;
  }

  .gallery-item {
    max-width: 90%; /* Allow gallery items to span most of the screen */
  }

  .gallery-item img {
    width: 100%; /* Image spans full width */
    max-height: none; /* Remove height restriction */
  }
}

/* Extra Small Screens (Mobile) */
@media (max-width: 480px) {
  .gallery-item {
    padding: 10px; /* Reduce padding for smaller screens */
  }

  .gallery-item .caption {
    font-size: 0.9vw; /* Slightly smaller captions for mobile */
  }
}








/* Responsive Styling for H3 */
.content-section h3 {
  font-size: clamp(1rem, 2.5vw, 2rem); /* Dynamically adjusts size */
  font-weight: bold; /* Make the text bold */
  text-align: left; /* Align text to the left */
  color: #333; /* Dark gray for a professional look */
  text-transform: capitalize; /* Capitalize each word */
  background: linear-gradient(90deg, #6a11cb, #2575fc); /* Gradient for premium feel */
  -webkit-background-clip: text; /* Clip gradient to text */
  -webkit-text-fill-color: transparent; /* Makes the gradient visible */
  margin-bottom: 15px; /* Space below the heading */
  letter-spacing: 1.5px; /* Adds spacing between letters */
  border-bottom: 2px solid #6a11cb; /* Adds a subtle border below */
  padding-bottom: 5px; /* Creates space between text and border */
}



/* Generic Paragraph Styles */
.content-section p:not(.caption):not(.wide-image-caption) {
  text-align: justify;
  font-size: clamp(1vw, 2vw, 1.2vw);
  line-height: 1.8;
  margin: 10px 0;
  color: #444;
}

/* Caption Styling for Wide Images */
.wide-image-caption {
  font-size: 1vw; /* Keep it readable but distinct */
  color: #555; /* Neutral text color */
  text-align: center; /* Center the caption */
  margin: 10px 0; /* Space around the caption */
  line-height: 1.5; /* Improved readability */
}

/* Common Styling for Wide Image Containers */
.wide-image-container {
  margin: 20px auto; /* Center the container */
  text-align: center; /* Center-align content */
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px; /* Padding inside the container */
  background-color: #f9f9f9;
}

/* Wide Image Styling (80% width) */
.wide-image {
  width: 100%; /* Default: Full width of the container */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 10px; /* Space between image and caption */
  border-radius: 5px;
}
/* Wide Image Container (90% width) */
.wide-image-container-90 {
  width: 90%; /* 80% width container */
}

/* Wide Image Container (80% width) */
.wide-image-container-80 {
  width: 80%; /* 80% width container */
}
/* Wide Image Container (70% width) */
.wide-image-container-70 {
  width: 70%; /* 60% width container */
}

/* Wide Image Container (60% width) */
.wide-image-container-60 {
  width: 60%; /* 60% width container */
}
/* Wide Image Container (50% width) */
.wide-image-container-50 {
  width: 50%; /* 40% width container */
}

/* Wide Image Container (40% width) */
.wide-image-container-40 {
  width: 40%; /* 40% width container */
}
/* Wide Image Container (30% width) */
.wide-image-container-30 {
  width: 30%; /* 40% width container */
}

/* Wide Image Container (20% width) */
.wide-image-container-20 {
  width: 20%; /* 40% width container */
}

/* Wide Image Container (10% width) */
.wide-image-container-10 {
  width: 10%; /* 40% width container */
}



.wide-image-gallery {
  display: flex; /* Enables Flexbox layout */
  justify-content: space-between; /* Adds space between the items */
  gap: 20px; /* Adds spacing between the images */
  margin: 20px auto; /* Center the gallery */
}

.wide-image-container {
  flex: 1; /* Makes the containers take equal space */
  max-width: 48%; /* Ensures two items fit within 100% width */
  box-sizing: border-box; /* Includes padding and border in width calculation */
}

.wideimg img {
  display: block;
  max-width: 100%; /* Ensures image fits within its container */
  height: auto; /* Maintains aspect ratio */
  margin: 0 auto; /* Centers the image */
}

.wide-image-caption {
  margin-top: 10px;
  font-size: clamp(1vw, 1.8vw, 1.2vw);
  color: #555;
  text-align: center;
}










/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  transform: scale(1);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.modal-content:active {
  transform: scale(1.5);
  cursor: zoom-out;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-item {
    flex: 0 1 calc(45% - 20px);
  }
  .gallery-item img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex: 0 1 100%;
  }
  .gallery-item img {
    height: 200px;
  }
}





/* Title */
.collaborators-title {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Message */
.collaborators-message {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333;
}

/* Container for logos */
.collaborators-logos {
  display: flex;
  justify-content: center; /* Center-align logos horizontally */
  align-items: center; /* Center-align logos vertically */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 10%; /* Add space between logos */
  margin-top: 2%;
}

/* Logo image styling */
.logo-image {
  width: 100px; /* Adjust logo size */
  height: auto;
  transition: transform 0.3s; /* Add hover effect */
}

/* Hover effect */
.logo-image:hover {
  transform: scale(1.1); /* Slight zoom-in on hover */
}

/* Specific adjustment for TERI logo */
.teri-logo {
  margin-top: 10px; /* Adjust TERI logo alignment */
}

/* Responsive Design */
@media (max-width: 768px) {
  .collaborators-logos {
    flex-wrap: wrap; /* Allow logos to wrap on smaller screens */
    justify-content: center; /* Center-align logos when wrapped */
  }

  .logo-image {
    width: 80px; /* Adjust logo size for smaller screens */
  }
}












/* Section Title */
.funding-title {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Section Message */
.funding-message {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333;
}

/* Container for Funding Logos */
.funding-logos {
  display: flex;
  justify-content: center; /* Center logos horizontally */
  align-items: center; /* Align logos vertically */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 5%; /* Adjust gap between logos */
  margin-top: 2%;
}

/* Default Logo Styling */
.funding-logo {
  width: 100px; /* Default width for all funding logos */
  height: auto;
  transition: transform 0.3s; /* Smooth hover effect */
}

/* Styling for Larger Logos */
.funding-large-logo {
  width: 150px; /* Larger size for DBT, Nourish, and SERB logos */
  height: auto;
}

/* Hover Effect */
.funding-logo:hover {
  transform: scale(1.1); /* Slight zoom on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .funding-logos {
    flex-wrap: wrap; /* Allow logos to wrap on smaller screens */
    justify-content: center; /* Center-align logos when wrapped */
  }

  .funding-logo {
    width: 80px; /* Adjust size for smaller screens */
  }

  .funding-large-logo {
    width: 120px; /* Adjust larger logos for smaller screens */
  }
}


/* Section Title */
.projects-title {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.projects-subtitle {
  text-align: center;
  font-size: 1.5em;
  color: #555;
  margin-bottom: 20px;
}

/* Table Container */
.projects-table {
  overflow-x: auto; /* Enable scrolling for smaller screens */
  margin: 0 auto;
  width: 90%;
  animation: fadeIn 1.5s ease-in-out; /* Motion effect */
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1vw;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

/* Table Header */
thead {
  background: #ff6600;
  color: #fff;
}

thead th {
  padding: 1vw;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

/* Table Body */
tbody tr {
  transition: transform 0.3s, box-shadow 0.3s;
}

tbody tr:hover {
  transform: scale(1.02); /* Slight zoom on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

tbody td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

tbody td:nth-child(2) {
  text-align: left; /* Align Title column to the left */
}

/* Alternate Row Colors */
tbody tr:nth-child(odd) {
  background: #f9f9f9;
}

tbody tr:nth-child(even) {
  background: #fff;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  table {
    font-size: 0.9em;
  }

  thead th {
    padding: 10px;
  }

  tbody td {
    padding: 10px;
  }
}






/* Section Subtitle */
.projects-subtitle {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #444;
  font-weight: bold;
}

/* Table Styling */
.projects-table table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  animation: fadeIn 1.5s ease-in-out; /* Motion effect */
}

/* Table Header */
.projects-table thead {
  background: #b30000; /* Dark red header */
  color: #fff;
}

.projects-table thead th {
  padding: 15px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
}

/* Table Rows */
.projects-table tbody tr {
  border-bottom: 1px solid #ddd;
  transition: background 0.3s;
}

.projects-table tbody tr:hover {
  background: #ffe6e6; /* Light red on hover */
}

.projects-table tbody td {
  padding: 15px;
  text-align: center;
  font-size: 0.9em;
}

.projects-table tbody td:nth-child(2) {
  text-align: left; /* Align Title column to the left */
}

/* Alternate Row Colors */
.projects-table tbody tr:nth-child(odd) {
  background: #f9f9f9;
}

.projects-table tbody tr:nth-child(even) {
  background: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-table table {
    font-size: 0.85em;
  }

  .projects-table thead th, .projects-table tbody td {
    padding: 10px;
  }
}


/* Adjust width for Status column */
.projects-table tbody td:last-child, 
.projects-table thead th:last-child {
  width: 15%; /* Adjust this percentage as needed */
  text-align: center;
}

/* Initial state for fade-in elements */
.projects-title,
.projects-subtitle,
.projects-table {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state to trigger fade-in */
.projects-title.visible,
.projects-subtitle.visible,
.projects-table.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Responsive Typography */
body {
  font-size: clamp(12px, 2vw, 18px);
  line-height: 1.6;
}

/* General Layout */
.content-section {
  padding: 2%;
}

/* Responsive Sidebar */
.sidebar {
  width: clamp(200px, 30%, 250px);
  height: auto;
}

@media (max-width: 768px) {
  .sidebar {
      position: relative;
      width: 100%; /* Full width for smaller screens */
  }

  .content-section {
      margin-left: 0; /* Remove margin for smaller screens */
      padding: 5%; /* Add padding for content readability */
  }
}

/* Responsive Tables */
table {
  width: 100%;
  font-size: clamp(12px, 1.5vw, 16px);
}

thead th, tbody td {
  padding: clamp(8px, 1.2vw, 16px);
}

/* Smooth Transition for Table Rows */
tbody tr {
  transition: transform 0.3s ease, background-color 0.3s ease;
}




/* Dynamic Navigation Bar */
nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav ul {
  flex-wrap: wrap;
}



/* 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){
    width: 3.5vw; /* Adjust the width of the image */
    height: 3.5vw; /* Adjust the height of the image */
  
}



/* Slider Container */
.full-width-slider-container {
  position: relative;
  width: 100%;
  height: 50vh; /* Responsive height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  margin-top: 2%;
  border-radius: 1vw; /* Rounded corners for the slider container */
}

/* Slides */
.slides {
  display: flex;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth sliding animation */
  width: calc(100% * 3); /* Adjust for the total number of slides */
}

.slide {
  flex: 0 0 100%; /* Each slide takes full width */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 2vw; /* Rounded corners for images */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add shadow for premium look */
  object-fit: cover; /* Ensure image fits without distortion */
}
/* Left arrow (prev) */
.slider-nav.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2vw; /* Place the left arrow on the left side of the slider */
  opacity: 0.2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Right arrow (next) */
.slider-nav.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2vw; /* Place the right arrow on the right side of the slider */
  opacity: 0.2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover effect for both arrows */
.slider-nav:hover {
  opacity: 1; /* Full opacity on hover */
  transform: translateY(-50%) scale(1.05); /* Slight enlargement on hover */
}
/* Common styles for both arrows */
.slider-nav {
  position: absolute;
  top: 50%; /* Vertically center */
  transform: translateY(-50%);
  width: 4vw; /* Width of the button */
  height: 4vw; /* Height of the button */
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  border-radius: 50%; /* Round button */
  border: 0.2vw solid #ddd; /* Subtle border */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.2); /* Subtle shadow */
  z-index: 10;
  opacity: 0.5; /* Low opacity by default */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth effects */
}

.slider-nav:hover {
  opacity: 1; /* Full opacity on hover */
  transform: translateY(-50%) scale(1.1); /* Slight enlargement on hover */
}

/* Arrow styles */
.slider-nav.prev .arrow::before,
.slider-nav.next .arrow::before {
  content: '';
  display: block;
  width: 1vw; /* Arrow width */
  height: 1vw; /* Arrow height */
  border-top: 0.2vw solid #888; /* Top border for arrow */
  border-right: 0.2vw solid #888; /* Right border for arrow */
}

/* Specific styling for left and right arrows */
.slider-nav.prev .arrow::before {
  transform: rotate(-135deg); /* Left arrow rotation */
}

.slider-nav.next .arrow::before {
  transform: rotate(45deg); /* Right arrow rotation */
}

/* Positioning for navigation arrows */
.slider-nav.prev {
  left: 2vw; /* Left position using vw */
}

.slider-nav.next {
  right: 2vw; /* Right position using vw */
}

/* Dots container */
.slider-dots {
  position: absolute;
  bottom: 2vw; /* Adjusted bottom spacing */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 1vw; /* Gap between dots */
  z-index: 10;
}

/* Individual dot styles */
.dot {
  width: 1.2vw; /* Dot width */
  height: 1.2vw; /* Dot height */
  background: gray; /* Default color */
  border-radius: 50%; /* Circle */
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth hover effects */
}

.dot:hover {
  transform: scale(1.3); /* Enlarge dot on hover */
  background-color: #ffd000; /* Highlight color on hover */
}

.dot.active {
  background: #ffd000; /* Color for active dot */
}


/* Progress Bar (Optional) */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background-color: #ffd000;
  animation: progress 5.35s infinite; /* Adjust timing to match slide duration */
}

@keyframes progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Media Queries for Responsiveness */

/* For screens smaller than 768px (Tablets) */
@media (max-width: 768px) {
  .slider-nav {
    width: 6vw; /* Adjust arrow button size */
    height: 6vw;
  }

  .slider-nav.prev .arrow::before,
  .slider-nav.next .arrow::before {
    width: 1.5vw; /* Adjust arrow size */
    height: 1.5vw;
  }

  .slide img {
    border-radius: 4vw; /* Increase border-radius for smaller screens */
  }

  .slider-dots {
    gap: 10px; /* Reduce gap between dots */
  }

  .dot {
    width: 10px; /* Smaller dots */
    height: 10px;
  }
}

/* For screens smaller than 480px (Mobile Phones) */
@media (max-width: 480px) {
  .full-width-slider-container {
    height:30vw; /* Reduce height for small screens */
  }

  .slider-nav {
    width: 8vw; /* Further reduce arrow button size */
    height: 8vw;
  }

  .slider-nav.prev .arrow::before,
  .slider-nav.next .arrow::before {
    width: 2vw; /* Adjust arrow size for mobile */
    height: 2vw;
  }

  .slide img {
    border-radius: 5vw; /* Adjust border-radius */
  }

  .slider-dots {
    gap: 8px; /* Reduce gap between dots */
  }

  .dot {
    width: 8px; /* Smaller dots */
    height: 8px;
  }
}

/* For screens smaller than 320px (Extra Small Devices) */
@media (max-width: 320px) {
  .full-width-slider-container {
    height: 35vw; /* Further reduce height for very small screens */
  }

  .slider-nav {
    width: 10vw; /* Increase size to maintain usability */
    height: 10vw;
  }

  .slider-nav.prev .arrow::before,
  .slider-nav.next .arrow::before {
    width: 2.5vw; /* Adjust arrow size */
    height: 2.5vw;
  }

  .slide img {
    border-radius: 6vw; /* Increase border-radius */
  }

  .dot {
    width: 6px; /* Further reduce dot size */
    height: 6px;
  }
}



































/* Slider Container */
.full-width-slider-container1 {
  position: relative;
  width: 100%;
  height: 20vw; /* Responsive height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  margin-top: 2%;
  border-radius: 1vw; /* Rounded corners for the slider container */
}

/* Slides */
.slides1 {
  display: flex;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth sliding animation */
  width: calc(100% * 3); /* Adjust for the total number of slides */
}

.slide1 {
  flex: 0 0 100%; /* Each slide takes full width */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide1 img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 2vw; /* Rounded corners for images */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add shadow for premium look */
  object-fit: cover; /* Ensure image fits without distortion */
}

/* Common styles for both arrows */
.slider-nav1 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4vw; /* Width of the button */
  height: 4vw; /* Height of the button */
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
  border-radius: 50%;
  border: 0.2vw solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.2); /* Subtle shadow */
  z-index: 10;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.2; /* Low opacity by default */
}

.slider-nav1:hover {
  transform: scale(1.1); /* Slightly enlarge the button on hover */
  opacity: 1; /* Full opacity on hover */
}

/* Left arrow (prev) */
.slider-nav.prev1 .arrow1::before {
  content: '';
  display: block;
  width: 1vw; /* Adjusted width using vw */
  height: 1vw; /* Adjusted height using vw */
  border-top: 0.2vw solid #888; /* Border size using vw */
  border-left: 0.2vw solid #888; /* Border size using vw */
  transform: rotate(-45deg);
}

/* Right arrow (next) */
.slider-nav1.next1 .arrow1::before1 {
  content: '';
  display: block;
  width: 1vw; /* Adjusted width using vw */
  height: 1vw; /* Adjusted height using vw */
  border-top: 0.2vw solid #888; /* Border size using vw */
  border-right: 0.2vw solid #888; /* Border size using vw */
  transform: rotate(45deg);
}

/* Positioning */
.slider-nav1.prev1 {
  left: 2vw; /* Adjusted left position using vw */
}

.slider-nav1.next1 {
  right: 2vw; /* Adjusted right position using vw */
}

/* Dots */
.slider-dots1 {
  position: absolute;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.dot1 {
  width: 15px; /* Slightly larger dots */
  height: 15px;
  background: gray;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.dot1:hover {
  transform: scale(1.2); /* Enlarge on hover */
  background-color: #ffd000; /* Highlight color */
}

.dot1.active1 {
  background: #ffd000; /* Distinguish active dot */
}

/* Progress Bar (Optional) */
.progress-bar1 {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background-color: #ffd000;
  animation: progress 5.35s infinite; /* Adjust timing to match slide duration */
}

@keyframes progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Media Queries for Responsiveness */

/* For screens smaller than 768px (Tablets) */
@media (max-width: 768px) {
  .slider-nav1 {
    width: 6vw; /* Adjust arrow button size */
    height: 6vw;
  }

  .slider-nav1.prev1 .arrow1::before,
  .slider-nav1.next1 .arrow1::before {
    width: 1.5vw; /* Adjust arrow size */
    height: 1.5vw;
  }

  .slide1 img {
    border-radius: 4vw; /* Increase border-radius for smaller screens */
  }

  .slider-dots1 {
    gap: 10px; /* Reduce gap between dots */
  }

  .dot1 {
    width: 10px; /* Smaller dots */
    height: 10px;
  }
}

/* For screens smaller than 480px (Mobile Phones) */
@media (max-width: 480px) {
  .full-width-slider-container1 {
    height: 30vw; /* Reduce height for small screens */
  }

  .slider-nav1 {
    width: 8vw; /* Further reduce arrow button size */
    height: 8vw;
  }

  .slider-nav1.prev1 .arrow1::before,
  .slider-nav1.next1 .arrow1::before {
    width: 2vw; /* Adjust arrow size for mobile */
    height: 2vw;
  }

  .slide1 img {
    border-radius: 5vw; /* Adjust border-radius */
  }

  .slider-dots1 {
    gap: 8px; /* Reduce gap between dots */
  }

  .dot1 {
    width: 8px; /* Smaller dots */
    height: 8px;
  }
}

/* For screens smaller than 320px (Extra Small Devices) */
@media (max-width: 320px) {
  .full-width-slider-container1 {
    height: 30vw; /* Further reduce height for very small screens */
  }

  .slider-nav1 {
    width: 10vw; /* Increase size to maintain usability */
    height: 10vw;
  }

  .slider-nav1.prev1 .arrow1::before,
  .slider-nav1.next1 .arrow1::before {
    width: 2.5vw; /* Adjust arrow size */
    height: 2.5vw;
  }

  .slide1 img {
    border-radius: 6vw; /* Increase border-radius */
  }

  .dot1 {
    width: 6px; /* Further reduce dot size */
    height: 6px;
  }
}

