.header-nav {
    padding: 1rem;
 }

 .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 ul {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header-tabs ul li {
    list-style: none;
    display: inline-flex;
    align-items: center;

}
.header-tabs ul li:not(:last-child)::after {
    content: '';
    border-left: 1px solid rgba(22, 22, 22, 0.12);
    height: 20px;
    margin-right: 16px;
}
.header-tabs ul li a {
    text-decoration: none;
    color: #161616;
    font-size: 14px;
    font-weight: 300;
}
.header-tabs ul li a:hover{
    color: #1F2E5B;

}

.main-header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000; /* keeps it above other content */
    background-color: #fff; /* important so content doesn't show through */

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@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;
}

.header-buttons .d-flex {
    flex-wrap: nowrap;
}

@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;
  }