body {
background-color: #333333;
background-image: linear-gradient(90deg, rgba(255,255,255,.05) 50%, transparent 50%),
linear-gradient(90deg, rgba(255,255,255,.10) 50%, transparent 50%),
linear-gradient(90deg, transparent 50%, rgba(255,255,255,.15) 50%),
linear-gradient(90deg, transparent 50%, rgba(255,255,255,.20) 50%);
background-size: 10px, 15px, 20px, 25px;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 1%;
}

#ts {
  width: 100%;
  font-size: 18px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: #000000;
  opacity: 100;
  background-color: #999999;
  text-align: right;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow-block: visible;
}

#ms {
    font-size: 18px;
    font-family: "Times New Roman";
    width: 100%;
    opacity: 100;
    background-color: #ffffff;
    color: #000000;
}


#fs {
  font-size: 14px;
  width: 100%;
  opacity: 100;
  background-color: #999999;
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  color: #000000;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');


header {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #edf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background-color: #999999;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.logo {
    cursor: pointer;
}

.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav__links li {
    margin: 0 10px;
}

.nav__links a {
    text-decoration: none;
    color: #edf0f1;
    transition: color 0.3s ease;
}

.nav__links a:hover {
    color: #333333;
}

.cta button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #edf0f1;
    padding: 8px 20px;
    background-color: #999999;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta button:hover {
    background-color: ##508ecc;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .nav__links {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px;
    }

    .nav__links li {
        margin: 5px 0;
    }
}


/* styles.css */
#ns {
  font-size: 18px;
  font-family: "Times New Roman";
  width: 100%;
  opacity: 1;
  background-color: #ffffff;
  text-align: left;
  color: #000000;
}

.container {
  max-width: 100%;
  display: flex;
  position: relative;
}

.nav {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #edf0f1;
  width: 20%;
  min-width: 150px;
  background-color: #f0f0f0;
  padding: 20px;
  z-index: 100;
  position: sticky;
  top: 0;
  height: calc(100vh - 80px); /* Adjusted height */
  overflow-y: auto; /* Enable scrolling for the navigation menu */
  text-decoration: none;
}

.nav ul {
  list-style: none;
  padding: 0;
}

.nav li {
  margin-bottom: 10px;
  text-decoration: none;
}

.lta button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  width: 100%;
  padding: 8px 20px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lta button:hover {
  background-color: #666666;
}

.content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

section {
  margin: 50px 0;
}

.timeline {
  overflow: hidden; /* Prevent overflow */
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.event-layout1 {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 10px;
}

.event-layout2 {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 10px;
}

.event-content {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: left;
  width: 70%; /* Adjust the width for the event content */
  border-right: 3px solid #007bff;
  border-bottom: 3px solid #007bff;
}

.blank-space {
  width: 30%; /* Adjust the width for the blank space */
  background-color: #000000;
}

.timeline .year {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.timeline .subtitle {
  font-weight: bold;
  margin-bottom: 10px;
}

.timeline .text {
  font-size: 16px;
}

@media (max-width: 768px) {
  .event-content,
  .blank-space {
      width: 90%;
  }
}

.image-container {
  position: relative;
  max-width: 100%;
  width: 100%;
  max-height: 80vh; /* Set the maximum height to 75% of the viewport height */
  overflow: hidden;
}

.image-container img {
  display: block;
  width: 100%;
  max-height: 100%; /* Allow the image to fit within the container's height */
  object-fit: contain; /* Preserve aspect ratio and fit within the container */
}


/*
.image-container img {
  display: block; 
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: cover;
} */


/* Add these styles at the end of your CSS */
/* Add these styles to your existing CSS */
.carousel-slide {
  flex: 0 0 100%; /* Ensure each slide takes up the full width */
  scroll-snap-align: start;
  width: 100%;
  max-width: 100%; /* Ensure images don't extend beyond the slide */
  display: flex;
  justify-content: center; /* Center-align horizontally within the slide */
  align-items: center; /* Center-align vertically within the slide */
  overflow: hidden;
}

.carousel-slide img {
  max-width: 100%; /* Ensure images fit within the slide width */
  max-height: 100%; /* Ensure images fit within the slide height */
  width: auto;
  height: auto;
  object-fit: contain; /* Preserve aspect ratio and fit within the container */
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 1px; /* Adjust as needed */
  background-color: white; /* Fill empty space with white background */
  display: flex;
  justify-content: center; /* Center-align horizontally */
  align-items: center; /* Center-align vertically */
  height: 400px; /* Set your desired carousel height */
}

.carousel {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling for the carousel */
  scroll-snap-type: x mandatory;
}


.image-wrapper {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center; /* Center-align horizontally within the slide */
  align-items: center; /* Center-align vertically within the slide */
  overflow: hidden;
}

.image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Preserve aspect ratio and fit within the container */
}

.carousel-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* White background with opacity */
  padding: 10px;
  text-align: center;
  color: #000000; /* Set the text color to magenta */
  display: none; /* Hidden by default */
}

@media (max-width: 768px) {
  .carousel-text {
    font-size: 14px; /* Adjust font size for smaller screens */
  }
}

/* CSS to make the map container responsive */
.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio (adjust as needed) */
  width: 100%;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content-main {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%; /* Set your desired height */
  background-color: #ffffff; /* Default background color */
  transition: background-color 0.3s;
}

.left-div {
  float: left;
  width: 30%;
  height: 100%;
  background-color: #ffffff; /* Left div background color */
  padding: 25px;
}

.right-div {
  float: left;
  width: 70%;
  height: 100%;
  background-color: #ffffff; /* Right div background color */
  padding: 25px;
}

.left2-div {
  float: right;
  width: 30%;
  height: 100%;
  background-color: #ffffff; /* Left div background color */
  padding: 25px;
}

.right2-div {
  float: right;
  width: 70%;
  height: 100%;
  background-color: #ffffff; /* Right div background color */
  padding: 25px;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(48, 48, 48, 0.808); /* White overlay with opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s;
  color: #ffffff;
  z-index: 1;
}

.content-main:hover .overlay {
  opacity: 0; /* Hide the overlay on hover */
}

.content-main:hover {
  background-color: #ffffff; /* Change the background color on hover */
}