/* ============================================
   KOHAHUB - MAIN STYLESHEET
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green: #5a9a3e;
    --green-dark: #3d7527;
    --green-light: #7ec852;
    --green-pale: #eaf4e2;
    --text: #1e2d1f;
    --text-light: #4a5e4b;
    --text-muted: #7a8c7b;
    --border: #d8e8d4;
    --bg: #ffffff;
    --bg-light: #f4f9f1;
    --shadow: 0 2px 16px rgba(60,100,40,0.10);
    --shadow-lg: 0 8px 40px rgba(60,100,40,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.25s ease;
    --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }

/* --- TOPBAR --- */
.topbar {
    background: var(--green-dark);
    color: #c8e6c0;
    font-size: 0.82rem;
    padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar i { margin-right: 6px; }
.topbar-links { display: flex; gap: 16px; align-items: center; }
.topbar-links a { color: #c8e6c0; transition: color var(--transition); }
.topbar-links a:hover { color: #fff; }
.btn-register {
    background: var(--green-light);
    color: #fff !important;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
    transition: background var(--transition);
}
.btn-register:hover { background: #69b83d !important; }

/* --- NAVBAR --- */
.navbar {
    background: #fff;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(60,100,40,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 4px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo span { font-size: 1.4rem; font-weight: 800; color: var(--green); letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active { background: var(--green-pale); color: var(--green-dark); }
.nav-cta {
    background: var(--green) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.3rem; color: var(--text); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(90,154,62,0.4); }
.btn-outline { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green-pale); }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--green-pale); transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-danger { background: #e53935; color: #fff; }
.btn-danger:hover { background: #c62828; }

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35,70,20,0.90) 0%, rgba(35,70,20,0.70) 50%, rgba(35,70,20,0.50) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 80px 24px;
    max-width: 780px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #d4f0c0;
}
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-content h1 span { color: var(--green-light); }
.hero-content > p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--green-light); }
.hero-stats .stat span { font-size: 0.8rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.5px; }

/* --- SECTION HEADER --- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- FEATURES GRID --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
    cursor: pointer;
    display: block;
}
.feature-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.feature-link { font-size: 0.87rem; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 6px; }

/* --- TUTORIAL CARDS --- */
.tutorials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tutorial-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.tutorial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.tc-img { position: relative; height: 180px; overflow: hidden; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tutorial-card:hover .tc-img img { transform: scale(1.05); }
.tc-badge { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; }
.badge-free { background: #4caf50; color: #fff; }
.badge-paid { background: #ff9800; color: #fff; }
.tc-body { padding: 18px; }
.tc-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tc-cat { background: var(--green-pale); color: var(--green-dark); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.tc-level { font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.level-beginner { background: #e8f5e9; color: #388e3c; }
.level-intermediate { background: #fff3e0; color: #f57c00; }
.level-advanced { background: #fce4ec; color: #c2185b; }
.tc-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.tc-body p { font-size: 0.83rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.5; }
.tc-footer { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; }
.tc-footer span { display: flex; align-items: center; gap: 4px; }

/* --- BLOG CARDS --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.bc-img { position: relative; height: 200px; overflow: hidden; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .bc-img img { transform: scale(1.05); }
.bc-cat { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.bc-body { padding: 20px; }
.bc-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.bc-body p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.bc-footer { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.bc-author { display: flex; align-items: center; gap: 8px; }
.bc-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* --- JOB PREVIEW CARDS --- */
.jobs-preview { display: flex; flex-direction: column; gap: 12px; }
.job-preview-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    transition: all var(--transition);
    flex-wrap: wrap;
}
.job-preview-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.job-preview-card.sponsored { border-color: #ff9800; background: #fffdf7; }
.sponsored-badge { position: absolute; top: -10px; left: 16px; background: #ff9800; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.jpc-main { display: flex; align-items: center; gap: 16px; flex: 1; }
.jpc-icon { width: 48px; height: 48px; background: var(--green-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 1.2rem; flex-shrink: 0; }
.jpc-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.jpc-inst { font-size: 0.83rem; color: var(--text-light); display: block; margin-bottom: 6px; }
.jpc-tags { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.78rem; color: var(--text-muted); }
.jpc-tags span { display: flex; align-items: center; gap: 4px; }
.tag-type { background: var(--green-pale); color: var(--green-dark); padding: 2px 8px; border-radius: 12px; font-weight: 600; }

/* --- STATS BANNER --- */
.stats-banner { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); color: #fff; padding: 60px 0; }
.stats-inner { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; justify-content: center; }
.stats-text { flex: 1; min-width: 280px; }
.stats-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; }
.stats-text p { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1rem; }
.stats-image { width: 420px; max-width: 100%; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* --- CONSULTING --- */
.consulting-section { background: #fff; }
.consulting-inner { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.consulting-text { flex: 1; min-width: 300px; }
.consulting-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.consulting-text > p { color: var(--text-light); margin-bottom: 24px; line-height: 1.7; }
.consulting-list { margin-bottom: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consulting-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-light); }
.consulting-list li i { color: var(--green); font-size: 1rem; }
.consulting-img { flex: 1; min-width: 280px; }
.consulting-img img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow-lg); }

/* --- NEWSLETTER --- */
.newsletter-section { background: var(--green-pale); padding: 80px 0; }
.newsletter-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter-icon { font-size: 2.5rem; color: var(--green); margin-bottom: 16px; }
.newsletter-inner h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.newsletter-inner > p { color: var(--text-light); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 12px; }
.newsletter-form input {
    flex: 1;
    min-width: 180px;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-family: var(--font);
    font-size: 0.92rem;
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--green); }
.newsletter-note { font-size: 0.8rem; color: var(--text-muted); }

/* --- FOOTER --- */
.footer { background: #1a2e1a; color: #a8c8a0; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #2d4a2d; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin: 14px 0 20px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 10px; filter: brightness(1.5) saturate(0.5); }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; background: #2d4a2d; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #a8c8a0; transition: all var(--transition); }
.social-links a:hover { background: var(--green); color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #a8c8a0; font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 0.82rem;
    color: #6a8a6a;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #6a8a6a; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--green-light); }

/* --- PAGE BANNER (internal pages) --- */
.page-banner {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    color: #fff;
    padding: 56px 0;
    text-align: center;
}
.page-banner h1 { font-size: 2.3rem; font-weight: 800; margin-bottom: 12px; }
.page-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 20px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }

/* --- FILTERS BAR --- */
.filters-bar {
    background: #fff;
    border-bottom: 1.5px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 74px;
    z-index: 900;
}
.filters-inner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-btn {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.83rem;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.filters-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    padding: 6px 16px;
    min-width: 220px;
}
.filters-search input { border: none; background: transparent; outline: none; font-family: var(--font); font-size: 0.88rem; color: var(--text); flex: 1; }
.filters-search i { color: var(--text-muted); }

/* --- FORUM CARDS --- */
.forum-list { display: flex; flex-direction: column; gap: 10px; }
.forum-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    transition: all var(--transition);
}
.forum-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.forum-card.pinned { border-left: 4px solid var(--green); background: var(--green-pale); }
.forum-card.answered { }
.fc-title { font-weight: 700; font-size: 0.97rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.fc-title .pin-icon { color: var(--green); font-size: 0.85rem; }
.fc-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
.fc-meta span { display: flex; align-items: center; gap: 4px; }
.fc-cat { background: var(--green-pale); color: var(--green-dark); padding: 2px 8px; border-radius: 12px; font-weight: 600; font-size: 0.75rem; }
.answered-tag { background: #e8f5e9; color: #388e3c; padding: 2px 8px; border-radius: 12px; font-weight: 600; font-size: 0.75rem; }
.fc-stats { display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.fc-stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fc-stats strong { font-size: 1.1rem; font-weight: 700; color: var(--text); }

/* --- RESOURCE CARDS --- */
.resources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.resource-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.resource-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.rc-header { display: flex; align-items: flex-start; gap: 14px; }
.rc-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.rc-icon.pdf { background: #fce4ec; color: #e53935; }
.rc-icon.template { background: #e3f2fd; color: #1976d2; }
.rc-icon.script { background: #f3e5f5; color: #7b1fa2; }
.rc-icon.cheatsheet { background: #e0f7fa; color: #00838f; }
.rc-icon.sample { background: #fff3e0; color: #e65100; }
.rc-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.rc-type { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.rc-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.rc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.rc-downloads { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.rc-tags { display: flex; gap: 6px; }
.rc-free { background: #e8f5e9; color: #388e3c; font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 12px; }
.rc-premium { background: #fff3e0; color: #f57c00; font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 12px; }

/* --- LIBRARY DIRECTORY --- */
.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.library-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: all var(--transition);
    position: relative;
}
.library-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.library-card.featured { border-color: #ff9800; }
.lc-badge { position: absolute; top: -10px; right: 16px; background: #ff9800; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.lc-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.lc-icon { width: 52px; height: 52px; background: var(--green-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 1.4rem; }
.lc-title h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 4px; }
.lc-title span { font-size: 0.82rem; color: var(--text-muted); }
.lc-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.lc-footer { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.78rem; }
.lc-tag { background: var(--bg-light); border: 1px solid var(--border); padding: 3px 10px; border-radius: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* --- JOB FULL CARDS --- */
.jobs-grid { display: flex; flex-direction: column; gap: 16px; }
.job-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    transition: all var(--transition);
    position: relative;
}
.job-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.job-card.sponsored-job { border-left: 4px solid #ff9800; }
.jc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.jc-title-wrap h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.jc-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { padding: 3px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; }
.badge-fulltime { background: #e8f5e9; color: #388e3c; }
.badge-parttime { background: #e3f2fd; color: #1565c0; }
.badge-contract { background: #fff3e0; color: #e65100; }
.badge-remote { background: #f3e5f5; color: #6a1b9a; }
.badge-internship { background: #e0f7fa; color: #006064; }
.badge-sponsored { background: #ff9800; color: #fff; }
.jc-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.83rem; color: var(--text-muted); margin-bottom: 12px; }
.jc-meta span { display: flex; align-items: center; gap: 5px; }
.jc-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.jc-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jc-deadline { font-size: 0.8rem; color: var(--text-muted); margin-left: auto; }

/* --- LOADING / ERRORS --- */
.loading-spinner { text-align: center; padding: 40px; color: var(--text-muted); font-size: 0.95rem; }
.loading-spinner i { margin-right: 8px; color: var(--green); }
.error-msg { text-align: center; padding: 20px; color: #e53935; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 3rem; margin-bottom: 16px; color: var(--border); display: block; }

/* --- PAGINATION --- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
    width: 38px; height: 38px;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--text);
    transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- MODAL --- */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.95); transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-header h3 { font-size: 1.2rem; font-weight: 800; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 1.2rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 0.9rem; outline: none; transition: border-color var(--transition);
    background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { height: 100px; resize: vertical; }

/* --- TOAST NOTIFICATION --- */
.toast {
    position: fixed; bottom: 24px; right: 24px;
    background: #1a2e1a; color: #fff;
    padding: 14px 24px; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 500;
    z-index: 3000;
    transform: translateY(100px); opacity: 0;
    transition: all 0.3s ease;
    display: flex; align-items: center; gap: 10px;
    box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid #4caf50; }
.toast.error { border-left: 4px solid #e53935; }

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed; bottom: 24px; left: 24px;
    width: 44px; height: 44px;
    background: var(--green); color: #fff;
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem;
    opacity: 0; transform: translateY(20px); pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--green-dark); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .consulting-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .topbar-links .btn-register { display: none; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 74px;
        left: 0; right: 0;
        background: #fff;
        border-top: 2px solid var(--border);
        padding: 12px 24px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .stats-inner { flex-direction: column; gap: 32px; }
    .consulting-inner { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section { padding: 56px 0; }
    .jc-top { flex-direction: column; }
    .jc-deadline { margin-left: 0; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; justify-content: center; }
    .filters-inner { flex-direction: column; align-items: flex-start; }
    .filters-search { margin-left: 0; width: 100%; }
}
