/* === PROFESSIONAL NAV CTA (SMALL & CENTERED) === */
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 14px;         
  margin-left: 16px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1;          

  color: #ffffff;
  text-decoration: none;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;

  height: auto;
  min-height: unset;

  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-contact:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
  color: #ffffff;
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1300px;
  background: linear-gradient(135deg, #8B0000 10%, #330000 40%, #0d0d0d 90%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 15px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: background 0.4s ease, box-shadow 0.4s ease, top 0.4s ease;
}

.navbar.scrolled {
  background: linear-gradient(135deg, #5a0000 20%, #220000 60%, #0a0a0a 90%);
  box-shadow: 0 8px 48px rgba(204, 0, 0, 0.6);
  top: 10px;
}


.navbar-brand img {
  height: 45px;
  filter: drop-shadow(0 0 2px #cc0000);
  transition: filter 0.3s ease;
}
.navbar-brand img:hover {
  filter: drop-shadow(0 0 6px #ff0000);
}

.navbar .nav-link {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #f5f5f5 !important;
  margin: 0 22px;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #cc0000 0%, #ff4444 100%);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ff4444 !important;
}

.navbar .dropdown-toggle::after {

  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: #bbb;
  transition: color 0.3s ease, transform 0.3s ease;
  transform-origin: center;
  user-select: none;
}

.navbar .dropdown.show > .dropdown-toggle::after,
.navbar .dropdown:hover > .dropdown-toggle::after {
  color: #cc0000;
  transform: rotate(180deg);
}

.dropdown-menu {
  background: #1a1a1a;
  border-radius: 8px;
  border: none;
  margin-top: 10px;
  min-width: 260px;
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}

.dropdown:hover > .dropdown-menu,
.dropdown.show > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  font-weight: 500;
  font-size: 15px;
  color: #eee;
  padding: 12px 24px;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
  background: #cc0000;
  color: #fff;
  border-radius: 4px;
}


.navbar-toggler:hover {
  color: #cc0000;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
}
.dropdown-menu {
  background: #330000; /* dark red shade instead of black */
  border-radius: 10px;
  border: none;
  margin-top: 12px;
  min-width: 280px;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

.dropdown:hover > .dropdown-menu,
.dropdown.show > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.dropdown-item {
  font-weight: 600;
  font-size: 15px;
  color: #ffcccc;
  padding: 12px 28px;
  transition: background 0.3s ease, color 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: #cc0000;
  color: #fff;
  border-radius: 0 8px 8px 0;
  border-left: 3px solid #ff4444;
}

.navbar .dropdown-toggle::after {
 
  font-size: 12px;
  color: #bbb;
  transition: color 0.3s ease, transform 0.3s ease;
  user-select: none;
  margin-left: 0;
  order: 2; 
}

.navbar .dropdown.show > .dropdown-toggle::after,
.navbar .dropdown:hover > .dropdown-toggle::after {
  color: #cc0000;
  transform: rotate(180deg);
}

@media (max-width: 991px) {
  .navbar {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
    padding: 15px 20px;
    background: #111111;
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.5);
  }
  .navbar-collapse {
    background: #111111;
    padding: 20px 30px;
  }
  .navbar .nav-link {
    margin: 12px 0;
    font-size: 18px;
  }
  .navbar .nav-link::after {
    display: none;
  }
  .dropdown-menu {
    background: #222;
    box-shadow: none;
    padding-left: 15px;
  }
  .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 16px;
  }
}

