.main-header-sticky {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    display: flex;
    justify-content: center;
}

.header-nav {
    display: flex;
    padding: 16px 24px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-height: 88px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    width: auto;
    max-width: fit-content;
 }

.header-nav.header-nav-solid {
    background: #001F5F;
    backdrop-filter: none;
 }
 .header-logo{
  width: 300px;
  flex-shrink: 0;
 }

 .header-logo-container a{
  display: block;
  height: 74px;
 }
 .header-logo-container img{
  height: 100%;
  object-fit: contain;
 }

 .header-logo-institute img{
  height: 100%;
  object-fit: contain;
  margin-bottom: -10px;
 }
 .header-tabs{
  width: 622px;
  flex-shrink: 0;
 }
.header-tabs ul {
    display: flex;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
    
}

.header-tabs ul li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}



.header-tabs ul li:last-child {
    border-left: none;
  
}
.header-tabs ul li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    white-space: nowrap;
}
.header-tabs ul li a:hover{
    color: #A02842;

}

@media (max-width: 768px) {
    .main-header-sticky {
        display: none;
    }
}
#header-search-container {
    position: relative;
    z-index: 100;
}

#header-search-toggle {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#header-search-toggle.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

#header-search-box {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    background: #fff;
    border-radius: 25px;
}

#header-search-box.active {
    width: 250px;
    opacity: 1;
}


#header-search-box input {
    width: 100%;
    border-radius: 25px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    outline: none;
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.3s ease 0.1s, opacity 0.3s ease 0.1s;
}

#header-search-box.active input {
    transform: translateX(0);
    opacity: 1;
}

/* Header Buttons Responsive */
.header-buttons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 210px;
}

.header-buttons .d-flex {
    flex-wrap: nowrap;
    align-items: center;
    
    justify-content: flex-end;
}

.header-buttons .uni-button {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .header-buttons .d-flex {
        gap: 12px !important;
    }
}

@media (max-width: 992px) {
    .header-buttons .d-flex {
        gap: 8px !important;
    }

    #header-search-box.active {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .header-buttons {
        display: none;
    }
}
.hero-user-dropdown {
    position: relative;
    display: inline-block;
  }
  
  .hero-user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
  
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  
  
  .hero-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-user-avatar svg {
    width: 32px;
    height: 32px;
  }
  
  .hero-dropdown-arrow {
    width: 20px;
    height: 20px;
    color: #23567D;
    transition: transform 0.3s ease;
  }
  
  .hero-user-dropdown-toggle.active .hero-dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .hero-user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
  }
  
  .hero-user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 10px;
  }
  .hero-dropdown-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #D32F2F;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
  }
  
  .hero-dropdown-logout-btn:hover {
    background-color: #FFF5F5;
  }
  
  .hero-dropdown-logout-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .hero-dropdown-user-name {
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #25376D;
    border-bottom: 1px solid #E0E0E0;
    text-align: right;
  }
  
  /* Header Dropdown Menu Styles */
  .header-dropdown-wrapper {
    position: relative;
  }
  
  .header-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  
  .header-dropdown-toggle svg {
    transition: transform 0.3s ease;
  }
  
  .header-dropdown-wrapper.active .header-dropdown-toggle svg {
    transform: rotate(180deg);
  }
  
  .header-dropdown-menu {
    position: absolute;
    top: 160%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    padding: 8px 0;
    margin-top: 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
  }
  
  .header-dropdown-wrapper.active .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .header-dropdown-menu li {
    list-style: none;
  }
  
  .header-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
  }
  .header-dropdown-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 0;
    background: none;
    border: none;
    
    font-size: 15px;
    font-weight: 500;
  }