/* --- Basic Navbar --- */
.navbar {
  background: #4d4d4d;
  position: relative;
  z-index: 1000;
  padding: 2px;
}

.nav-item { border-right: 1px solid #ccc; }
.navbar-nav { --bs-nav-link-padding-y: 0.4rem; }

.navbar-toggler{background-color: #04477b !important;} 

/* --- Nav Links --- */
.nav-link {
display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: clamp(14px, 1.2vw, 15px);  
  white-space: nowrap; /* prevents breaking to two lines */
  transition: color 0.3s ease;
}
.nav-link:hover { color: #d0d0d0 !important; }

/* --- Arrow beside menu text --- */
.nav-link span.arrow {
  font-size: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
  transform: rotate(45deg);
}
.nav-item.dropdown:hover span.arrow {
  transform: rotate(85deg);
  color: #d0d0d0;
}
 
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  min-width: 900px;
  padding: 2rem;
   
  border-radius: 0;
  background:#f2f2f2; 
  border-top:1px solid #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  margin-top: 2px;
  z-index: 999;
  pointer-events: none;
}

/* show on hover */
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  animation: fadeDown 0.4s ease forwards;
  pointer-events: auto;
}

 

/* --- Animation --- */
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
  }
}


/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  animation: fadeDown 0.4s ease forwards;
  pointer-events: auto;
}

/* --- Mega Menu Layout --- */
.mega-menu {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
}

.mega-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 55%;
}

/* --- Card Style --- cover*/
.mega-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.25s ease;
  cursor: pointer; text-decoration: none;
}

.mega-card img {
  width: 180px;
  height: auto; border: 1px solid #fff;
  border-radius: 0.5rem;
  object-fit: cover;
}
.mega-card h6 {
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
}
.mega-card p {
  font-size: 0.875rem;
  color: #000;
  margin: 0;
}
.mega-card:hover {
  transform: translateY(-3px);
}

/* --- Right Highlight Section --- */
.mega-right {
  width: 45%;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.mega-right img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.mega-right .content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}
.mega-right h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
.mega-right p {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.85);
}

/* --- Responsive --- */
@media (max-width: 991px) {
 
  .dropdown-menu {
    min-width: auto;
    width: 100%;
    left: 0;
    transform: none;
    padding: 1rem;
  }
  .mega-menu {
    flex-direction: column;
  }
  .mega-left, .mega-right {
    width: 100%;
  }
 
  .navbar {
    position: static; margin-top:2px;
  }

  .nav-item {
    width: 100%;
    border-right: none;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    justify-content: space-between;
  }

  .nav-item.dropdown .dropdown-menu {
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static;
    transform: none !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 0.5rem 1rem;
    pointer-events: auto;
    background: #e9e9e9;
  }

  .nav-item.dropdown.show .dropdown-menu {
    display: block !important;
  }

  .mega-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .mega-right {
    display: none;
  }

  .mega-card img {
    width: 80px !important;
  }
}
@media (max-width: 767px) {
    .text-end{ margin-top:0px !important;}
    .logo-homep{ padding-top:30px !important;}
    .welcome-egg{ width: 200px;  height: 49px;  font-size: 12px; line-height:12px;}
}




.month-btn {
    position: relative;
    color: #fff;  
    font-size: 14px;
    padding: 0.6rem 1.0rem;
    border-radius:0px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-transform: capitalize;
    border: none;
   
    border-right: 1px solid #ccc;
    cursor: pointer;
    z-index: 0;
    transition: color 0.3s ease; 
}

 .month-btn span {
    position: relative;
    z-index: 3; /* above before/after */
    color: #fff;
    white-space: nowrap; 
}
 
.month-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
     
}
 .month-btn::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0);   /* default transparent */
  transition: background-color 0.35s ease;
  z-index: 1;                         /* under the text (z-index 3) */
  pointer-events: none;
} 
 
.month-btn:hover::after {
    background-color: rgba(0,0,0,0.3); 
    border-right: 1px solid #ccc;
}
  
 
 
  .month-wrapper {
    position: relative;
    white-space: nowrap;
    background: transparent !important;
}
 
.month-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(0, 0, 0, 6.8), transparent);
    z-index: 1; /* gradient above links */
}

.month-list {
    scrollbar-width: none; /* Firefox */
}
.month-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.month-btn {
    white-space: nowrap;
}
 
#monthToggleBtn {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    z-index: 2;
    background:transparent;
    border: none;
    font-size: 26px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}