body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #f5f5f5;
}

header {
  background: #e91e63;
  color: white;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Noto Sans', sans-serif;
  animation: fadeInDown 2s ease-out;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
}

.bimg1, .bimg2, .bimg3 {
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.bimg1 {
  background-image: url('4th.jpg');
  min-height: 300px;
  height: 50vh;
  background-position: calc(center + 10px) calc(top + 40px);
  animation: slideIn 2s ease-in-out;
}

.bimg2 {
  background-image: url('2nd.jpg');
  min-height: 400px;
  height: 50vh;
  background-position: center;
  animation: slideIn 2s ease-in-out 1s;
}

.bimg3 {
  background-image: url('3rd.jpg');
  min-height: 400px;
  height: 50vh;
  background-position: center;
  animation: slideIn 2s ease-in-out 2s;
}

.btext {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5em;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  white-space: normal;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

.headline {
  background: #313534;
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  animation: slideInUp 1s ease-out forwards;
}

.paragraph {
  padding: 50px 80px;
  text-align: center;
}

.paragraph-light {
  background-color: #f4f4f4;
  color: #666;
}

.paragraph-dark {
  background-color: #282e34;
  color: #ddd;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  padding: 10px 0;
  opacity: 0;
  animation: fadeInUp 1.5s ease-in-out forwards;
  animation-delay: 0.5s;
}

.price {
  font-size: 2em;
  color: #e91e63;
  font-weight: bold;
  animation: fadeInUp 1.5s ease-in-out forwards;
  animation-delay: 1s;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

label {
  margin: 10px 0 5px;
}

input {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 80%;
  max-width: 400px;
  opacity: 0;
  animation: fadeInUp 1.5s ease-in-out forwards;
  animation-delay: 1.5s;
}

button {
  padding: 15px;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1.5s ease-in-out forwards;
  animation-delay: 2s;
}

button:hover {
  background-color: #c2185b;
  transform: scale(1.05);
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Return to Top Button */
#returnToTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #e91e63;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

#returnToTopBtn:hover {
  background-color: #c2185b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .btext {
      font-size: 1.5em; /* Increase font size for medium screens */
      padding: 20px;
      width: 90%;
      max-width: none;
      white-space: normal;
  }

  .price {
      font-size: 1.5em;
  }

  .paragraph {
      padding: 30px 20px;
  }

  input, button {
      width: 100%;
      max-width: none;
  }

  .bimg1, .bimg2, .bimg3 {
      height: 40vh;
  }

  #returnToTopBtn {
      bottom: 20px;
      right: 20px;
  }
}

@media (max-width: 480px) {
  .btext {
      font-size: 1.8em; /* Increase font size for smaller screens */
      padding: 15px;
      width: 90%;
  }

  .price {
      font-size: 1.2em;
  }

  .paragraph {
      padding: 20px 10px;
  }

  .bimg1, .bimg2, .bimg3 {
      height: 35vh;
  }
}

/* Animations */
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@keyframes slideIn {
  0% {
      transform: translateY(-50px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes slideInUp {
  0% {
      transform: translateY(50px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
      transform: translateY(20px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes fadeInDown {
  0% {
      opacity: 0;
      transform: translateY(-20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}
