:root {
    --primary: #0c0074;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;

 /* Dynamically adjusting heights */
 --top-bar-height: clamp(25px, 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(120px, 30vw, 500px); /* Min 400px, responsive, max 600px */
 --content-container-height: clamp(40px, 25vw, 500px); /* Min 400px, responsive, max 600px */
 --top-image-height: clamp(120px, 30vw, 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);

 /* 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: 'Lexend1';
    src: url('../font/Lexend.woff2'.woff2) format('woff2');
  }

@font-face {
    font-family: 'KC Obra Letra';
    src: url('../font/subset-KCObraLetraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lexend';
    src: url('../font/subset-Lexend-Regular.woff2') format('woff');
    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: 'Roboto'; /* Name of the font */
    src: url('../font/Roboto-Regular.woff2') 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 */
}

/* Set height for parent elements */
html, body {
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
    box-sizing: border-box;
    font-family: 'Lexend1';
}

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: 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%;
    }
  }




/* Video Container */
.video-container {
    position: relative; /* Changed from 'fixed' to 'relative' */
    width: 100%;
    padding: 0px;
    overflow: hidden;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Ensure video is below text */
}

/* Video Style */
.video-container video {
    width: 100%;
    height: var(--video-container-height);
    object-fit: cover;
    display: block;
}

/* Video Caption */
.video-caption {
    position: absolute; /* Keeps caption inside video container */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgb(255, 255, 255);
    width: 90%;
    z-index: 11; /* Ensure text appears on top of the video */
}

/* h1 Caption Style */
.video-caption h1 {
    font-family: 'Benedict', sans-serif;
    font-weight: normal;
    font-size: 8vw;
    width: 100%;
    color: rgb(0, 0, 0);
    text-shadow: 3px 3px 8px rgb(255, 255, 255);
    margin: 0; /* Remove unnecessary margins */
}

/* Dark overlay over the video */
.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--video-container-height);

    z-index: 10.1;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.update-message {
  font-size: 1.5vw;
  font-weight: bold;
  text-align: center;
  background-color: #0edfff; /* Light yellow background */
  color: #da2720; /* Dark red text */
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
  border: 2px solid #d9534f; /* Red border */
}

/* You can delete this if no longer used */
.update-message .new {
  color: #ff0000;
  font-weight: bold;
  animation: blink 1s infinite;
}



.main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 70vw; /* Slightly more spacious for readability */
    height: auto;
    z-index: 20;
    padding: 2vw; /* Adds padding for better alignment */
    font-family: 'kc obra letra', sans-serif;
    line-height: 1.6; /* Increases line spacing for readability */
}

.main-content p {
    font-size: 1.8vw; /* Adjusted font size for legibility */
    text-align: justify; /* Ensures neat paragraph alignment */
    text-indent: 2vw; /* Adds two-tab space at the beginning */
    margin: 1vw 2vw; /* Balances margins around the text */
    margin-right: 7vw;
    color: #333; /* Dark gray for professional contrast */
    padding-top: 5vw;
}

/* Updates Section Styling */
.updates-container {
    position: absolute;
    bottom: 0;
    right: 2%;
    width: 25%;
    height: 20vw;
    background: linear-gradient(135deg, #0c0074, #00c8ff);
    color: white;
    padding: 1%;
    border-radius: 5%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    font-family: 'Tex-gyre', sans-serif;
    z-index: 20;
    top: 5%; /* Adjust as needed for precise positioning */
}

/* Title for Updates */
/* Updates Section Header Styling */
.updates-container h3 {
    font-size: 2vw; /* Larger, more prominent font size in vw */
    text-align: center;
    color: #ffffff; /* Classic white text for contrast */
    top: 0;
    background: linear-gradient(45deg, #175117c0, #398f28, #145c25c0); /* Elegant gradient background */
    border-radius: 3vw; /* Softer rounded edges using vw */
    position: relative;
    box-shadow: 0 0.5vw 2vw rgba(0, 0, 0, 0.3); /* Premium shadow effect for depth */
    text-transform: uppercase; /* Adds bold emphasis */
    letter-spacing: 0.15vw; /* Subtle letter spacing for elegance */
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 4%;
    margin-left: 20%;
    margin-right: 20%;
}

/* Add a glowing effect */
.updates-container h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    border-radius: 3vw;
    transform: scale(1.5) rotate(45deg); /* Subtle rotation for movement */
    transition: transform 3s ease; /* Smooth transition effect */
    z-index: -1;
}

/* Add a static glowing border */
.updates-container h3 {
    border: 0.2vw solid rgba(173, 255, 47, 0.5); /* Glowing green border using vw */
}

/* Animation for gradient waves */
.updates-container h3::after {
    animation: glow-animation 6s infinite ease-in-out;
}

/* Keyframes for gradient glow animation */
@keyframes glow-animation {
    0% {
        transform: scale(1.2) rotate(0deg);
    }
    50% {
        transform: scale(1.5) rotate(90deg);
    }
    100% {
        transform: scale(1.2) rotate(180deg);
    }
}



/* Gradient Animation Keyframes */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Updates Content */
.updates-content {
    position: absolute; 
    height: 75%;
    width: 93%;
    overflow-y: scroll; /* Allows scrolling for the entire container */
    scrollbar-width: thin; /* Thin scrollbar for Firefox */
    scrollbar-color: #ffd700 #0c0074;
    transition: top 0.2s ease-in-out; /* Adjust duration and easing as needed */ 
    scroll-behavior: smooth; /* Smooth scroll for all devices */
}

/* Updates List */
.updates-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    will-change: transform;
}

