/* ================= RESET & BASE ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* ================= NAVBAR TRANSISI ================= */
#mainNav {
    transition: background-color 0.4s ease, 
                box-shadow 0.4s ease,
                border-radius 0.4s ease,
                padding 0.4s ease,
                top 0.4s ease !important;
    will-change: background-color, box-shadow, border-radius, padding, top;
}

/* Style awal (belum scroll) - NAVBAR DI TENGAH */
#mainNav:not(.scrolled) {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    top: 0px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95% !important;
    max-width: 1400px !important;
    border-radius: 100px !important;
    padding: 20px 35px !important;
    box-shadow: 0 25px 45px rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    animation: navbarBlink 3.5s infinite ease-in-out;
}

/* Style saat di-scroll - NAVBAR FULL WIDTH */
#mainNav.scrolled {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 15px 0 !important;
    background: white !important;
    backdrop-filter: none !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    border: none !important;
}

/* Animasi kedip soft untuk transisi navbar */
@keyframes navbarBlink {
    0% { box-shadow: 0 25px 45px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 28px 50px rgba(255,143,0,0.15); }
    100% { box-shadow: 0 25px 45px rgba(0,0,0,0.1); }
}

/* ================= NAVBAR CONTAINER ================= */
#mainNav .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 35px !important;
    padding-right: 35px !important;
    transition: none !important;
    width: 100%;
}

/* ================= LOGO ================= */
#mainNav .navbar-brand {
    padding: 0 !important;
    position: relative !important;
    transition: none !important;
    transform: none !important;
}

#mainNav .navbar-brand img {
    height: 50px !important;
    width: auto !important;
    transition: transform 0.3s ease !important;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#mainNav .navbar-brand:hover img {
    transform: scale(1.05) !important;
}

#mainNav .navbar-brand span {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ff8f00;
    border-radius: 50%;
    transition: none !important;
}

/* ================= NAVBAR ITEMS ================= */
#mainNav .navbar-nav {
    gap: 8px !important;
    transition: none !important;
}

#mainNav .nav-link,
#mainNav .dropdown-toggle {
    color: #333 !important;
    font-weight: 600 !important;
    margin: 0 3px !important;
    padding: 10px 14px !important;
    position: relative !important;
    border-radius: 50px !important;
    transition: color 0.3s ease !important;
    font-size: 14px !important;
    transform: translateZ(0) !important;
}

#mainNav .nav-link:hover,
#mainNav .dropdown-toggle:hover {
    color: #ff8f00 !important;
}

#mainNav .nav-link.active,
#mainNav .dropdown-toggle.active {
    color: #ff8f00 !important;
    background: linear-gradient(135deg, rgba(255,143,0,0.1), rgba(255,143,0,0.05)) !important;
}

/* Dropdown arrow */
#mainNav .dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 8px;
    vertical-align: middle;
    content: "\f282";
    font-family: "bootstrap-icons";
    border: none;
    font-size: 12px;
    transition: transform 0.3s ease;
}

#mainNav .dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* ================= MODERN DROPDOWN STYLES ================= */
#mainNav .dropdown-modern {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
    padding: 15px 0;
    min-width: 260px;
    background: white;
    margin-top: 15px;
    border: 1px solid rgba(255,143,0,0.1);
}

#mainNav .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mainNav .dropdown-item {
    padding: 12px 25px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 15px;
}

#mainNav .dropdown-item i {
    color: #ff8f00;
    font-size: 0.8rem;
    transition: all 0.3s;
}

#mainNav .dropdown-item:hover {
    background: linear-gradient(90deg, #fff8e7, white);
    color: #ff8f00;
    padding-left: 32px;
}

#mainNav .dropdown-item:hover i {
    transform: translateX(5px);
    color: #ff8f00;
}

/* Hover effect untuk desktop */
@media (min-width: 992px) {
    #mainNav .dropdown:hover .dropdown-modern {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ================= CTA BUTTON ================= */
#mainNav .btn-primary {
    background: linear-gradient(135deg, #22aa3d, #1e8a33) !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 12px 25px rgba(34,170,61,0.25) !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    transition: box-shadow 0.3s ease !important;
    transform: translateZ(0) !important;
    will-change: box-shadow !important;
}

#mainNav .btn-primary span:last-child {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease !important;
}

#mainNav .btn-primary:hover {
    box-shadow: 0 18px 30px rgba(34,170,61,0.35) !important;
    transform: translateY(-3px) !important;
}

#mainNav .btn-primary:hover span:last-child {
    left: 100% !important;
}

/* ================= SEARCH BAR ================= */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.search-icon-btn:hover { 
    background: rgba(255,143,0,0.1); 
    color: #ff8f00; 
}

