body {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-weight: bold;
  background-color: #1D022F;
  text-align: center; 
  margin-top: 60px;
  padding: 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  z-index: 3; 
  display: flex;
  align-items: center;
}

nav a {
  color: #D863A2;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease, color 0.3s ease;
}

nav a:hover {
  transform: scale(1.2);
  color: #D863A2; 
}

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

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

.dropbtn {
  background-color: rgb(65, 22, 94, 0.5);
  color: #A9326B;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(65, 22, 94, 0.9);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #BF4583;
  padding: 10px;
  text-decoration: none;
  display: block;
  font-family: 'Poppins', sans-serif;
}

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

.dropdown:hover .dropdown-content {
  display: block;
}

img {
  display: block; 
  margin: 0 auto; 
}

footer {
  margin-top: 20px; 
  padding-bottom: 50px; 
  text-align: center; 
}

h1 {
  color: #BF4583;
  font-size: 30px;
  position: fixed; 
  top: 4%;
  left: 85%; 
  margin: 0; 
  text-align: right;
  z-index: 2; 
}

h2 {
  color: #BF4583;
  font-size: 60px;
  position: fixed;
  top: 7%; 
  left: 85%; 
  margin: 0; 
  text-align: right;
  z-index: 2; 
}

h3 {
  color: #BF4583;
  font-size: 70px;
  position: fixed;
  top: 6%; 
  left: 1.5%; 
  margin: 0; 
  text-align: left;
  z-index: 2; */
}

p {
  color: #BF4583;
  margin-bottom: 50px;
  margin-left: 60px;
  margin-right: 60px;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
}

.floating-images {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.float-img-container {
  position: relative;
  display: inline-block;
}

.float-img {
  position: absolute;
  width: 100px;
  height: auto;
  opacity: 1; /* Ensure image is visible */
  animation: float 10s infinite ease-in-out, fade 5s infinite ease-in-out;
  z-index: 10;
  transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

.float-img:hover {
  animation-play-state: paused; /* Pause floating animation */
  z-index: 20; /* Bring to front */
  /* Removed the scaling effect */
}

/* Label styling */
.image-label {
  position: absolute;
  top: -20px; /* Adjust the position of the label above the image */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 14px;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease-in-out; /* Smooth fade in and out */
  z-index: 30;
}

.float-img-container:hover .image-label {
  opacity: 1; /* Show label when image is hovered */
}

/* Floating Effect */
@keyframes float {
  0% {
      transform: translate(0, 0) rotate(0deg);
  }
  25% {
      transform: translate(-20px, 30px) rotate(10deg);
  }
  50% {
      transform: translate(20px, -20px) rotate(-10deg);
  }
  75% {
      transform: translate(-10px, 20px) rotate(5deg);
  }
  100% {
      transform: translate(0, 0) rotate(0deg);
  }
}

/* Fade In and Out Effect */
@keyframes fade {
  0%, 100% {
      filter: opacity(0); /* Visual fading, keeps hoverable */
  }
  60% {
      filter: opacity(1);
  }
}
