body {
  background-color: rgb(47, 74, 149);
  display: grid;
  place-items: center;
  height: 100vh;
  margin: 0;
  position: relative;
  font-family: 'Poppins', sans-serif;
  padding-top: 50px;
}

nav {
  position: fixed; /* Keeps nav at the top of the screen */
  top: 0;
  left: 0;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  z-index: 3; /* Higher than the carousel and content */
  display: flex;
  align-items: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for transform and color */
}

nav a:hover {
  transform: scale(1.2); /* Increase size when hovering */
  color: #FFD700; /* Change color to gold (or any color you prefer) */
}

.home-btn {
  color: white;
  margin-right: 15px;
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: rgba(19, 29, 104, 0.5);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 10px;
  border: none;
  cursor: pointer;
}

/* Drop-down Content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(47, 74, 149, 0.9);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the drop-down */
.dropdown-content a {
  color: white;
  padding: 10px;
  text-decoration: none;
  display: block;
  font-family: 'Poppins', sans-serif;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Show the drop-down on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute; /* Keeps carousel in place without affecting layout */
  top: 0;
  left: 0;
  z-index: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* Ensures track fills the carousel */
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Adjusts image scaling to avoid zooming */
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: rgb(255, 255, 255);
  margin: 0 0 10px 0; /* Add a small margin below h1 to create space */
  font-size: 40px;
  text-align: center;
}

p {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  color: rgb(255, 255, 255);
  margin: 10px 0 0 0; /* Adds a margin at the top to separate it from h1 */
  font-size: 16px;
  text-align: center;
}
