
:root {
    --ja-blue: #0066cc;
    --ja-blue-light: #3b82f6;
    --ja-red: #dc2626;
    --ja-green: #10b981;
    --ja-orange: #f59e0b;
    --ja-purple: #8b5cf6;
    --ja-teal: #14b8a6;
    --ja-navy: #1e293b;
    --ja-pink: #ec4899;
    --page-bg: #f8fafc;
    --box-bg: #ffffff;
    --border: #e2e8f0;
    --text-main: #334155;
    --text-dark: #0f172a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Roboto', sans-serif; background: var(--page-bg); color: var(--text-main); font-size: 15px; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* HEADER */
.ja-header { background: #fff; padding: 15px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.ja-header-content { display: flex; justify-content: space-between; align-items: center; }
.ja-logo-group { display: flex; align-items: center; gap: 20px; }
.ja-menu-icon { font-size: 24px; color: var(--text-dark); cursor: pointer; display: none; }
.ja-logo { font-size: 28px; font-weight: 900; color: var(--text-dark); display: flex; align-items: center; }
.ja-logo span { background: var(--ja-blue); color: #fff; padding: 2px 10px; border-radius: 6px; margin-left: 5px; font-size: 24px; }

.ja-header-search { display: flex; border: 2px solid var(--border); border-radius: 30px; overflow: hidden; width: 350px; background: #fff; transition: 0.3s; }
.ja-header-search:focus-within { border-color: var(--ja-blue-light); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
.ja-header-search input { flex: 1; border: none; padding: 10px 20px; outline: none; font-size: 14px; }
.ja-header-search button { background: var(--ja-blue); color: #fff; border: none; padding: 0 20px; font-weight: 700; cursor: pointer; }

/* MAIN WHITE WRAPPER */
.main-wrapper { background: var(--box-bg); padding: 25px; margin-top: 15px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

/* HERO BOX */
.ja-hero-box { background: linear-gradient(135deg, var(--ja-blue), var(--ja-blue-light)); padding: 60px 20px; text-align: center; border-radius: 12px; color: #fff; margin-bottom: 30px; }
.ja-hero-box h1 { font-size: 36px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.5px; }
.ja-hero-box p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.ja-hero-search { display: flex; max-width: 750px; margin: 0 auto; background: #fff; border-radius: 50px; padding: 5px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.ja-hero-search input { flex: 1; border: none; padding: 15px 30px; outline: none; font-size: 16px; color: var(--text-dark); border-radius: 50px; }
.ja-hero-search button { background: var(--ja-red); color: #fff; border: none; padding: 0 35px; border-radius: 50px; font-size: 18px; cursor: pointer; transition: 0.3s; }
.ja-hero-search button:hover { background: #b91c1c; transform: scale(1.05); }

/* FLASH NEWS */
.ja-flash { background: #fff; border: 1px solid var(--border); margin-bottom: 30px; display: flex; align-items: center; padding: 8px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.flash-label { background: var(--ja-red); color: #fff; padding: 6px 15px; font-weight: 800; border-radius: 6px; margin-right: 20px; font-size: 13px; white-space: nowrap; }
marquee a { font-weight: 600; font-size: 15px; margin-right: 60px; color: var(--text-main); }
marquee a:hover { color: var(--ja-blue); }

/* TAGS & BADGES */
.new-tag { background: #ff0000; color: #fff; font-size: 10px; padding: 2px 5px; border-radius: 3px; font-weight: 900; vertical-align: middle; animation: blink 1s infinite; }
.new-badge { background: #ffcc00; color: #000; font-size: 9px; padding: 1px 4px; border-radius: 2px; font-weight: 900; margin-left: 5px; vertical-align: top; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* CATEGORY CARDS (SCROLLABLE ONE LINE) */
.ja-category-container { margin-bottom: 30px; overflow: hidden; }
.category-scroll { display: flex; overflow-x: auto; white-space: nowrap; padding: 5px 0 15px; scrollbar-width: none; -ms-overflow-style: none; gap: 20px; }
.category-scroll::-webkit-scrollbar { display: none; }

.cat-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 6px; padding: 15px 5px; text-align: center; min-width: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: 0.2s; }
.cat-card:hover { border-color: var(--ja-blue-light); box-shadow: 0 4px 8px rgba(0,0,0,0.06); }
.cat-card i { font-size: 28px; color: #0066cc; margin-bottom: 10px; }
.cat-card span { font-size: 12px; font-weight: 500; color: #333; text-transform: capitalize; }

/* HERO & FLASH */
.ja-hero-box { background: var(--ja-blue); padding: 40px 20px; text-align: center; border-radius: 12px; color: #fff; margin: 20px 0; }
.ja-hero-box h2 { font-size: 28px; font-weight: 700; margin-bottom: 25px; }
.ja-hero-search { display: flex; max-width: 650px; margin: 0 auto; background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.ja-hero-search input { flex: 1; border: none; padding: 12px 20px; outline: none; font-size: 15px; color: #333; }
.ja-hero-search button { background: var(--ja-red); color: #fff; border: none; padding: 0 25px; font-size: 18px; cursor: pointer; }

.ja-flash { background: #fff; border: 1px solid var(--border); margin-bottom: 20px; display: flex; align-items: center; padding: 6px; border-radius: 4px; }
.flash-label { background: var(--ja-red); color: #fff; padding: 4px 12px; font-weight: 800; border-radius: 4px; margin-right: 15px; font-size: 12px; }
marquee a { font-weight: 600; font-size: 14px; margin-right: 50px; color: var(--text-main); }

/* TABLES */
.ja-main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.ja-table-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.ja-table-header { background: var(--ja-blue); color: #fff; padding: 15px 20px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.view-all { font-size: 13px; background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 4px; font-weight: 500; }
.view-all:hover { background: #fff; color: var(--ja-blue); }

.table-responsive { width: 100%; overflow-x: auto; }
.ja-table { width: 100%; border-collapse: collapse; min-width: 450px; }
.ja-table th { background: #f8fafc; padding: 12px 15px; text-align: left; font-size: 13px; font-weight: 800; color: #64748b; border-bottom: 2px solid var(--border); }
.ja-table td { padding: 15px; border-bottom: 1px solid var(--border); vertical-align: middle; }

.job-title a { color: var(--text-dark); font-weight: 700; font-size: 15px; line-height: 1.5; display: block; }
.job-title a:hover { color: var(--ja-blue-light); }
.job-details { font-size: 12px; font-weight: 600; color: #64748b; line-height: 1.4; white-space: nowrap; }
.posts { color: var(--ja-green); font-weight: 800; }
.date { color: var(--ja-red); font-size: 11px; }
.ja-btn { background: var(--ja-blue); color: #fff; padding: 8px 18px; border-radius: 6px; font-size: 12px; font-weight: 800; display: inline-block; text-align: center; }
.ja-btn:hover { background: var(--ja-blue-light); transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* SIDEBAR */
.ja-widget { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin-bottom: 25px; }
.ja-widget-title { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 15px; border-bottom: 2px solid var(--ja-blue); padding-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.ja-widget-title i { color: var(--ja-blue); }

.whatsapp-widget { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; border: none; text-align: center; }
.whatsapp-widget .ja-widget-title { color: #fff; border-color: rgba(255,255,255,0.3); justify-content: center; }
.whatsapp-widget .ja-widget-title i { color: #fff; }
.wa-btn { background: #fff; color: #128c7e; display: block; padding: 12px; border-radius: 6px; font-weight: 800; margin-top: 15px; }

.ja-widget-list { list-style: none; }
.ja-widget-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.ja-widget-list li:last-child { border-bottom: none; }
.ja-widget-list a { font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ja-widget-list a:hover { color: var(--ja-blue-light); padding-left: 5px; }

/* FOOTER */
.ja-footer { background: var(--ja-navy); color: #cbd5e1; padding: 50px 0 30px; margin-top: 50px; text-align: center; }
.footer-links { margin-bottom: 20px; }
.footer-links a { margin: 0 10px; font-weight: 500; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.ja-footer-bottom { font-size: 13px; opacity: 0.7; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
    .ja-main-layout { grid-template-columns: 1fr; }
    .ja-header-search { display: none; }
    .ja-menu-icon { display: block; }
}

@media (max-width: 600px) {
    .ja-hero-box h1 { font-size: 24px; }
    .ja-hero-box p { font-size: 14px; }
    
    /* Mobile Grid for Categories: 2 Rows, 4 per row */
    .category-scroll { flex-wrap: wrap; overflow-x: visible; gap: 6px; justify-content: center; }
    .cat-card { min-width: calc(25% - 6px); flex: 0 0 calc(25% - 6px); padding: 10px 2px; border-radius: 4px; }
    .cat-card i { font-size: 18px; margin-bottom: 5px; }
    .cat-card span { font-size: 8.5px; font-weight: 600; white-space: normal; display: block; line-height: 1.1; }
    
    .ja-table-header { font-size: 16px; padding: 12px 15px; }
    .ja-table th { padding: 10px; font-size: 10px; }
    .ja-table td { padding: 10px; }
    .job-title a { font-size: 13px; }
    .ja-btn { padding: 6px 12px; font-size: 10px; }

    /* Fix table column alignment on mobile */
    .ja-table th:nth-child(2), .ja-table td:nth-child(2) { display: none; } 
    .ja-table th:nth-child(1), .ja-table td:nth-child(1) { width: 75%; }
    .ja-table th:nth-child(3), .ja-table td:nth-child(3) { width: 25%; }
}

/* SIDEBAR MOBILE MENU CSS */
.ja-mobile-menu { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #fff; z-index: 3000; transition: 0.3s ease-in-out; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
.ja-mobile-menu.active { left: 0; }
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2999; display: none; }
.menu-overlay.active { display: block; }

.menu-header { background: #2d5a5a; color: #fff; padding: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 700; }
.menu-header i { cursor: pointer; font-size: 24px; }
.menu-list { list-style: none; padding: 10px 0; }
.menu-list li { border-bottom: 1px solid #f0f0f0; }
.menu-list a { display: block; padding: 15px 20px; color: #333; font-weight: 500; font-size: 16px; transition: 0.2s; }
.menu-list a:hover { background: #f8fafc; color: var(--ja-blue); padding-left: 25px; }

/* ADDITIONAL STYLES */
.ja-breadcrumb { margin-bottom: 20px; font-size: 14px; font-weight: 600; color: #64748b; }
.ja-breadcrumb a { color: var(--ja-blue); }
.ja-breadcrumb a:hover { text-decoration: underline; }

.job-post-image { width: 100%; border-radius: 8px; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.smart-banner { background: linear-gradient(135deg, #004d99 0%, #002d5a 100%); color: #fff; padding: 40px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; margin-bottom: 25px; border: 3px solid #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
.smart-banner.jkb { background: linear-gradient(135deg, #003366 0%, #001a33 100%); }
.smart-banner-left { flex: 1; z-index: 2; }
.smart-banner-right { flex: 0 0 30%; text-align: center; z-index: 2; position: relative; }
.sb-title { font-size: 42px; font-weight: 900; line-height: 1.1; text-transform: uppercase; margin-bottom: 15px; text-shadow: 2px 2px 5px rgba(0,0,0,0.3); }
.sb-subtitle { font-size: 24px; color: #ff9933; font-weight: 800; margin-bottom: 25px; }
.sb-subtitle.jkb { color: #00acee; }
.sb-btn { background: #ff9933; color: #000; padding: 10px 25px; border-radius: 5px; font-weight: 900; text-transform: uppercase; border: none; display: inline-block; box-shadow: 0 5px 15px rgba(255,153,51,0.4); }
.sb-btn.jkb { background: #00acee; color: #fff; box-shadow: 0 5px 15px rgba(0,172,238,0.4); }
.sb-badge { width: 100px; height: 100px; background: #ff9933; border: 4px solid #fff; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #000; font-weight: 900; position: absolute; right: 20%; top: 20%; transform: rotate(10deg); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.sb-badge.jkb { background: #00acee; color: #fff; }
.sb-badge span { font-size: 28px; line-height: 1; }
.sb-badge small { font-size: 10px; text-transform: uppercase; }
.sb-bg-icon { position: absolute; font-size: 200px; opacity: 0.1; right: -30px; bottom: -30px; color: #fff; }
.sb-extra-icons { position: absolute; top: 20px; right: 40%; opacity: 0.2; font-size: 40px; display: flex; gap: 20px; }

.post-text-banner { background: linear-gradient(135deg, var(--ja-blue), var(--ja-blue-light)); padding: 40px 20px; border-radius: 12px; color: #fff; text-align: center; margin-bottom: 25px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); position: relative; overflow: hidden; }
.post-text-banner h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; line-height: 1.2; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
.post-text-banner p { font-size: 16px; opacity: 0.9; font-weight: 500; }
.banner-badge { background: #ffcc00; color: #000; padding: 4px 15px; border-radius: 20px; font-weight: 900; font-size: 12px; display: inline-block; margin-bottom: 15px; text-transform: uppercase; }
