
.header .nav-container {
  max-width: 1142px;
  display: flex;
  width: 84%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.header .nav-container .logo {
  flex-shrink: 0;
}

.header .nav-container .logo img {
  height: 40px;
  width: auto;
  display: block;
}

.header .nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.header .nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

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

.header .nav-links a.active {
  color: #1d7ac0;
}

.header .contact-btn {
  background: linear-gradient(90deg, #1d7ac0 0%, #34c7f5 100%);
  padding: 10px 24px;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

header .contact-btn:hover {
  box-shadow: 0 4px 8px rgba(29, 122, 192, 0.2);
  transform: translateY(-2px);
}

/* Hamburger Menu Button */
.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .header .nav-container {
    max-width: 940px;
    width: 90%;
  }
}

@media screen and (max-width: 992px) {
  .header .nav-container {
    max-width: 720px;
  }

  .header .nav-links {
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger-menu {
    display: block;
    order: 3;
  }

  .header .nav-container {
    width: 95%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* Hide nav links by default on mobile */
  .header .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
    order: 4;
  }

  /* Show nav links when active class is added */
  .header .nav-links.active {
    display: flex;
  }

  /* Style for active hamburger (X shape) */
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header .contact-btn {
    order: 2;
    display: none;
  }
}

@media screen and (max-width: 576px) {
  .header .nav-container .logo img {
    height: 35px;
  }

  .header .nav-links a {
    font-size: 14px;
  }

  .header .contact-btn {
    padding: 8px 16px;
    font-size: 14px;
    display: none;
  }
}