/* Navbar Base Styles */
.digimentor-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: white;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

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

/* Logo Styles */
.navbar-logo img {
    height: 40px;
    width: auto;
}

/* Desktop Menu Styles */
.navbar-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 2.5rem;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0.25rem;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.navbar-menu a span {
    position: relative;
    z-index: 10;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1e3a8a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-menu a:hover {
    color: #1e3a8a;
}

.navbar-menu a:hover::after {
    transform: scaleX(1);
}

/* Right Side Content */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Social Icons Desktop */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #f3f4f6;
}

/* Desktop social icons - icon size terpisah dari container */
.social-icons a i,
.social-icons a svg {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* CTA Button */
.cta-button {
    background-color: #1e3a8a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
    margin-left: 0.5rem;
}

.cta-button:hover {
    background-color: #1e40af;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: inline-block;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    margin-top: 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.mobile-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-items a {
    font-weight: 500;
    color: #374151;
    text-decoration: none;
}

.mobile-menu-text {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.mobile-menu-footer {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Fix untuk mobile social icons */
.mobile-menu-footer .social-icons {
    gap: 1.5rem;
}

/* Mobile social icons - konsisten dengan desktop */
.mobile-menu-footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
}

.mobile-menu-footer .social-icons a:hover {
    background: none;
}

/* Mobile social icons - icon size terpisah dari container */
.mobile-menu-footer .social-icons a i,
.mobile-menu-footer .social-icons a svg {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-cta {
    margin-left: auto;
}

/* Responsive Styles */
@media (min-width: 1024px) {
    .desktop-menu {
        display: flex !important;
    }
    
    .desktop-only {
        display: flex !important;
    }
    
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .desktop-menu {
        display: none !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-block !important;
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Navbar scroll effect */
.digimentor-navbar.scrolled {
    background-color: #f9fafb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}