* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #333;
  background-color: #f3f3f3;
  line-height: 1.6;
}

header {
  width: 100%;
  min-height: 75px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  animation: slideDown 0.4s ease-out;
  transition: padding 0.3s ease, min-height 0.3s ease;
}

header.scrolled {
  background: rgba(7, 70, 70, 0.4);
  box-shadow: 0 8px 12px rgba(6, 60, 60, 0.2);
  padding: 0.75rem 0;
  min-height: 60px;
  transition: all 0.3s ease;
}

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

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo > img {
  width: auto;
  height: 100%;
  max-height: 75px;
  transition: all 0.3s ease;
}

header.scrolled .logo > img {
  max-height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #257d87;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1b5960;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #1b5960;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #257d87;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -8px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 990px) {
  header {
    padding: 0.75rem 0;
  }

  header.scrolled {
    padding: 0.5rem 0;
  }

  nav {
    flex-direction: row;
    gap: 1rem;
  }

  .nav-links {
    background: rgba(30, 115, 128, 0.95);
    position: absolute;
    top: 105px;
    left: 0;
    right: 0;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.2s ease, top 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  header.scrolled .nav-links {
    background: rgba(24, 89, 99, 0.9);
    box-shadow: 0 8px 12px rgba(6, 60, 60, 0.2);
    top: 73px;
  }

  .nav-links.active {
    max-height: fit-content;
    visibility: visible;
  }

  .nav-links a {
    color: #fff;
    display: block;
    padding: 0.5rem 0;
  }

  .nav-links a::after {
    left:25%
  }

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

  .hamburger {
    display: flex;
  }
}
