.boost-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #010123c2;
    padding: 15px 0;
    z-index: 1000;
}

body {
    padding-top: 70px;
}

.boost-header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boost-header__logo a {
    text-decoration: none;
}

.boost-header__logo h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.boost-header__nav {
    margin-left: auto;
    margin-right: 20px;
}

.boost-header__nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.boost-header__nav ul li {
    margin: 0 15px;
    position: relative;
}

.boost-header__nav ul li a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.boost-header__nav ul li a i {
    margin-right: 8px;
}

.boost-header__nav ul li a:hover {
    color: #1e88e5;
}

.boost-header__nav ul li.categories-menu > a i.fa-chevron-down {
    margin-left: 5px;
}

.boost-header__right {
    display: flex;
    align-items: center;
}

.boost-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.boost-btn-block {
    display: block;
    width: 100%;
}

.boost-btn-primary {
    background-color: #1e88e5;
    color: #fff;
}

.boost-btn-primary:hover {
    background-color: #1976d2;
    color: #fff;
}

.boost-btn-outline {
    border: 1px solid #1e88e5;
    color: #fff;
}

.boost-btn-outline:hover {
    background-color: #1e88e5;
    color: #fff;
}

.boost-header__mobile-toggle {
    display: none;
    cursor: pointer;
}

.toggle-icon {
    font-size: 24px;
    color: #fff;
}

/* Mega Menu Styles */
.boost-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1424 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 0;
    border-top: 2px solid #1e88e5;
}

.boost-mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.boost-mega-menu__content {
    padding: 0;
}

.boost-mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom scrollbar untuk mega menu */
.boost-mega-menu__grid::-webkit-scrollbar {
    width: 6px;
}

.boost-mega-menu__grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.boost-mega-menu__grid::-webkit-scrollbar-thumb {
    background: rgba(30, 136, 229, 0.6);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.boost-mega-menu__grid::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 136, 229, 0.8);
}

.boost-mega-menu__card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.boost-mega-menu__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e88e5, #42a5f5, #1e88e5);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.boost-mega-menu__card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(30, 136, 229, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.15);
}

.boost-mega-menu__card:hover::before {
    transform: scaleX(1);
}

.boost-mega-menu__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.boost-mega-menu__icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.boost-mega-menu__icon i {
    color: #fff;
    font-size: 20px;
}

.boost-mega-menu__title-wrapper {
    flex: 1;
}

.boost-mega-menu__title {
    color: #fff;
    font-size: 18px;
    margin: 0 0 5px 0;
    font-weight: 600;
    line-height: 1.2;
}

.boost-mega-menu__count {
    color: #8892b0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.boost-mega-menu__services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boost-mega-menu__services ul li {
    margin-bottom: 8px;
}

.boost-mega-menu__services ul li a {
    color: #ccd6f6;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.boost-mega-menu__services ul li a i {
    color: #64748b;
    font-size: 10px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.boost-mega-menu__services ul li a:hover {
    color: #1e88e5;
    background: rgba(30, 136, 229, 0.1);
    transform: translateX(5px);
}

.boost-mega-menu__services ul li a:hover i {
    color: #1e88e5;
    transform: translateX(3px);
}

.boost-mega-menu__view-all a {
    color: #1e88e5 !important;
    font-weight: 500;
    border: 1px dashed rgba(30, 136, 229, 0.3);
    background: rgba(30, 136, 229, 0.05);
}

.boost-mega-menu__view-all a:hover {
    background: rgba(30, 136, 229, 0.15) !important;
    border-color: rgba(30, 136, 229, 0.5);
}

.boost-mega-menu__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
}

.boost-mega-menu__empty-content {
    max-width: 300px;
    margin: 0 auto;
}

.boost-mega-menu__empty-content i {
    font-size: 48px;
    color: #64748b;
    margin-bottom: 20px;
    display: block;
}