/* List Item Styling */
.updates-list li {
    padding: 2% 4%; /* Consistent padding */
    font-size: 1vw;
    color: white;
    font-weight: normal; /* Normal text weight */
    transition: background-color 0.3s ease, transform 0.3s ease;
}



/* Highlight Names and Positions */
.updates-list li b {
    color: #ffd900; /* Highlighted color for names and positions */
    font-weight: bold;
}



/* Hover Effects for List Items */
.updates-list li:hover {

    transform: translateY(-2px) scale(1.03); /* Subtle lift effect */
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8); /* Enhanced glow */
}


/* Custom Scrollbar Styling */

.updates-content::-webkit-scrollbar {
    width: 1vw;
    height: 1vw;
}

.updates-content::-webkit-scrollbar-track {
    background: #0c0074;
    border-radius: 1vw;
}

.updates-content::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ffd700, #ffe135); /* Gradient for thumb */
    border-radius: 1vw;
    border: 2px solid #0c0074;
    transition: background-color 0.3s ease;
}

.updates-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ffd700, #ff8000); /* Enhanced hover effect */
}

/* Highlight Styling */
.highlight {
    font-weight: bold;
    color: #ffd700; /* Gold color */
    font-size: 1vw; /* Slightly larger font size */

}






/* General Container Styling */
.aesthetic {
    display: flex;
    justify-content: flex-end;
    position: relative;
    height: 20vw;
    width: 100%;
    right: 0;
  }
  


  /* Section Styling */
  .section {
    width: 72%; /* Adjust width for better readability */
    padding-left: 40;
    right: 0;
    text-align: center;

  }
  
  /* Header Styling */
  .section h1 {
    position: relative;
    right: 0;
    font-size: 2.2vw;
    font-weight: bold;
    margin-bottom: 2vw;
  }
  
  /* Paragraph Styling */
  .section p {
    
    font-size: 1.6vw;
    line-height: 1.8;
    margin-bottom: 2vw;
    text-align: center;
  }
  

  

  /* General Container Styling */
.aesthetic1 {
    display: flex;
    justify-content: flex-start;
    position: relative;
    height: auto;
    width: 100%;
    right: 0;
  }
  

  /* Section Styling */
  .section1 {
    width: 75%; /* Adjust width for better readability */
    padding-right: 40;
    left: 0;
    text-align: center;

  }
  
  /* Header Styling */
  .section1 h1 {
    position: relative;
    left: 0;
    font-size: 2.2vw;
    font-weight: bold;
    margin-bottom: 2vw;
  }
  
  /* Paragraph Styling */
  .section1 p {
    
    font-size: 1.6vw;
    line-height: 1.8;
    margin-bottom: 2vw;
    text-align: center;
  }
  
  



.anim-container{
    position: relative;
}


.petri-container {
    margin-top: 0;
    right:0;
}

/* Initial State of the Hand Petri Image */
#hand-petri-image {
    position: absolute;
    height: 20vw; /* Adjust size as required */
    width: auto; /* Maintain aspect ratio */
    left: -10vw; /* Completely outside the page on the left */
    bottom: -30vw; /* Lower the starting point */
    opacity: 0; /* Initially invisible */
    z-index: 12; /* Ensure it appears above other elements */

}



.petri-container1 {
    top: 0;
    margin-top: 10vw;

}

#hand-petri-image1 {

    position: absolute;
    height: 28vw; /* Same size as left image */
    width: auto; /* Maintain aspect ratio */
    right: -10vw; /* Start outside the viewport on the right */
    bottom: -30vw; /* Lower starting position */
    opacity: 0; /* Initially invisible */
    z-index: 12; /* Ensure visibility above other elements */
}




.py6{
    padding-top: 9%;
    padding-bottom: 2%;
}

