/* JobAlert Pro - Premium Responsive Stylesheet */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --primary: #0F4C81;
    --primary-light: #1565C0;
    --primary-dark: #0A3A6B;
    --secondary: #1E88E5;
    --accent: #FF9800;
    --accent-light: #FFB74D;
    --success: #2E7D32;
    --danger: #E53935;
    --info: #00ACC1;
    --bg-primary: #F5F7FA;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;

    /* Purple Brand Palette */
    --color-primary-darkest: #1A1438;
    --color-primary: #2D2566;
    --color-accent: #FAC775;
    --color-accent-dark: #412402;
    --color-light-bg: #F4F1FE;
    --color-lavender-text: #B9B1E8;
    --color-muted-text: #6E64A8;
    --color-pill-bg: rgba(255,255,255,0.1);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1280px;
    --header-height: 130px;
}

/* Dark Mode */
[data-bs-theme="dark"] {
    --bg-primary: #0B1121;
    --bg-card: #111827;
    --bg-elevated: #1F2937;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-color: #1E293B;
    --border-light: #1E293B;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.25);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.3);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.35);
}
[data-bs-theme="dark"] .navbar-pill-wrapper {
    background: #1a1438;
    border-color: #2d2566;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
[data-bs-theme="dark"] .navbar-pill-wrapper .nav-link {
    color: var(--color-lavender-text) !important;
}
[data-bs-theme="dark"] .navbar-pill-wrapper .nav-link:hover {
    background: rgba(185,177,232,0.1);
}
[data-bs-theme="dark"] .navbar-pill-wrapper .nav-link.active {
    background: rgba(250,199,117,0.12);
    color: var(--color-accent) !important;
    border-bottom-color: var(--color-accent);
}
[data-bs-theme="dark"] .particulars-table { border-color: #2d3748; }
[data-bs-theme="dark"] .particulars-table tbody tr { background: var(--bg-card); }
[data-bs-theme="dark"] .particulars-table tbody tr:nth-child(even) { background: #1a2332; }
[data-bs-theme="dark"] .particulars-table tbody td { color: var(--text-primary); border-bottom-color: #2d3748; }
[data-bs-theme="dark"] .particulars-table tbody td:first-child { color: var(--text-secondary); border-right-color: #2d3748; }
[data-bs-theme="dark"] .particulars-table tbody td a { color: #60a5fa; }
[data-bs-theme="dark"] .particulars-table tbody td a:hover { color: var(--color-accent); }
[data-bs-theme="dark"] .section-qualification {
    background: linear-gradient(135deg, #120e28 0%, #1a1438 100%);
}
[data-bs-theme="dark"] .section-qualification .section-title {
    color: #f1f5f9;
}
[data-bs-theme="dark"] .text-gradient-qual {
    background: linear-gradient(135deg, var(--color-accent) 0%, #f0d090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-bs-theme="dark"] .qual-card {
    background: #1a1438;
}
[data-bs-theme="dark"] .qual-card-name {
    color: var(--color-lavender-text);
}
[data-bs-theme="dark"] .navbar-pill-wrapper .nav-divider {
    background: #2a2d3e;
}
[data-bs-theme="dark"] .nav-link-closing-soon {
    background: #2d1515 !important;
    color: #f87171 !important;
}
[data-bs-theme="dark"] .nav-link-closing-soon:hover {
    background: #3d1d1d !important;
}
[data-bs-theme="dark"] .nav-link-closing-soon.active {
    background: #2d1515 !important;
    border-bottom-color: #f87171 !important;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--primary); color: #fff; }
.container { max-width: var(--container-max); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, #f0d090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glassmorphism {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18);
}

/* ============================================
   HEADER
   ============================================ */
.header-top {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    padding: 5px 0;
    letter-spacing: 0.2px;
}
.header-top a { color: rgba(255,255,255,0.75); }
.header-top a:hover { color: #fff; }

.main-header .navbar {
    background: transparent;
    box-shadow: none;
    padding: 12px 0;
    z-index: 1050;
    border-bottom: none;
    transition: var(--transition);
}
.main-header .navbar .container {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: none;
    max-width: var(--container-max);
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    display: block;
    line-height: 1.1;
}
.brand-tagline { font-size: 10px; color: var(--text-muted); display: block; letter-spacing: 0.3px; }

/* Floating Pill Navbar Wrapper */
.navbar-pill-wrapper {
    background: var(--color-light-bg);
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(45,37,102,0.08);
    padding: 6px 10px;
    max-width: fit-content;
    margin-left: auto;
    border: 1px solid rgba(110,100,168,0.1);
}

/* Nav Items */
.navbar-pill-wrapper .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}
.navbar-pill-wrapper .nav-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    flex-shrink: 0;
    margin: 0 4px;
}
.navbar-pill-wrapper .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 8px 16px !important;
    border-radius: 12px;
    font-size: 13.5px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    position: relative;
    text-decoration: none;
    background: transparent;
}
.navbar-pill-wrapper .nav-link i {
    font-size: 13px;
}
.navbar-pill-wrapper .nav-link:hover {
    background: rgba(45,37,102,0.06);
    color: var(--color-primary) !important;
}

/* Active State */
.navbar-pill-wrapper .nav-link.active {
    background: rgba(45,37,102,0.1);
    color: var(--color-primary) !important;
    border-bottom: 2px solid var(--color-primary);
    border-radius: 12px 12px 0 0;
    padding-bottom: 6px !important;
}
.navbar-pill-wrapper .nav-link.active i {
    color: #2563eb;
}

/* Closing Soon Special */
.nav-link-closing-soon {
    background: #fff1f0 !important;
    color: #dc2626 !important;
}
.nav-link-closing-soon i {
    color: #dc2626;
}
.nav-link-closing-soon:hover {
    background: #ffe4e2 !important;
}
.nav-link-closing-soon.active {
    background: #fff1f0 !important;
    border-bottom-color: #dc2626 !important;
}
.nav-link-closing-soon.active i {
    color: #dc2626;
}
.closing-soon-badge {
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    margin-left: 2px;
    animation: pulse 2s infinite;
}

/* Mega Menu */
.mega-dropdown {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    min-width: 680px;
    max-width: 720px;
    border: 1px solid var(--border-color);
}
.mega-dropdown-content { padding: 0; }
.mega-dropdown-content .row { row-gap: 2px; }
.mega-dropdown-content .col-md-4,
.mega-dropdown-content .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.mega-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
    min-height: 36px;
}
.mega-item:hover {
    background: var(--bg-primary);
    color: var(--primary);
    transform: translateX(4px);
}
.mega-item i { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.mega-item span:nth-child(2) {
    line-height: 1.3;
}

/* Search */
.search-form { position: relative; }
.search-form .form-control {
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    border: 2px solid var(--border-color);
    padding: 7px 16px;
    font-size: 13px;
    width: 200px;
    transition: var(--transition);
    background: var(--bg-primary);
}
.search-form .form-control:focus {
    border-color: var(--primary);
    width: 260px;
    box-shadow: 0 0 0 3px rgba(15,76,129,0.1);
}
.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    padding: 7px 16px;
    transition: var(--transition-fast);
}
.search-btn:hover { background: var(--secondary); }

/* Mega Menu Item Count */
.mega-item-count {
    margin-left: auto;
    background: var(--bg-primary);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.mega-dropdown-footer {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}
.mega-dropdown-footer a {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #0D0D0D 0%, var(--color-primary-darkest) 50%, #120e28 100%);
    color: #fff;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}
.hero-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.min-vh-hero { min-height: 400px; display: flex; align-items: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(250,199,117,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250,199,117,0.25);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero-title-slide-right,
.hero-title-slide-left {
    display: inline-block;
    color: #FFFFFF;
}
.hero-title-slide-right {
    animation: slideFromRight 0.7s ease-out both;
}
.hero-title-slide-left {
    animation: slideFromLeft 0.7s ease-out 0.15s both;
}
@keyframes slideFromRight {
    0% { opacity: 0; transform: translateX(100px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromLeft {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-lavender-text);
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-search .input-group {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}
.hero-search .form-control {
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    background: rgba(255,255,255,0.95);
    color: #1a1a2e;
}
.hero-search .form-control::placeholder {
    color: #64748B;
}
.hero-search .input-group-text {
    background: rgba(255,255,255,0.95);
    border: none;
    color: var(--color-primary);
}
.hero-search .btn-warning {
    padding: 10px 28px;
    font-weight: 600;
    font-size: 14px;
    background: var(--color-accent);
    color: var(--color-accent-dark);
    border: none;
}
.hero-search .btn-warning:hover {
    background: #e6b45e;
    color: var(--color-accent-dark);
}

.search-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.search-tag {
    background: var(--color-pill-bg);
    color: var(--color-lavender-text);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    border: 1px solid rgba(185,177,232,0.18);
    transition: var(--transition-fast);
}
.search-tag:hover { background: rgba(250,199,117,0.15); color: var(--color-accent); }

.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-accent);
}
.stat-label { font-size: 12px; color: var(--color-lavender-text); margin-top: 2px; }

.hero-3d-container { height: 320px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-bottom-wave { position: absolute; bottom: -2px; left: 0; width: 100%; }
.hero-bottom-wave svg { display: block; width: 100%; height: 60px; }

/* ============================================
   NOTIFICATION BAR (Ticker)
   ============================================ */
.notification-bar {
    background: transparent;
    padding: 10px 0 4px;
}
.pill-ticker {
    display: flex;
    align-items: center;
    background: var(--color-primary-darkest);
    border-radius: 9999px;
    padding: 6px 6px 6px 0;
    box-shadow: 0 4px 16px rgba(26,20,56,0.45), 0 1px 3px rgba(26,20,56,0.25);
    overflow: hidden;
    border: 1px solid rgba(185,177,232,0.08);
}
.pill-ticker-label {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-accent), #e6a84d);
    color: var(--color-accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 9999px;
    margin-right: 10px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pill-ticker-track {
    display: flex;
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.pill-ticker-content {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    animation: pillScroll 40s linear infinite;
    padding-right: 40px;
}
.pill-ticker-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: var(--color-lavender-text);
    background: var(--color-pill-bg);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 16px;
    margin: 0 4px;
    border-radius: 9999px;
    transition: all 0.2s;
}
.pill-ticker-item:hover {
    color: var(--color-accent);
    background: rgba(250,199,117,0.12);
}
.pill-ticker:hover .pill-ticker-content {
    animation-play-state: paused;
}
@keyframes pillScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-categories { padding: 20px 0 10px; }
.section-main { padding: 10px 0 30px; }
.section-map { padding: 40px 0; }
.section-affairs { padding: 40px 0; }
.section-schemes { padding: 40px 0 50px; }

.section-header { margin-bottom: 30px; }
.section-header.text-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 10px;
    color: white;
    gap: 24px;
    box-sizing: border-box;
}
.section-header.text-center .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    order: 1;
    flex-shrink: 0;
    white-space: nowrap;
}
.section-header.text-center .section-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
    order: 2;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}
.section-header.text-center .section-title .text-gradient,
.section-header.text-center .section-title .text-gradient-qual {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header.text-center .section-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.5;
    order: 3;
    flex-shrink: 0;
    min-width: 0;
    max-width: none;
    text-align: right;
    white-space: normal;
    word-wrap: break-word;
}
.section-badge {
    display: inline-block;
    background: rgba(45,37,102,0.08);
    color: var(--color-primary);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.3px; }
.section-desc { color: var(--text-secondary); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 12px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-bounce);
    cursor: pointer;
    height: 100%;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: var(--text-primary);
}
.category-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
    transition: var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.12) rotate(3deg); }
.category-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.category-count { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ============================================
   CONTENT CARDS (Sidebar boxes)
   ============================================ */
.content-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: var(--transition);
}
.content-card:hover { box-shadow: var(--shadow-sm); }
.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, rgba(15,76,129,0.02), rgba(30,136,229,0.02));
}
.content-card-header h3 { font-size: 14px; font-weight: 700; margin: 0; }
.content-card-header h3 i { margin-right: 6px; font-size: 14px; }
.content-card-header .view-all { font-size: 12px; font-weight: 500; color: var(--primary); }
.content-card-body { padding: 14px 18px; }

/* Dashboard Cards */
.dash-card { border-radius: var(--radius-md); }
.dash-card .content-card-header { padding: 12px 16px; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.dash-card .content-card-body { padding: 12px 16px; }
.dash-card-featured .content-card-header { background: linear-gradient(135deg, rgba(255,152,0,0.06), rgba(255,152,0,0.02)); }
.vacancy-badge-inline { font-size: 10px; color: var(--color-accent); font-weight: 700; white-space: nowrap; }

/* ============================================
   JOB MINI CARDS (Homepage sidebar)
   ============================================ */
.job-mini-card {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.job-mini-card:last-child { border-bottom: none; }
.job-mini-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.job-mini-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 3px;
}
.job-mini-meta { display: flex; flex-direction: column; gap: 1px; }
.job-mini-meta span { font-size: 10.5px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* ============================================
   JOB CARDS (Grid listing)
   ============================================ */
.job-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 18px;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.job-card-badges { margin-bottom: 8px; }
.job-card-badges .badge { font-size: 10px; font-weight: 600; margin-right: 4px; padding: 3px 8px; }
.job-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; flex-grow: 0; }
.job-card h4 a { color: var(--text-primary); }
.job-card h4 a:hover { color: var(--primary); }
.job-card-details { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.job-card-details span { font-size: 11.5px; color: var(--text-secondary); display: flex; align-items: center; gap: 5px; }
.job-card-meta { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.vacancy-badge { font-size: 11.5px; color: var(--success); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.date-badge { font-size: 11.5px; color: var(--danger); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.job-card-actions { display: flex; gap: 6px; margin-top: auto; }

/* Featured Job Cards */
.job-card-featured {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}
.job-card-featured:last-child { margin-bottom: 0; }
.job-card-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.job-card-badge { margin-bottom: 6px; }
.job-card-badge .badge { font-size: 9px; margin-right: 4px; padding: 2px 7px; }
.job-card-featured h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.job-card-featured h4 a { color: var(--text-primary); }
.job-card-featured h4 a:hover { color: var(--primary); }
.job-card-featured .job-card-details { margin-bottom: 8px; }

/* ============================================
   LIST ITEMS (Admit cards, results)
   ============================================ */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    gap: 8px;
}
.list-item:last-child { border-bottom: none; }
.list-item a { font-size: 12.5px; font-weight: 500; color: var(--text-primary); flex: 1; line-height: 1.4; }
.list-item a:hover { color: var(--primary); }
.list-date { font-size: 10.5px; color: var(--text-muted); white-space: nowrap; display: flex; align-items: center; gap: 3px; }

/* ============================================
   STATE PAGE SECTIONS (State-specific vs All India)
   ============================================ */
.jobs-section { margin-bottom: 35px; }
.jobs-section:last-child { margin-bottom: 0; }

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 8px;
    color: white;
}

.section-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h2 i { color: rgba(255, 255, 255, 0.9); }

.section-header .badge,
.job-count-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.job-count-badge.all-india-badge,
.all-india-header {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}
.all-india-header h2 i { color: rgba(255, 255, 255, 0.9); }

/* State-Specific Job Cards - Distinct Color */
.job-card.state-specific {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    position: relative;
}

.job-card.state-specific .state-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* All India Job Cards - Subtle Style */
.job-card.all-india {
    border-left: 4px solid #6b7280;
    background: #ffffff;
    opacity: 0.95;
    position: relative;
}

.job-card.all-india .all-india-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #6b7280;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* No jobs message */
.no-jobs-message {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin: 30px 0;
}

.no-jobs-message i {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.no-jobs-message h2 {
    color: #374151;
    margin-bottom: 15px;
}

.no-jobs-message p {
    color: #6b7280;
    margin-bottom: 10px;
}

.no-jobs-message ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.no-jobs-message ul li {
    padding: 8px 0;
}

.no-jobs-message a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}

.no-jobs-message a:hover {
    text-decoration: underline;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-upcoming { background: #dbeafe; color: #1e40af; }
.status-apply-open { background: #dcfce7; color: #166534; }
.status-admit-card { background: #fef3c7; color: #92400e; }
.status-exam-done { background: #e9d5ff; color: #6b21a8; }
.status-result-out { background: #fed7aa; color: #9a3412; }
.status-closed { background: #f3f4f6; color: #6b7280; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar-sticky { position: sticky; top: 90px; }

.popular-searches { display: flex; flex-wrap: wrap; gap: 6px; }
.popular-tag {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}
.popular-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.quick-links { list-style: none; padding: 0; margin: 0; }
.quick-links li { margin-bottom: 2px; }
.quick-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 500;
    transition: var(--transition-fast);
}
.quick-links a:hover { background: var(--bg-primary); color: var(--primary); }
.quick-links a i { width: 18px; text-align: center; color: var(--primary); font-size: 13px; }

.newsletter-box {
    background: linear-gradient(135deg, rgba(45,37,102,0.04), rgba(250,199,117,0.06));
    border-radius: var(--radius-lg);
    padding: 24px 16px;
}

/* ============================================
   QUALIFICATION-WISE SECTION (Card Grid)
   ============================================ */
.section-qualification {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--color-light-bg) 0%, #e8e3f8 100%);
    position: relative;
}
.text-gradient-qual {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-muted-text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.qual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px 22px;
    background: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    height: 100%;
}
.qual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--qc-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.qual-card:hover {
    transform: translateY(-6px);
    border-color: var(--qc-color);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    color: var(--text-primary);
}
.qual-card:hover::before {
    opacity: 1;
}
.qual-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}
.qual-card:hover .qual-card-icon {
    transform: scale(1.1);
}
.qual-card-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}
.qual-card-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* ============================================
   CLOSING SOON WIDGET
   ============================================ */
.closing-soon-widget { border-left: 3px solid var(--danger); }
.closing-soon-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.closing-soon-item:last-child { border-bottom: none; }
.closing-soon-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 3px;
}
.closing-soon-title:hover { color: var(--primary); }
.closing-soon-meta { display: flex; flex-direction: column; gap: 2px; }
.closing-soon-meta span { font-size: 10.5px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.countdown-urgent { color: var(--danger) !important; font-weight: 700; font-size: 11px !important; }
.countdown-timer { color: var(--accent) !important; font-weight: 600; }

/* ============================================
   CALENDAR PAGE STYLES
   ============================================ */
.calendar-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.date-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}
.countdown-badge { font-size: 11px; }

/* ============================================
   STATE CARDS
   ============================================ */
.state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.state-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--text-primary);
}
.state-name { font-size: 12px; font-weight: 600; line-height: 1.3; }
.state-count { font-size: 10px; color: var(--text-muted); font-weight: 500; }

/* ============================================
   ALL INDIA JOBS CARD
   ============================================ */
.all-india-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
    border-radius: var(--radius-md);
    border: 2px solid #FF9933;
    transition: var(--transition);
    text-decoration: none;
    color: #1a1a2e;
    position: relative;
    overflow: hidden;
}
.all-india-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.85);
    z-index: 0;
}
.all-india-card > * { position: relative; z-index: 1; }
.all-india-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255,153,51,0.3);
    border-color: #e8850a;
    color: #1a1a2e;
    text-decoration: none;
}
.all-india-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #FF9933, #e8850a);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
    flex-shrink: 0;
}
.all-india-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.all-india-label { font-size: 13px; font-weight: 700; line-height: 1.3; color: #1a1a2e; }
.all-india-count { font-size: 11px; color: #555; font-weight: 500; }
.all-india-arrow { color: #FF9933; font-size: 16px; flex-shrink: 0; }

/* ============================================
   AFFAIRS CARDS
   ============================================ */
.affairs-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 22px;
    position: relative;
    transition: var(--transition);
    height: 100%;
}
.affairs-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.affairs-date-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    text-align: center;
    line-height: 1;
}
.affairs-date-badge .day { display: block; font-size: 20px; font-weight: 800; }
.affairs-date-badge .month { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.affairs-type { margin-bottom: 8px; }
.affairs-card h5 { font-size: 15px; margin-bottom: 8px; }
.affairs-card h5 a { color: var(--text-primary); }
.affairs-card h5 a:hover { color: var(--primary); }
.affairs-card p { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.6; }

/* ============================================
   SCHEME CARDS
   ============================================ */
.scheme-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 22px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.scheme-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.scheme-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}
.scheme-card h5 { font-size: 14px; margin-bottom: 8px; }
.scheme-card p { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.6; }

/* Read More */
.read-more {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.read-more:hover { gap: 8px; }

/* ============================================
   JOB DETAIL PAGE
   ============================================ */
.breadcrumb-section {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}
.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0;
}
.breadcrumb-item a,
.breadcrumb-item.active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(15,76,129,0.04);
}
.breadcrumb-item.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(15,76,129,0.06);
    cursor: default;
}
.breadcrumb-item a i,
.breadcrumb-item.active i {
    font-size: 14px;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--text-muted);
    font-size: 10px;
    margin: 0 8px;
    flex-shrink: 0;
    border: none;
    padding: 0;
}
.breadcrumb-item:first-child a::before {
    content: '\f015';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    margin-right: 2px;
}
.breadcrumb-item:last-child.active::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    margin-right: 2px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 40px 0;
}
.page-header-content { text-align: center; }
.page-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
}
.page-header h1 { font-size: 28px; margin-bottom: 8px; }
.page-header-desc { font-size: 14px; color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 12px; }
.page-header-stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.stat-pill {
    background: rgba(255,255,255,0.15);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-jobs { padding: 30px 0; }

.job-detail-header {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 22px;
    margin-bottom: 16px;
}
.job-detail-header .job-title { font-size: 22px; margin-top: 12px; }
.job-meta-info { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.job-meta-info span { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 5px; }
.job-actions .btn { margin-left: 4px; }

.job-quick-info {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 18px;
    margin-bottom: 16px;
}
.quick-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}
.quick-info-item i { font-size: 20px; color: var(--primary); }
.quick-info-item small { display: block; font-size: 10px; color: var(--text-muted); }
.quick-info-item strong { font-size: 13px; }

.job-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 22px;
}
.detail-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); }
.detail-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.detail-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.detail-section h3 i { font-size: 15px; }
.quick-summary-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.25);
}
.quick-summary-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.quick-summary-box h3 i { color: #FFD54F; }
.quick-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.quick-summary-list li {
    font-size: 14px;
    line-height: 1.6;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.quick-summary-list li:last-child { border-bottom: none; padding-bottom: 0; }
.quick-summary-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #FFD54F; font-size: 11px; margin-top: 3px; flex-shrink: 0; }
.quick-summary-list li strong { color: #FFD54F; min-width: fit-content; }
.detail-table { width: 100%; }
.detail-table td { padding: 8px 12px; border-bottom: 1px solid var(--border-light); font-size: 13px; vertical-align: top; }
.detail-table td:first-child { font-weight: 600; color: var(--text-secondary); width: 180px; white-space: nowrap; }
.particulars-table { width: 100%; border: 2px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.particulars-table thead th { background: var(--primary); color: #fff; padding: 12px 16px; font-size: 14px; font-weight: 700; border: none; text-align: left; }
.particulars-table thead th:first-child { border-right: 2px solid rgba(255,255,255,0.2); }
.particulars-table tbody tr { background: var(--bg-card, #fff); }
.particulars-table tbody tr:nth-child(even) { background: var(--bg-secondary, var(--bg-primary, #f8f9fa)); }
.particulars-table tbody tr:last-child td { border-bottom: none; }
.particulars-table tbody td { padding: 11px 16px; border-bottom: 1px solid var(--border-color); font-size: 13.5px; vertical-align: middle; line-height: 1.5; }
.particulars-table tbody td:first-child { font-weight: 600; color: var(--text-secondary); width: 220px; white-space: nowrap; border-right: 1px solid var(--border-color); }
.particulars-table tbody td:last-child { color: var(--text-primary); }
.particulars-table tbody td a { color: var(--primary); text-decoration: underline; font-weight: 500; }
.particulars-table tbody td a:hover { color: var(--accent); }

.important-links { display: flex; gap: 8px; flex-wrap: wrap; }
.important-links .btn { font-size: 13px; font-weight: 500; }

.share-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 18px;
    margin-top: 16px;
}
.share-buttons { display: flex; gap: 8px; }
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.print { background: #6b7280; }

.related-jobs {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 22px;
    margin-top: 16px;
}
.related-jobs h3 { font-size: 16px; margin-bottom: 12px; }
.related-job-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: var(--transition);
}
.related-job-card:hover { box-shadow: var(--shadow-sm); }
.related-job-card h5 { font-size: 13px; margin-bottom: 4px; }
.related-job-card h5 a { color: var(--text-primary); }
.related-job-card h5 a:hover { color: var(--primary); }
.related-job-card p { font-size: 11px; color: var(--text-secondary); margin-bottom: 6px; }

.job-faqs {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 22px;
    margin-top: 16px;
}
.job-faqs h3 { font-size: 16px; margin-bottom: 12px; }

.empty-state { text-align: center; padding: 50px 16px; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-color); }
.empty-state h4 { margin-top: 12px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, #0A1628 0%, #060E1A 100%);
    color: rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
}
.footer-wave { position: relative; }
.footer-wave svg { display: block; width: 100%; color: #0A1628; }
.footer-main { padding: 50px 0 30px; }
.footer-brand h4 { color: #fff; font-size: 20px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.social-links { display: flex; gap: 8px; }
.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 14px;
}
.social-links a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-title { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 13px; transition: var(--transition-fast); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.newsletter-form .input-group { border-radius: var(--radius-sm); overflow: hidden; }
.newsletter-form .form-control { border: none; font-size: 13px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
    font-size: 12px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    font-size: 16px;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--secondary); transform: translateY(-2px); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-link {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: var(--bg-card);
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 6px 12px;
}
.pagination .page-item.active .page-link { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-link:hover { background: rgba(15,76,129,0.06); color: var(--primary); }

/* Badge */
.badge { font-weight: 600; padding: 4px 8px; font-size: 10px; }

/* Search Results */
.search-results-header { margin-bottom: 16px; }
.search-results-header h4 { font-size: 14px; color: var(--text-secondary); }

/* ============================================
   RESPONSIVE: TABLET (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root { --container-max: 960px; }
    .hero-title { font-size: 36px; }
    .hero-section { padding: 50px 0 70px; min-height: 420px; }
    .min-vh-hero { min-height: 340px; }
    .section-title { font-size: 28px; }
    .sidebar-sticky { position: static; }
    .section-categories { padding: 20px 0 15px; }
    .section-main { padding: 10px 0 20px; }
    .section-qualification { padding: 40px 0; }
    .qual-card { padding: 22px 14px 18px; }
    .qual-card-icon { width: 56px; height: 56px; font-size: 22px; }
    .qual-card-name { font-size: 13px; }
    .section-map,
    .section-affairs,
    .section-schemes { padding: 30px 0; }
}

/* ============================================
    RESPONSIVE: MOBILE LANDSCAPE (max 767px)
    ============================================ */
@media (max-width: 767px) {
    :root { --container-max: 100%; --header-height: auto; }
    
    .header-top-left span:last-child { display: none; }
    .header-top { padding: 4px 0; }
    
    .main-header .navbar { padding: 8px 0; }
    .brand-name { font-size: 16px; }
    .navbar-pill-wrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        margin: 8px 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    .navbar-pill-wrapper .navbar-nav {
        flex-direction: column;
        gap: 2px;
        padding: 4px;
    }
    .navbar-pill-wrapper .nav-divider {
        width: 100%;
        height: 1px;
        margin: 4px 0;
    }
    .navbar-pill-wrapper .nav-link {
        width: 100%;
        padding: 10px 16px !important;
        border-radius: 12px;
    }
    .navbar-pill-wrapper .nav-link.active {
        border-bottom: none;
        border-radius: 12px;
        padding-bottom: 10px !important;
    }
    .mega-dropdown { min-width: auto; width: 100%; max-width: 100%; }

    .hero-section { padding: 40px 0 60px; min-height: auto; }
    .min-vh-hero { min-height: auto; }
    .hero-title { font-size: 28px; line-height: 1.15; }
    .hero-subtitle { font-size: 14px; margin-bottom: 20px; }
    .hero-search .form-control { padding: 12px 16px; font-size: 14px; }
    .hero-search .btn-warning { padding: 10px 20px; font-size: 13px; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .hero-3d-container { display: none; }

    .section-categories { padding: 20px 0 15px; }
    .section-main { padding: 8px 0 20px; }
    .section-qualification { padding: 30px 0; }
    .qual-card { padding: 20px 12px 16px; border-radius: 12px; }
    .qual-card-icon { width: 50px; height: 50px; font-size: 20px; margin-bottom: 10px; }
    .qual-card-name { font-size: 12px; margin-bottom: 6px; }
    .qual-card-badge { font-size: 10px; padding: 2px 10px; }
    .section-map,
    .section-affairs,
    .section-schemes { padding: 25px 0; }
    .section-header { margin-bottom: 24px; }
    .section-header.text-center {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        gap: 8px;
    }
    .section-header.text-center .section-badge { order: 0; }
    .section-header.text-center .section-title { order: 0; font-size: 20px; white-space: normal; }
    .section-header.text-center .section-desc { order: 0; max-width: none; text-align: center; font-size: 13px; white-space: normal; }
    .section-title { font-size: 24px; }
    .section-desc { font-size: 13px; }

    .category-card { padding: 16px 10px; }
    .category-icon { width: 44px; height: 44px; font-size: 18px; }
    .category-name { font-size: 12px; }

    .job-card { padding: 14px; }
    .job-card h4 { font-size: 13px; }
    .job-card-featured { padding: 12px; }
    .job-card-featured h4 { font-size: 13px; }

    .state-card { padding: 10px 8px; }
    .state-name { font-size: 11px; }
    .state-count { font-size: 9px; }

    .all-india-card { padding: 14px 16px; gap: 10px; }
    .all-india-icon { width: 40px; height: 40px; font-size: 16px; }
    .all-india-label { font-size: 12px; }

    .jobs-section .section-header h2 { font-size: 16px; }
    .jobs-section .section-header { flex-direction: column; text-align: center; gap: 8px; padding: 12px 16px; }

    .affairs-card { padding: 18px; }
    .affairs-card h5 { font-size: 14px; }
    .scheme-card { padding: 18px; }

    .page-header { padding: 30px 0; }
    .page-header h1 { font-size: 22px; }
    .job-detail-header .job-title { font-size: 18px; }
    .detail-table td { font-size: 12px; padding: 6px 8px; }
    .detail-table td:first-child { width: 120px; }
    .particulars-table thead th { font-size: 13px; padding: 10px 12px; }
    .particulars-table tbody td { font-size: 12.5px; padding: 9px 12px; }
    .particulars-table tbody td:first-child { width: 140px; }

    .footer-main { padding: 36px 0 20px; }
    .footer-brand h4 { font-size: 18px; }
    .footer-title { font-size: 13px; }
    .footer-links a { font-size: 12px; }
}

/* ============================================
   RESPONSIVE: MOBILE PORTRAIT (max 575px)
   ============================================ */
@media (max-width: 575px) {
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 13px; }
    .hero-stats { gap: 12px; }
    .stat-number { font-size: 20px; }
    .search-tags { gap: 4px; }
    .search-tag { font-size: 10px; padding: 2px 8px; }

    .section-title { font-size: 22px; }
    .section-badge { font-size: 10px; padding: 4px 10px; }

    .content-card-header { padding: 12px 14px; }
    .content-card-header h3 { font-size: 13px; }
    .content-card-body { padding: 12px 14px; }

    .job-mini-card { gap: 8px; }
    .job-mini-icon { width: 32px; height: 32px; font-size: 12px; }
    .job-mini-title { font-size: 12px; }
    .job-mini-meta span { font-size: 10px; }
    .particulars-table { border-width: 1.5px; }
    .particulars-table thead th { font-size: 12px; padding: 8px 10px; }
    .particulars-table tbody td { font-size: 12px; padding: 8px 10px; white-space: normal; }
    .particulars-table tbody td:first-child { width: auto; white-space: nowrap; }

    .list-item a { font-size: 12px; }
    .list-date { font-size: 10px; }

    .popular-tag { font-size: 10px; padding: 4px 10px; }
    .quick-links a { font-size: 12px; padding: 5px 8px; }

    .affairs-date-badge { padding: 5px 8px; }
    .affairs-date-badge .day { font-size: 16px; }
    .affairs-date-badge .month { font-size: 9px; }

    .scheme-icon { width: 44px; height: 44px; font-size: 18px; }

    .page-header-icon { width: 50px; height: 50px; font-size: 20px; }
    .page-header h1 { font-size: 20px; }
    .stat-pill { font-size: 11px; padding: 4px 10px; }
    .breadcrumb-item a,
    .breadcrumb-item.active {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 10px;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        width: 22px;
        height: 22px;
        font-size: 8px;
        margin: 0 5px;
    }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE (max 374px)
   ============================================ */
@media (max-width: 374px) {
    .hero-title { font-size: 22px; }
    .hero-section { padding: 30px 0 50px; }
    .hero-search .input-group { flex-direction: column; border-radius: var(--radius-md); }
    .hero-search .form-control { border-radius: var(--radius-md) var(--radius-md) 0 0; width: 100%; }
    .hero-search .input-group-text { display: none; }
    .hero-search .btn-warning { border-radius: 0 0 var(--radius-md) var(--radius-md); width: 100%; }
    .hero-stats { justify-content: center; }
    .stat-number { font-size: 18px; }
    .section-title { font-size: 20px; }
    .job-card-actions { flex-direction: column; }
    .job-card-actions .btn { width: 100%; text-align: center; }
    .page-header-stats { flex-direction: column; align-items: center; }
    .pill-ticker-label { font-size: 10px; padding: 6px 12px; }
    .pill-ticker-item { font-size: 10px; padding: 0 14px; }
}

/* ============================================
   RESPONSIVE: MOBILE TICKER (below 480px)
   ============================================ */
@media (max-width: 480px) {
    .ticker-content { font-size: 11px; }
    .notification-ticker { padding: 4px 0; }
    .notification-bar { font-size: 12px; }
    .pill-ticker { padding: 4px 4px 4px 0; }
    .pill-ticker-label { font-size: 9px; padding: 5px 10px; letter-spacing: 0.5px; }
    .pill-ticker-item { font-size: 9px; padding: 0 12px; }
}

/* ============================================
   RESPONSIVE: LARGE DESKTOP (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    :root { --container-max: 1320px; }
    .hero-title { font-size: 50px; }
    .hero-subtitle { font-size: 17px; }
    .section-title { font-size: 36px; }
}

/* ============================================
   RESPONSIVE: ULTRA WIDE (1920px+)
   ============================================ */
@media (min-width: 1920px) {
    :root { --container-max: 1440px; }
}

/* ============================================
   ANIMATIONS (Reduced Motion)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .ticker-content { animation: none; }
    .pill-ticker-content { animation: none; }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .main-header, .site-footer, .back-to-top, .share-section, .sidebar-sticky, .job-actions,
    .notification-bar, .hero-section { display: none !important; }
    .job-content, .job-detail-header { box-shadow: none; border: 1px solid #ddd; }
    body { background: #fff; color: #000; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

/* Base states - hidden before animation */
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-up,
.scroll-reveal-zoom {
    opacity: 0;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal-left {
    transform: translateX(-40px);
}
.scroll-reveal-right {
    transform: translateX(40px);
}
.scroll-reveal-up {
    transform: translateY(30px);
}
.scroll-reveal-zoom {
    transform: scale(0.95);
}

/* Visible state */
.scroll-reveal-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Staggered cards */
[data-stagger] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
[data-stagger].stagger-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button scale-in */
.btn[data-aos="scale-up"] {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.btn[data-aos="scale-up"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Image zoom-in */
.img-reveal {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}
.img-reveal.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Disable all animations when reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-up,
    .scroll-reveal-zoom,
    [data-stagger],
    .img-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
    }
}
