html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-primary {
  background-color: #2563eb;
  border-color: #2563eb;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline-primary {
  color: #2563eb;
  border-color: #2563eb;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #2563eb;
  border-color: #2563eb;
}

.text-primary {
  color: #2563eb !important;
}

.bg-primary {
  background-color: #2563eb !important;
}

.bg-primary-subtle {
  background-color: #dbeafe !important;
}

.border-primary {
  border-color: #2563eb !important;
}

.hover-border-primary:hover {
  border-color: #2563eb !important;
}

.py-md-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #2563eb !important;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.border-2 {
  border-width: 2px !important;
}

/* Melhorias de responsividade para o menu */
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #2563eb !important;
}

/* Efeito de sublinhado no hover */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #2563eb;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 70%;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
  }

  .navbar-nav .nav-link:hover {
    background-color: #f8f9fa;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  /* Adicionar botão de orçamento no menu móvel */
  .navbar-collapse .btn-primary {
    margin-top: 1rem;
    display: block !important;
    width: 100%;
  }
}

/* Melhorias na acessibilidade */
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
  outline: none;
}

/* Animação para o menu móvel */
.navbar-collapse {
  transition: all 0.3s ease;
}

/* Melhorias no dropdown de idiomas */
.dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f0f7ff;
}

.dropdown-item.active {
  background-color: #dbeafe;
  color: #2563eb;
  font-weight: 500;
}
