/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Karir.com Inspired Palette */
    --primary: #1e5faf;
    /* Deep Blue Header */
    --primary-dark: #154687;
    /* Darker Blue */
    --primary-light: #eff6ff;
    --accent-blue: #3b82f6;
    /* Bright Blue for buttons/highlights */

    --bg-body: #f8fafc;
    --bg-card: #ffffff;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border: #e2e8f0;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header - Modern White Style */
header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
    /* Lebih ramping */
    max-width: 1440px;
    /* Lebih lebar untuk layar besar */
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 3rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    margin-right: auto;
    /* Push to left */
}

.nav-links a {
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Right Side Actions */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link-employer {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: white;
    border-color: #cbd5e1;
    color: #334155;
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Blue Search Section (Karir Style) */
.blue-search-section {
    background: #1e5faf;
    /* Karir Blue */
    padding: 1rem 0;
    color: white;
    border-bottom: 4px solid #164e96;
    /* Depth effect */
}

.search-container-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left then gap handles spacing */
    padding: 0 1.5rem;
}

.search-label {
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    margin-right: 2rem;
    flex-shrink: 0;
}

/* Horizontal Search Form */
.search-form-flat {
    display: flex;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
    max-width: 900px;
    height: 3rem;
    /* Compact height */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0;
    padding: 0 1rem;
    position: relative;
    background: white;
}

.search-input-group svg {
    color: #94a3b8;
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-input-flat {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: #334155;
    padding: 0.5rem 0;
}

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

.search-btn-flat {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0 2.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
}

.search-btn-flat:hover {
    background: #2563eb;
}

/* Hero Banner Slider Placeholder */
.banner-section {
    padding: 2rem 0;
    background: white;
}

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

.banner-placeholder {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    border-radius: 12px;
    height: 320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    /* Pattern overlay */
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}


/* Responsive Search Helper */
@media (max-width: 768px) {
    .mobile-hide-search {
        display: none !important;
    }

    .search-btn-flat {
        width: auto !important;
        padding: 0 1.5rem !important;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .search-input-flat {
        font-size: 0.9rem;
    }

    .search-input-group {
        border-right: none !important;
    }

    .banner-placeholder {
        height: 250px;
    }

    .banner-content-mock h2 {
        font-size: 1.5rem !important;
    }
}

/* Banner Controls */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    user-select: none;
    z-index: 10;
}

.banner-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.banner-nav.prev {
    left: 1.5rem;
}

.banner-nav.next {
    right: 1.5rem;
}

.banner-dots {
    position: absolute;
    bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: var(--accent-blue);
    width: 24px;
    border-radius: 10px;
}

.dot:hover {
    background: white;
}

/* Job Card Premium */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.job-card {
    background: white;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-blue);
    opacity: 0;
    transition: opacity 0.2s;
}

.job-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

.job-card:hover::before {
    opacity: 1;
}

.job-header {
    margin-bottom: 1rem;
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    font-size: 1.25rem;
    margin-right: 1rem;
    background: #f1f5f9;
}

.job-title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    line-height: 1.3;
}

.job-card:hover .job-title {
    color: var(--accent-blue);
}

