:root {
    /* Modern Palette */
    --primary-color: #4F46E5;
    /* Indigo - Branding */
    --primary-hover: #4338ca;

    --secondary-color: #64748b;
    /* Slate */

    --accent-color: #F43F5E;
    /* Rose - Actions/Highlights */
    --accent-hover: #e11d48;

    /* Backgrounds */
    --bg-light: #F8FAFC;
    /* Very light cool gray */
    --bg-white: #ffffff;
    --bg-gradient-hero: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    /* Soft Indigo Tint */

    --text-dark: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    /* Slate 200 */

    /* Spacing & Layout */
    --container-width: 100%;
    --header-height: 70px;
    --radius: 12px;
    /* Professional ERP radius */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Status Colors */
    --orange: #f59e0b;
    --purple: #8b5cf6;
    --success: #10b981;
    /* Emerald */
    --danger: #ef4444;
    /* Red */
    --info: #06b6d4;
    /* Cyan */
    --warning: #f59e0b;

    /* Light/Background Variants */
    --bg-blue-light: #eff6ff;
    --bg-green-light: #ecfdf5;
    --bg-orange-light: #fffbeb;
    --bg-yellow-light: #fefce8;
    --bg-purple-light: #f5f3ff;
    --bg-red-light: #fef2f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Icon System --- */
i.fas,
i.far,
i.fab,
i.fa-solid,
i.fa-regular {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /* Default Brand Tone for contextual icons */
}

/* Primary Icons (for smaller lists, prevent polluting all icons) */
ul.list-group-item i {
    color: var(--primary-color);
}

/* Subtle Icons (meta data) */
.text-muted i {
    color: inherit;
    opacity: 0.8;
}

/* Button Icons (Reset) */
.btn i {
    color: inherit;
    margin-right: 0.5rem;
}

/* Icon Containers (Modern Circle) */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-blue-light);
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.2s;
}

/* --- Typography System --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 800;
    /* Bolder headings */
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    /* Tighter letter spacing for Inter */
}

h1 {
    font-size: 3rem;
    /* Larger hero */
    letter-spacing: -0.04em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

p {
    margin-bottom: 1.5rem;
    max-width: 100%;
    /* Readable line length */
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 65ch;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    body {
        font-size: 16px;
        /* Ensure readability on mobile */
    }
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1rem;
    }
}

.text-center {
    text-align: center;
}

.ta {
    text-align: center;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.cursor-pointer {
    cursor: pointer;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

/* Buttons */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    /* Wider touch target */
    min-height: 48px;
    min-width: 120px;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 8px;
    /* Professional button shape */
    transition: var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    /* Reset line-height for perfect centering */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:active {
    transform: translateY(1px);
}

@media (max-width: 600px) {
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    color: white;
}

.btn-outline {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

/* Hover only on real pointer devices — prevents stuck-blue on mobile touch */
@media (hover: hover) and (pointer: fine) {
    .btn-outline:hover {
        background-color: var(--primary-color) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    }
}

/* Touch/click feedback */
.btn-outline:active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.25);
}

.btn-danger:hover {
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

/* Card */
/* Card */
.card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    /* For shine */
    isolation: isolate;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
    z-index: 2;
}

/* Shine Effect */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
    z-index: 10;
}

.card:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

/* Empty State - Icon (Legacy/Alternative) */
.empty-state-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Empty State - Photo (New) */
.empty-state-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: var(--radius);
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: var(--shadow-sm);
    opacity: 0.9;
    mix-blend-mode: multiply;
    /* Blends nicely with white/light bg */
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: block;
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Ensure primary buttons in navbar keep their white color */
.nav-links a.btn-primary {
    color: white !important;
}
.nav-links a.btn-primary:hover {
    color: white !important;
}

/* Mobile Menu */
.hamburger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
    max-width: 100%;
}

/* Services col 2 — no visible heading gap on desktop */
.footer-col-services2 h4 {
    color: transparent;
    user-select: none;
    pointer-events: none;
}

/* Tablet: 2 columns, services2 hidden heading stays blank */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    /* Services col1 and col2 side by side already in 2-col layout */
    .footer-col-services2 h4 {
        display: none;
    }
}

/* Mobile: single column */
@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .footer-col-services2 h4 {
        display: none;
    }
}