.image-caption11 {
    
    position: relative;
    text-align: center;
    font-family: 'kc obra letra', sans-serif;
    font-size: 1.5vw;
    color: black;
    z-index: 20;
    width: 70%;
    margin-top: 5%;
    margin: 0 auto; /* Center the caption box */
}

.image-caption11 h1 {
    padding-top: 10%;
    font-size: 2vw;
    margin-bottom: 2%;
    position: relative;
}

.image-caption11 p {
    font-size: 1.6vw;
}








.content-container {
    position: relative;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center;
    width: 100%;
    
}

.image-container {
    position: relative;
    width: 100%;
    margin:0; /* Add spacing between image sections */
    height: auto;
}


.responsive-image {
    width: 100%;
    position:relative;
    display: flex;
    z-index: 10;
}

/* Centered Paragraph */
.text-container p1 {
    margin: 0;
    font-size: 1.2em;
    line-height: 1.5;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    text-align: center;
  }
  
  .slideshow-title {
    font-family: 'Lexend1';
    font-size: 2vw;
    color: #333;
    margin-bottom: 20px;
  }
  
  .slides {
    display: none;
  }
  
  .slideshow-image {
    width: 100%;
    border-radius: 10px;
  }
  
  .fade {
    animation: fade 1.5s;
  }
  
  @keyframes fade {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }
  
  .dots-container {
    text-align: center;
    margin-top: 10px;
  }
  
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
  }
  
  .dot.active {
    background-color: #717171;
  }

  











/* Footer Styles */
.footer {
    position: relative;
    background-color: #000655;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Distribute content evenly */
    align-items: flex-start; /* Align items to the top */
    padding: 2vw;
    box-sizing: border-box;
    color: #fafafa;
    border: 0.3vw solid #F3BD00;


}

/* Section Styling */
.footer .contact,
.footer .resources {
    width: 30%;
}

.footer iframe {
    width: 30%;
    height: 18vw;
    border-radius: 1vw;
    box-shadow: 0 0.8vw 2vw rgb(0, 0, 0);
    margin-top: 3vw;
    z-index: 10001;
}
.footer-visitor-counter {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1f1e1e;
  padding: 0.5vw;
  color: #fff;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  position: absolute;
  right: 10vw; /* Adjusted for proper placement */
  top: 1vw;
  height: auto; /* Adjust height dynamically */
  width: 9vw; /* Adjust width dynamically */
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow for better visibility */
}

  .footer-visitor-counter a {
    color: #ffcc00; /* Make the link text stand out */
    text-decoration: none;
    font-weight: bold;
    font-size: 1vw;
    text-align: center;
  }

  .footer-visitor-counter a:hover {
    color: #ff9900; /* Change color on hover for interactivity */
  }

  .footer-visitor-counter .colelem {
    text-align: center;
    margin: 0 auto; /* Center-align the content */
  }

  .counterimg {
    height: 5vw;
    position: absolute;
    left: 1vw;
    top: 4vw;
  }



/* Section Headings */
.footer h3 {
    color: #F3BD00;
    font-size: 2vw;
    margin-bottom: 1vw;
    text-align: center;
}

/* List Styling */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    display: flex;
    align-items: center; /* Align icon and text vertically */
    margin-bottom: 1vw;
    font-size: 1.2vw;
    line-height: 1.5;
}

/* Icon Styling */
.footer ul li img {
    object-fit: contain;
    margin-right: 1vw;
    width: 2vw; /* Fixed size for consistency */
    height: auto;
}

/* Location Icon Specific Styling */
.footer ul li img.location {
    width: 2vw;
    padding-left: 0.2vw;
    padding-right: 0.3vw;
    height: auto;
    margin-top: 0.3vw; /* Minor adjustment for vertical alignment */
}

/* Gmail Icon Styling */
.footer ul li img.gmail {
    width: 2.5vw;
    height: auto;
}

/* Phone Icon Styling */
.footer ul li img.phone {
    width: 2.5vw;
    height: auto;
}

/* Fax Icon Styling */
.footer ul li img.fax {
    width: 2.5vw;
    height: auto;
}

