/* Reset & layout */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  position: relative;
  margin: 0;
  height: 100vh;
  background-image: url("images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* 🌸 Background image style */
.background-img {
  position: fixed;        /* Stay in place when scrolling */
  top: 0;
  left: 0;
  width: 100vw;           /* Full viewport width */
  height: 100vh;          /* Full viewport height */
  object-fit: cover;      /* Make the image cover the screen */
  z-index: -1;            /* Send it behind everything else */
}

/* Optional heading style */
h1 {
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: 2em;
}
/* Main content */
.content {
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  padding: 80px 20px;
}

/* Title */
.title {
  font-family: "Playfair Display", serif;
  color: #e8f8ff;
  font-size: 2.5rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #b8eaff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(173, 216, 230, 0.7);
  animation: fadeIn 3s ease-in-out;
}

/* Subtitle */
.subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

/* Extra sections so the page scrolls */
.section {
  max-width: 600px;
  margin: 0 auto 100px auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 15px;
}
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* So they don’t block clicks */
  overflow: hidden;
  z-index: 0;
}

.float-item {
  position: absolute;
  width: 80px;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

.item1 {
  top: 20%;
  left: 10%;
  animation-delay: 10s;
  width: 180px;
}

.item2 {
  bottom: 10%;
  right: 15%;
  animation-delay: 3s;
  width: 130px;
}

/* Floating motion */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}