:root {
  --primary-gold: #b5916f;
  --dark-bg: #0b0f14;
  --white: #ffffff;
}

/* Navbar Base - White background for contact page */
.custom-navbar.contact-navbar {
  background: #ffffff !important;
  padding: 20px 0;
  transition: 0.4s ease;
  z-index: 1000;
}

/* Logo */
.custom-navbar.contact-navbar .logo-img {
  height: 55px;
}

/* Links - Black text for contact page */
.custom-navbar.contact-navbar .nav-link {
  color: #000000 !important;
  font-size: 16px;
  font-weight: 400;
  transition: 0.3s;
}

.custom-navbar.contact-navbar .nav-link:hover {
  color: var(--primary-gold) !important;
}

.custom-navbar.contact-navbar .nav-link.active {
  color: var(--primary-gold) !important;
}

/* CTA Button - Black border and text */
.custom-navbar.contact-navbar .nav-cta-btn {
  padding: 10px 28px;
  border: 1px solid #000000;
  border-radius: 30px;
  color: #000000;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.custom-navbar.contact-navbar .nav-cta-btn:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #ffffff;
}

.custom-navbar.contact-navbar .nav-cta-btn:hover .cta-arrow {
  color: #ffffff;
}

/* Navbar Toggler - Black icon */
.custom-navbar.contact-navbar .navbar-toggler-icon {
  filter: invert(0);
}

.custom-navbar.contact-navbar .navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.3);
}

/* Dropdown arrow - Black */
.custom-navbar.contact-navbar
  .nav-item.dropdown
  .dropdown-toggle
  .dropdown-arrow {
  color: #000000;
}

/* SERVICES DROPDOWN - DESKTOP */
.nav-item.dropdown {
  position: relative;
}

/* Remove default Bootstrap dropdown arrow */
.dropdown-toggle::after {
  display: none !important;
}

/* Custom dropdown arrow for all screens */
.nav-item.dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* arrow */
.dropdown-arrow {
  width: 6px;
  height: 6px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* rotate arrow on hover */
.nav-item.dropdown:hover .dropdown-arrow {
  transform: rotate(-135deg);
}

.services-dropdown {
  position: absolute;
  top: 65%;
  left: 0;
  width: 340px;
  font-size: 16px !important;
  background: #f3f3f3;
  border-radius: 4px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.18);
  padding: 0;
  margin-top: 14px;
  border: none;
  margin-left: -80px;
  display: none;
}

.services-dropdown.show {
  display: block;
}

.service-item {
  display: block;
  padding: 10px 10px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  color: #1f2933;
  text-decoration: none;
  transition: background 0.2s ease;
}

.service-item + .service-item {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-item:hover {
  background: #cbbfb2;
}

/* Desktop - hover dropdown */
@media (min-width: 992px) {
  .services-dropdown {
    display: none;
  }

  /* Show dropdown on hover */
  .nav-item.dropdown:hover .services-dropdown {
    display: block;
  }

  /* Keep dropdown visible when hovering over it */
  .services-dropdown:hover {
    display: block;
  }
}

/* ================= MOBILE STYLES ================= */
@media (max-width: 991px) {
  .custom-navbar.contact-navbar {
    background: #ffffff !important;
    padding: 15px 0;
  }

  /* Mobile menu background - White theme for contact page */
  .custom-navbar.contact-navbar .navbar-collapse {
    background: #ffffff !important;
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 15px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  /* Nav links in mobile - Black text for contact page */
  .custom-navbar.contact-navbar .navbar-nav .nav-link {
    color: #000000 !important;
    padding: 14px 0 !important;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
  }

  .custom-navbar.contact-navbar .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  /* Dropdown toggle styling for mobile */
  .nav-item.dropdown .dropdown-toggle {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 25px !important;
  }

  .custom-navbar.contact-navbar
    .nav-item.dropdown
    .dropdown-toggle
    .dropdown-arrow {
    color: #000000;
  }

  .nav-item.dropdown.show .dropdown-toggle .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Mobile Dropdown - directly under Services */
  .services-dropdown {
    position: relative !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 8px !important;
    background: #f8f8f8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transform: none !important;
    top: 0 !important;
    left: 0 !important;
  }

  /* Dropdown items in mobile - Black text for contact page */
  .service-item {
    white-space: normal;
    padding: 12px 15px;
    font-size: 15px;
    color: #000000 !important;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .service-item:last-child {
    border-bottom: none;
  }

  .service-item + .service-item {
    border-top: none;
  }

  .service-item.active {
    background: var(--primary-gold) !important;
    color: #ffffff !important;
  }

  .service-item:hover {
    background: rgba(0, 0, 0, 0.05) !important;
  }

  /* Navbar Toggler */
  .navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    background: transparent;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }

  .custom-navbar.contact-navbar .navbar-toggler-icon {
    filter: invert(0);
  }

  /* Logo size for mobile */
  .logo-img {
    height: 45px;
  }
}

/* Small Mobile */
@media (max-width: 575px) {
  .custom-navbar.contact-navbar {
    padding: 12px 0;
  }

  .logo-img {
    height: 40px;
  }

  .navbar-collapse {
    padding: 12px 15px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
    padding: 12px 0 !important;
  }

  .nav-item.dropdown .dropdown-toggle .dropdown-arrow {
    font-size: 11px;
  }

  .service-item {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* Fix for Bootstrap dropdown on mobile */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none !important;
  }
}

.cta-arrow {
  color: #b5916f;
  transition: 0.3s ease;
  font-size: 16px;
  display: inline-block;
}

.custom-navbar.contact-navbar .nav-cta-btn:hover .cta-arrow {
  color: #ffffff;
}