.boost-mega-menu__empty-content h4 {
    color: #8892b0;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.boost-mega-menu__empty-content p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Loading States and Animations */
.boost-mega-menu__loading {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.boost-mega-menu__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(30, 136, 229, 0.1);
    border-top: 3px solid #1e88e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skeleton Loading */
.boost-mega-menu__skeleton {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.boost-mega-menu__skeleton-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.boost-mega-menu__skeleton-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-right: 15px;
}

.boost-mega-menu__skeleton-title {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 60%;
    margin-bottom: 8px;
}

.boost-mega-menu__skeleton-count {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 40%;
}

.boost-mega-menu__skeleton-item {
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 12px;
    width: 80%;
}

.boost-mega-menu__skeleton-item:nth-child(2n) {
    width: 70%;
}

.boost-mega-menu__skeleton-item:nth-child(3n) {
    width: 90%;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Staggered Animation for Cards */
.boost-mega-menu__card {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.boost-mega-menu__card:nth-child(1) { animation-delay: 0.1s; }
.boost-mega-menu__card:nth-child(2) { animation-delay: 0.2s; }
.boost-mega-menu__card:nth-child(3) { animation-delay: 0.3s; }
.boost-mega-menu__card:nth-child(4) { animation-delay: 0.4s; }
.boost-mega-menu__card:nth-child(5) { animation-delay: 0.5s; }
.boost-mega-menu__card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Items Animation */
.boost-mega-menu__services ul li {
    animation: fadeInLeft 0.4s ease-out;
    animation-fill-mode: both;
}

.boost-mega-menu__services ul li:nth-child(1) { animation-delay: 0.1s; }
.boost-mega-menu__services ul li:nth-child(2) { animation-delay: 0.15s; }
.boost-mega-menu__services ul li:nth-child(3) { animation-delay: 0.2s; }
.boost-mega-menu__services ul li:nth-child(4) { animation-delay: 0.25s; }
.boost-mega-menu__services ul li:nth-child(5) { animation-delay: 0.3s; }
.boost-mega-menu__services ul li:nth-child(6) { animation-delay: 0.35s; }
.boost-mega-menu__services ul li:nth-child(7) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Icon Rotation Animation */
.boost-mega-menu__icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Hover Glow Effect */
.boost-mega-menu__card:hover .boost-mega-menu__icon {
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3), 0 0 20px rgba(30, 136, 229, 0.2);
    animation: iconGlow 0.3s ease-out;
}

@keyframes iconGlow {
    0% {
        box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3), 0 0 20px rgba(30, 136, 229, 0.2);
    }
}

/* Mobile Menu Styles */
.boost-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: #0a0e1a;
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding-bottom: 70px; /* Space for bottom nav */
}

.boost-mobile-menu.active {
    left: 0;
}

.boost-mobile-menu__content {
    padding: 20px;
}

.boost-mobile-menu__close {
    text-align: right;
    margin-bottom: 20px;
}

.close-icon {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.boost-mobile-menu__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boost-mobile-menu__nav ul li {
    margin-bottom: 15px;
}

.boost-mobile-menu__nav ul li a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.boost-mobile-menu__nav ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.boost-mobile-menu__nav ul li.has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boost-mobile-menu__nav ul li.has-submenu > a i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.boost-mobile-menu__nav ul li.has-submenu.active > a i.fa-chevron-down {
    transform: rotate(180deg);
}

.boost-mobile-menu__nav ul.submenu {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
}

.boost-mobile-menu__nav ul.submenu li {
    margin-bottom: 10px;
}

.boost-mobile-menu__auth {
    margin-top: 30px;
}

/* Mobile Bottom Navigation */
.boost-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #0a0e1a;
    display: none;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #1a1f2e;
}

.boost-mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 5px 0;
    width: 25%;
    text-align: center;
}

.boost-mobile-bottom-nav__item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.boost-mobile-bottom-nav__item span {
    font-size: 12px;
}

.boost-mobile-bottom-nav__item.active {
    color: #1e88e5;
}

/* Responsive Styles for Mega Menu */
@media (max-width: 1200px) {
    .boost-mega-menu__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .boost-mega-menu__card {
        padding: 15px;
    }
    
    .boost-mega-menu__icon {
        width: 40px;
        height: 40px;
    }
    
    .boost-mega-menu__icon i {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .desktop-nav, .desktop-only {
        display: none;
    }
    
    .boost-header__mobile-toggle {
        display: block;
    }
    
    .boost-mobile-bottom-nav {
        display: flex;
    }
    
    .boost-header__wrapper {
        justify-content: space-between;
    }
    
    .boost-mega-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .boost-mega-menu__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .boost-mega-menu {
        padding: 20px 0;
    }
    
    .boost-mega-menu__card {
        padding: 12px;
    }
    
    .boost-mega-menu__header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .boost-mega-menu__icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .boost-mega-menu__icon i {
        font-size: 16px;
    }
    
    .boost-mega-menu__title {
        font-size: 16px;
    }
    
    .boost-mega-menu__services ul li a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .boost-mega-menu__grid {
        margin: 0 10px;
    }
    
    .boost-mega-menu__card {
        padding: 10px;
    }
    
    .boost-mega-menu__header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .boost-mega-menu__icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .boost-mega-menu__services ul li a {
        padding: 5px 8px;
    }
}
  /* User Dropdown Styles */
  .user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-toggle {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown-toggle:hover {
    color: #f5f5f5;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 4px;
    margin-top: 5px;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

/* Menampilkan dropdown saat toggle di-klik */
.user-dropdown.active .dropdown-menu {
    display: block;
}
/* Mobile Menu User Info Styles */
.user-info {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
}

.user-profile i {
    font-size: 24px;
    margin-right: 10px;
    color: #fff;
}

.user-name {
    font-weight: 500;
    color: #fff;
    font-size: 16px;
}

.user-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.user-menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}
.user-dropdown .dropdown-menu {
  display: none;
}

.user-dropdown.active .dropdown-menu {
  display: block;
}
