/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 16px 0;
}

header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.scrolled .logo-text {
  color: var(--primary-color);
}

.logo-highlight {
  color: var(--secondary-color);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 32px;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  position: relative;
}

.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .btn {
  color: var(--primary-color);
}

.scrolled .nav-links .btn {
  color: var(--primary-color);
}

.scrolled .nav-links .btn:hover {
  color: var(--white);
}

/* Hamburger menu */
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--white);
}

.scrolled .bar {
  background-color: var(--primary-color);
}

/* Responsive navigation */
@media (max-width: 1024px) {
  .nav-links li {
    margin-left: 24px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 101;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    padding-top: 80px;
    transition: 0.3s;
    z-index: 100;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 16px 0;
  }
  
  .nav-links a {
    color: var(--gray-800) !important;
    font-size: 1.1rem;
  }
  
  .nav-links .btn {
    margin-top: 16px;
  }
}

.visa-text {
  font-size: 3em;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 5px #fff,
               0 0 10px #0A3161,
               0 0 20px #0A3161,
               0 0 30px #0A3161,
               0 0 40px #0A3161,
               0 0 55px #0A3161,
               0 0 75px #0A3161;
  animation: flash 1s infinite alternate;
}

@keyframes flash {
  0% {
    text-shadow: none;
    color: hsla(246, 100%, 50%, 0.37);
  }
  100% {
    text-shadow: 0 0 5px #fff,
               0 0 10px #0A3161,
               0 0 20px #0A3161,
               0 0 30px #0A3161,
               0 0 40px #0A3161,
               0 0 55px #0A3161,
               0 0 75px #0A3161;
    color: #fff;
  }
}