
/* Custom Mega Menu Background */
.custom-megamenu {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-top: 3px solid #FD4401;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 0 !important;
}

.custom-megamenu .sigma-megamenu-navbox {
  padding: 15px 0;
}

.custom-megamenu .col-lg-6:first-child {
  border-right: 2px solid #dee2e6;
  padding-right: 30px;
}

.custom-megamenu .col-lg-6:last-child {
  padding-left: 30px;
}

@media (max-width: 991px) {
  .custom-megamenu .col-lg-6:first-child {
    border-right: none;
    border-bottom: 2px solid #dee2e6;
    padding-right: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  
  .custom-megamenu .col-lg-6:last-child {
    padding-left: 15px;
  }
}

.custom-megamenu .sigma-title {
  color: #FD4401;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FD4401;
}

.custom-megamenu .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-megamenu .sub-menu li.menu-item {
  margin-bottom: 8px;
}

.custom-megamenu .sub-menu li.menu-item a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.custom-megamenu .sub-menu li.menu-item a:hover {
  background-color: #FD4401;
  color: #fff;
  transform: translateX(5px);
}

/* Top Navigation Menu Styles */
.sigma-header-nav .sigma-main-menu li.menu-item a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FD4401;
}

.sigma-header-nav .sigma-main-menu li.menu-item.active a {
  color: #FD4401;
  font-weight: 600;
}

.sigma-header-nav .menu-item-has-children:hover .sub-menu {
  display: block !important;
}

.sigma-header-nav .menu-item-has-children {
  position: relative;
}

/* Responsive adjustments for top menu */
@media (max-width: 1200px) {
  .sigma-header-nav .sigma-main-menu {
    gap: 5px !important;
  }
  
  .sigma-header-nav .sigma-main-menu li.menu-item a {
    padding: 8px 10px !important;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .sigma-header-nav.d-lg-block {
    display: none !important;
  }
}

/* Ensure proper spacing and alignment */
.nav-menu {
  /*flex-wrap: wrap;*/
}

@media (max-width: 1400px) {
  .sigma-header-nav {
    margin: 0 10px !important;
  }
  
  .sigma-header-nav .sigma-main-menu {
    gap: 5px !important;
  }
  
  .sigma-header-nav .sigma-main-menu li.menu-item a {
    padding: 8px 12px !important;
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .sigma-header-nav .sigma-main-menu li.menu-item a {
    padding: 8px 10px !important;
    font-size: 13px;
  }
}

.floating-action-buttons {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}

.fab-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fab-item {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset -3px 0 10px rgba(0, 0, 0, 0.3), 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  margin-right: 0;
  z-index: 1;
  text-decoration: none;
  color: inherit;
}

.fab-item::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px 0 0 5px;
  border-right: none;
  pointer-events: none;
}

.fab-item::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.fab-item:hover {
  width: 200px !important;
  border-radius: 8px 0 0 8px;
  box-shadow: inset -3px 0 10px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateX(-5px);
  z-index: 10000;
}

.fab-item:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}

.fab-container:hover .fab-item:not(:hover) {
  width: 60px !important;
  transform: translateX(0);
}

.fab-icon {
  position: absolute;
  left: 18px;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 2;
}

.fab-item:hover .fab-icon {
  left: 15px;
}

.fab-label {
  position: absolute;
  left: 50px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 2;
}

#hireInfluencer {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

@media (max-width: 768px) {
  .floating-action-buttons {
    right: 0;
  }

  .fab-item {
    width: 50px;
    height: 50px;
  }

  .fab-item:hover {
    width: 180px !important;
  }

  .fab-container:hover .fab-item:not(:hover) {
    width: 50px !important;
    transform: translateX(0);
  }

  .fab-icon {
    font-size: 20px;
    left: 15px;
  }

  .fab-item:hover .fab-icon {
    left: 12px;
  }

  .fab-label {
    left: 40px;
    font-size: 12px;
  }
}

/* Header City Selector Styles */
.header-city-selector {
  position: relative;
}

.header-city-selector:hover {
  background: rgba(102, 126, 234, 0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.header-city-selector:active {
  transform: translateY(0);
}

/* Search Button Styles */
.search-toggle-btn:hover {
  background: rgba(102, 126, 234, 0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.search-toggle-btn:active {
  transform: translateY(0);
}

/* Search Overlay Styles */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.search-overlay-content {
  width: 90%;
  max-width: 900px;
  padding: 40px;
  text-align: center;
}

.search-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-overlay-form {
  animation: slideUp 0.4s ease 0.1s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Login Dropdown */
@media (max-width: 768px) {
  .login-dropdown {
    min-width: 180px !important;
    right: 0 !important;
    left: auto !important;
    padding: 8px !important;
  }

  .login-dropdown .dropdown-item {
    padding: 8px 6px !important;
    font-size: 10px !important;
  }

  .login-dropdown .dropdown-item i {
    font-size: 16px !important;
  }

  .login-dropdown li {
    gap: 6px !important;
  }
}

/* Dropdown Menu Fixes */
.dropdown {
  position: relative !important;
}

.dropdown-menu {
  display: none !important;
  position: absolute !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
}

.dropdown-menu.show {
  display: block !important;
}

.dropdown-toggle {
  cursor: pointer !important;
}





/* city model */
.city-selection-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: auto;
    animation: fadeIn 0.3s ease;
  }

  .city-selection-modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .city-modal-content {
    background-color: #000;
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    height: 70vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  @keyframes slideDown {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .city-modal-header {
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom right, #FD4401, #E54873);
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
  }

  .city-modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
  }

  .city-modal-header .close-city-modal {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }

  .city-modal-header .close-city-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
  }

  .city-modal-body {
    padding: 30px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    overflow-y: auto;
  }

  .city-modal-subtitle {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .city-search-box {
    margin-bottom: 20px;
    position: relative;
  }

  .city-search-input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
  }

  .city-search-input:focus {
    outline: none;
    border-color: #FD4401;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }

  .city-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
  }

  .use-location-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #FD4401;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
  }

  .use-location-btn:hover {
    background: #FD4401;
  }

  .top-cities-heading {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
  }

  .cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 0;
  }

  .city-btn {
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s;
    position: relative;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .city-btn:hover {
    border-color: #FD4401;
    color: #FD4401;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  }

  .city-btn.selected {
    border-color: #FD4401;
    background: linear-gradient(to bottom right, #FD4401, #E54873);
    color: #fff;
  }

  .city-btn.selected::after {
    content: '✓';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .city-modal-header {
      padding: 20px;
    }

    .city-modal-header h2 {
      font-size: 24px;
    }

    .city-modal-body {
      padding: 25px 20px;
    }

    .cities-grid {
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 15px;
    }

    .city-btn {
      padding: 15px 20px;
      font-size: 15px;
      min-height: 55px;
    }

    .city-modal-subtitle {
      font-size: 16px;
      margin-bottom: 25px;
    }

    .top-cities-heading {
      font-size: 20px;
    }
  }