/* --- MEGA MENU BASE RESET --- */
.dropmenuitem { 
    position: static !important; 
}

.megamenu-sidebar > p { 
    display: none; 
}

/* --- DESKTOP REFINEMENTS (992px+) --- */
@media (min-width: 992px) {

    /* Add this to the parent to create a coordinate anchor */
    .topnavigation {
        position: relative !important;
    }
  
    .topnavigation .dropdown-menu {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        top: 110% !important;
        transform: translateX(-50%) translateY(20px) !important;
        width: 960px !important;
        background: #ffffff !important;
        border: 1px solid #f0f0f0 !important;
        border-radius: 12px !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
        padding: 30px !important;
        transition: all 0.3s ease !important;
        z-index: 9999 !important;
        visibility: hidden;
        opacity: 0;
    }

    .dropmenuitem:hover .dropdown-menu {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    
      .dropdown-item:hover{
       color: #1800E7;         
    cursor:pointer;
    }

    .topnavigation .dropdown-menu .container > .row.no-gutters {
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .topnavigation .col-lg-8.is-ready {
        /* flex: 0 0 66.66% !important; */
        max-width: 66.66% !important;
        display: flex !important;
    }

    .megamenu-sidebar {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
        border-left: 1px solid #f3f4f6 !important;
        padding-left: 25px !important;
        display:block !important;
    }
}

/* --- MOBILE & TABLET REFINEMENTS --- */
@media (max-width: 991px) {
    .topnavigation .dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 15px !important;
        background: #fdfdfd !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .topnavigation .dropdown-menu.menu-active {
        display: block !important;
    }

    .topnavigation .col-lg-8.is-ready {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .megamenu-sidebar {
        border-left: none !important;
        padding-left: 0 !important;
        margin-top: 30px;
        max-width: 100% !important;
    }

    .megamenu-column {
        /* flex: 0 0 100% !important; */
        max-width: 100% !important;
        margin-bottom: 20px;
        /* padding: 0 15px !important; */
    }

  .dropdown-menu .megamenu-column{
  flex: none ;      /* Removes flex-grow, shrink, and basis */
  width: auto ;     /* Returns to default block width */
  max-width: none ; /* Removes the 100% constraint */
  padding-right: 0 ; /* Optional: Removes Bootstrap gutters */
  padding-left: 0 ;  /* Optional: Removes Bootstrap gutters */
  }
}

    .megamenu-column {
       .dropdown-item{
          padding:0 !important;
          font-weight:300 !important;
          cursor:pointer;
          padding:0.3rem 0 !important;
          pointer-events: auto;
          display: block;          /* CRITICAL: Makes the whole width clickable */
          width: 100%;             /* Ensures it spans the column width */
        
      }
    }

/* --- COMPONENT: FEATURE CARDS --- */
.megamenu-label {
    font-style: normal !important;
    font-weight: 700 !important;
    color: #FF751B !important;
    font-size: 16px !important;
    margin-bottom: 10px !important;

 
}

.megamenu-feature-card {
    display: block;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px !important;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.megamenu-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.feature-image-box img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

.feature-body { 
    padding: 20px; 
}

.feature-title { 
    color: #1f2937; 
    font-size: 16px; 
    font-weight: 700; 
    margin-bottom: 8px; 
}

.feature-desc { 
    color: #6b7280; 
    font-size: 13px; 
    margin-bottom: 15px; 
    line-height: 1.5;
}

.feature-cta { 
    color: #007bff; 
    font-weight: 700; 
    font-size: 14px; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

#promotionSlides{
  padding-top: 4px;
}



/* 2. HOVER: Simple links (NO dropdown) become BLUE */
/* (Since they are already blue, this ensures they stay blue on hover) */
#navbarTop .nav-item:not(.dropmenuitem) .nav-link:hover {
    color: #1800E7 !important;
}

/* 3. HOVER: Mega Menu items (WITH arrow) become ORANGE */
#navbarTop .dropmenuitem .nav-link:hover {
    /*color: #ff751b !important;*/
    color: #1800E7 !important;
}

/* 4. HOVER: Ensure the Arrow also turns ORANGE */
#navbarTop .dropmenuitem .nav-link:hover i {
    color: #1800E7 !important;
}

/* 5. KEEP ORANGE while the Mega Menu is actually open */
#navbarTop .dropmenuitem.show .nav-link {
    color: #1800E7 !important;
}
#navbarTop .dropmenuitem.show .nav-link i {
    color: #1800E7 !important;
}


