:root {
    --primary-color: #0aec33;
    --primary-hover: #08d42d;
    --primary-glow: rgba(10, 236, 51, 0.25);
    --dark-blue: #012641;
    --dark-blue-light: #024a6f;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --text-muted: #6b7a8d;
    --border-color: #e8ecf1;
    --font-family: 'Onest', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 8px 24px rgba(10, 236, 51, 0.25);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--dark-blue);
    -webkit-font-smoothing: antialiased;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(10, 236, 51, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(10, 236, 51, 0.5);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* ===================== JOB HEADER ===================== */
.job-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-light) 100%);
    color: white;
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

.job-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.job-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-color);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.job-header-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 8px;
}

.job-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.job-meta-header {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.95rem;
}

.job-meta-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.job-meta-header-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.company-logo-header {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: var(--radius-md);
    padding: 10px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===================== CONTENT CARDS ===================== */
.detail-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    box-shadow: var(--shadow-md);
}

.detail-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.job-description-text {
    line-height: 1.9;
    color: #4a5568;
    font-size: 1.05rem;
}

.job-description-text p {
    margin-bottom: 16px;
}

.job-description-text ul,
.job-description-text ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.job-description-text li {
    margin-bottom: 8px;
}

/* ===================== REQUIREMENTS LIST ===================== */
.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    color: #4a5568;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===================== SIDEBAR CARD ===================== */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.company-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    text-align: center;
    margin-bottom: 20px;
}

.company-logo-sidebar {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
    padding: 12px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
}

.company-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.info-item {
    text-align: left;
    padding: 18px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-label i {
    color: var(--primary-color);
}

.info-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
}

.info-value.salary {
    color: #0d9e38;
}

/* ===================== APPLY BUTTON ===================== */
.btn-apply-large {
    background: var(--primary-color);
    color: var(--dark-blue);
    font-weight: 800;
    font-size: 1.2rem;
    border: none;
    width: 100%;
    padding: 18px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 236, 51, 0.2);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-apply-large:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
    animation: pulseGlow 2s ease-in-out infinite;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    color: white;
}

/* ===================== SAFETY CARD ===================== */
.safety-card {
    background: linear-gradient(135deg, #eef9f0 0%, #dff5e3 100%);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 2px solid rgba(10, 236, 51, 0.2);
}

.safety-card h6 {
    font-weight: 800;
    color: #0d9e38;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.safety-card p {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* ===================== BENEFITS SECTION ===================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.benefit-item {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.benefit-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.benefit-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===================== MODAL STYLING ===================== */
.modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 2px solid var(--border-color);
    padding: 24px 28px;
}

.modal-title {
    font-weight: 800;
    color: var(--dark-blue);
    font-size: 1.4rem;
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    border-top: none;
    padding: 0 28px 28px;
}

.form-label {
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-group-text {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-right: none;
    font-weight: 700;
    color: var(--dark-blue);
    height: 52px;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-left: none;
}

#citySuggestions {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 2px;
}

#citySuggestions .list-group-item {
    cursor: pointer;
    border: none;
}

#citySuggestions .list-group-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--dark-blue);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 16px;
    border: none;
    border-radius: var(--radius-md);
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
    color: var(--dark-blue);
}

/* ===================== MOBILE STICKY CTA ===================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    border-top: 3px solid var(--primary-color);
}

.mobile-sticky-cta .btn {
    font-weight: 800;
    font-size: 1.05rem;
    padding: 14px;
    border-radius: var(--radius-sm);
}

/* ===================== SUCCESS TOAST ===================== */
.toast-success {
    background: linear-gradient(135deg, #0d9e38 0%, #0aec33 100%);
    color: white;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-lg);
}

/* ===================== SHARE BUTTONS ===================== */
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-share {
    flex: 1;
    min-width: 120px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--dark-blue);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-share.whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-share.whatsapp:hover {
    background: #1fb855;
    border-color: #1fb855;
    color: white;
}

.btn-share.facebook {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.btn-share.twitter {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
}

.btn-share.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-share.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
    color: white;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
    }

    .company-card {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .job-header {
        padding: 30px 0 50px;
    }

    .job-title {
        font-size: 1.5rem;
    }

    .job-meta-header {
        gap: 16px;
        font-size: 0.85rem;
    }

    .company-logo-header {
        width: 60px;
        height: 60px;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-card h4 {
        font-size: 1.3rem;
    }

    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 75px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-direction: column;
    }

    .btn-share {
        min-width: 100%;
    }
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #c0c8d1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a8b1;
}