/* HEADER */
.header-container-custom {
  margin-left: 10px;
}

#mainNav > li > a {
  margin-top: 30px;
  position: relative; /* needed for underline effect */
  transition: color 0.2s ease; /* hover color transition */
}

.nav-logo img {
  width: 200px;
  height: 40px;
  margin-top: 30px;
  margin-right: 30px;
}

/* Smooth dropdown animation */
.header-nav-main .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.header-nav-main .dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Menu hover & active effect */
#mainNav > li > a:hover,
#mainNav > li.active > a {
  color: #e60000; /* Toyota red */
}

/* Underline slide effect */
#mainNav > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #e60000;
  transition: width 0.25s ease;
}

#mainNav > li > a:hover::after,
#mainNav > li.active > a::after {
  width: 100%;
}
/* Remove red background from dropdown toggle */
/* Header menu links - default black text, no background */
#mainNav > li > a {
  color: #000 !important;       /* Black text */
  background: none !important;   /* No background */
  margin-top: 30px;
  position: relative; /* for underline effect */
  transition: color 0.2s ease;
}

/* Dropdown toggle specifically (same black default) */
.header-nav-main .dropdown-toggle {
  background: none !important;
  color: #000 !important;       /* Black text */
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Remove any arrow or extra indicator (red square) */
.header-nav-main .dropdown-toggle::after {
  display: none !important;
}

/* Hover and active states - red text, no background */
#mainNav > li > a:hover,
#mainNav > li.active > a {
  color: #e60000 !important; /* Toyota red */
  background: none !important;
}

/* Dropdown menu items hover style */
.header-nav-main .dropdown-menu li a:hover {
  background-color: #f8f8f8;
  color: #e60000;
}

/* Dropdown menu background and border */
.header-nav-main .dropdown-menu {
  background: #fff !important;
  border: 1px solid #ddd;
}

/* Underline slide effect (keep from before) */
#mainNav > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #e60000;
  transition: width 0.25s ease;
}

#mainNav > li > a:hover::after,
#mainNav > li.active > a::after {
  width: 100%;
}