@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 45px 0;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.mega-menu {
    min-width: 600px;
    width: 100%;
    left: 0;
    right: 0;
    position: absolute;
    top: 100%;
    display: none;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.mega-menu .dropdown-item {
    display: inline;
    padding: .25rem .5rem;
}

.offcanvas {
    z-index: 9999;
}

.offcanvas-body ul {
    padding-left: 0;
}

@media (max-width: 991.98px) {
    .offcanvas-body .nav-item {
        display: block;
    }
}

.offcanvas-body ul li {
    list-style: none;
}

.offcanvas .dropdown-divider {
    margin-right: -20px;
}
.dropdown-divider {
    height: 0;
    margin: .5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.submenu.show {
    max-height: 500px;
}

.offcanvas .submenu {
    margin-right: 20px;
}

.submenu-toggle-icon {
    transition: transform 0.4s ease;
    display: inline-block;
    margin-left: 5px;
    float: left;
}

.rotated {
    transform: rotate(180deg);
}
.mega-menu{
    width:1024px;
}
.mega-menu-container{
  display: grid; 
  grid-column-gap: 1rem; 
  grid-row-gap: 1rem; 
  grid-template-columns:repeat(5, 1fr);
}
.mega-header {
  grid-row:1/2; 
  grid-column:1/3;
max-width: 324px;
}
.mega-products{
  grid-row:1/2; 
  grid-column:3/6;
  display: inline-flex;
min-width: 700px;
}
.mega-footer {
  grid-row:2/3; 
  grid-column:1/6; 
}
.mega-header h3{
    font-size:28px;
    font-weight:700;
    color:#2f3447;
}
.mega-header p{
    color:#7b8299;
    margin-top:8px;
}
.mega-badge{
    display:inline-block;
    padding:6px 16px;
    background:#f3efff;
    color:#6f3df4;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    margin-bottom:15px;
}
.mega-card{
    background:#fff;
    border:1px solid #edf0f6;
    border-radius:18px;
    padding:25px;
    transition:.25s;
    text-decoration:none;
    width: 220px;
}
.mega-card:hover{
    border-color:#d8caff;
    transform:translateY(-6px);
    box-shadow:
    0 18px 35px rgba(93,62,188,.10);
}
.mega-icon{
    width:56px;
    height:56px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f1ff;
    color:#6f3df4;
    font-size:24px;
    margin-bottom:18px;
}
.mega-content h5{
    font-size:18px;
    color:#2f3447;
    margin-bottom:10px;
}
.mega-content p{
    color:#7f8599;
    line-height:1.8;
    font-size:14px;
    min-height:70px;
}
.mega-content span{
    color:#6f3df4;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.mega-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:25px;
}
.navbar-light .navbar-nav .nav-link::before {
    top: -15px;
    color: var(--bs-primary);
}
.navbar-fixed {
    z-index: 1000 !important;
    position: fixed !important;
}