.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: rgba(195, 204, 214, 0.2) 0px 8px 24px;
    box-shadow: 0 1px 2px #ddd;
    z-index: 1;
    display: none;
  }


.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.search-wrapper {
    position: relative;
    width: 100%; 
    max-width: 600px; 
}

.search__input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box; 

    margin-left: 120px;
}

.search-button {
    position: absolute;
    right: -115px; 
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: #e4335a;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

#searchInput {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 50px;
    color: #081f40;
    font-weight: 400;
    background-color: #f3f3f6;
}

.search__input::placeholder {
    color: #081f40;
    font-size: 12px;
    font-weight: 300;
}

#icon {
    width: 15px;
    height: 15px;
}

  

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .nav-menu button {
    border-radius: 50px;
    padding: 15px 25px;
    cursor: pointer;
  }
  #accountHeaderSection {
    display: flex;
  }
  .subscribe-button {
    border: none;
    background-color: #fff;
    padding-right: 0px;
  }
  #login-button-link {
    color: #292b2e;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
  }
  
  .login-button {
    background-color: #fff;
    border: solid 0.5px #e6e6e6;
  }
  .subscribe-main {
    background-color: #e4335a;
    border: none;
  }
  
  #subscribe-main-link {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    white-space: nowrap;
    align-items: center;
    height: 40px;
  }
  
  .subscribe-main:hover,
  .login-button:hover {
    transform: scale(1.05);
  }
  
  .mobile-button {
    background-image: url(/Assets/menu-of-three-lines.png);
    background-size: cover;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-left: auto;
    border: none;
    background-color: #fff;
    display: none;
  }
  
  #mobile-tooltip {
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none; 
    flex-direction: column;
    gap: 10px; 
  }
  
  #mobile-tooltip.active {
    display: flex; 
  }
  
  #mobile-tooltip a {
    display: block;
    text-decoration: none;
    padding: 10px;
    font-size: 16px;
    font-weight: 300;
    color: #292b2e;
    border-radius: 5px;
    text-align: center; 
  }
  
  
  #mobile-tooltip a:hover {
    background-color: #f3f3f6;
  }
  .left-section {
    display: none;
  }
  @media (max-width: 1200px) {
    .search-container {
      display: flex;
      justify-content: center; 
      width: 100%;
      padding: 0 10px;
    }
  
    .search-wrapper {
      width: auto;
      max-width: 400px; 
      position: relative;
      margin-right: 50px;
    }
  
    .search__input {
      width: 100%;
      padding: 5px 35px 5px 10px; 
      font-size: 14px;
    }
  
    .search-button {
    display: none;
    }
 
  }
  

@media (max-width: 850px) {
    header {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
    display: flex;
  }
    .nav-menu {
    display: none;
  }

  .mobile-button {
    display: block;
  }

  .search-container {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }

  .search-wrapper {
    width: 100%;
    margin-left: 0;
    padding: 0 10px;
  }



  #mobile-tooltip {
    z-index: 10;
  }

  .search-container {
    display: none;
  }

  .left-section {
    display: flex;
    align-items: center;
  }
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo {
    width: 9rem;
    height: 3rem;
    object-fit: contain;
 
  }  
}

@media (max-width: 700px) {
  .nav-menu {
    display: none;
  }

  .mobile-button {
    display: block;
  }

  .logo {
    width: 8.5rem;
    height: 2rem;
    position: fixed;
    top: 1rem;
    left: 0px;
  }
  .header {
    padding: 0px;
    display: flex;
  }
  

.search-container {
  display: none;
}
}
