/* ==========================================================================
   Navigation Bar & Top Header Styles (components/navbar.php)
   ========================================================================== */

/* Reset list styles */
.header-info-left ul,
.header-info-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #d81b60;
  transition: background 0.2s;
}

.dropdown-content a:hover {
  background: #f5cd08ff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Fixed vertical apply button */
.apply-now-btn {
  position: fixed !important;
  top: 50% !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  background-color: #D81B60 !important;
  color: #fff !important;
  padding: 15px 10px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 16px !important;
  border-radius: 8px 0 0 8px !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2) !important;
  transition: background-color 0.3s, transform 0.3s !important;
}

.apply-now-btn:hover {
  background-color: #de0b5c !important;
  transform: translateY(-50%) scale(1.05) !important;
}

/* Adjust for smaller screens */
@media screen and (max-width: 992px) {
  .apply-now-btn {
    top: 68% !important;
    font-size: 14px !important;
    padding: 12px 8px !important;
  }
}

/* Sticky Button */
.sticky-btn {
  background: #d81b60;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: 0.3s;
  margin-left: 20px;
}

.sticky-btn:hover {
  background: #f6c219ff; 
}

/* Popup Overlay & Content */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
}
