:root{
    --main-color: #032737;
    --second-color: #E1AD35;
    --white-color: #FFFFFF;
}
#navbar {
  background: var(--main-color);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

/*#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}*/

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white-color);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: #f3f4f6;
  color: var(--main-color);
}

.nav-link.active {
  background: linear-gradient(135deg, #00a878 0%, var(--main-color) 100%);
  color: white;
}

.nav-link i {
  font-size: 0.875rem;
}


.dropdown-container {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 14rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 50;
  padding: 0.5rem;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-container:hover .dropdown-trigger i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: #374151;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f3f4f6;
  color: var(--main-color);
}

.dropdown-item i {
  font-size: 0.875rem;
  width: 1.25rem;
  color: #6b7280;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  color: #4b5563;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #f3f4f6;
  color: #1e40af;
}

.social-icon.whatsapp:hover {
  background-color: #dcfce7;
  color: #16a34a;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--main-color);
  background: var(--second-color);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-left: 0.5rem;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

#mobile-menu.active {
  display: block;
}

#mobile-menu.active #mobile-menu-sidebar {
  transform: translateX(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  background-color: #f3f4f6;
  color: #1e40af;
}

.mobile-nav-link i {
  width: 1.5rem;
  margin-right: 0.75rem;
  color: #6b7280;
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 2.5rem;
}

.mobile-dropdown.active .mobile-dropdown-content {
  max-height: 500px;
  padding-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-trigger i.fa-chevron-down {
  transform: rotate(180deg);
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.mobile-dropdown-item:hover {
  background-color: #f9fafb;
  color: #1e40af;
}

.mobile-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: #f3f4f6;
  color: #4b5563;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-social-icon:hover {
  background-color: #e5e7eb;
  color: #1e40af;
}

.mobile-social-icon.whatsapp:hover {
  background-color: #dcfce7;
  color: #16a34a;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu {
  animation: fadeIn 0.2s ease;
}

@keyframes whatsappBlink {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
    }
}

.whatsapp {
    animation: whatsappBlink 1.5s infinite;
    border-radius: 50%;
}	

.whatsapp:hover {
    animation: none;
}

.carousel-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-link * {
    pointer-events: none;
}