/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global styles */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 20px; /* Removed extra space */
  padding: 20px;
}

header {
  background-color: #3a5e99;
  color: #fff;
  padding: 20px;
  text-align: center;
  position: relative; /* Added position property */
  animation: slideHeader 3s linear forwards; /* Adjusted animation duration */
}

@keyframes slideHeader {
  0% {
    transform: translateY(-100%); /* Initial position above the viewport */
  }
  100% {
    transform: translateY(0); /* Final position, fully visible */
  }
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

nav ul li {
  display: inline-block;
  margin-right: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 5px;
  transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
  color: #ffcc00;
}

section {
  margin-bottom: 40px;
  text-align: left;
  margin-left: 10px; /* Added left margin */
  margin-right: 10px; /* Added right margin */
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

p {
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 20px;
}

li h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

li p {
  font-size: 16px;
  color: #777;
}

form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
}

form input[type="submit"] {
  background-color: #bfb146;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

form input[type="submit"]:hover {
  background-color: #ffcc00;
}

footer {
  background-color: #3c96b4;
  color: #fff;
  padding: 20px;
  text-align: center;
  position: relative; /* Added position property */
  animation: slideFooter 5s linear infinite; /* Added animation */
}

/* Style for the "Add Passenger" button */
#add-passenger-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#add-passenger-btn:hover {
  background-color: #2980b9;
  margin-bottom: 20px;
}

/* Style for the "Book Now" button */
#booking-form button[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#booking-form button[type="submit"]:hover {
  background-color: #219653;
}



footer p {
  font-size: 14px;
}

/* Media queries for responsiveness */
@media (max-width: 600px) {
  .container {
    max-width: 100%;
    padding: 10px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  li h3 {
    font-size: 18px;
  }

  li p {
    font-size: 14px;
  }
}

/* Additional styles */
#home {
  text-align: center;
}

#home h2 {
  margin-bottom: 10px;
}

#home p {
  margin-bottom: 30px;
}
