

.main-header.sticky {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-header.sticky .header-bar {
  display: none;
}

/* Ensure the banner section doesn't jump */
.banner-section {
  margin-top: 0px !important;
}
section.banner-section {
  height: 73vh;
}
.page-header {
  margin-top: 0px !important;
}
.main-header .dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  padding: 20px 10px;
  width: 280px;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #0546a7 !important;
}
.header-logos img {
  height: 105px;
  -o-object-fit: cover;
     object-fit: cover;
}
.border-wrapper {
  border-right: 1px solid #D0D0D0;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none !important;
}
.header-text h6{
 
  color: #000000;
  font-size: 14px;
  font-weight: 600;
}
.header-text h2{
  color: #0546A7;
  font-size: 36px;
  font-weight: 800;
}
.blue-header{
  background-color: #FFCC28;
}
a.header-apply {

  padding: 10px 15px;
  border-radius: 25px;
  color: #0546A7;
  font-weight: 500;
  line-height: var(--bs-body-line-height);
  color: #fff !important;
  background: linear-gradient(to right, #011053, #0546a7);
}

a.header-apply:hover {
  background: #ffffff;
  padding: 10px 15px;
  border-radius: 25px;
  color: #0546A7;
  font-weight: 500;
}
.top-header {
  transition: transform 0.4s ease, opacity 0.4s ease, height 0.4s ease;
  transform: translateY(0);
  opacity: 1;
  height: auto;
  overflow: hidden;
  padding: 10px 0px;
}

.top-header.hidden {
  transform: translateY(-100%);
  padding: 0px 0px;
  opacity: 0;
  height: 0; /* Collapses the space */
}


.blue-header button.btn-close i {
  color: #ffff;
}
.border-right {
  border-right: 1px solid #56565633;
  padding-left: 10px;
  margin-right: 10px;
}
.main-header {
  position: relative;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.4s ease-in-out;
  box-shadow: none;
}

.main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 1.1s ease-out; /* Aur slow animation */
  padding: 0px 0px;
}


@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* Shrink the navbar padding and logo */
.main-header .navbar {
  transition: padding 0.3s ease;
}

.main-header.sticky .navbar {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Optional: shrink logos or texts in sticky mode */
.main-header.sticky .header-text h2 {
  font-size: 32px;
}

.main-header.sticky .header-text h6 {
  font-size: 0.75rem;
}

.main-header.sticky img {
  max-height: 80px; /* Reduce logo size */
  transition: max-height 0.3s ease;
}