.footer-col h4 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul li {
    list-style: none;
    margin-bottom: 0.4rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Responsive Navbar Restoration */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        border: none;
        width: auto;
        background: transparent;
        gap: 1.5rem;
        align-items: center;
        /* Fix vertical alignment */
    }

    .nav-links a:not(.btn) {
        display: inline;
        width: auto;
        padding: 0;
    }

    .nav-links .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.8rem 1.8rem !important;
        width: auto !important;
        margin-left: 0.5rem;
        line-height: 1 !important;
    }
}

/* --- Homepage Specifics --- */

/* Hero with Glassmorphism & Shine */
.hero-section {
    padding: 3rem 0;
    background: var(--bg-gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 60vh;
    /* Adjusted from 80vh to reduce huge blank space */
}

/* Background pulse */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pulse 8s infinite ease-in-out;
    z-index: 1;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* Left Content */
.hero-content-left {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content-left h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.text-highlight {
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content-left .lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    max-width: 100%;
}

/* Search Form (Pill Style) */
.hero-search-form {
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

.input-group {
    position: relative;
    flex: 1;
    border-right: 1px solid #eee;
}

.input-group:last-of-type {
    border-right: none;
}

.input-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: var(--text-dark);
}

.hero-search-form button {
    border-radius: 50px;
    padding: 0 2rem;
    margin: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.2rem;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Right Image Area */
.hero-image-right {
    position: relative;
    display: flex;
    justify-content: center;
}

.img-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.hero-main-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: floatbadge 5s ease-in-out infinite;
    z-index: 3;
}

.badge-top-left {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: 15%;
    right: -20px;
    animation-delay: 2.5s;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-blue-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-icon.icon-blue {
    background: var(--primary-color);
    color: white;
}

.badge-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.badge-text strong {
    font-size: 0.9rem;
    color: var(--text-dark);
    display: block;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes floatbadge {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        text-align: center;
        min-height: auto;
    }

    .hero-content-left {
        text-align: center;
    }

    .hero-content-left .lead {
        margin: 0 auto 2rem;
    }

    .hero-search-form {
        margin: 0 auto;
        flex-direction: column;
        border-radius: var(--radius);
        /* Stop tall pill shape */
        padding: 0.5rem;
    }

    .input-group {
        border-right: none;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .hero-search-form button {
        margin: 0.5rem 0 0 0;
        padding: 0.8rem;
        border-radius: var(--radius);
        /* Match parent card */
        width: 100%;
    }

    .hero-stats {
        justify-content: center;
        margin-bottom: 3rem;
    }

    .hero-image-right {
        display: flex;
        margin-top: 2rem;
        /* Show complex image on small mobile as requested */
    }
}

/* Category Cards (Clean & Shine) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card-clean {
    background: white;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card-clean:hover {
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Shine Effect on Hover */
.category-card-clean::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
}

.category-card-clean:hover::after {
    left: 100%;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-blue-light);
    color: var(--primary-color);
    border-radius: 20px;
    /* Soft squiggle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.category-card-clean:hover .icon-circle {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
}

.category-card-clean h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

/* Job Cards (Professional) */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.job-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
    z-index: 2;
}

.job-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
    z-index: 10;
}

.job-card:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

.job-logo {
    width: 55px;
    height: 55px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.job-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.company-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f5f5f5;
}

.job-type {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.full-time {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
}

.contract {
    background: rgba(255, 193, 7, 0.15);
    color: #d39e00;
}

.job-card .btn-outline {
    margin-top: auto;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

/* Steps */
.steps-grid-clean {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 992px) {
    .steps-grid-clean {
        grid-template-columns: repeat(4, 1fr);
    }
}




/* Companies */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
    opacity: 0.7;
}

.company-logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .companies-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* CTA */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.btn-primary-inverse {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.btn-primary-inverse:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-inverse {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
}

/* --- About Page Specifics --- */
.page-header {
    padding: 4rem 0 2rem;
    background: white;
}

.page-header-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/companies-office.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.page-header-bg .page-title {
    color: white;
}

.page-header-bg .lead-text {
    color: rgba(255, 255, 255, 0.9);
}

.page-header-career-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-team-working.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    color: white;
    padding: 6rem 0;
    /* Taller banner */
}

.page-header-career-bg .page-title {
    color: white;
}

.page-header-career-bg .lead-text {
    color: rgba(255, 255, 255, 0.9);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.rounded-shadow {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.row-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 769px) {
    .row-split {
        flex-direction: row;
    }
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    text-align: center;
}

.section-title-left {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.check-list {
    list-style: none;
    margin-top: 1rem;
}

.check-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.text-primary {
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* --- Jobs Page Specifics --- */
.jobs-header {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.jobs-banner-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    /* Taller banner by default */
}

/* Dark overlay for readability */
.jobs-banner-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.jobs-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.jobs-header-text {
    position: relative;
    z-index: 2;
    /* Above overlay */
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    padding: 1rem;
}

.jobs-header-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    /* Ensure title is white */
}

.jobs-header-text .lead-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
    .jobs-banner-wrapper {
        min-height: 280px;
    }

    .jobs-header-text h1 {
        font-size: 1.8rem;
    }

    .jobs-header-text .lead-text {
        font-size: 0.95rem;
    }
}

/* Jobs Grid Layout */
.jobs-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .jobs-layout {
        grid-template-columns: 280px 1fr;
    }

    .jobs-sidebar {
        display: block;
    }
}

/* Sidebar Filters */
.filter-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.input-group-sm {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    background: #fcfcfc;
}

.input-group-sm i {
    color: var(--text-muted);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.input-group-sm input {
    border: none;
    background: transparent;
    width: 85%;
    outline: none;
    font-size: 0.9rem;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 0.4rem;
}

.filter-list label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-list label span {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
}

/* Job Sorting */
.jobs-sorting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.form-select-sm {
    padding: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    color: var(--text-dark);
}

/* Job Horizontal Card */
.job-card-horizontal {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.job-card-horizontal:hover {
    box-shadow: var(--shadow-lg);
    border-color: #b8daff;
    transform: translateY(-4px);
}

@media (max-width: 600px) {
    .job-card-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .job-action {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }

    .job-action .d-flex {
        width: 100%;
        flex-direction: column;
    }
}

.job-info {
    flex: 1;
}

.job-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.job-info .company {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    background: #f1f3f5;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: default;
    user-select: none;
}

.badge.salary {
    background: #e8f5e9;
    color: #2e7d32;
}

.job-action {
    text-align: right;
    min-width: 140px;
}

.date-posted {
    display: block;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.btn-outline-sm {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

.btn-outline-sm.w-100 {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-outline-sm:hover {
    background: var(--primary-color);
    color: white;
}

.page-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin: 0 0.2rem;
    text-decoration: none;
    color: var(--text-dark);
}

.page-link.active,
.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}


.w-100 {
    width: 100%;
}

/* --- Job Details Page Specifics --- */
.job-header-section {
    background: white;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.job-header-wrapper {
    position: relative;
}

.job-header-img {
    height: 300px;
    width: 100%;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    margin-bottom: -60px;
    position: relative;
}

.job-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-header-info {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 0 2rem;
}

@media (max-width: 768px) {
    .job-header-info {
        margin: 0;
        padding: 1.5rem;
    }

    .job-title-row {
        flex-direction: column;
        gap: 1rem;
    }

    .job-actions-top {
        width: 100%;
        justify-content: flex-start;
    }
}

.job-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.job-title-lg {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.company-name-lg {
    font-size: 1.1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-badge {
    color: var(--primary-color);
    font-size: 0.8rem;
    background: var(--bg-blue-light);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Fix for logo text alignment */
.company-logo-lg span {
    width: 100%;
    text-align: center;
    display: block;
}

.job-actions-top {
    display: flex;
    gap: 1rem;
}

.job-meta-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.meta-item {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Job Content Layout */
.job-description-col {
    width: 100%;
    flex: 1;
}

.job-sidebar-col {
    width: 350px;
    position: sticky;
    top: 90px;
}

@media (max-width: 992px) {
    .job-sidebar-col {
        width: 100%;
        position: static;
    }

    .row-split {
        flex-direction: column;
    }
}

/* Content Styles */
/* Content Styles matching .card */
.content-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
    z-index: 10;
}

.content-card:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

.content-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f1f1;
    display: inline-block;
}

.content-card h3:first-child {
    margin-top: 0;
}

.content-card p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.05rem;
}

.job-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.job-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #555;
}

.job-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Skills Tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Sidebar Widgets */
/* Sidebar Widgets */
.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.company-mini-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.mb-05 {
    margin-bottom: 0.5rem;
}

.align-start {
    align-items: flex-start;
}

/* --- Companies Page Specifics --- */
.companies-header {
    background: white;
    padding: 0 0 2rem;
}

.banner-overlay-wrapper {
    position: relative;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    height: 250px;
    background: #000;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.banner-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.text-white {
    color: white !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Filter Bar */
.companies-filter-bar {
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: -3rem;
    /* Overlap banner slightly */
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.filter-input-wrapper {
    flex: 1;
    min-width: 200px;
    position: relative;
    background: var(--bg-light);
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 0.5rem 1rem;
}

.filter-input-wrapper i {
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.filter-input-wrapper input,
.filter-input-wrapper select {
    border: none;
    background: transparent;
    outline: none;
    width: 85%;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Company Cards Grid */
.company-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.company-card-lg {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}

.company-card-lg:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #b8daff;
}

.company-card-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f8f9fa;
}

.company-logo-lg {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.bg-green {
    background: #28a745;
}

.bg-purple {
    background: #6f42c1;
}

.bg-red {
    background: #dc3545;
}

.bg-orange {
    background: #fd7e14;
}

.bg-teal {
    background: #20c997;
}

.open-jobs-badge {
    background: var(--bg-blue-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
}

.company-card-body {
    padding: 1.5rem;
    flex: 1;
}

.company-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.company-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.company-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f8f9fa;
    background: #fbfbfb;
}

@media (max-width: 768px) {
    .companies-filter-bar {
        flex-direction: column;
        margin-top: 1rem;
    }

    .filter-input-wrapper {
        width: 100%;
    }
}

/* --- Company Profile Page Specifics --- */
.company-profile-header {
    background: white;
    padding-bottom: 4rem;
    /* Space for content overlap if needed, or clear separation */
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.company-cover-img {
    height: 350px;
    width: 100%;
    position: relative;
    background: #eee;
}

.company-cover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-header-info {
    position: relative;
    margin-top: -50px;
    /* Pull up over cover */
    padding: 0 1rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    /* Changed from flex-end to control text position manually */
}

@media (max-width: 768px) {
    .company-header-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -40px;
    }

    .company-title-row {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding-top: 1rem !important;
        /* Reset padding for mobile */
    }

    .company-actions {
        justify-content: center;
    }
}

.company-logo-xl {
    width: 120px;
    height: 120px;
    background: white;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    flex-shrink: 0;
}

.company-title-row {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
    padding-top: 60px;
    /* Push text down to clear the cover image */
}

.company-name-xl {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.company-meta-lg {
    font-size: 1rem;
    color: var(--text-muted);
}

.company-actions {
    display: flex;
    gap: 0.8rem;
}

.pt-0 {
    padding-top: 0;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Company Sidebar */
.company-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.company-modules {
    flex: 1;
}

@media (max-width: 992px) {
    .company-sidebar {
        width: 100%;
    }
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column !important;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.sidebar-job-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar-job-item {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.sidebar-job-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-job-link {
    text-decoration: none;
    display: block;
}

.sidebar-job-link h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    transition: color 0.2s;
}

.sidebar-job-link:hover h4 {
    color: var(--primary-color);
}

.text-xs {
    font-size: 0.75rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: #f1f3f5;
    color: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}



/* --- Job Categories Page Specifics --- */
.text-center {
    text-align: center;
}

.pb-2 {
    padding-bottom: 2rem;
}

.categories-grid-lg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card-lg {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-card-lg:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #b8daff;
}

.cat-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cat-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cat-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.job-count {
    display: inline-block;
    background: var(--bg-light);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.cat-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.category-card-lg:hover .cat-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary-color);
}

/* Category Colors */
.bg-blue-light {
    background: var(--bg-blue-light);
    color: var(--primary-color);
}

.bg-purple-light {
    background: var(--bg-purple-light);
    color: var(--purple);
}

.bg-orange-light {
    background: var(--bg-orange-light);
    color: var(--orange);
}

.bg-green-light {
    background: var(--bg-green-light);
    color: var(--success);
}

.bg-red-light {
    background: var(--bg-red-light);
    color: var(--danger);
}

.bg-yellow-light {
    background: var(--bg-yellow-light);
    color: var(--warning);
}



.bg-yellow-light {
    background: #fffde7;
    color: #fbc02d;
}

/* --- Career Tips / Blog Page Specifics --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #b8daff;
}

.blog-img-wrapper {
    height: 200px;
    position: relative;
    background: #f1f3f5;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Featured Blog Card */
.featured-blog-card {
    display: flex;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.featured-blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.featured-blog-img {
    flex: 0 0 55%;
    position: relative;
    min-height: 350px;
}

.featured-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-blog-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-blog-content .blog-category {
    position: static;
    display: inline-block;
    background: var(--bg-blue-light);
    color: var(--primary-color);
    margin-bottom: 1rem;
    box-shadow: none;
}

.featured-blog-content .blog-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-blog-content .blog-excerpt {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .featured-blog-card {
        flex-direction: column;
    }

    .featured-blog-img {
        min-height: 250px;
    }

    .featured-blog-content {
        padding: 2rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: var(--bg-blue-light);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.blog-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    gap: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.read-more-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* --- Contact Page Specifics --- */
.contact-form-col {
    flex: 3;
}

.contact-info-col {
    flex: 2;
}

@media (max-width: 992px) {

    .contact-form-col,
    .contact-info-col {
        flex: auto;
        width: 100%;
    }
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    min-height: 48px;
    /* Match button height */
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition-base);
    font-size: 1rem;
    color: var(--text-dark);
    font-family: inherit;
}

textarea.form-control {
    padding: 0.8rem 1rem;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    /* Matched to primary color #4F46E5 */
}

.info-list-lg {
    list-style: none;
}

.info-list-lg li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.text-success {
    color: #28a745;
}

.text-purple {
    color: var(--purple);
}

.my-2 {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid #eee;
}

.social-links-lg {
    display: flex;
    gap: 1rem;
}

.social-btn-lg {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.2s;
}

/* --- FAQ Page Specifics --- */
.faq-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.faq-img-col {
    flex: 1;
    max-width: 350px;
}

.faq-list-col {
    flex: 2;
}

@media (max-width: 900px) {
    .faq-layout {
        flex-direction: column-reverse;
    }

    .faq-img-col {
        max-width: 100%;
        width: 100%;
    }
}

.sticky-img {
    position: sticky;
    top: 2rem;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Rough max height */
    padding-top: 0.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* --- Home Page Specifics --- */
.hero-section {
    padding: 4rem 0 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section::before {
        display: none;
    }
}



.hero-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-image-col {
    flex: 1;
    position: relative;
}

@media (max-width: 992px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-search-form {
        max-width: 500px;
        margin: 0 auto;
    }
}

.hero-badge {
    display: inline-block;
    background: var(--bg-blue-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-lead {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-search-form {
    background: white;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.hero-search-form .input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.hero-search-form .border-left {
    border-left: 1px solid #eee;
}

.hero-search-form i {
    color: #aaa;
    margin-right: 0.8rem;
}

.hero-search-form input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    padding: 0.5rem;
}

.hero-search-form button {
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-search-form {
        flex-direction: column;
        border-radius: 12px;
        padding: 1rem;
    }

    .hero-search-form .border-left {
        border-left: none;
        border-top: 1px solid #eee;
        margin: 0.5rem 0;
        padding-top: 0.5rem;
    }

    .hero-search-form button {
        width: 100%;
        margin-top: 0.5rem;
    }
}

.trust-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .trust-stats {
        justify-content: center;
    }
}

.hero-img-wrapper {
    position: relative;
    padding: 0;
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.float-card {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.float-card-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 15%;
    left: 0;
    animation-delay: 2s;
}

.float-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-light {
    background: var(--bg-light);
}

.section-padding {
    padding: 4rem 0;
}

.text-xs {
    font-size: 0.75rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* Categories Home */
.categories-grid-home {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cat-card-sm {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    min-width: 140px;
    transition: all 0.2s;
}

.cat-card-sm:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.cat-icon-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 0.8rem;
}

/* Featured Jobs */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.job-card-simple {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.job-card-simple:hover {
    border-color: #b8daff;
    box-shadow: var(--shadow-sm);
}

.job-card-top {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1rem;
}

.job-logo {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-light-primary {
    background: var(--bg-blue-light);
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.btn-light-primary:hover {
    background: var(--primary-color);
    color: white;
}

.tag {
    display: inline-block;
    background: #f1f3f5;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #666;
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-card {
    padding: 1rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: #777;
}

/* Companies */
.companies-grid-sm {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.company-logo-placeholder {
    color: #999;
}

/* Resume CTA */
.resume-cta-section {
    background: var(--primary-color);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.uppercase {
    text-transform: uppercase;
}

/* --- Features / Why Us Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.text-orange {
    color: var(--orange);
}

.text-purple {
    color: var(--purple);
}

.justify-center {
    justify-content: center;
}

/* --- Dashboard & Profile Specifics --- */
.content-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.row-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.col-dash-sidebar {
    width: 100%;
}

.col-dash-main {
    flex: 1;
    width: 100%;
}

@media (min-width: 992px) {
    .row-dashboard {
        flex-direction: row;
    }

    .col-dash-sidebar {
        width: 300px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .stats-grid-mobile-focused {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .mobile-order-first {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .row-split {
        flex-direction: column;
    }
}

/* Sidebar Profile */
.profile-avatar-lg {
    width: 100px;
    height: 100px;
    background: var(--bg-blue-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto;
    position: relative;
}

.btn-icon-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    border: 2px solid white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-icon-edit:hover {
    background: var(--primary-hover);
}

/* Progress Bar */
.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
}

/* Sidebar Nav */
/* Sidebar Nav */
.sidebar-nav {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    padding: 0.5rem;
}

.sidebar-nav .sidebar-card {
    border: none;
    box-shadow: none;
    padding: 1rem 0 0.5rem;
    margin-bottom: 1rem;
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
}

.mobile-menu-toggle {
    display: none;
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.dash-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.dash-link:hover {
    background: #f3f4f6;
    color: var(--primary-color);
    transform: translateX(4px);
}

.dash-link.active {
    background: #e0f2fe;
    color: var(--primary-color);
    font-weight: 600;
}

.dash-link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: #9ca3af;
    transition: color 0.2s;
}

.dash-link:hover i,
.dash-link.active i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .sidebar-nav {
        display: none;
    }

    .sidebar-nav.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Content */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.btn-icon-plain {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.btn-icon-plain i {
    color: inherit !important;
}

.btn-icon-plain:hover {
    background: #f1f3f5;
    color: var(--primary-color) !important;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    font-weight: 600;
    text-transform: uppercase;
}

.info-item p {
    font-weight: 500;
    color: var(--text-dark);
}

@media(max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Timeline */
.timeline-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.my-1 {
    margin: 1rem 0;
}

.border-light {
    border-color: #f1f1f1 !important;
}

/* File Preview */
.file-preview {
    border: 1px solid #eee;
}

.info-list-sm {
    list-style: none;
}

.info-list-sm li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.flex-1 {
    flex: 1;
}

.gap-2 {
    gap: 2rem;
}

.mr-05 {
    margin-right: 0.5rem;
}

.mb-05 {
    margin-bottom: 0.5rem;
}

.mt-05 {
    margin-top: 0.5rem;
}

/* Tables & Badges */
.table {
    width: 100%;
    border-collapse: collapse;
}

.text-left {
    text-align: left;
}

.p-05 {
    padding: 0.5rem;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.p-0 {
    padding: 0;
}

.overflow-hidden {
    overflow: hidden;
}

.border-bottom {
    border-bottom: 1px solid #f0f0f0;
}

.badge {
    display: inline-block;
    font-weight: 600;
}

.bg-blue-light {
    background: #e3f2fd;
}

.bg-green-light {
    background: #e8f5e9;
}

.text-success {
    color: #2e7d32;
}

.rounded {
    border-radius: 8px;
}

/* Clickable Dashboard Cards */
.row-dashboard-stats {
    display: flex;
    flex-wrap: wrap;
}

.card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}

.card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    background: white;
    /* Maintain background */
}

/* Ensure headings inside links don't get ugly underline */
.card-link h3,
.card-link p {
    color: inherit;
}

/* Password Toggle */
.input-icon-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* --- Mobile Optimization (Mobile Shine) --- */
@media (max-width: 768px) {

    /* 1. Spacing & Layout */
    .container,
    .container-fluid {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .section-padding {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* 2. Typography */
    html {
        font-size: 15px;
        /* Slightly smaller base */
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    /* 3. Tap Targets & Inputs */
    input,
    select,
    textarea,
    .form-control {
        font-size: 16px !important;
        /* Prevents iOS zoom */
        min-height: 48px;
    }

    .btn {
        width: 100%;
        /* Full width buttons usually better on mobile */
        margin-bottom: 0.5rem;
        display: flex;
        justify-content: center;
    }

    /* 4. Grids & Cards */
    .jobs-grid,
    .categories-grid,
    .companies-grid,
    .row-dashboard,
    .row-split {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 1.5rem !important;
    }

    /* Stack flex containers */
    .d-flex.justify-between:not(.rounded-circle):not(.avatar-sm),
    .d-flex.align-center:not(.rounded-circle):not(.avatar-sm) {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    /* Exceptions for small inline flex items */
    .job-meta.d-flex,
    .job-tags.d-flex,
    .rating.d-flex,
    .d-flex.gap-05:not(.align-start),
    .d-flex.gap-1:not(.align-start) {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center !important;
    }

    /* 5. Card Spacing */
    .card,
    .content-card,
    .job-card {
        margin-bottom: 1rem;
        padding: 1.5rem !important;
        /* Reduce padding slightly */
    }

    /* Navigation adjustments */
    .nav-links {
        display: none;
        /* Expect hamburger js to handle */
    }

    /* Avoid heavy gradients on small screens */
    .cta-section {
        background: var(--primary-color) !important;
    }
}

/* Fix for button text alignment in navbar */
.nav-links .btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    min-width: 120px;
    height: auto !important;
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.p-0 {
    padding: 0;
}

.overflow-hidden {
    overflow: hidden;
}

.border-bottom {
    border-bottom: 1px solid #f0f0f0;
}

.badge {
    display: inline-block;
    font-weight: 600;
}

.bg-blue-light {
    background: #e3f2fd;
}

.bg-green-light {
    background: #e8f5e9;
}

.text-success {
    color: #2e7d32;
}

.rounded {
    border-radius: 8px;
}

/* Clickable Dashboard Cards */
.row-dashboard-stats {
    display: flex;
    flex-wrap: wrap;
}

.card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}

.card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    background: white;
    /* Maintain background */
}

/* Ensure headings inside links don't get ugly underline */
.card-link h3,
.card-link p {
    color: inherit;
}

/* Password Toggle */
.input-icon-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* --- Mobile Optimization (Mobile Shine) --- */
@media (max-width: 768px) {

    /* 1. Spacing & Layout */
    .container,
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .section-padding {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* 2. Typography */
    html {
        font-size: 15px;
        /* Slightly smaller base */
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    /* 3. Tap Targets & Inputs */
    input,
    select,
    textarea,
    .form-control {
        font-size: 16px !important;
        /* Prevents iOS zoom */
        min-height: 48px;
    }

    .btn,
    .btn-sm {
        width: 100% !important;
        /* Full width buttons usually better on mobile */
        margin-bottom: 0.5rem;
        display: flex !important;
        justify-content: center !important;
        white-space: normal !important;
        /* Allow long words to wrap instead of vanish */
        min-height: 48px;
    }

    /* 4. Grids & Cards */
    .jobs-grid,
    .categories-grid,
    .companies-grid,
    .row-dashboard,
    .row-split {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 1.5rem !important;
    }

    /* Stack flex containers */
    .d-flex.justify-between:not(.rounded-circle):not(.avatar-sm),
    .d-flex.align-center:not(.rounded-circle):not(.avatar-sm) {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    /* Exceptions for small inline flex items */
    .job-meta.d-flex,
    .job-tags.d-flex,
    .rating.d-flex,
    .d-flex.gap-05:not(.align-start),
    .d-flex.gap-1:not(.align-start) {
        flex-direction: column !important;
        /* Stack vertically instead of wrap */
        align-items: stretch !important;
        /* Span full width to stop text squeezing */
    }

    /* 5. Card Spacing */
    .card,
    .content-card,
    .job-card {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
        /* Responsive padding to save width */
    }

    /* Navigation adjustments */
    .nav-links {
        display: none;
        /* Expect hamburger js to handle */
    }

    /* Fix for admin table cards cropping the screen on long data */
    .table thead {
        display: none !important;
    }

    .table tbody tr {
        display: block !important;
        background: #fff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        margin-bottom: 1rem !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04) !important;
        padding: 1rem !important;
    }

    .table tbody td {
        display: flex !important;
        flex-direction: column !important;
        /* Professional Stacking instead of Space-Between */
        align-items: flex-start !important;
        text-align: left !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #f3f4f6 !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
        gap: 0.25rem !important;
    }

    .table tbody td::before {
        margin-right: 0 !important;
        margin-bottom: 0.25rem !important;
        font-size: 0.8rem !important;
        color: #6b7280 !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
    }

    .table tbody td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Global flex wrappers for components that squish (view-company.php, approval pages) */
    .d-flex.gap-2 {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .d-flex.justify-between.align-start {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: center !important;
    }

    .flex-1 {
        width: 100% !important;
    }

    .text-right,
    .text-left {
        text-align: center !important;
    }



    .d-flex.flex-column.align-end {
        align-items: center !important;
        width: 100% !important;
    }

    .row-split {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Avoid heavy gradients on small screens */
    .cta-section {
        background: var(--primary-color) !important;
    }
}

/* Fix for button text alignment in navbar */
.nav-links .btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    min-width: 120px;
    height: auto !important;
    padding: 0.8rem 1.8rem !important;
    /* Force padding */
    line-height: normal !important;
    margin-top: 0;
    vertical-align: middle;
}

.notification-wrapper {
    position: relative;
    margin-right: 15px;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .notification-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
        margin-top: 0;
        justify-content: center;
        width: 100%;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.95, 0.95, 0.95);
    }

    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

.animate-zoom-in {
    animation: zoomIn 0.5s ease-out forwards;
    opacity: 0;
}

/* Staggered Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* --- Utility Classes --- */
.rounded-circle {
    border-radius: 50% !important;
}

/* --- Profile Avatars --- */
.profile-avatar-lg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-white);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-light);
}

.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-xl {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    overflow: hidden;
    object-fit: cover;
}

.btn-icon {
    min-width: unset !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-upload {
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.btn-upload:hover {
    transform: scale(1.1);
    color: #ffffff !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

/* Missing Utility Classes */
.d-flex {
    display: flex !important;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.align-center {
    align-items: center !important;
}

.align-start {
    align-items: flex-start !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.gap-05 {
    gap: 0.5rem !important;
}

.gap-1 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 2rem !important;
}

.w-100 {
    width: 100% !important;
}

.mb-05 {
    margin-bottom: 0.5rem !important;
}

.pb-1 {
    padding-bottom: 1rem !important;
}

.pb-2 {
    padding-bottom: 2rem !important;
}

.pt-2 {
    padding-top: 2rem !important;
}

.p-15 {
    padding: 1.5rem !important;
}

.p-05 {
    padding: 0.5rem !important;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.95, 0.95, 0.95);
    }

    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Start hidden */
}

.animate-zoom-in {
    animation: zoomIn 0.5s ease-out forwards;
    opacity: 0;
}

/* Staggered Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* --- Utility Classes --- */
.rounded-circle {
    border-radius: 50% !important;
}

/* --- Profile Avatars --- */
.profile-avatar-lg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-white);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-light);
}

.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-xl {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    overflow: hidden;
    object-fit: cover;
}

.btn-icon {
    min-width: unset !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-upload {
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.btn-upload:hover {
    transform: scale(1.1);
    color: #ffffff !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

/* Missing Utility Classes */
.d-flex {
    display: flex !important;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.align-center {
    align-items: center !important;
}

.align-start {
    align-items: flex-start !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.gap-05 {
    gap: 0.5rem !important;
}

.gap-1 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 2rem !important;
}

.w-100 {
    width: 100% !important;
}

.mb-05 {
    margin-bottom: 0.5rem !important;
}

.pb-1 {
    padding-bottom: 1rem !important;
}

.pb-2 {
    padding-bottom: 2rem !important;
}

.pt-2 {
    padding-top: 2rem !important;
}

.p-15 {
    padding: 1.5rem !important;
}

.p-05 {
    padding: 0.5rem !important;
}

.p-1 {
    padding: 1rem !important;
}

/* Knowledge Clusters */
.knowledge-clusters {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cluster-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cluster-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-base);
}

.cluster-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.cluster-item i {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-light);
    border-radius: 50%;
}

.cluster-item strong {
    display: block;
    font-size: 1.1rem;
}

/* Blog Grid Polish */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-img-wrapper {
    position: relative;
    padding-top: 60%;
    /* Aspect Ratio */
    overflow: hidden;
    background: var(--bg-light);
}

.blog-img-wrapper img,
.blog-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-body {
    padding: 1.5rem;
    flex: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: auto;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* Knowledge Clusters Fix */
.cluster-row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.cluster-content {
    flex: 1;
}

.cluster-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cluster-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .cluster-row {
        flex-direction: column-reverse;
        gap: 2rem;
    }
}

/* Flex Utilities */
.align-center {
    align-items: center !important;
}

.justify-center {
    justify-content: center !important;
}

.align-start {
    align-items: flex-start !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-end {
    justify-content: flex-end !important;
}

/* Activity Item Mobile Fix */
.activity-item .rounded-circle {
    min-width: 32px;
    min-height: 32px;
}