/* Start navbar home section */

.nav-content {
  padding: 8px 25px;
  background: var(--pure-white);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 30px;
  left: 5%;
  width: 90%;
  z-index: 999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-content:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Mobile (0-767px) */
@media only screen and (max-width: 767px) {
  .nav-content {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    padding: 10px 15px !important;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Tablet (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-content {
    width: 95%;
    left: 2.5%;
    padding: 12px 20px;
    top: 20px;
  }
}

/* Small Desktop (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav-content {
    width: 92%;
    left: 4%;
    padding: 10px 20px;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .logo-container {
    width: auto;
  }
}

@media only screen and (max-width: 991px) {
  .logo-container {
    width: 100%;
  }
  
  .navbar-toggler {
    padding: 8px 12px;
    margin: 0;
  }
}

.logo h6 {
  font-size: 20px;
  margin: 0;
  background: linear-gradient(135deg, #128C7E 0%, #128C7E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.logo h6:hover {
  transform: scale(1.05);
}

@media (min-width: 992px) and (max-width: 1199px) {
  .logo h6 {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .logo h6 {
    font-size: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .logo h6 {
    font-size: 14px;
    white-space: nowrap;
  }
}

/* Navbar Collapse */
.navbar-collapse {
  width: 100%;
}

/* Mobile Menu (0-767px) */
@media only screen and (max-width: 767px) {
  .navbar-collapse:not(.show) {
    display: none !important;
  }
  
  .navbar-collapse.show {
    display: block !important;
    background-color: white;
    border-radius: 10px;
    margin-top: 10px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
  }
  
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    display: flex !important;
  }
  
  .navbar-nav .nav-item {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
  }
  
  .navbar-nav .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 12px 10px !important;
    border-bottom: 1px solid #eee !important;
    font-size: 16px !important;
    text-align: left !important;
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none !important;
  }
}

/* Tablet Menu (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-collapse:not(.show) {
    display: none !important;
  }
  
  .navbar-collapse.show {
    display: block !important;
    background-color: white;
    border-radius: 12px;
    margin-top: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    width: 100%;
  }
  
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  
  .navbar-nav .nav-item {
    width: 100% !important;
    margin: 5px 0 !important;
  }
  
  .navbar-nav .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 14px 15px !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    border-bottom: none !important;
  }
  
  .navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
  }
}

.hidden {
  top: -200px;
}

/* Desktop Navigation Links (992px and up) */
@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .navbar-nav .nav-item {
    position: relative;
  }

  .navbar-nav .nav-item .nav-link {
    position: relative;
    padding: 12px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .navbar-nav .nav-item .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .navbar-nav .nav-item .nav-link:hover {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateY(-2px);
  }

  .navbar-nav .nav-item .nav-link:hover::before {
    opacity: 1;
  }

  .navbar-nav .nav-item.active .nav-link {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }

  .navbar-nav .nav-item.active .nav-link::before {
    opacity: 0;
  }
}

/* Small Desktop adjustments (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav {
    gap: 1px;
  }
  
  .navbar-nav .nav-item .nav-link {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* Modern Dropdown Menu - Desktop (992px and up) */
@media (min-width: 992px) {
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item.dropdown .dropdown-toggle::after {
    margin-left: 6px;
    transition: transform 0.3s ease;
  }

  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 260px;
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: -3px -3px 8px rgba(0, 0, 0, 0.05);
  }

  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-item {
    padding: 14px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: #334155;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }

  .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 4px 4px 0;
    transition: height 0.3s ease;
  }

  .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding-left: 24px;
    transform: translateX(2px);
  }

  .dropdown-item:hover::before {
    height: 80%;
  }

  .dropdown-item:active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  }
}

/* Small Desktop Dropdown adjustments (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .dropdown-menu {
    min-width: 240px;
    padding: 10px;
  }
  
  .dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* Dropdown Menu Mobile & Tablet (0-991px) */
@media only screen and (max-width: 991px) {
  .nav-item.dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    background-color: #f8f9fa !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5px 0 !important;
    margin: 5px 0 0 0 !important;
    display: none;
    border-radius: 8px !important;
  }
  
  .dropdown-menu.show {
    display: block !important;
  }

  .dropdown-menu .dropdown-item {
    padding: 12px 20px !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-size: 15px !important;
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
  }
  
  .dropdown-menu .dropdown-item:last-child {
    border-bottom: none !important;
  }
  
  .dropdown-menu .dropdown-item:hover {
    background-color: #e5e7eb !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .dropdown-menu .dropdown-item {
    padding: 14px 20px !important;
    font-size: 16px !important;
  }
}

/* Navbar Toggler */
.navbar-toggler {
  border: 2px solid #667eea;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  outline: none;
}

.navbar-toggler-icon {
  width: 22px;
  height: 22px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar-toggler {
    padding: 10px 14px;
  }
  
  .navbar-toggler-icon {
    width: 24px;
    height: 24px;
  }
}

/* WhatsApp Button Modern Style */
.call-us {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

.call-us .Btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.call-us .Btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.call-us .Btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.call-us .Btn:hover::before {
  opacity: 1;
}

.call-us .Btn:active {
  transform: scale(0.95);
}

@media (min-width: 768px) and (max-width: 991px) {
  .call-us {
    bottom: 22px;
    right: 22px;
  }
  
  .call-us .Btn {
    width: 58px;
    height: 58px;
  }
}

@media only screen and (max-width: 767px) {
  .call-us {
    bottom: 20px;
    right: 20px;
  }
  
  .call-us .Btn {
    width: 55px;
    height: 55px;
  }
}

/* User Menu Modern Style */
.user-menu {
  padding: 8px 20px 8px 45px;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.user-menu:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.user-icon {
  color: #667eea;
  font-size: 18px;
  padding: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 2px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  transition: all 0.3s ease;
}

.user-menu:hover .user-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.user-menu::before {
  content: "\f13a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  font-size: 20px;
  transition: transform 0.4s ease;
}

.user-menu.open::before {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #ffffff;
  min-width: 220px;
  border-radius: 16px;
  overflow: hidden;
  max-height: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: right;
  z-index: 999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  opacity: 0;
}

.dropdown-content.open {
  max-height: 500px;
  opacity: 1;
  padding: 8px;
}

.dropdown-content a {
  padding: 14px 16px;
  text-decoration: none !important;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  position: relative;
}

.dropdown-content a:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #667eea;
  padding-right: 20px;
}

.dropdown-content a svg {
  color: #667eea;
  transition: transform 0.3s ease;
}

.dropdown-content a:hover svg {
  transform: scale(1.1) rotate(5deg);
}

@media (min-width: 768px) and (max-width: 991px) {
  .user-menu {
    padding: 10px 18px 10px 42px;
    font-size: 15px;
  }
  
  .dropdown-content {
    min-width: 210px;
  }
}

@media only screen and (max-width: 767px) {
  .user-menu {
    padding-left: 35px;
    padding-right: 15px;
    font-size: 14px;
  }
  
  .dropdown-content {
    min-width: 200px;
  }
  
  .dropdown-content a {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* Remove conflicting styles */
.bars {
  display: none;
}