/* Anchor Styling */
.footer a {
    text-decoration: none;
    color: #fafafa;
    display: flex;
    align-items: center; /* Ensure icon and text align */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer a:hover {
    color: #f6d30f;
    text-shadow: 0 0 1vw #f6d30f;
}

/* Hover Effects for Map */
.footer iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 0.2vw 7vw rgb(255, 204, 0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 500;
}

/* Responsive Styling */
@media (max-width: 50vw) {
    .footer {
        flex-direction: column;
        align-items: center; /* Center content on small screens */
        padding: 2vw;
    }

    .footer .contact,
    .footer .resources {
        width: 100%;
        text-align: center; /* Center-align text on mobile */
        margin-top: 2vw;
    }

    .footer iframe {
        width: 100%;
        height: 80vw;
        margin-top: 2vw;
        z-index: 15;
    }

    .footer h3 {
        font-size: 3vw; /* Adjust font size for small screens */
    }

    .footer ul li {
        font-size: 1.5vw; /* Adjust text size */
    }
}

.footer-copyright {
    position: absolute;
    bottom: 0;
    width: 50%;
    left: 20%;
    color: #F3BD00; /* Matches footer style */
    font-size: 1.2vw; /* Adjust size as needed */

    padding: 0.5vw 1vw;
    z-index: 10;
    background-color: #000655; /* Matches footer background */
}



.textcontent {
    font-family: 'Lexend1';
    position: absolute;
}

p {
    font-family: 'Lexend1';
    position: relative;
    z-index: 12;
}


.element {
    font-size: 2rem;
    font-weight: bold;
    color: #333;

    text-align: center;
    font-family: 'benedict';
    position: absolute;
    z-index: 12;
    left: 23vw;
    color: rgb(255, 208, 0);
}














/* Section Styles */
.content-section {
    margin-left: 10px;
    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: center; /* Center-align text */
    color: #333; /* Dark gray for a professional look */
    text-transform: capitalize; /* Capitalize each word */
    background: #F3BD00; /* Solid color for text */
    -webkit-background-clip: text; /* Clip background 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 */
    padding-bottom: 10px; /* Creates space between text and the border */
    position: relative; /* Positioning context for the border */
}

.content-section h3::after {
    content: ''; /* Add a pseudo-element for the line */
    display: block; /* Make it behave like a block element */
    width: 60%; /* Line width (80% of the heading width) */
    height: 5px; /* Line height */
    background-color: #6a11cb; /* Line color */
    margin: 0 auto; /* Center the line */
    position: absolute; /* Position it relative to the heading */
    left: 50%; /* Start at the center */
    transform: translateX(-50%); /* Shift left by 50% of its width to center it */
    bottom: 0; /* Position it at the bottom of the heading */
}

  
  
  
  /* 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 */
  }
  


  .full-width-slider-container {
    position: relative;
    width: 100%;
    max-width: 80vw; /* Restrict max width to 80% of viewport width */
    height: clamp(20vh, 30vw, 50vh);

    margin: 0 auto; /* Center the slider */
    overflow: hidden; /* Hide overflow */
    border-radius: 2vw; /* Rounded corners */
  }
  
  .full-width-slider-container {
    position: relative;
    width: 100%;
    max-width: 80vw; /* Restrict max width to 80% of viewport width */
    height: clamp(20vh, 30vw, 50vh);
    margin: 0 auto; /* Center the slider */
    overflow: hidden; /* Hide overflow */
    border-radius: 2vw; /* Rounded corners */
  }
  
  .slides1 {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth sliding animation */
    width: 100%;
    height: 100%; /* Ensure slides fill the container */
  }
  
  .slide1 {
    flex: 0 0 100%; /* Each slide takes full width */
    text-align: center;
    height: 100%; /* Ensure slides fill the container */
  }
  
  .slide1 img {
    width: 100%;
    height: 100%; /* Force images to maintain slider height */
    object-fit: cover; /* Ensure the 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 */
  }
  /* Indicators container */
.slider-indicators {
    position: absolute;
    bottom: 2vw; /* Adjusted position from the bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 1vw; /* Space between indicators */
    z-index: 10;
}

/* Individual indicator styles */
.indicator {
    width: 2vw; /* Width of each indicator */
    height: 0.5vw; /* Height of each indicator */
    background: linear-gradient(90deg, #ccc, #999); /* Gradient for modern look */
    border-radius: 5px; /* Slightly rounded edges */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transitions */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add some depth */
}

.indicator:hover {
    transform: scaleX(1.5); /* Highlight by enlarging horizontally */
    background: linear-gradient(90deg, #ffd000, #ffae00); /* Brighter gradient on hover */
}

.indicator.active {
    background: linear-gradient(90deg, #ffd000, #ff8c00); /* Highlight active indicator */
    transform: scale(1.2); /* Enlarge the active indicator */
    box-shadow: 0 4px 8px rgba(255, 220, 0, 0.5); /* Add glow effect */
}

  
  /* 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: 20vh; /* 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: 20vh; /* 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;
    }
  }
  






  
/* Anchor Styling */
.footer e {
    text-decoration: none;
    color: #fafafa;
    display: flex;
    align-items: center; /* Ensure icon and text align */
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-size: 4vw;
    text-align: center;
    width: 100%;
    margin-left: 5vw;
}

.footer e:hover {
    color: #f6d30f;
    text-shadow: 0 0 1vw #f6d30f;
}
