

.NewsPortal_header {
  border-top: 1px  solid #1e73be9c;
    border-bottom: 1px  solid #bebebe6c;
  background: #ffffff;
}
.NewsPortal_header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e5e5;
}

.sticky-active {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    background: #ffffff;
}


.main-nav {
  max-width: 1280px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0.8rem 1rem;
  position: relative;
}
@media screen and (max-width:1024px) {
.nav-container {
  gap: 12px;

}
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e73be;
  text-decoration: none;
  letter-spacing: 0.5px;
  width: 20%;
  
}

@media screen and (min-width:1280px) {
.logo {
font-size: 21px;

}}
@media screen and (max-width:1024px) {
.logo {
  font-size: 1.4rem;
  width: 20%;
  
}


}


@media screen and (max-width:768px) {
.logo {
  width: 50%;
  
}


}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
  width: 100%;
  transition: all 0.3s ease;
}

@media screen and (max-width:1024px) {
.nav-menu {

  gap: 1.5rem;

}
}

.nav-menu a {
  font-size: 22px;
  font-weight: 600;
  color: #221f1ff1;
  text-decoration: none;
  transition:
   all 0.2s ease-in-out;
}
@media screen and (min-width:1280px) {
.nav-menu a {
font-size: 20px;

}}
@media screen and (max-width:1024px) {
.nav-menu a {
  font-size: 19px;

}

}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: #1e73be;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.btn.blue {
  background: #1e73be;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease-in-out;
}

.btn.blue:hover {
  background: #155a94;
}

.animated-icon {
  display: inline-block;
  transform-origin: center;
  animation: bounce-scale 2s infinite;
}

@keyframes bounce-scale {
  0%, 100% { transform: translateY(0) scale(0); }
  25% { transform: translateY(-2px) scale(1); }
  50% { transform: translateY(-2px) scale(1.1); }
  75% { transform: translateY(0) scale(1); }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #1e73be;
  cursor: pointer;
}




@media (max-width: 992px) {

  .menu-toggle {
    display: block;
    width: 50%;
    text-align: right;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 40%;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 1rem;
    box-shadow: 0 4px 10px rgb(240, 234, 234);
    z-index: 1000;
    height: 100vh;
  }

  .nav-menu.active {
    display: flex;
    gap: 16px;
  }

  .nav-menu a {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1b;
  }

  .nav-menu li {
    margin-bottom: 0.8rem;
  }


}
