body {
    margin: 0;
    box-sizing: border-box;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f2f2f2;
    font-family: Arial, sans-serif;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

/* Navigation Styles */
#navbar {
    overflow: hidden;
    background-color: #ff0000;
    position: sticky;
    top: 0;
    z-index: 100;
}

#navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#navbar li {
    float: left;
}

#navbar a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

#navbar a:hover {
    background-color: #ddd;
    color: rgb(148, 37, 37);
}

/* Sticky Navbar */
#navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* Main Content Styles */
main {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

section {
    margin: 2em auto;
    padding: 1em;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    transition: transform 0.3s;
}

section {
    margin: 2em auto;
    padding: 1em;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    transition: transform 0.3s;
}
/* Style for the Institute Images container */
.institute-images-container {
    position: relative;
    max-width: 800px; /* Set your desired fixed width */
    margin: 0 auto; /* Center the container */
  }
  
  /* Hide the images by default */
  .myInstituteSlides {
    display: none;
    width: 100%; /* Ensure images take full width of the container */
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .institute-cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons for Institute Images */
  .institute-prev,
  .institute-next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .institute-next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .institute-prev:hover,
  .institute-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text for Institute Images (1/4 etc) */
  .institute-numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text for Institute Images */
  .institute-caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  /* Clearfix for Institute Images */
  .institute-row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side for Institute Images */
  .institute-column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumbnail images in Institute Images */
  .institute-demo {
    opacity: 0.6;
  }
  
  /* Active state and hover effect for thumbnail images in Institute Images */
  .active,
  .institute-demo:hover {
    opacity: 1;
  }
  
/* Paragraph Styles */
p {
    margin: 0.5em 0;
    line-height: 1.6;
}

p strong {
    color: green;
    font-weight: bold;
    font-size: 1.2em;
}

/* Talk Box Styles */
.talk-box {
    display: flex;
    margin: 20px 0;
    background-color: #cbfad3;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s;
    height: 160px;
}

.talk-box:hover {
    transform: scale(1.02);
}

.talk-box img {
    max-width: 100px;
    height: auto;
    border-radius: 8px 0 0 8px;
}

.talk-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
}

.talk-details p {
    margin: 0.5em 0;
    line-height: 1.6;
}

.talk-details strong {
    color: #000000;
    font-weight: bold;
    font-size: 1.2em;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

img.professor-img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Small Icon Styles */
img.small-icon {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Register Button Styles */
.register-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: green;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.register-btn:hover {
    background-color: greenyellow;
    /* Darker green on hover */
    transform: scale(1.02);
}

/* Social Links Styles */
.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.5em;
}

.social-links a:hover {
    color: #4CAF50;
    /* Green color on hover */
}

/* Institute Images Styles */
.institute-images {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.institute-image {
    flex: 1;
    max-width: 100%;
    height: 370px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Institute Logos Styles */
.institute-logos {
    display: flex;
    justify-content: space-between;
}

.institute-logo {
    width: 100px;
    height: 75px;
    margin: 0px 10px;
    border-radius: 8px;
}

/* Venue Section Styles */
.venue-section {
    position: relative;
}

/* Venue Date Styles */
.venue-date {
    text-align: center;
    margin-bottom: 10px;
}

/* Venue Image with Text Overlay Styles */
/* Style for venue image with text overlay */
.venue-image-container {
    position: relative;
}

.venue-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.venue-text-overlay {
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
}


/* Additional Styles for Improved Appearance */

/* Subsection Styles */
subsection {
    margin-top: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    display: none;
    position: sticky;
    bottom: 0;
}

/* Thumbnail images */
.institute-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    height: 30px;
}

.institute-column {
    flex: 1;
    max-width: 24%; /* Set the maximum width to 24% for equal spacing */
}

.institute-demo {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.header-background {
    background-image: url('header image/Cell-Structure-and-Function-1-820x461.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    color: #fff; /* Set text color for better visibility, adjust as needed */
}


/* Responsive Styles */
@media only screen and (max-width: 600px) {
    /* Add responsive styles here */
}

.form-control {
  display: block;
  width: 96%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .375rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  margin-bottom:10px;
}

button[type="submit"] {
  background: #fdc134;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  margin-top:10px;
}
