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

        body {
            font-family: 'Cairo', sans-serif;
            background: #F6F8F7;
            color: #2E3B33;
            line-height: 1.7;
        }

        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo {
            font-size: 24px;
            font-weight: 800;
            color: #006C35;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, #006C35, #00A651);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 800;
        }

        .detail-hero {
            padding: 50px 20px 30px;
            background: linear-gradient(135deg, #FFFFFF 0%, #EAF2ED 100%);
        }

        .detail-hero-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .detail-title {
            font-size: 32px;
            font-weight: 800;
            color: #0B3B23;
            margin-bottom: 8px;
        }

        .detail-meta {
            color: #5C6D64;
            font-size: 14px;
        }

        .detail-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 14px;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
        }

        .badge-primary {
            background: linear-gradient(135deg, #006C35, #00A651);
            color: #fff;
        }

        .badge-soft {
            background: #EAF2ED;
            color: #0B3B23;
        }

        .badge-outline {
            background: transparent;
            border: 1px solid rgba(0, 108, 53, 0.25);
            color: #006C35;
        }

        .detail-layout {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 20px 80px;
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 24px;
        }

        .detail-card {
            background: white;
            border-radius: 16px;
            padding: 22px;
            border: 1px solid rgba(0, 108, 53, 0.12);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .detail-section-title {
            font-size: 18px;
            font-weight: 800;
            color: #0B3B23;
            margin-bottom: 10px;
        }

        .detail-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 8px;
            color: #4B5B52;
            font-size: 14px;
        }

        .detail-list li::before {
            content: "•";
            color: #006C35;
            margin-left: 6px;
        }

.detail-section {
    margin-top: 26px;
}

.contact-blur {
    position: relative;
}

.contact-blur .contact-blur-content {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.contact-blur .contact-blur-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px;
    pointer-events: none;
}

.contact-blur .contact-blur-overlay .contact-blur-cta {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(0, 108, 53, 0.35);
    border-radius: 12px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #0B3B23;
    text-decoration: none;
}

.contact-status-banner {
    background: #F3FBF6;
    border: 1px solid rgba(0, 108, 53, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    color: #0B3B23;
    margin-top: 12px;
}

        .detail-paragraph {
            color: #4B5B52;
            font-size: 14px;
            margin-top: 8px;
        }

        .mou-hint {
            background: #F3FBF6;
            border: 1px dashed rgba(0, 108, 53, 0.4);
            border-radius: 12px;
            padding: 12px 14px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px 12px;
        }

        .mou-hint-label {
            color: #0B3B23;
            font-weight: 800;
        }

        .mou-hint-link {
            color: #006C35;
            font-weight: 700;
            text-decoration: none;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(0, 108, 53, 0.12);
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .mou-hint-link:hover {
            background: rgba(0, 108, 53, 0.18);
            transform: translateY(-1px);
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 12px;
            margin-top: 12px;
        }

        .info-item {
            background: #F8F9FA;
            border: 1px solid rgba(0, 108, 53, 0.12);
            border-radius: 12px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .info-label {
            font-size: 12px;
            color: #6C7A72;
            font-weight: 700;
        }

        .info-value {
            font-size: 14px;
            color: #0B3B23;
            font-weight: 700;
            word-break: break-word;
        }

        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .tag {
            background: #F1F7F3;
            color: #0B3B23;
            border: 1px dashed rgba(0, 108, 53, 0.25);
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
        }

        .salary-box {
            background: rgba(197, 160, 89, 0.1);
            border-radius: 14px;
            padding: 16px;
            font-weight: 800;
            color: #8A6A2B;
            font-size: 18px;
            text-align: center;
        }

        .btn {
            padding: 12px 16px;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            font-weight: 700;
            font-size: 14px;
            display: inline-block;
            text-decoration: none;
        }

        .btn-primary {
            background: #006C35;
            color: white;
            width: 100%;
            text-align: center;
        }

        .btn-secondary {
            background: transparent;
            border: 2px solid #006C35;
            color: #006C35;
            width: 100%;
            text-align: center;
            margin-top: 10px;
        }

        .detail-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 16px;
        }

        .header-link {
            width: auto;
            margin-top: 0;
            padding: 8px 16px;
        }

        @media (max-width: 980px) {
            .detail-layout {
                grid-template-columns: 1fr;
            }
        }

.detail-image-container {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.detail-gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0, 108, 53, 0.12);
}

@media (max-width: 768px) {
    .detail-badges {
        gap: 6px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .detail-main-image {
        max-height: 250px;
    }

    .detail-gallery-image {
        height: 100px;
    }
}

/* Job Apply Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 59, 35, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 1100;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    border-radius: 18px;
    width: min(560px, 92vw);
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0B3B23;
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 14px;
    color: #5C6D64;
    margin-bottom: 16px;
}

.modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    border: none;
    background: #F1F4F2;
    color: #0B3B23;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.modal-form {
    display: grid;
    gap: 12px;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    background: #F8F9FA;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.modal-actions .btn {
    flex: 1;
}

.contact-request-submit.is-loading {
    pointer-events: none;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-request-submit.is-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: contactSubmitSpin 0.8s linear infinite;
}

@keyframes contactSubmitSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal Phone Country Selector */
.phone-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-selector {
    position: relative;
    flex-shrink: 0;
    width: 120px;
}

.country-selector-trigger {
    height: 100%;
    padding: 12px 10px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    background-color: #F8F9FA;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.country-selector-trigger:hover {
    border-color: #006C35;
    background-color: #fff;
}

.selector-arrow {
    font-size: 12px;
    color: #7A8B82;
}

.country-flag {
    font-size: 18px;
}

.country-code {
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #006C35;
}

.phone-number-input {
    flex: 1;
}

.country-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #006C35;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 1200;
    box-shadow: 0 8px 20px rgba(0, 108, 53, 0.15);
}

.country-selector.open .country-options {
    max-height: 260px;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
}

.country-option {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.country-option:hover {
    background-color: #F0FDF4;
}

.country-option.selected {
    background-color: #E6F7ED;
    font-weight: 700;
}

.country-option .country-name {
    flex: 1;
    font-size: 13px;
}

.country-option .country-code {
    font-size: 12px;
}

.chat-shell {
    margin-top: 14px;
    width: 100%;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.chat-title {
    font-size: 16px;
    font-weight: 800;
    color: #0B3B23;
}

.chat-subtitle {
    font-size: 12px;
    color: #6C7A72;
}

.chat-card {
    border: 1px solid rgba(0, 108, 53, 0.15);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 280px;
    width: 100%;
}

.chat-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    background: linear-gradient(180deg, #fff 0%, #f5f9f7 100%);
}

.chat-bubble {
    max-width: 70%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.chat-bubble.incoming {
    background: #fff;
    border: 1px solid rgba(0, 108, 53, 0.18);
    align-self: flex-start;
}

.chat-bubble.outgoing {
    background: #006C35;
    color: #fff;
    align-self: flex-end;
}

.chat-empty {
    font-size: 13px;
    color: #6C7A72;
    text-align: center;
    padding: 20px 10px;
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(0, 108, 53, 0.12);
    background: #fff;
}

.chat-input {
    border: 1px solid rgba(0, 108, 53, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.chat-send {
    background: #006C35;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.chat-send[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .chat-bubble {
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .chat-card {
        min-height: 240px;
    }

    .chat-form {
        grid-template-columns: 1fr;
    }

    .chat-send {
        width: 100%;
    }
}
