/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary-orange: #e3913c;
    --primary-black: #111827;
    --secondary-black: #1f2937;
    --light-bg: #fffbf5;
    --white: #ffffff;
    --text-grey: #6b7280;
    --border: #e5e7eb;
    --success-green: #059669;
    --success-bg: #ecfdf5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Roboto', sans-serif; background: #f8f9fa; margin: 0; padding: 0; color: var(--secondary-black); line-height: 1.6; }

/* --- LOGO --- */
.nav-logo { height: 60px; width: auto; display: block; }
.footer-logo { height: 55px; width: auto; display: block; margin-bottom: 15px; }

/* --- NAVBAR --- */
.navbar { background: var(--white); padding: 10px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--secondary-black); font-weight: 500; font-size: 0.95rem; transition: 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-orange); }
.nav-profile-img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary-orange); object-fit: cover; cursor: pointer; }

/* --- HERO --- */
.hero { background: linear-gradient(135deg, #111827 0%, #1f2937 80%, #374151 100%); color: var(--white); padding: 120px 0 140px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -50px; right: -50px; width: 300px; height: 300px; background: rgba(227, 145, 60, 0.1); border-radius: 50%; filter: blur(50px); }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 900; letter-spacing: -1px; line-height: 1.2; }
.hero h1 span { color: var(--primary-orange); }
.hero p { color: #d1d5db; font-size: 1.25rem; margin-bottom: 45px; max-width: 650px; margin-left: auto; margin-right: auto; font-weight: 300; }

/* --- BUTTONS --- */
.cta-group { display: flex; justify-content: center; gap: 15px; margin-top: 30px; flex-wrap: wrap; }
.btn { padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; line-height: 1; }
.btn-primary { background: var(--primary-orange); color: var(--white); box-shadow: 0 4px 6px rgba(227, 145, 60, 0.2); }
.btn-primary:hover { background: #d97706; transform: translateY(-2px); }
.btn-secondary { background: white; border: 1px solid #d1d5db; color: #374151; }
.btn-secondary:hover { background: #f3f4f6; border-color: #9ca3af; }
.btn-full { width: 100%; display: flex; text-align: center; margin-top: 20px; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; border-radius: 6px; }

/* --- STATS & SECTIONS --- */
.stats-banner { background: var(--white); margin-top: -50px; position: relative; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.08); padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; max-width: 1000px; margin-left: auto; margin-right: auto; border-bottom: 4px solid var(--primary-orange); }
.stat-item h3 { font-size: 2rem; color: var(--primary-black); margin: 0; font-weight: 800; }
.stat-item p { color: var(--text-grey); margin: 5px 0 0; font-size: 0.95rem; font-weight: 500; }
.stat-item:not(:last-child) { border-right: 1px solid var(--border); }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; color: var(--primary-black); margin-bottom: 10px; font-weight: 800; }
.section-title p { color: var(--text-grey); font-size: 1.1rem; }

.categories { padding: 80px 0; background: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.cat-card { background: #f9fafb; padding: 30px 20px; border-radius: 12px; text-align: center; transition: 0.3s; border: 1px solid var(--border); cursor: pointer; }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--primary-orange); background: #fff; }
.cat-icon { font-size: 40px; margin-bottom: 15px; display: block; }
.cat-card h4 { margin: 0; color: var(--primary-black); font-size: 1.1rem; }
.cat-card span { display: block; font-size: 0.85rem; color: var(--text-grey); margin-top: 5px; }

.how-it-works { padding: 80px 0; background: var(--light-bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.step-card { padding: 20px; position: relative; }
.step-num { width: 50px; height: 50px; background: var(--primary-orange); color: white; font-size: 1.5rem; font-weight: bold; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 5px 15px rgba(227, 145, 60, 0.4); }
.step-card h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--primary-black); }
.step-card p { color: var(--text-grey); font-size: 1rem; line-height: 1.5; }

/* --- FOOTER --- */
.footer { background-color: var(--light-bg); color: var(--text-grey); padding: 70px 0 30px; margin-top: 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-col h4 { color: var(--primary-black); font-size: 1.1rem; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-grey); text-decoration: none; transition: 0.2s; }
.footer-col ul li a:hover { color: var(--primary-orange); }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }

.social-links { display: flex; gap: 15px; margin-top: 25px; }
.social-links a { 
    display: flex; align-items: center; justify-content: center; 
    width: 42px; height: 42px; 
    background: var(--white); 
    border: 1px solid var(--border);
    border-radius: 50%; 
    color: var(--text-grey); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative;
    overflow: hidden;
}
.social-links a:hover { transform: translateY(-5px); color: white; border-color: transparent; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Brand Colors on Hover */
.social-links a[aria-label="LinkedIn"]:hover { background: #0077b5; }
.social-links a[aria-label="Instagram"]:hover { background: #E1306C; background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-links a[aria-label="Facebook"]:hover { background: #1877F2; }

.social-links a svg { width: 20px; height: 20px; stroke-width: 1.5; }


/* --- MODAL --- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(4px); }
.modal.show { display: flex; }
.modal-content { background: white; padding: 30px; border-radius: 16px; width: 95%; max-width: 480px; position: relative; max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.close-btn { position: absolute; right: 20px; top: 20px; font-size: 24px; cursor: pointer; color: #9ca3af; }
.auth-step { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- STEP HEADERS --- */
.step-header-compact { text-align: center; margin-bottom: 25px; }
.step-header-compact h2, .step-header-compact h3 { margin: 0; font-size: 1.5rem; color: var(--primary-black); }
.step-header-compact p { color: var(--text-grey); font-size: 0.95rem; margin-top: 5px; }

/* --- FORM INPUTS --- */
.form-group-clean { margin-bottom: 15px; }
.form-group-clean label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: #374151; }
.form-group-clean input, .form-group-clean select { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; outline: none; background: #fff; }
.form-group-clean input:focus, .form-group-clean select:focus { border-color: var(--primary-orange); }
.prefix { font-weight: bold; color: #374151; background: #f3f4f6; display: flex; align-items: center; padding: 0 15px; border-right: 1px solid var(--border); }

/* --- FIXED LAYOUT FOR AGE & GENDER --- */
.form-row { display: grid; grid-template-columns: 100px 1fr; gap: 15px; align-items: end; margin-bottom: 20px; }

.gender-selector { display: flex; gap: 10px; }
.gender-label-card { flex: 1; cursor: pointer; position: relative; }
.gender-label-card input { display: none; }
.gender-card { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: #6b7280; font-weight: 500; font-size: 0.95rem; transition: 0.2s; height: 45px; }
.gender-icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.gender-label-card input:checked + .gender-card { border-color: var(--primary-orange); background: #fff7ed; color: var(--primary-orange); font-weight: bold; }

/* --- PROGRESS BAR --- */
.progress-bar { display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.step { width: 28px; height: 28px; border-radius: 50%; background: #f3f4f6; color: #9ca3af; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; border: 2px solid #f3f4f6; z-index: 2; }
.step.active { border-color: var(--primary-orange); color: var(--primary-orange); background: white; }
.step.completed { background: #10b981; color: white; border-color: #10b981; }
.line { width: 30px; height: 3px; background: #f3f4f6; margin: 0 -2px; z-index: 1; }
.line.completed { background: #10b981; }

/* --- OTP (FIXED: NO SCROLLBARS) --- */
.otp-container { display: flex; gap: 12px; justify-content: center; margin: 30px 0; }
.otp-box { 
    width: 55px; height: 55px; text-align: center; font-size: 1.5rem; font-weight: 700; color: #1f2937;
    border: 1px solid #d1d5db; border-radius: 12px; background: #fff; outline: none; transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.otp-box:focus { border-color: #e3913c; box-shadow: 0 0 0 4px rgba(227, 145, 60, 0.15); transform: translateY(-2px); }

/* FIX: Hide spinner/arrows for Chrome, Safari, Edge, Opera */
input.otp-box::-webkit-outer-spin-button,
input.otp-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input.otp-box[type=number] { -moz-appearance: textfield; }

.language-grid, .qualification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.lang-card, .qual-btn { border: 1px solid var(--border); border-radius: 8px; padding: 12px; text-align: center; cursor: pointer; background: white; transition: 0.2s; }
.lang-card:hover, .qual-btn:hover { border-color: var(--primary-orange); background: var(--light-bg); }
.lang-card.selected, .qual-btn.selected { background: #fff7ed; border-color: var(--primary-orange); color: var(--primary-orange); font-weight: bold; }

.btn-row { display: flex; gap: 10px; margin-top: 20px; }

/* --- AUTOCOMPLETE SUGGESTIONS --- */
.input-wrapper { position: relative; }
.suggestions-list {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: white; border: 1px solid #e5e7eb; border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); z-index: 1000;
    max-height: 200px; overflow-y: auto; display: none;
}
.suggestions-list div { padding: 12px 15px; cursor: pointer; font-size: 0.95rem; color: #374151; border-bottom: 1px solid #f3f4f6; transition: background 0.2s; }
.suggestions-list div:last-child { border-bottom: none; }
.suggestions-list div:hover { background-color: #fff7ed; color: #e3913c; font-weight: 600; }

/* --- SEARCH BOX --- */
.search-box { position: relative; margin-bottom: 20px; }
.search-box input { width: 100%; padding: 12px 15px 12px 40px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; outline: none; background: #f9fafb; }
.search-box input:focus { border-color: var(--primary-orange); background: white; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-style: normal; font-size: 1.1rem; }

/* --- JOB PREFERENCES LIST (STEP 8) --- */
.pref-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.btn-select-all { background: none; border: 1px solid var(--primary-orange); color: var(--primary-orange); padding: 5px 12px; border-radius: 20px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: 0.2s; }
.btn-select-all:hover { background: var(--primary-orange); color: white; }

.job-list-container { max-height: 400px; overflow-y: auto; padding-right: 5px; }

/* Professional Job Card (Registration Step) */
.job-select-card { 
    display: flex; align-items: center; justify-content: space-between; 
    background: white; border: 1px solid #e5e7eb; border-radius: 12px; 
    padding: 12px 15px; margin-bottom: 12px; cursor: pointer; 
    transition: all 0.2s ease; position: relative; overflow: hidden;
}
.job-select-card:hover { border-color: var(--primary-orange); background-color: #fffbf5; transform: translateY(-2px); }
.job-select-card.selected { border: 2px solid var(--primary-orange); background: #fff7ed; }

.job-content-left { display: flex; align-items: center; gap: 15px; flex-grow: 1; }

/* Fixed Registration Checkbox Style */
.job-select-card .custom-checkbox { width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: white; transition: all 0.2s; flex-shrink: 0; padding: 0; margin: 0; }
.job-select-card.selected .custom-checkbox { background: var(--primary-orange); border-color: var(--primary-orange); }
.job-select-card.selected .custom-checkbox svg { display: block; width: 14px; height: 14px; stroke: white; stroke-width: 3; }

.job-info h5 { margin: 0 0 2px; font-size: 0.95rem; font-weight: 700; color: #1f2937; }
.job-info p { margin: 0; font-size: 0.8rem; color: #6b7280; line-height: 1.3; }

.job-thumbnail { width: 45px; height: 45px; border-radius: 8px; object-fit: contain; margin-left: 10px; background: #f3f4f6; flex-shrink: 0; padding: 4px; }

/* --- SKILL TAG CLOUD (STEP 9) --- */
.skills-cloud, .tags-container { 
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; justify-content: flex-start; 
}
.tag-pill { 
    display: inline-block; width: auto;
    padding: 8px 16px; border-radius: 50px; background: #eef2ff; 
    border: 1px solid transparent; cursor: pointer; font-size: 0.9rem; 
    font-weight: 500; color: #374151; transition: all 0.2s; white-space: nowrap;
}
.tag-pill:hover { background: #e0e7ff; border-color: #c7d2fe; }
.tag-pill.selected { background: #4338ca; color: white; border-color: #4338ca; box-shadow: 0 3px 8px rgba(67, 56, 202, 0.3); }

/* --- LANGUAGE CARDS (STEP 10) --- */
.section-label { display: block; font-weight: 700; color: var(--secondary-black); margin: 20px 0 10px; font-size: 0.95rem; }

.eng-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eng-card { 
    background: white; border: 1px solid #e5e7eb; border-radius: 12px; 
    padding: 15px 5px; text-align: center; cursor: pointer; transition: all 0.2s;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.eng-icon { width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 2px; }
.eng-card span { font-size: 0.85rem; font-weight: 500; color: #4b5563; }
.eng-card:hover { transform: translateY(-2px); border-color: #d1d5db; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.eng-card.selected { border: 2px solid #4338ca; background: #eef2ff; }
.eng-card.selected span { color: #4338ca; font-weight: 700; }

/* Mobile Adjustments */
@media (max-width: 480px) {
    .eng-grid { grid-template-columns: repeat(2, 1fr); }
    .job-select-card { padding: 10px; }
    .job-thumbnail { width: 40px; height: 40px; }
    .otp-box { width: 45px; height: 45px; font-size: 1.2rem; }
    .hero h1 { font-size: 2.5rem; }
    .stats-banner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-row { grid-template-columns: 1fr; gap: 15px; }
    .btn { width: 100%; }
}

/* =========================================
   NEW DASHBOARD STYLES (Professional)
   ========================================= */

.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 50px;
}

/* --- SIDEBAR FILTERS --- */
.dash-sidebar .filter-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 90px;
    border: 1px solid var(--border);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.filter-header h3 { font-size: 1.1rem; margin: 0; }
.btn-text { background: none; border: none; color: var(--primary-orange); cursor: pointer; font-weight: 600; font-size: 0.9rem; }

.filter-group { margin-bottom: 25px; }
.filter-group h4 { font-size: 0.95rem; margin-bottom: 12px; color: #555; font-weight: 600; }

/* --- FIXED CHECKBOX (SIDEBAR ONLY) --- */
.checkbox-list { display: flex; flex-direction: column; gap: 12px; }

/* This class MUST be on the LABEL tag in dashboard.html */
.custom-checkbox {
    display: flex; 
    align-items: center;
    position: relative;
    padding-left: 30px; /* Space for the box */
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    user-select: none;
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    line-height: 1.5; /* Ensure text has height */
}

/* Hide default input */
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }

/* Create the checkmark box */
.checkmark {
    position: absolute; top: 0; left: 0; 
    height: 18px; width: 18px; 
    background-color: #fff; border: 2px solid #d1d5db; border-radius: 4px; transition: 0.2s;
    margin-top: 2px; /* Center vertically with text */
}

/* Hover & Checked States */
.custom-checkbox:hover input ~ .checkmark { border-color: var(--primary-orange); }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--primary-orange); border-color: var(--primary-orange); }

/* Checkmark Icon */
.checkmark:after {
    content: ""; position: absolute; display: none;
    left: 5px; top: 2px; width: 4px; height: 9px;
    border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.custom-checkbox input:checked ~ .checkmark:after { display: block; }

/* --- MAIN CONTENT --- */
.content-header { margin-bottom: 20px; }
.content-header h2 { font-size: 1.5rem; margin-bottom: 5px; color: var(--primary-black); font-weight: 700; }
.text-muted { color: #777; font-size: 0.9rem; }

/* Search Panel (Clean Job Hai Style) */
.search-panel { 
    background: white; 
    padding: 20px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 25px; 
}
.search-inputs { display: grid; grid-template-columns: 2fr 1fr auto; gap: 15px; margin-bottom: 15px; }

.input-icon-wrapper { position: relative; width: 100%; }
.input-icon-wrapper .icon { 
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%); 
    color: #9ca3af; display: flex; align-items: center; pointer-events: none;
}
.input-icon-wrapper input { 
    width: 100%; padding: 12px 15px 12px 42px; /* Space for icon */
    border: 1px solid #d1d5db; border-radius: 8px; outline: none; 
    background-color: #fff; font-size: 0.95rem; transition: 0.2s;
}
.input-icon-wrapper input:focus { border-color: var(--primary-orange); box-shadow: 0 0 0 3px rgba(227, 145, 60, 0.1); }

/* Quick Tags */
.quick-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.q-tag { 
    background: white; border: 1px solid #e5e7eb; padding: 6px 14px; 
    border-radius: 20px; font-size: 0.85rem; color: #555; cursor: pointer; 
    transition: 0.2s; font-weight: 500; 
}
.q-tag:hover { border-color: var(--primary-orange); color: var(--primary-orange); }
.q-tag.active { background: var(--primary-orange); color: white; border-color: var(--primary-orange); }

/* --- PROFESSIONAL JOB CARD (Row Layout) --- */
.job-list { display: flex; flex-direction: column; gap: 15px; }

/* Dashboard Card (Separated from Registration Card styles) */
.job-card-pro {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    display: flex; flex-direction: column; gap: 12px;
}
.job-card-pro:hover {
    border-color: rgba(227, 145, 60, 0.5);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.jc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; }
.jc-title { font-size: 1.15rem; font-weight: 700; color: #111; margin: 0; }
/* Professional Salary Badge */
.jc-salary, .job-info span.tag-pill { 
    font-weight: 700; color: #059669; background: #ecfdf5; 
    padding: 4px 10px; border-radius: 6px; font-size: 0.9rem; 
}

.jc-body { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.jc-row { display: flex; align-items: center; gap: 10px; color: #555; font-size: 0.9rem; }
.jc-row svg { width: 16px; height: 16px; color: #9ca3af; }
.jc-distance { color: var(--primary-orange); font-weight: 600; font-size: 0.85rem; margin-left: 5px; }

.jc-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.jc-tag {
    background: #f3f4f6; color: #4b5563; padding: 4px 10px;
    border-radius: 6px; font-size: 0.75rem; font-weight: 600;
}

.jc-footer { display: flex; justify-content: flex-end; border-top: 1px solid #f3f4f6; padding-top: 15px; margin-top: 10px; }
.jc-footer .btn-sm { padding: 8px 20px; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; border-radius: 6px; }

/* --- PROFILE SIDEBAR --- */
.profile-card-mini { background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); text-align: center; margin-bottom: 25px; }
.profile-header-bg { height: 70px; background: linear-gradient(135deg, #111827, #374151); }
.profile-img-wrapper { margin-top: -35px; margin-bottom: 10px; }
.profile-img-wrapper img { width: 70px; height: 70px; border-radius: 50%; border: 3px solid white; background: white; object-fit: cover; }
.profile-card-mini h3 { margin: 5px 0 2px; font-size: 1.1rem; color: var(--primary-black); font-weight: 700; }

.sidebar-menu { padding: 15px; }
.menu-btn { 
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 15px; 
    border: none; background: none; text-align: left; font-size: 0.95rem; font-weight: 500;
    color: #4b5563; cursor: pointer; border-radius: 8px; transition: 0.2s; margin-bottom: 5px; 
}
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn:hover { background: #f9fafb; color: var(--primary-orange); }
.menu-btn.active { background: #fff7ed; color: var(--primary-orange); font-weight: 700; }

/* --- LOADER & MESSAGES --- */
.feed-loader { text-align: center; padding: 40px; color: #777; display: none; }
.spinner {
    border: 3px solid #f3f3f3; border-top: 3px solid var(--primary-orange);
    border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.no-results { text-align: center; padding: 40px; background: white; border-radius: 12px; border: 1px dashed #d1d5db; margin-top: 20px; }
.no-results img { width: 80px; margin-bottom: 15px; opacity: 0.6; }
.no-results h3 { font-size: 1.1rem; margin-bottom: 5px; color: #374151; }
.no-results p { color: #9ca3af; font-size: 0.9rem; }

/* --- RESPONSIVE --- */

/* =========================================
   9. EDIT PROFILE STYLES (Modern)
   ========================================= */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-header h2 {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.8rem;
    color: #111827;
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
}
.profile-pic-uploader {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}
.profile-pic-uploader img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.profile-pic-uploader .upload-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    transition: 0.2s;
}
.profile-pic-uploader:hover .upload-overlay {
    transform: scale(1.1);
}
.profile-header-card .form-group-clean {
    margin-bottom: 0;
}

.edit-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
    padding: 25px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.edit-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #4b5563;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}
.edit-card-title i {
    width: 18px;
    height: 18px;
}

.form-grid-2, .form-grid-3 { display: grid; gap: 20px; }
.form-grid-2 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.form-grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.form-grid-dynamic {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}
.form-grid-dynamic .date-group { display: flex; gap: 8px; align-items: center; }
.btn-add-row {
    margin-top: 15px;
    border-style: dashed;
    width: 100%;
    justify-content: center;
    color: #64748b;
}
.btn-add-row:hover {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.remove-tag-btn { cursor: pointer; }

@media (max-width: 992px) {
    .dashboard-container { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    .search-inputs { grid-template-columns: 1fr; }
    .job-select-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .job-content-left { width: 100%; }
    .job-select-card .btn { width: 100%; }
    .hero h1 { font-size: 2.5rem; }
    .stats-banner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .eng-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; gap: 15px; }
}

/* =========================================
   10. PUBLIC HELP CENTER STYLES
   ========================================= */
.help-container { max-width: 1000px; margin: 50px auto; padding: 0 20px; }

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.help-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.help-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.help-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.help-card.full-width { grid-column: 1 / -1; }

.hc-icon {
    width: 48px; height: 48px;
    background: #eff6ff; color: #2563eb;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}

.help-card h4 { margin: 0 0 8px; color: #1e293b; font-size: 16px; font-weight: 700; }
.help-card p { color: #64748b; font-size: 14px; margin-bottom: 8px; line-height: 1.5; }
.hc-sub { font-size: 12px; color: #94a3b8; font-weight: 500; }

@media (max-width: 900px) {
    .help-grid { grid-template-columns: 1fr; }
    .help-info-section { order: 2; }
}

/* =========================================
   11. ABOUT US PAGE STYLES
   ========================================= */
.about-hero {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 1.2rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag {
    background: #fff7ed;
    color: var(--primary-orange);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content h2 .highlight {
    color: var(--primary-orange);
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.af-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #374151;
}

.af-item i {
    color: var(--success-green);
    width: 20px;
    height: 20px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

.exp-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.exp-badge .text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1.2;
}

.mission-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-center h3 {
    font-size: 1.8rem;
    color: var(--primary-black);
    font-weight: 700;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary-orange);
}

.mc-icon {
    width: 70px;
    height: 70px;
    background: #fff7ed;
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
}

.mc-icon i {
    width: 30px;
    height: 30px;
}

.mission-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.mission-card p {
    color: var(--text-grey);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        order: -1;
    }
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   13. CAREER ADVICE PAGE (Redesigned v2)
   ========================================= */
.career-hero-v2 {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.career-hero-v2::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 145, 60, 0.15) 0%, rgba(227, 145, 60, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.career-hero-v2::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.badge-soft {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.career-hero-v2 h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.career-hero-v2 p {
    font-size: 1.25rem;
    color: #d1d5db;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    font-weight: 300;
    max-width: 700px;
    width: 100%;
    white-space: normal;
}

.search-bar-modern {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 4px solid rgba(255,255,255,0.1);
}

.search-bar-modern:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -10px rgba(0,0,0,0.4);
    border-color: rgba(227, 145, 60, 0.3);
}

.search-bar-modern i {
    color: #9ca3af;
    margin-left: 20px;
    width: 22px;
    height: 22px;
}

.search-bar-modern input {
    border: none;
    outline: none;
    flex: 1;
    padding: 15px 20px;
    font-size: 1.05rem;
    background: transparent;
    color: #1f2937;
}

.btn-search-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(227, 145, 60, 0.3);
}
.btn-search-icon:hover {
    background: #d97706;
    transform: scale(1.05);
}

.btn-search-icon i { margin: 0; width: 24px; height: 24px; }

/* --- CATEGORY SCROLL --- */
.category-scroll-section {
    padding: 20px 0 40px;
    background: #fff;
}

.cat-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    justify-content: center;
    scrollbar-width: none; /* Firefox */
}
.cat-scroll-wrapper::-webkit-scrollbar { display: none; }

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    min-width: 70px;
    transition: 0.2s;
}

.cat-item:hover { transform: translateY(-5px); }

.cat-icon-box {
    width: 60px;
    height: 60px;
    background: #f9fafb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 1px solid #f3f4f6;
    transition: 0.2s;
}

.cat-item.active .cat-icon-box, .cat-item:hover .cat-icon-box {
    background: #fff7ed;
    border-color: var(--primary-orange);
    box-shadow: 0 8px 15px rgba(227, 145, 60, 0.15);
}

.cat-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
}
.cat-item.active span { color: var(--primary-orange); }

/* --- ARTICLES GRID --- */
.articles-section {
    background: #f8fafc;
    padding: 60px 0 80px;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 30px;
}

.articles-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.guide-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

.guide-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.guide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.guide-card:hover .guide-img img { transform: scale(1.05); }

.guide-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.guide-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.guide-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.guide-body p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.guide-link {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.guide-link:hover { gap: 8px; }

/* --- CTA --- */
.career-cta {
    background: #111827;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-box h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-box p { color: #9ca3af; margin-bottom: 30px; }

.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.cta-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 1rem;
}

/* --- ARTICLE MODAL (Fixed) --- */
.article-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.article-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalSlideUp 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-article {
    color: white;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.close-article:hover { background: rgba(0,0,0,0.6); }

.article-header { position: relative; height: 300px; flex-shrink: 0; }
.article-header img { width: 100%; height: 100%; object-fit: cover; }

.article-header .modal-tag {
    position: absolute; bottom: 20px; left: 20px;
    background: var(--primary-orange); color: white;
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.article-body-content { padding: 40px; }

.article-body-content h2 {
    font-size: 2rem; color: var(--primary-black);
    margin-bottom: 20px; line-height: 1.3;
}

.article-body-content p {
    font-size: 1.05rem; line-height: 1.8;
    color: #4b5563; margin-bottom: 20px;
}

.article-body-content ul { margin-bottom: 20px; padding-left: 20px; }
.article-body-content li { margin-bottom: 10px; color: #4b5563; line-height: 1.6; }

@media (max-width: 768px) {
    .cat-scroll-wrapper { justify-content: flex-start; padding-left: 20px; }
    .cta-form { flex-direction: column; }
    .article-header { height: 200px; }
    .article-body-content { padding: 25px; }
    .article-body-content h2 { font-size: 1.5rem; }
    .career-hero-v2 h1 { font-size: 2.5rem; }
}