body {
 padding: 0;
 margin: 0;
 background: white;
}

  /*Navigation Bar Section*/
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color:#25629b;
    transition: background-color 0.4s ease;
    z-index: 1000; 
  }
  .navbar-brand {
    width: 70px;
    height: 70px;
    position: absolute;
    left: 400px;
  }
  .navbar-nav .nav-item {
    position: relative;
    margin: 0 25px; 
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 15px;
    }
  .navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s ease;
    position: relative;
  }
  .navbar-nav .nav-link:hover{
    cursor: pointer;
  }
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background-color: gold; 
    transition: width 0.3s ease
  }
  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }

/* Dropdown menu for Navigations */
.nav-item.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 50px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 500px;
  background-color: white;
  border: none;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0px 6px 12px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-item.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;      
  left: 0;
  width: 100%;
  height: 12px;     
  background: transparent;
}
.dropdown-menu .dropdown-item {
  color: #25629b;
  text-align: center;
  font-weight: bold;
  padding: 20px;
  border-radius: 6px;
  flex: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dropdown-menu .dropdown-item:hover {
  background-color: gold;
  color: #25629b;
  transform: translateY(-3px);
}
.dropdown-item i {
  font-size: 20px;
  margin-bottom: 6px;
  color: #25629b;
}
.dropdown-item small {
  font-weight: normal;
  color: #555;
  font-size: 12px;
}


/* Mega dropdown panel section */
.info-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  background: #fff;
  color: #333;
  padding: 30px 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 8px;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.nav-item:hover .info-panel,.info-panel:hover {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.info-panel h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #25629b; 
}

.info-panel p {
  font-size: 14px;
  color: #555;
}
.container-again {
  background-color:white ;
  position: absolute; 
}

/* Form Styles */
.search-flight-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}
.search-flight-container .title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}
.search-flight-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}
.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  transition: border 0.3s ease;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #25629b;
}
.full-width {
  flex: 100%;
}
.btn-search {
  background-color:#25629b;
  color:gold;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
  outline: none;
}
.btn-search:hover:enabled {
  background: gold;
  color: #25629b;
  outline: none;
}
.btn-search:disabled {
  background-color: grey;
  color: white;
}
.input-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-dropdown input {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
}
.input-dropdown .dropdown-btn {
  padding: 0 10px;
  cursor: pointer;
  font-size: 14px;
  height: 100%;
  border-radius: 0 6px 6px 0;
  outline: none;
}
.input-dropdown .dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
}
.input-dropdown .dropdown-list li {
  padding: 8px;
  cursor: pointer;
}
.input-dropdown .dropdown-list li:hover {
  background: #007bff;
  color: #fff;
}
.hidden-field {
  visibility: hidden;   
  position: relative;   
  display: none;
}
.hidden-field input {
  pointer-events: none; 
}





/* Dropdown Menu para sa mga Lugar */
.input-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.input-dropdown input {
  width: 100%;
  padding-right: 30px; 
}

.dropdown-btn {
  position: absolute;
  right: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 150px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  display: none;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-list li {
  padding: 8px 10px;
  cursor: pointer;
}

.dropdown-list li:hover {
  background-color: #f0f0f0;
}




