header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 7px 0;
}

header.scrolled {
  background: rgba(2, 5, 24, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 15, 30, 0.7);
  border-bottom: 1px solid rgba(0, 152, 240, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  height: auto;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  font-weight: 400;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--blue-dark));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--blue-light);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cont-btn {
  position: relative;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border: none;
  transition: transform 0.25s ease;
  background: linear-gradient(to bottom, #4fd2ff, var(--blu));
  color: #ffffff;
}

.cont-btn::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 50%;
  height: 400%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: rotate(25deg);
  transition: transform 0.6s ease;
}

.cont-btn:hover::before {
  transform: translateX(260%) rotate(25deg);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 80vh;
  background: linear-gradient(45deg, var(--blue-dark) 0%, var(--dark-light) 50%);
  z-index: 10000;
  transition: right 0.3s;
  padding: 30px 50px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  right: 0;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: right;
  margin-bottom: 40px;
}

.close-menu {
  background: none;
  border: none;
  color: var(--white);
  font-size: 25px;
  cursor: pointer;
}

.mobile-nav {
  margin-bottom: 30px;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 152, 240, 0.7);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--blue-light);
  padding-left: 10px;
}

.mobile-lang {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, var(--blue), var(--blue-dark));
  color: var(--blue-light);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-lang:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
}