.detail-item {
    font-size: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

/* Blue Promo Section (Bottom) */
.promo-blue-section {
    background: #1e5faf;
    /* Match search section */
    padding: 3rem 0 4rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Particles/Dots Background pattern for Blue Section */
.promo-blue-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: -1;
}

.promo-title {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.promo-cards-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.promo-card-blur {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 260px;
    height: 190px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.promo-card-blur:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.blur-line {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    width: 70%;
}

.blur-line.short {
    width: 40%;
}

.blur-line.long {
    width: 90%;
}

.btn-white-action {
    background: white;
    color: #1e5faf;
    font-weight: 800;
    padding: 0.85rem 4rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

/* Content Lists */
.features-section,
.companies-section,
.job-grid-section {
    padding: 4rem 0;
    background: white;
}

/* Utilities */
.mb-large {
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.fw-bold {
    font-weight: 700;
}

.text-primary {
    color: var(--accent-blue);
}

/* Responsive */
@media (max-width: 900px) {
    .promo-cards-row {
        gap: 1rem;
    }

    .promo-card-blur:nth-child(3),
    .promo-card-blur:nth-child(4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        margin: 0;
        gap: 1rem;
    }

    .search-container-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-label {
        margin: 0;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .search-form-flat {
        flex-direction: column;
        height: auto;
    }

    .search-input-group {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 0.75rem;
    }


    .search-btn-flat {
        padding: 1rem;
        width: 100%;
    }
}


/* Job Detail Premium */
.job-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.job-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
    pointer-events: none;
}

.company-logo-large {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.job-title-large {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.job-company-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.badge-pill {
    background: white;
    border: 1px solid #cbd5e1;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-wrapper {
    max-width: 900px;
    margin: -3rem auto 4rem;
    position: relative;
    z-index: 10;
    padding: 0 1.5rem;
}

.job-card-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 700;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 2rem 0 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.description-text {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #475569;
    line-height: 1.6;
}

.check-icon {
    min-width: 24px;
    height: 24px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* Authentication Pages */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at top left, #eff6ff 0%, #f8fafc 100%);
    position: relative;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border: 1px solid white;
    position: relative;
    z-index: 10;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-blue);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Footer Premium Styles */
.footer-dark {
    background: #0f172a;
    color: #94a3b8;
    padding: 6rem 0 3rem;
    border-top: 1px solid #1e293b;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    /* Subtle Grid Pattern */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Optional: Slight glow effect background */
.footer-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.footer-brand h5 {
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    background-clip: text;
    /* Standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-desc {
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 340px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.footer-newsletter {
    margin-bottom: 2rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 340px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-input-group:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.6rem 1rem;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #94a3b8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px) rotate(3deg);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
    position: relative;
    display: inline-block;
}

/* Underline effect for headings */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: width 0.3s;
}

.footer-heading:hover::after {
    width: 40px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

/* Arrow indicator on hover */
.footer-links a span {
    position: relative;
    transition: transform 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover span {
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #64748b;
}

.footer-legal a {
    color: #64748b;
    margin-left: 2rem;
    transition: 0.2s;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #cbd5e1;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal a {
        margin: 0 0.75rem;
    }
}

/* HOTFIX HEADER LAYOUT */
.navbar-fixed {
    height: 72px;
    display: flex;
    align-items: center;
}

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    max-width: 250px;
}

.logo img {
    height: 40px !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    margin: 0;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    white-space: nowrap;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0 20px;
}

.nav-links a {
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo span {
        display: none;
    }
}


/* MODERN PREMIUM HEADER */
.navbar-fixed {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    height: 80px !important;
    transition: all 0.3s ease;
}

.container.navbar {
    max-width: 1280px;
    padding: 0 2rem;
}

/* Logo Modernization */
.logo {
    gap: 14px;
}

.logo img {
    height: 42px !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.logo span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

/* Nav Links - Pill Style */
.nav-links {
    background: rgba(241, 245, 249, 0.5);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    gap: 4px !important;
}

.nav-links a {
    padding: 8px 20px;
    border-radius: 40px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.nav-links a.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    font-weight: 700;
}

.nav-links a.active::after {
    display: none !important;
}

/* Remove old underline */

/* Buttons Polishing */
.btn-outline {
    border: 2px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 12px;
}

.btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}


/* =========================================
   FINISHING & POLISH (PREMIUM UI KIT)
   ========================================= */

/* 1. Global Reset & Smoothness */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --bg-soft: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    background-color: var(--bg-soft);
    color: var(--text-main);
}

::selection {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-dark);
}

/* 2. Enhanced Card Styles (Glass & Depth) */
.job-card {
    border: 1px solid white !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
}

.job-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
    background: white !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

/* 3. Refined Search Bar */
.search-bar-content {
    background: white !important;
    border: none !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
    padding: 1rem !important;
    border-radius: 20px !important;
}

.search-bar-content input {
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 1rem !important;
    padding: 1rem 1.25rem !important;
    border-radius: 12px !important;
    transition: all 0.3s;
}

.search-bar-content input:focus {
    background: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

/* 4. Banner Typography Popup */
.banner-content-mock h2 {
    letter-spacing: -0.04em !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 5. Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 6. Footer Polish */
.footer-links a {
    transition: padding-left 0.2s ease;
}

.footer-links a:hover {
    padding-left: 5px;
    color: white !important;
}


/* AUTH BUTTONS FIX */
.nav-link-employer {
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    margin-right: 1.5rem;
    text-decoration: none;
    border: none !important;
    /* Remove old border */
}

.nav-link-employer:hover {
    color: #1e293b;
}

.nav-link-login {
    color: #1e293b;
    /* Lebih gelap dikit dari employer */
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-right: 0.5rem;
}

.nav-link-login:hover {
    color: var(--primary);
}

.auth-buttons .btn-primary {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.95rem !important;
}


/* EXACT REFERENCE MATCHING UI */

/* 1. Container Navigasi (Kapsul Panjang Abu-abu) */
.nav-links {
    background-color: #f1f5f9 !important;
    /* Warna abu-abu background */
    padding: 6px 8px !important;
    border-radius: 99px !important;
    /* Kapsul Penuh */
    display: inline-flex !important;
    gap: 4px !important;
    border: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    /* Slight depth */
}

/* 2. Link Biasa */
.nav-links a {
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 8px 20px !important;
    border-radius: 99px !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.nav-links a:hover {
    color: #334155 !important;
    background: rgba(255, 255, 255, 0.5) !important;
}

/* 3. Link Aktif (Putih Kapsul) */
.nav-links a.active {
    background-color: #ffffff !important;
    color: #2563eb !important;
    /* Biru Primary */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    font-weight: 700 !important;
}

/* 4. Auth Buttons Alignment */
.auth-buttons {
    margin-left: auto;
    /* Push to right if flex container allows */
    gap: 1.5rem !important;
}


/* FORCE ACTIVE STATE STYLE */
.nav-links a.active {
    background-color: #ffffff !important;
    color: #2563eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    font-weight: 700 !important;
}


/* MARQUEE ANIMATION (LOGO BERJALAN) */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
    background: white;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.partner-logo {
    height: 40px;
    margin: 0 40px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* FEATURED JOB HIGHLIGHT */
.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
    z-index: 10;
}


/* FIX MARQUEE & CARDS */

.marquee-container {
    background: white;
    padding: 3rem 0;
    position: relative;
    /* Efek Fading di Kiri & Kanan */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    /* Jarak antar logo lebih konsisten */
    animation: marquee 40s linear infinite;
    /* Lebih pelan biar elegan */
    width: max-content;
}

.partner-logo {
    height: 32px;
    /* Perkecil sedikit biar rapi */
    width: auto;
    object-fit: contain;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.1);
}

/* Fix Featured Cards Layout */
.job-card {
    height: 100%;
    /* Agar tinggi kartu seragam */
    display: flex;
    flex-direction: column;
}

.featured-badge {
    top: 15px !important;
    /* Turunkan dikit biar ga nempel tepi atas screenshoot */
    right: 15px !important;
}


/* SUPER POLISH - FEATURED CARDS */
.job-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    background: white;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

/* Tombol Detail lebih menarik */
.btn-outline {
    border: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eff6ff;
}

/* Perbaikan Marquee agar Logo Center Vertical */
.marquee-container {
    display: flex;
    align-items: center;
    /* Pastikan vertikal center */
    padding: 2.5rem 0;
}


/* FINAL POLISH - FEATURED CARDS V2 */

/* Kontainer Kartu yang Lebih Lega */
.job-card {
    position: relative;
    /* Penting untuk badge absolute */
    padding: 2rem !important;
    /* Padding lebih besar */
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Hover Effect yang Elegan */
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    /* Bayangan lembut tapi luas */
    border-color: #cbd5e1;
}

/* Badge 'Segera Tutup' yang Benar */
.featured-badge {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    z-index: 20;
    pointer-events: none;
    /* Agar tidak mengganggu klik */
}

/* Perbaiki Layout Header Kartu */
.job-card>div:first-child {
    margin-right: 20px;
    /* Beri ruang agar tidak nabrak logo jika panjang */
}

/* Typography Judul */
.job-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

/* Nama Perusahaan */
.job-company {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Tombol Action Lebih Modern */
.btn-outline {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}


/* TESTIMONIALS IMPROVEMENT */
.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.testimonial-quote-icon {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: serif;
    font-size: 6rem;
    line-height: 1;
    color: #cbd5e1;
    opacity: 0.2;
    pointer-events: none;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* CTA SECTION PREMIUM */
.cta-premium {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-circle-decor {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.btn-cta-glow {
    background: white;
    color: #2563eb;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-cta-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}


/* FRESH HERO SECTION LOOK */
.hero-fresh {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: #ffffff;
}

/* Abstract Background Blobs */
.blob-decor {
    position: absolute;
    filter: blur(80px);
    /* Efek blur kuat untuk background halus */
    z-index: 0;
    opacity: 0.6;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #e0e7ff;
    /* Indigo lembut */
    top: -100px;
    right: -100px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-float 10s infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #dbeafe;
    /* Biru lembut */
    bottom: 50px;
    left: -50px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-float 8s infinite alternate-reverse;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, 50px) rotate(20deg);
    }
}

/* Typography Hero Fresh */
.hero-title-fresh {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle-fresh {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Image/Illustration Container */
.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-main-img {
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-main-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Feature Cards Paste (Warna-warni lembut) */
.feature-card-fresh {
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card-fresh:hover {
    transform: translateY(-5px);
}

.fc-blue {
    background: #eff6ff;
    border-color: #dbeafe;
}

.fc-green {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.fc-purple {
    background: #faf5ff;
    border-color: #f3e8ff;
}


/* VOCATIONAL / SMK THEME */
.hero-vocational {
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    /* Pattern Grid Teknik */
}

/* Aksen Garis Industri */
.industrial-accent {
    position: absolute;
    height: 8px;
    background: repeating-linear-gradient(45deg, #f59e0b, #f59e0b 10px, #fbbf24 10px, #fbbf24 20px);
    width: 200px;
    bottom: 0;
    left: 0;
}

/* Feature Card SMK Style */
.feature-card-smk {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card-smk:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary);
}

.fc-smk-icon {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card-smk:hover .fc-smk-icon {
    background: var(--primary);
    color: white;
}


/* FIX USER DROPDOWN NAVBAR */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.btn-user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px 12px 6px 6px;
    /* Padding kiri lebih kecil biar avatar nempel */
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-user-profile:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-name-text {
    font-size: 0.9rem;
    color: #334155;
    font-weight: 600;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Menu Content */
.dropdown-content {
    display: none;
    /* Default hidden */
    position: absolute;
    right: 0;
    top: 120%;
    /* Sedikit di bawah tombol */
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    z-index: 1000;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.dropdown-content.show {
    display: block;
}

.dropdown-header {
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dropdown-header strong {
    display: block;
    color: #0f172a;
}

.dropdown-header small {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.dropdown-content a {
    color: #334155;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f5f9;
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* CUSTOM MODAL SYSTEM */
.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999999;
    /* Ensure strictly on top of everything including mobile menu */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal-overlay.open {
    display: flex !important;
    opacity: 1 !important;
}

.custom-modal-box {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-modal-overlay.open .custom-modal-box {
    transform: scale(1);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
}

.modal-icon.success {
    background: #dcfce7;
    color: #16a34a;
    animation: popInSuccess 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popInSuccess {
    0% {
        transform: scale(0) rotate(-45deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* CELEBRATION MODE (Meriah) */
.custom-modal-box.celebration {
    background: linear-gradient(to bottom, #ffffff, #f0fdf4);
    border: 3px solid #bbf7d0;
    position: relative;
    overflow: hidden;
}

.custom-modal-box.celebration::before,
.custom-modal-box.celebration::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #4ade80 10%, transparent 10%),
        radial-gradient(circle, #3b82f6 10%, transparent 10%),
        radial-gradient(circle, #facc15 10%, transparent 10%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px, 5px 15px;
    opacity: 0.2;
    z-index: 0;
    animation: confettiSlow 10s linear infinite;
}

.custom-modal-box.celebration::before {
    top: -100px;
    left: -100px;
}

.custom-modal-box.celebration::after {
    bottom: -100px;
    right: -100px;
}

@keyframes confettiSlow {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.modal-icon.warning {
    background: #fef3c7;
    color: #d97706;
}

.modal-icon.error {
    background: #fee2e2;
    color: #dc2626;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.modal-title.celebration-text {
    font-size: 1.75rem;
    color: #16a34a;
    letter-spacing: -0.02em;
}

.modal-message {
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-modal {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.btn-modal-primary {
    background: var(--primary);
    color: white;
    flex: 1;
}

.btn-modal-primary:hover {
    opacity: 0.9;
}

.btn-modal-secondary {
    background: #f1f5f9;
    color: #475569;
    flex: 1;
}

.btn-modal-secondary:hover {
    background: #e2e8f0;
}


/* HERO CAROUSEL */
.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    border: 8px solid white;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0));
    padding: 3rem 2rem 2rem;
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s ease 0.3s;
}

.carousel-slide.active .carousel-overlay {
    transform: translateY(0);
}

.jurusan-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.nav-dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: white;
    width: 50px;
}


/* MEDIA QUERIES FOR RESPONSIVENESS */

/* Tablet & Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title-fresh,
    h1 {
        font-size: 2.5rem !important;
    }

    /* Navbar Tablet Adjustment */
    .nav-links {
        display: none;
        /* Sementara hide dulu, idealnya hamburger menu */
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Navbar Adjustment */
    .navbar {
        height: auto;
        padding: 1rem 0;
        flex-wrap: wrap;
    }

    .logo span {
        font-size: 1.1rem;
    }

    /* Hero Section Mobile */
    .hero-vocational {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-vocational .container>div {
        flex-direction: column-reverse;
        /* Gambar di atas, Teks di bawah */
        gap: 2rem;
    }

    .hero-image-container {
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-carousel-wrapper {
        height: 250px;
        /* Lebih pendek di HP */
        max-width: 100%;
    }

    .hero-vocational h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .hero-vocational p {
        font-size: 1rem !important;
        margin-bottom: 2rem;
    }

    .hero-vocational .btn {
        width: 100%;
        /* Tombol full width */
        margin-bottom: 0.5rem;
        justify-content: center;
    }

    .hero-vocational div[style*='display: flex'] {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Stats Section Mobile */
    .hero-vocational .d-flex-stats {
        justify-content: center;
        gap: 2rem !important;
    }

    /* Grid Layouts */
    .job-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Hide Elements on Mobile */
    .mobile-hide {
        display: none !important;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-carousel-wrapper {
        height: 200px;
    }

    .carousel-overlay {
        padding: 1rem;
    }

    .carousel-overlay h3 {
        font-size: 1.1rem !important;
    }

    .carousel-overlay p {
        font-size: 0.8rem !important;
        line-height: 1.5;
        max-height: 3em;
        /* Batasi 2 baris (1.5 x 2) */
        overflow: hidden;
        display: block;
    }
}


/* MOBILE NAVIGATION */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e293b;
    padding: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    justify-content: flex-end;
}

.mobile-menu-overlay.open {
    display: flex;
}

.mobile-menu-content {
    background: white;
    width: 280px;
    height: 100%;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed #e2e8f0;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none !important;
    }

    .desktop-auth {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }
}


/* --- REFINED MOBILE STYLES (OVERRIDE) --- */

@media (max-width: 768px) {

    /* 1. Container & Padding */
    .container {
        padding: 0 1.25rem;
        /* Sedikit lebih lega dari pinggir */
    }

    .hero-fresh,
    .hero-vocational {
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
    }

    /* 2. Hero Layout Balik: Gambar Dulu, Baru Teks */
    .hero-vocational .container>div,
    .hero-fresh .container>div {
        flex-direction: column-reverse;
        /* Default flex mobile */
    }

    /* TAPI kita mau Gambar (child kedua) di atas.
       Caranya: flex-direction column (normal), tapi child di-reorder atau coding HTML-nya disesuaikan.
       Metode paling aman tanpa ubah HTML: flex-direction: column-reverse
       KARENA di HTML: Teks (kiri), Gambar (kanan).
       Jadi column-reverse => Gambar (atas), Teks (bawah).
    */

    /* 3. Typography Hero Mobile */
    .hero-title-fresh,
    .hero-vocational h1 {
        font-size: 1.85rem !important;
        /* Pas untuk HP standar */
        line-height: 1.3;
        text-align: center;
        margin-top: 1rem;
    }

    .hero-subtitle-fresh,
    .hero-vocational p {
        font-size: 1rem !important;
        text-align: center;
        margin-bottom: 1.5rem !important;
    }

    /* 4. Statistics (Angka2 di bawah teks) */
    .hero-vocational div[style*='border-top'] {
        justify-content: center;
        text-align: center;
        padding-top: 1.5rem !important;
        margin-top: 1.5rem !important;
        flex-wrap: wrap;
        gap: 2rem !important;
    }

    .hero-vocational div[style*='border-top']>div {
        flex: 1;
        min-width: 120px;
        /* Supaya ga dempet */
    }

    /* 5. Carousel Mobile Optimization */
    .hero-carousel-wrapper {
        height: 240px !important;
        /* Tinggi fix biar ga lonjong */
        border-width: 4px !important;
        /* Border putih tipisin dikit */
        margin-bottom: 0.5rem;
    }

    .carousel-overlay {
        padding: 1rem !important;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 10%, rgba(15, 23, 42, 0)) !important;
    }

    .carousel-overlay h3 {
        font-size: 1.1rem !important;
        /* Judul Jurusan kecilin */
    }

    .carousel-overlay p {
        font-size: 0.8rem;
        display: none;
        /* Hide deskripsi panjang di HP biar gambar kelihatan */
    }

    .jurusan-tag {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    /* 6. Buttons */
    .hero-vocational div[style*='display: flex; gap: 1rem;'] {
        flex-direction: column;
        /* Tombol jadi berjejer vertikal */
        gap: 0.75rem !important;
        width: 100%;
    }

    .hero-vocational .btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem;
    }

    /* 7. Feature Grid Mobile */
    .feature-card-smk {
        padding: 1.5rem !important;
        text-align: left !important;
        /* Paksa rata kiri atau center tergantung selera, biasanya center rapi di mobile */
    }
}


/* DETAIL PAGE RESPONSIVENESS */
@media (max-width: 768px) {
    .job-hero {
        padding: 3rem 0 !important;
        text-align: center;
    }

    .job-title-large {
        font-size: 1.8rem !important;
    }

    .job-company-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .content-wrapper {
        padding: 1.5rem 1rem !important;
    }

    .meta-grid {
        grid-template-columns: 1fr !important;
        /* Gaji & Tipe Pekerjaan jadi satu kolom */
        gap: 1rem !important;
    }

    .job-card-content {
        padding: 1.5rem !important;
    }
}


/* AUTH PAGES RESPONSIVENESS */
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem !important;
        width: 100% !important;
        box-shadow: none !important;
        /* Di HP layar kecil mending flat biar fokus */
        border: none !important;
    }

    .auth-container {
        padding: 0 !important;
        background: white !important;
        /* Full white background on mobile for auth */
    }
}


/* --- FINAL RESPONSIVE POLISH --- */

/* Desktop Only Elements */
@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Tablet & Mobile Tweaks */
@media (max-width: 1024px) {

    .desktop-nav,
    .desktop-auth {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }
}

/* Mobile Search Bar Home Fix */
@media (max-width: 768px) {
    .search-section-home {
        padding: 2rem 1rem !important;
    }

    .search-box-home {
        flex-direction: column !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        gap: 0.75rem !important;
    }

    .search-input-group {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 0.5rem !important;
        width: 100% !important;
    }

    .search-box-home button {
        width: 100% !important;
        border-radius: 12px !important;
        padding: 1rem !important;
    }

    /* Stats Section Fix */
    .hero-stats-row {
        flex-direction: row !important;
        /* Biar tetap ke samping tapi kecil */
        justify-content: space-around !important;
        gap: 1rem !important;
    }

    .stat-item h3 {
        font-size: 1.25rem !important;
    }
}


/* --- FIX MOBILE OVERLAP & SIDEBAR --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: none;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    background: white;
    width: 300px;
    /* Ukuran sidebar tetap */
    height: 100%;
    padding: 2rem 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-overlay.open .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.mobile-nav-link:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Fix z-index for other elements that might bleed through */
.hero-vocational,
.hero-carousel-wrapper {
    z-index: 1;
    /* Keep content low */
}


/* --- MOBILE HEADER PERFECTION --- */
@media (max-width: 768px) {
    header.navbar-fixed {
        height: 70px !important;
    }

    .container.navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important;
        height: 100% !important;
        flex-wrap: nowrap !important;
    }

    .logo {
        margin-right: 0 !important;
        flex: 1;
    }

    .logo img {
        height: 35px !important;
        width: auto !important;
    }

    .logo span {
        font-size: 1.1rem !important;
        display: block !important;
        white-space: nowrap;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: #f1f5f9;
        border-radius: 8px;
        color: #1e293b;
    }

    /* Hide desktop-only auth if still leaking */
    .desktop-auth,
    .desktop-nav {
        display: none !important;
    }
}


/* FINAL MOBILE HEADER OVERRIDE */
@media (max-width: 600px) {
    .logo span {
        font-size: 0.95rem !important;
        /* Smaller on very small screens */
    }

    .logo {
        gap: 8px !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap !important;
    }

    .mobile-menu-btn svg {
        width: 24px;
        height: 24px;
    }
}


/* Utility for mobile hiding */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
}