.header {
  width: 100%;
  background-color:#F9F9F9;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5.49%;
  height: 100px;
  gap: 144px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 39.88671875px;
  width: 149.384765625px;
  object-fit: contain;
}

.navbar-logo span {
  font-size: 24px;
  font-weight: bold;
  color: var(--logo-purple);
}

.navbar-links ul {
  display: flex;
  list-style: none;
  padding: 24px 16px;
  background-color: #F0F5F2;
  border-radius: 9999px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  height: 55px;
  gap : 18px;
}

.navbar-links li {
  margin: 0 5px;
}

.navbar-links a {
  text-decoration: Medium;
  color: #003B33;
  font-weight: 500;
  padding: 16px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-icon svg {
  color: var(--text-light);
  width: 24px;
  height: 24px;
}

.ai-assistant-button {
  background-color: #F0F5F2;
  color: #003B33;
  border: none;
  padding: 16px 24px;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.ai-assistant-button:hover {
  background-color: #d4edda;
}

.hamburger {
  display: none;
}

@media (max-width: 1451px) {
  .navbar {
    gap: 80px;
    padding: 24px 2%;
  }
  .navbar-links ul {
    padding: 6px;
    gap: 25px;
  }
  .navbar-links a {
    padding: 0px;
  }
  .ai-assistant-button {
    padding: 10px 20px;
  }
}

.navbar-links.mobile-active {
    left: 40%;
    width: 60%

}
.mobile-actions {
    display: none;
}
@media (max-width: 1080px) {
  .navbar-links ul {
    gap: 16px;
    padding: 6px;
  }
}

@media (max-width: 950px) and (min-width: 551px) {
  .header{
    display: block;
  }
  .navbar {
    position: relative;
    justify-content: space-between;
    padding: 30px 30px;
  }
  .navbar-links {
    display: none;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 24px;
    justify-content: space-between;
    z-index: 1001;
  }
  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #003B33;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .navbar-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    background-color: #F9F9F9;
    z-index: 1000;
    transition: left 0.3s ease;
    padding-top: 100px;
  }
  .navbar-links.mobile-active {
    display: block;
  }
  
    .navbar-links ul {
        background-color: transparent;
        border-radius: 0;
        display: block;
        height: auto;
        list-style: none;
        margin: 0;
        padding: 20px 5%;
    }
  .navbar-links a {
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    display: block;
    font-size: 18px;
  }
}




@media (max-width: 1030px) and (min-width: 950px) {
  .navbar{
  gap : 60px !important;
    }
    .navbar-links li
 {
    margin: 0;   !important;

  }

}

@media (max-width: 950px) and (min-width: 551px) {
  .navbar-links .mobile-actions {
    display: flex;

    gap: 20px;
    padding: 20px 5%;
    border-top: 1px solid #E5E5E5;
    margin-top: 20px;
  }
  
  .navbar-links .mobile-actions .search-icon,
  .navbar-links .mobile-actions .ai-assistant-button {
    display: block !important;
  }
  
  .navbar-links .mobile-actions .search-icon {
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    cursor: pointer;
  }
  
  .navbar-links .mobile-actions .ai-assistant-button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

@media (max-width: 550px) {
  .navbar-links .mobile-actions {
    display: flex;
 
    gap: 20px;
    padding: 20px 5%;
    border-top: 1px solid #E5E5E5;
    margin-top: 20px;
  }
  
  .navbar-links .mobile-actions .search-icon,
  .navbar-links .mobile-actions .ai-assistant-button {
    display: block !important;
  }
  
  .navbar-links .mobile-actions .search-icon {
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    cursor: pointer;
  }
  
  .navbar-links .mobile-actions .ai-assistant-button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .header{
    display: block;
  }
  .navbar {
    position: relative;
    justify-content: space-between;
    padding: 24px 20px;
  }
  .navbar-actions > .search-icon,
  .navbar-actions > .ai-assistant-button {
    display: none;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 24px;
    justify-content: space-between;
    z-index: 1001;
  }
  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #003B33;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .navbar-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    background-color: #F9F9F9;
    z-index: 1000;
    transition: right 0.3s ease;
    padding-top: 100px;
  }

    .navbar-links ul {
        background-color: transparent;
        border-radius: 0;
        display: block;
        height: auto;
        list-style: none;
        margin: 0;
        padding: 20px 5%;
    }
  .navbar-links a {
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    display: block;
    font-size: 18px;
  }
  body.menu-open {
    overflow: hidden;
  }
}