:root {
    --primary-red: #e63946;
    --primary-blue: #000cf7;
    --primary-yellow: #ffb703;
    --bg-light: #fafbfc;
    --bg-gray: #f1f3f5;
    --text-dark: #1e293b;
    --text-gray: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* === GAYA UMUM YANG DIPERLUKAN === */
.fancy-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.line-blue { display: inline-block; width: 30px; height: 2.5px; background-color: var(--primary-blue); border-radius: 2px; }
.line-red { display: inline-block; width: 30px; height: 2.5px; background-color: var(--primary-red); border-radius: 2px; }

/* --- NAVBAR --- */
.navbar-wrapper {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1280px;
    border-radius: 50px; 
    padding: 3px; 
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue), var(--primary-red), var(--primary-blue));
    background-size: 300% 100%;
    animation: gradientBorderMove 4s linear infinite;
    z-index: 1000;
    transition: all 0.3s ease;
}

@keyframes gradientBorderMove {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.navbar {
    width: 100%;
    background-color: rgba(241, 243, 245, 0.85); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border-radius: 47px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(241, 243, 245, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 38px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary-red);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.btn-join {
    text-decoration: none;
    color: var(--text-dark);
    padding: 10px 24px;
    background-color: #ffffff;
    border: 2px solid var(--primary-yellow);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(255, 183, 3, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-join:hover {
    background-color: var(--primary-yellow);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 183, 3, 0.4);
}

.mobile-only { display: none; }
.nav-logo-link { text-decoration: none; color: inherit; display: flex; align-items: center; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001; 
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 991px) {
    .nav-container { padding: 10px 20px; }
    .nav-menu, .desktop-only { display: none; }
    .menu-toggle { display: flex; }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: rgba(241, 243, 245, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-align: center;
        gap: 20px;
        animation: slideDownMenu 0.4s ease forwards;
        z-index: 999;
    }

    .nav-menu.active .mobile-only { display: block; margin-top: 10px; }
    
    @keyframes slideDownMenu {
        from { opacity: 0; transform: translateY(-15px); }
        to { opacity: 1; transform: translateY(0); }
    }
}


/* =========================================================
   === MANAGEMENT PAGE CUSTOM DESAIN DESAIN TERGABUNG ===
   ========================================================= */

.mgmt-wrapper {
    padding-top: 130px;
}

/* HERO SECTION MANAGEMENT */
.mgmt-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 60px 20px 50px 20px;
    text-align: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.mgmt-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.mgmt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.mgmt-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mgmt-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* SEARCH BOX */
.mgmt-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.mgmt-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.1rem;
}

.mgmt-search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.mgmt-search-box input::placeholder {
    color: #94a3b8;
}

.mgmt-search-box input:focus {
    border-color: var(--primary-yellow);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.25);
}

/* QUICK NAV TABS */
.mgmt-nav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tab-btn {
    text-decoration: none;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* SECTION COMMON STYLES */
.mgmt-section {
    padding: 70px 20px;
}

.mgmt-section.bg-alt {
    background-color: var(--bg-gray);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 5px;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto;
}

.group-block {
    margin-bottom: 45px;
}

.group-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.group-title i {
    color: var(--primary-blue);
}

/* CARD GRID LAYOUT */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.card-grid.cols-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card-grid.cols-2 {
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
}

.col-span-2 {
    grid-column: span 2;
}

/* MANAGEMENT CARD DESIGN */
.mgmt-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mgmt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.mgmt-card.highlight-card {
    border: 2px solid var(--primary-yellow);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.card-badge.bg-gold {
    background: #d97706;
}

/* CARD ICONS */
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.icon-red { background: #fef2f2; color: var(--primary-red); }
.icon-blue { background: #eff6ff; color: var(--primary-blue); }
.icon-yellow { background: #fffbeb; color: #d97706; }
.icon-purple { background: #faf5ff; color: #9333ea; }
.icon-green { background: #f0fdf4; color: #16a34a; }
.icon-pink { background: #fdf2f8; color: #db2777; }

.mgmt-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.mgmt-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* CARD FEATURES LIST */
.card-features {
    list-style: none;
    margin-bottom: 20px;
}

.card-features li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-features li i {
    color: #16a34a;
    font-size: 0.8rem;
}

.joki-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.joki-badges span {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.joki-badges span i {
    color: var(--primary-blue);
}

/* CARD BUTTONS */
.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 18px;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.card-btn:hover {
    background-color: var(--primary-red);
    color: #ffffff;
}

.card-btn.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.card-btn.btn-primary:hover {
    background-color: #000ab8;
    box-shadow: 0 4px 12px rgba(0, 12, 247, 0.3);
}

/* RESPONSIVE DESIGN MANAGEMENT */
@media (max-width: 991px) {
    .col-span-2 {
        grid-column: span 1;
    }
    .card-grid.cols-2, .card-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    .mgmt-title {
        font-size: 1.8rem;
    }
}


/* --- FOOTER (PERSIS TANPA UBAHAN) --- */
.footer-section {
    background-color: #0b0f19; color: #ffffff; padding: 70px 40px 30px 40px; margin-top: 60px;
    border-top-left-radius: 40px; border-top-right-radius: 40px;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 50px; align-items: start; }
.footer-logos-col { display: flex; flex-direction: column; gap: 30px; }
.footer-logo-card {
    background: #ffffff; border-radius: 20px; padding: 15px; width: 100%; height: 150px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.footer-logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.footer-col-group { display: flex; flex-direction: column; gap: 50px; }
.footer-title { color: #ffffff; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 15px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-left: 15px; }
.footer-links li { position: relative; }
.footer-links li::before { content: "•"; position: absolute; left: -15px; color: #ffffff; }
.footer-links a { text-decoration: none; color: #94a3b8; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-yellow); }
.social-icons-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
.social-icon-btn {
    width: 45px; height: 45px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #ffffff;
    font-size: 1.2rem; transition: all 0.3s ease; text-decoration: none;
}
.social-icon-btn:hover { background-color: var(--primary-yellow); color: var(--text-dark); border-color: var(--primary-yellow); transform: translateY(-3px); }
.footer-bottom-bar {
    text-align: center; margin-top: 60px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #64748b; font-size: 0.85rem;
}

/* RESPONSIVE LAYOUT UNTUK FOOTER */
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-logos-col { flex-direction: row; justify-content: center; }
    .footer-logo-card { width: 140px; height: 140px; }
    .footer-col-group { gap: 35px; }
    .footer-section { padding: 40px 20px 20px 20px; }
}

/* NAVBAR CENTER REVISI */
.nav-container-center {
    justify-content: center !important;
}

/* GRUP TOMBOL GANDA (DAFTAR & JOIN WA) */
.card-actions-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.center-actions {
    justify-content: center;
}

.card-btn.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.card-btn.btn-whatsapp:hover {
    background-color: #1eb856;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* FREELANCE SINGLE CARD STYLES */
.freelance-single-card {
    text-align: center;
    padding: 35px 25px;
}

.freelance-single-card .card-icon {
    margin: 0 auto 20px auto;
}

.freelance-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 30px 0;
}

.freelance-tags span {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.btn-instagram {
    background: #E1306C;
    color: #fff;
    border: none;
}

.btn-instagram:hover {
    background: #C13584;
    color: #fff;
}