.site-header {
  background-color: var(--light-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  width: 100%;
}

.site-header .container {
  height: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.logo img {
  height: 40px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 4px auto;
  background-color: var(--dark-color);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
  height: 100%;
}

.main-nav li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  display: block;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.main-nav .cta-nav-item {
  margin-left: 0.5rem;
}

.main-nav .cta-nav-item a.cta-btn-small {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  color: var(--white);
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.main-nav .cta-nav-item a.cta-btn-small:hover {
  color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.4);
  transform: translateY(-2px);
}

.main-nav .cta-nav-item a::after {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    transition: opacity 0s;
  }

  .mobile-menu-toggle.hidden {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 60vh;
    background-color: var(--light-color);
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .main-nav.active {
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    justify-content: center;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
  }

  .main-nav .cta-nav-item {
    margin: 0.5rem 0;
  }

  .cta-btn-small {
    display: inline-block;
    width: auto;
  }
}
