/* ===== NAVBAR STYLES ===== */
.navbar {
  background-color: #ffffff !important;
  padding: 25px 0px;
  padding-top: 3%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

/* Custom navbar nav for right alignment */
.navbar-nav-custom {
  color: #797979;
  font-weight: 500;
  font-size: 11px;
  line-height: 100%;
  letter-spacing: 0.5px;
  margin-right: 0px !important; /* 75px from right edge */
}

/* Default link color */
.navbar-nav-custom .nav-link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #797979 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 30px;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
}

/* ACTIVE MENU - Force blue color */
.navbar-nav-custom .nav-link.active,
.navbar-nav-custom .nav-link.active:hover {
  color: #092bf7 !important;
  font-weight: 600 !important;
}

/* Hover for non-active links only */
.navbar-nav-custom .nav-link:hover:not(.active) {
  color: #092bf7 !important;
  font-weight: 600;
}

/* Active link indicator */
.navbar-nav-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #092bf7;
  border-radius: 2px;
}

/* Container adjustments for proper spacing */
.navbar .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile Toggle Button */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive navbar styles */
@media (max-width: 992px) {
  .navbar-nav-custom {
    margin-right: 0 !important; /* Remove right margin on mobile */
    text-align: center;
    padding: 20px 0;
  }
  
  .navbar-nav-custom .nav-link {
    margin-left: 0;
    margin: 10px 0;
    font-size: 14px;
  }
  
  .navbar {
    padding: 15px 0;
    padding-top: 2%;
  }
  
  .navbar-brand img {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
    padding-top: 2%;
  }
  
  .navbar-nav-custom .nav-link {
    font-size: 13px;
    margin: 8px 0;
  }
  
  .navbar-brand img {
    height: 35px;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 8px 0;
  }
  
  .navbar-nav-custom .nav-link {
    font-size: 12px;
  }
  
  .navbar-brand img {
    height: 30px;
  }
}

/* Ensure proper z-index for fixed navbar */
.navbar.fixed-top {
  z-index: 1030;
}

/* Smooth transition for navbar */
.navbar,
.navbar-nav-custom .nav-link {
  transition: all 0.3s ease-in-out;
}