.search-input {
    max-width: 0 !important;
    width: auto !important;
    overflow: hidden !important;
    border: none !important;
    border-bottom: 2px solid #ff8f00 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 4px 0 !important;
    font-size: 0.85rem;
    color: #333;
    transition: max-width 0.4s ease, padding 0.4s ease !important;
}

.search-input::placeholder { color: #bbb; }

.search-wrapper.open .search-input {
    max-width: 160px !important;
    padding: 4px 8px !important;
}

.btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ff8f00;
    z-index: 10;
}

.btn-search:hover { color: #e67e00; }

/* ================= LANGUAGE SWITCHER ================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 3px 5px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 15px;
    color: #555;
    font-weight: 700;
    font-size: 0.73rem;
    transition: all 0.2s;
    letter-spacing: 0.05em;
}

.lang-btn.active {
    background: #ff8f00;
    color: #fff;
    box-shadow: 0 2px 6px rgba(255,143,0,0.4);
}

/* Fallback untuk class lama */
.btn-lang {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.btn-lang:hover {
    background: #fff8e7;
    border-color: #ff8f00;
    color: #ff8f00;
}

/* ================= AUTH BUTTONS ================= */
.btn-auth {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
    display: inline-block;
}

.btn-register {
    border: 2px solid #ff8f00;
    color: #ff8f00;
    background: transparent;
}

.btn-register:hover {
    background: #ff8f00;
    color: #fff;
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    border: 2px solid #ff8f00;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #ff8f00;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #ff8f00;
    color: white;
    transform: translateY(-2px);
}

/* ================= USER DROPDOWN ================= */
.btn-user {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #2e7d32;
}

.btn-user:hover {
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
}

/* ================= DIVIDER ================= */
.nav-divider {
    width: 1px;
    height: 20px;
    background: #e0e0e0;
    margin: 0 4px;
}

/* ================= HERO SECTION ================= */
#heroCarousel {
    margin-top: 0px;
}

.hero-slide {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: #ff8f00;
    display: block;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 30px;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    background: rgba(255,255,255,0.5) !important;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: #ff8f00 !important;
    transform: scale(1.2);
}

/* ================= FOOTER ================= */
footer {
    font-size: 14px;
}

footer h5 {
    font-size: 17px !important;
    letter-spacing: 0.5px;
}

footer p,
footer li,
footer span:not(.fs-5),
footer .text-white-50 {
    font-size: 14px !important;
    line-height: 1.5;
}

footer a:not(.social-links a) {
    font-size: 14px !important;
}

footer .bi-geo-alt-fill,
footer .bi-telephone-fill,
footer .bi-whatsapp,
footer .bi-envelope-fill {
    font-size: 16px !important;
}

footer .social-links i {
    font-size: 20px !important;
}

footer .copyright-text,
footer .small,
footer [class*="small"] {
    font-size: 12px !important;
}

footer .py-3 .col-md-6 a {
    font-size: 11px !important;
    letter-spacing: 0.3px;
}

footer .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

footer .mb-3 {
    margin-bottom: 0.75rem !important;
}

footer .mt-4 {
    margin-top: 1rem !important;
}

footer ul li {
    margin-bottom: 6px !important;
}

/* ================= RESPONSIVE MOBILE (992px ke bawah) ================= */
@media (max-width: 991px) {
    /* Navbar Container */
    #mainNav .container-fluid {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Navbar Position */
    #mainNav,
    #mainNav:not(.scrolled) {
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        padding: 15px 0 !important;
        background: white !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: 0 5px 25px rgba(0,0,0,0.08) !important;
        animation: none !important;
    }
    
    #mainNav.scrolled {
        padding: 12px 0 !important;
    }
    
    /* Logo */
    #mainNav .navbar-brand img {
        height: 45px !important;
    }
    
    /* Toggler */
    #mainNav .navbar-toggler {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #mainNav .navbar-toggler-icon {
        width: 24px;
        height: 24px;
    }
    
    /* Collapse Menu */
    #mainNav .navbar-collapse {
        background: white;
        padding: 25px;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: 0 25px 40px rgba(0,0,0,0.12);
        max-height: 75vh;
        overflow-y: auto;
        width: 100%;
        box-sizing: border-box;
        animation: menuFade 0.35s ease;
    }
    
    @keyframes menuFade {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Nav Items */
    #mainNav .navbar-nav {
        width: 100%;
        gap: 8px;
    }
    
    #mainNav .nav-item {
        width: 100%;
        margin: 4px 0 !important;
    }
    
    #mainNav .nav-link,
    #mainNav .dropdown-toggle {
        margin: 0 !important;
        padding: 15px 20px !important;
        border-radius: 15px;
        width: 100%;
        background: #f8f9fa;
        font-size: 16px;
    }
    
    /* Dropdown Mobile */
    #mainNav .dropdown-modern {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0 0 0 20px !important;
        background: transparent !important;
        margin: 8px 0 !important;
        border: none !important;
    }
    
    #mainNav .dropdown-modern.show {
        display: block !important;
    }
    
    #mainNav .dropdown-item {
        padding: 14px 20px !important;
        border-radius: 12px;
        font-size: 15px;
        background: white;
        margin: 4px 0;
        box-shadow: 0 3px 8px rgba(0,0,0,0.03);
    }
    
    #mainNav .dropdown-toggle::after {
        font-size: 14px;
    }
    
    #mainNav .dropdown-toggle.show::after {
        transform: rotate(180deg);
    }
    
    /* Button Mobile */
    #mainNav .btn-primary {
        margin-top: 15px;
        width: 100%;
        text-align: center;
        padding: 15px !important;
        font-size: 16px;
        display: block !important;
    }
    
    #mainNav .btn-primary.d-none.d-lg-inline-block {
        display: block !important;
    }
    
    /* Search & Auth Group Mobile */
    .navbar-end-group {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 10px 0;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
        width: 100%;
    }
    
    .search-wrapper,
    .language-switcher,
    .btn-login,
    .user-dropdown {
        margin: 8px 0;
        width: 100%;
    }
    
    .search-wrapper.open .search-input { 
        max-width: 200px !important; 
    }
    
    .btn-auth,
    .btn-login,
    .btn-user,
    .btn-lang {
        width: 100%;
        text-align: center;
    }
    
    .lang-switcher { 
        width: fit-content; 
    }
    
    .nav-divider { 
        display: none !important; 
    }
    
    /* Hero Mobile */
    #heroCarousel {
        margin-top: 85px;
    }
    
    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* Footer Mobile */
    footer h5 {
        font-size: 16px !important;
    }
    
    footer p,
    footer li,
    footer span:not(.fs-5) {
        font-size: 13px !important;
    }
    
    footer .social-links i {
        font-size: 18px !important;
    }
}

