.offer-banner{
    background: #111;
}
.btn-secondary {
    background-color: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
}
.btn-secondary:hover {
    background-color: #0D9F6E;
    border-color: #0D9F6E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.dropdown-megamenu {
    width: 900px;
    margin-top: 19px;
    border: none;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}
.megamenu-header {
    background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
    color: white;
    padding: 20px;
}
.categories-panel {
    width: 250px;
    background: #fff;
    border-right: 1px solid var(--light-gray);
}
.category-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    position: relative;
}
.category-item:hover {
    background-color: white;
    color: var(--primary);
} 
.category-item.active {
    background-color: deepskyblue;
    color: #fff;
    font-weight: 500;
}  
.category-item i {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.courses-panel {
    flex: 1;
    padding: 10px;
    max-height: 500px;
    overflow-y: auto;
}
.course-category {
    display: none;
}
.course-category h5{
    font-weight: 500;
}
.course-category.active {
    display: block;
    animation: fadeIn 0.3s ease;
} 
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.course-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
} 
.course-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: aliceblue;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid var(--light-gray);
}
.course-item:hover {
    background-color: #F9FAFB;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-light);
}
.course-icon {
    width: 40px;
    height: 40px;
    background-color: #EFF6FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    color: var(--primary);
}
.course-details {
    flex: 1;
}
.course-title {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    color: #111;
}
.course-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: gray;
}
.course-meta span {
    display: flex;
    align-items: center;
    margin-right: 12px;
}
.course-meta i {
    font-size: 12px;
    margin-right: 4px;
}
.megamenu-footer {
    background-color: #F9FAFB;
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
} 
.view-all-btn {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}
.nav-link{
    font-weight: 500;
}
.nav-pills .nav-link.active{
    color: #fff;
    background: deepskyblue;
}
@media (max-width: 1200px) {
    .dropdown-megamenu {
        width: 800px;
        left: -300px !important;
    }
}
@media (max-width: 992px) {
    .dropdown-megamenu {
        width: 100%;
        left: 0 !important;
        flex-direction: column;
    }
    .categories-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
    }
    .category-item {
        white-space: nowrap;
        padding: 8px 15px;
    }
    .courses-panel {
        max-height: 400px;
    }
    .course-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .megamenu-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
@media (max-width: 992px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    .d-flex.me-3 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
        width: 100%;
    }
}