* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #87CEEB, #1E90FF);
  color: #333;
  background-image: url('images/assets/cover/image-cover.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

h1 {
  font-family: "Merriweather", serif;
  font-weight: 800;
  /* Bold weight */
}
P {
  font-family: Arial, Helvetica, sans-serif;
}

header,
.navbar,
.footer {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

/* Loader Wrapper Styles */
#loader-wrapper {
  position: fixed; /* Cover the entire screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000; /* Dark background for better visibility */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 1s ease-in-out; /* Smooth fade-out */
}

/* Hide main content initially */
#main-content {
  display: none; /* Hide content initially */
}
/* Loader Image Styles */
#loader img {
  width: 200px;
  height: 200px;
  animation: spin 2s linear infinite;
}

/* Spin Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Stars Styles */
.stars {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 3px white;
  animation: twinkle 1.5s infinite alternate;
}

/* Twinkle Animation */
@keyframes twinkle {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.5;
  }
}

/* Example Star Positions - Update these to add more or adjust */
.star1 {
  top: 20%;
  left: 40%;
}

.star2 {
  top: 50%;
  left: 60%;
}

.star3 {
  top: 70%;
  left: 80%;
}

.star4 {
  top: 30%;
  left: 20%;
}

.star5 {
  top: 80%;
  left: 10%;
}

.star6 {
  top: 40%;
  left: 80%;
}

.star7 {
  top: 60%;
  left: 30%;
}

.star8 {
  top: 10%;
  left: 70%;
}

/* Additional Random Star Positions - You can add more as needed */

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  padding: 1em;
  position: relative;
  z-index: 1000;
}

.navbar-brand {
  color: #000000;
  width: 100px;
}

/* Menu */
.navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background-color: #000000;
  z-index: 1000;
}

.navbar-menu li {
  position: relative;
  margin: 0 10px;
  padding: 1em;
  text-align: center;

  padding: 10px 3em;
  margin: 0 30px;
}

/* Hover effect for menu items */
.navbar-menu a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  /* Ensure text is above the animated background */

  transition: color 0.3s ease;
  /* padding:  0 30px; */
}

/* Water Bucket Fill Effect */
.navbar-menu li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #007a4d;
  /* Light green color with transparency */
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scaleY(0);
  /* Start with 0 scale */
  transform-origin: bottom;
  /* Origin from bottom */
  z-index: 0;
  /* Behind the text */
  opacity: 0;
  /* Initially hidden */
  color: white;
}

.navbar-menu li:hover::before {
  transform: scaleY(1);
  /* Fill effect */
  opacity: 1;
  /* Show the effect */
}

.navbar-menu li:hover a {
  color: #ffffff;
  /* Change text color on hover */
}

/* Dropdown styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
  /* Initially hidden */
  transform: scaleY(0);
  /* Start with 0 scale */
  transform-origin: top;
  /* Origin from top */
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Smooth transition */
  width: 100%;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  /* Make visible */
  transform: scaleY(1);
  /* Expand dropdown */
}

.dropdown-menu li {
  padding: 1em;
  text-align: left;
  transition: background-color 0.3s ease;
  margin: 0;
  padding: 10px;
}

.dropdown-menu a {
  color: #000000;
  text-decoration: none;
  padding: 10px 15px;
  text-align: center;
}

dropdown-menu li:hover {
  background-color: #f0f0f0;
  transform: translateY(-5px);
  /* background-color: #00a859; */
  transition: background-color 0.3s;
  /* Light grey background on hover */
}

.dropdown-menu a {
  color: #000000 !important;
  /* Ensure text color is black */
  text-decoration: none;
  display: block;
  width: 100%;
}

.dropdown-menu li:hover a {
  color: rgb(255, 255, 255) !important;
}

/* Hover effect for dropdown */
.navbar-menu .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: scaleY(1);
  visibility: visible;
}

.dropdown-menu {
  display: none;
  /* Hide dropdown by default */
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Toggle Button */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2em;
  /* Increased font size for better visibility */
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s ease, transform 0.3s ease;
  /* Smooth transition effect */
}

.navbar-toggle:focus {
  outline: none;
  /* Remove default outline */
}

.navbar-toggle:hover {
  color: #00a859;
  transform: scale(1.1);
  /* Slightly scale up the button on hover */
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 120px;
    left: 0;
    background-color: #000000;
    border-radius: 0 0 10px 10px;
    /* Rounded corners */
    transition: max-height 0.5s ease, opacity 0.5s ease;
    /* Smooth opening effect */
  }

  .navbar-menu.show {
    display: flex;
  }

  .navbar-menu li {
    margin: 0;
    padding: 1em;
    text-align: center;
    margin-bottom: 10px;
    width: 90%;
    border-radius: 10px;
  }

  .navbar-toggle {
    display: block;
    color: #ffffff;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    background-color: #ffffff;
    border: 1px solid #ddd;
    /* Add border for dropdown */
    border-radius: 5px;
    color: #000000 !important;
    /* Ensure text color is visible */
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .dropdown-menu li {
    padding: 1em;
    text-align: center;
    margin-top: 10px;
    width: 100%;
  }

  .dropdown-menu a {
    color: #000000 !important;
    /* Ensure text color is visible */
  }

  /* Adjust dropdown hover effect for mobile screens */
  .dropdown-menu li:hover {
    background-color: #f0f0f0;
    color: #000000;
  }

  dropdown-menu a:hover {
    /* background-color: #00a859; Highlight dropdown item on hover */
    color: #ffffff;
  }
}


/* form */
.cruise-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  
}


.cruise-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}

.form-group {
  flex: 1 1 20%;
  margin: 10px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #444;
}

.form-group select, .form-group input, .form-group button {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.form-group select:hover, .form-group input:hover {
  border-color: #1E90FF;
}

.form-group button {
  background: #459900;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.form-group button:hover {
  background: #4682B4;
}

.form-group button:active {
  background: #5A9BD4;
}

.cruise-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/assets/cover/portrait/cruise.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.3;
}

 

/* footer section */
.footer {
  background-color: #141a1a;
  color: #ffffff;
  padding: 2em;
  text-align: left;
  margin-top: 0px;
}

.foot-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-details {
  flex: 1;
  margin: 1em;
}

.footer-details img {
  width: 50px;
  margin-bottom: 1em;
}

.footer-details p {
  margin-bottom: 1em;
}

.footer-details input {
  padding: 0.5em;
  border: none;
  border-radius: 5px;
  width: 80%;
  max-width: 300px;
}

.footer-details ul {
  list-style: none;
  padding: 0;
}

.footer-details li {
  margin: 0.5em 0;
}

.footer-details a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.footer-details a:hover {
  color: #00a859;
  transform: translateY(-3px);
}

.footer-second {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2em;
  position: relative;
}

.footer-img-left {
  position: relative;
  left: 10px;
  width: 100px;
}

.footer-img-right {
  position: relative;
  right: 0;
}

.moving-dotted-line {
  width: 100%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    #fff 50%,
    rgba(255, 255, 255, 0) 0%
  );
  background-size: 10px 1px;
  animation: move 1s linear infinite;
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer img {
  z-index: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
  .foot-details {
    flex-direction: column;
    align-items: left;
  }

  .footer-details {
    text-align: left;
    margin: 1em 0;
  }

  .footer-second {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-img-left,
  .footer-img-right {
    position: relative;
    width: 100px;
  }

  .footer-img-left {
    width: 50px;
  }

  .moving-dotted-line {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .footer {
    margin-bottom: 70px;
  }
}

@keyframes move {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 10px 0;
  }
}