/* ================= RESPONSIVE PHONE (576px ke bawah) ================= */
@media (max-width: 576px) {
    .hero-slide {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .btn-lg {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}

/* ================= RESPONSIVE DESKTOP LARGE (1200px ke bawah) ================= */
@media (max-width: 1200px) {
    .search-input {
        width: 150px;
    }
    .search-input:focus {
        width: 200px;
    }
}

/* ================= UTILITIES ================= */
.overflow-hidden {
    overflow: hidden;
}

/* ================= iPAD PAKAI MOBILE STYLE - TAPI DIPERBAGUS ================= */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Tombol toggler yang lebih keren */
    #mainNav .navbar-toggler {
        display: flex !important;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, #f8f9fa, #fff);
        border: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        align-items: center;
        justify-content: center;
    }
    
    #mainNav .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff8f00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
        width: 24px;
        height: 24px;
    }
    
    /* Menu dropdown yang keluar - lebih premium */
    #mainNav .navbar-collapse {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 15px !important;
        right: 15px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        padding: 20px !important;
        border-radius: 24px !important;
        box-shadow: 0 30px 50px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,143,0,0.1) !important;
        z-index: 1050 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        animation: slideDown 0.3s ease !important;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    #mainNav .navbar-collapse.show {
        display: block !important;
    }
    
    /* Nav items - lebih rapi dan modern */
    #mainNav .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }
    
    #mainNav .nav-item {
        width: 100% !important;
        margin: 0 !important;
    }
    
    #mainNav .nav-link,
    #mainNav .dropdown-toggle {
        width: 100% !important;
        padding: 14px 18px !important;
        background: #f8f9fa !important;
        border-radius: 16px !important;
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        transition: all 0.2s ease !important;
        border: 1px solid transparent !important;
    }
    
    #mainNav .nav-link:hover,
    #mainNav .dropdown-toggle:hover {
        background: #fff8e7 !important;
        border-color: rgba(255,143,0,0.3) !important;
        color: #ff8f00 !important;
        transform: translateX(5px) !important;
    }
    
    /* Dropdown arrow yang lebih bagus */
    #mainNav .dropdown-toggle::after {
        margin-left: auto !important;
        content: "\f282" !important;
        font-family: "bootstrap-icons" !important;
        border: none !important;
        font-size: 14px !important;
        transition: transform 0.3s ease !important;
    }
    
    #mainNav .dropdown-toggle.show::after {
        transform: rotate(180deg) !important;
    }
    
    /* Dropdown menu items - tampilan modern */
    #mainNav .dropdown-modern {
        position: relative !important;
        display: none !important;
        box-shadow: none !important;
        padding: 8px 0 8px 20px !important;
        background: transparent !important;
        margin-top: 8px !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    #mainNav .dropdown-modern.show {
        display: block !important;
    }
    
    #mainNav .dropdown-item {
        padding: 12px 18px !important;
        border-radius: 14px !important;
        font-size: 14px !important;
        background: white !important;
        margin: 6px 0 !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
        border: 1px solid #f0f0f0 !important;
        transition: all 0.2s ease !important;
    }
    
    #mainNav .dropdown-item:hover {
        background: linear-gradient(90deg, #fff8e7, white) !important;
        border-color: #ff8f00 !important;
        transform: translateX(8px) !important;
        color: #ff8f00 !important;
    }
    
    #mainNav .dropdown-item i {
        margin-right: 10px !important;
        font-size: 16px !important;
        color: #ff8f00 !important;
    }
    
    /* CTA Button */
    #mainNav .btn-primary {
        width: 100% !important;
        margin-top: 15px !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
        text-align: center !important;
        background: linear-gradient(135deg, #22aa3d, #1e8a33) !important;
        box-shadow: 0 8px 20px rgba(34,170,61,0.3) !important;
    }
    
    /* Search & Auth Section - lebih terintegrasi */
    .navbar-end-group {
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 2px solid rgba(255,143,0,0.1) !important;
        gap: 12px !important;
    }
    
    /* Search wrapper premium */
    .search-wrapper {
        background: #f8f9fa !important;
        border-radius: 50px !important;
        padding: 5px 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .search-icon-btn {
        background: none !important;
        color: #ff8f00 !important;
        font-size: 18px !important;
        padding: 8px !important;
    }
    
    .search-input {
        flex: 1 !important;
        max-width: none !important;
        background: transparent !important;
        border: none !important;
        padding: 8px 0 !important;
        font-size: 14px !important;
    }
    
    .search-wrapper.open .search-input {
        max-width: 100% !important;
        padding: 8px 12px !important;
    }
    
    /* Language switcher premium */
    .lang-switcher {
        background: #f8f9fa !important;
        border-radius: 50px !important;
        padding: 8px !important;
        justify-content: center !important;
        width: fit-content !important;
        margin: 0 auto !important;
    }
    
    .lang-btn {
        padding: 6px 16px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }
    
    /* Auth buttons premium */
    .btn-auth,
    .btn-login {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 50px !important;
    }
    
    .btn-login {
        background: linear-gradient(135deg, #fff8e7, white) !important;
        border: 2px solid #ff8f00 !important;
        color: #ff8f00 !important;
    }
    
    .btn-login:hover {
        background: #ff8f00 !important;
        color: white !important;
    }
    
    /* Divider hide */
    .nav-divider {
        display: none !important;
    }
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 15px;
    color: #555;
    font-weight: 700;
    font-size: 0.73rem;
    transition: all 0.2s ease;  /* tambahkan ease */
    letter-spacing: 0.05em;
}

.lang-btn.active {
    background: #ff8f00;
    color: #fff;
    box-shadow: 0 2px 6px rgba(255,143,0,0.4);
}




/* ================= SEARCH MODAL STYLES ================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-modal {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 50px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s ease;
}

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

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    background: white;
}

.search-modal-header h5 {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.search-modal-header h5 i {
    color: #ff8f00;
    margin-right: 10px;
}

.close-search {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.close-search:hover {
    background: #ff8f00;
    color: white;
    transform: rotate(90deg);
}

.search-modal-body {
    padding: 25px;
    background: white;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-input-wrapper i:first-child {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8f00;
    font-size: 1.2rem;
    z-index: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    border: 2px solid #f0f0f0;
    border-radius: 60px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8f9fa;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #ff8f00;
    background: white;
    box-shadow: 0 0 0 4px rgba(255,143,0,0.1);
}

.clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    display: none;
    font-size: 1rem;
}

.clear-search.visible {
    display: block;
}

.clear-search:hover {
    color: #ff8f00;
}

/* Search Filters */
.search-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-btn {
    padding: 8px 18px;
    border: 1.5px solid #e0e0e0;
    background: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.filter-btn:hover {
    border-color: #ff8f00;
    color: #ff8f00;
}

.filter-btn.active {
    background: #ff8f00;
    border-color: #ff8f00;
    color: white;
}

/* Loading Spinner */
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: #ff8f00;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff8f00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Search Results */
.search-results {
    max-height: 450px;
    overflow-y: auto;
}

.results-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.results-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.result-item {
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    background: white;
}

.result-item:hover {
    border-color: #ff8f00;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.result-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ff8f00;
}

.result-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.result-title mark {
    background: #fff3e0;
    color: #ff8f00;
    padding: 0;
}

.result-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.result-excerpt mark {
    background: #fff3e0;
    color: #ff8f00;
    padding: 0;
}

.result-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.7rem;
    color: #999;
}

.result-meta i {
    margin-right: 4px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .search-modal {
        width: 95%;
        border-radius: 24px;
    }
    
    .search-modal-body {
        padding: 18px;
    }
    
    .search-filters {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .result-title {
        font-size: 0.95rem;
    }
}