@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
  position: sticky;
  top: 0;
  z-index: 9000;
  gap: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar .logo {
  max-height: 46px;
  height: auto;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar .logo:hover {
  transform: scale(1.05);
}

.logo {
  max-height: 46px;
  margin-right: 12px;
}

.brandLogo {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-right: auto;
  cursor: default;
  transition: transform 0.3s ease, color 0.3s ease;
}

.brandLogo:hover {
  color: #0071e3;
}

.navbar nav a {
  margin: 0 4px;
  text-decoration: none;
}

.navbar nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}

.navlink {
  color: #86868b;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  position: relative;
  padding: 8px 16px;
  border-radius: 99px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.navlink:hover, .navlink.active-nav {
  color: #0071e3;
}

.nav-slider {
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #0071e3, #0071e3);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.navbar .actions {
  display: flex;
  gap: 12px;
}

.buttonPrimary {
  background: linear-gradient(135deg, #0071e3 0%, #0071e3 100%);
  color: white;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.2);
}

.buttonOutline {
  background-color: transparent;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.buttonDemo {
  background-color: #0071e3;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

.buttonDemo,
.buttonOutline,
.buttonPrimary {
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.buttonDemo:hover {
  background-color: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

.buttonOutline:hover {
  background-color: #f5f5f7;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.buttonPrimary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.buttonPrimary:active,
.buttonDemo:active,
.buttonOutline:active {
  transform: translateY(0);
}

#language-select {
  padding: 6px 8px;
}
.dropdown {
    z-index: 9999;
    margin: 0;
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropbtn:hover {
    background-color: #f5f5f7;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dropbtn img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: max-content;
    z-index: 10000;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    padding: 4px;
}
.dropdown-content a {
    background-color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-bottom: none !important;
    color: #86868b;
    font-size: 0.9rem;
    transition: background 0.2s;
    border-radius: 8px;
    gap: 8px;
}
.dropdown-content a img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}
.dropdown-content a:hover {
    background: #f1f5f9;
}
.dropdown.open .dropdown-content {
    display: block;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #0f172a;
  z-index: 10000;
  position: relative;
}

/* Mobile menu wrapper */
.navContent {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (max-width: 1250px) {
  .navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #fff;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
  }

  .navbar > a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .navContent {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    padding: 80px 24px 24px 24px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 20px;
    z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .navContent.show {
    right: 0;
  }

  .navbar nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .nav-slider {
    display: none !important;
  }

  .navbar .dropdown {
    align-self: flex-start;
  }

  .navbar .actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .navbar nav a {
    width: 100%;
    display: block;
    padding: 12px 10px;
    font-size: 1.1rem;
    margin: 0;
  }

  .navbar .actions a {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 1.05rem;
  }
}

@media (min-width: 1251px) {
  .navContent {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    position: static !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .navLinks {
    margin-right: auto;
  }

  .actions,
  .dropdown {
    all: unset;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
  }

  .actions a {
    width: auto !important;
  }
}
