/* ============================================
   WEIZJOBS - Modern Job Site Stylesheet
   Inspired by WorkHive UI Design
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --primary-bg: #ede9fe;
    --secondary: #8b5cf6;
    --secondary-light: #ede9fe;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --success: #10b981;
    --success-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fce4ec;
    --info: #06b6d4;
    --info-light: #e0f7fa;

    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #cbd5e1;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    --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 -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--dark-2);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-light);
    border-color: var(--gray-lighter);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-search {
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-shape {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    transform: rotate(45deg);
}

.logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-3);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    font-size: 1.4rem;
    color: var(--dark);
    cursor: pointer;
    padding: 4px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 40%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--success);
    top: 20%;
    right: 30%;
    animation: float 7s ease-in-out infinite reverse;
}

.shape-5 {
    width: 80px;
    height: 80px;
    background: var(--info);
    bottom: 30%;
    right: 15%;
    animation: float 5s ease-in-out infinite;
}

.shape-6 {
    width: 100px;
    height: 100px;
    background: var(--danger);
    top: 60%;
    left: 50%;
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-col {
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    margin-bottom: 32px;
    max-width: 600px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    flex: 1;
}

.search-field i {
    color: var(--gray-light);
    font-size: 1rem;
}

.search-field input {
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--dark);
    width: 100%;
    background: transparent;
}

.search-field input::placeholder {
    color: var(--gray-light);
}

.search-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.stat-avatars {
    display: flex;
    align-items: center;
}

.stat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -8px;
    background-size: cover;
    background-position: center;
}

/* Hero Visual Column */
.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    object-fit: cover;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float-card 3s ease-in-out infinite;
}

.float-card-1 {
    top: 10%;
    right: -20%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 15%;
    left: -20%;
    flex-direction: column;
    align-items: flex-start;
    animation-delay: 1.5s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-card-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1rem;
}

.float-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
}

.float-card-sub {
    font-size: 0.75rem;
    color: var(--gray);
}

.float-card-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success);
}

.float-card-label {
    font-size: 0.75rem;
    color: var(--gray);
}

.float-card-bar {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.float-card-bar-fill {
    width: 98%;
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--primary));
    border-radius: 4px;
}

.hero-float-badge {
    position: absolute;
    bottom: 5%;
    right: -10%;
    background: white;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-float-badge i {
    color: var(--success);
}

/* ============================================
   TRUSTED BY
   ============================================ */
.trusted-by {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

/* ===== TRUSTED CAROUSEL ===== */
.trusted-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.trusted-carousel-track {
    display: flex;
    width: max-content;
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 51px;
    flex-shrink: 0;
    animation: trustedCarousel 40s linear infinite;
    padding: 0 32px;
}

.trusted-logos i {
    font-size: 2.5rem;
    color: var(--gray-light);
    transition: var(--transition);
    opacity: 0.6;
    flex-shrink: 0;
}

.trusted-logos i:hover {
    color: var(--dark);
    opacity: 1;
    transform: scale(1.15);
}

@keyframes trustedCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.trusted-carousel-wrapper:hover .trusted-logos {
    animation-play-state: paused;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    opacity: 0.5;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    overflow: hidden;
}

.step-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.step-link i {
    transition: var(--transition);
    font-size: 0.75rem;
}

.step-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-us {
    padding: 100px 0;
    background: var(--bg-light);
}

.why-choose-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.why-choose-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-row-reverse {
    direction: rtl;
}

.why-choose-row-reverse > * {
    direction: ltr;
}

.why-choose-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.why-choose-text p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--dark-3);
    font-weight: 500;
}

.why-choose-list li i {
    color: var(--success);
    font-size: 1.1rem;
}

.why-choose-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3/2;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
    padding: 100px 0;
    background: var(--bg-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-bg);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.category-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.category-card p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   JOBS / FEATURED JOBS
   ============================================ */
.jobs {
    padding: 100px 0;
    background: var(--bg-white);
}

.job-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-white);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-3);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.job-listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== NEW JOB CARD DESIGN (4:3 Vertical Rounded Rectangle) ===== */
.job-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 20px 18px 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}







.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #d0d5dd;
}

/* ===== TOP-RIGHT ACTION BUTTONS (Save & Menu - side by side) ===== */
.job-card-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: row;
    gap: 6px;
    z-index: 5;
}

.job-card-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #98a2b3;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.job-card-action-btn:hover {
    background: #8b5cf6;
    color: white;
    transform: scale(1.15);
}

/* ===== LOGO ===== */
.job-card-logo-wrap {
    margin-bottom: 12px;
}

.job-card-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
    background: #f2f4f7;
}

.job-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}


/* ===== CARD BODY ===== */
.job-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
}



.job-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-desc {
    font-size: 0.8rem;
    color: #667085;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: ellipsis;
    flex-shrink: 0;
    min-height: 0;
    max-height: 8.4rem;
}








/* ===== HASHTAGS (no # symbol, neutral colors) ===== */
.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.job-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f2f4f7;
    color: #475467;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}



/* ===== LOCATION & PRICE (side by side) ===== */
.job-card-meta {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 14px;
    align-items: center;
}

.job-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #667085;
}

.job-card-meta-item i {
    font-size: 0.75rem;
    color: #98a2b3;
    width: 14px;
}



/* ===== BUTTONS (Apply Now & Detailed Info - side by side, rounded rectangle) ===== */
.job-card-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.job-card-buttons .btn {
    flex: 1;
    justify-content: center;
    padding: 9px 10px;
    font-size: 0.75rem;
    border-radius: 8px;
    gap: 0;
    font-weight: 600;
}



.job-card-buttons .btn i {
    display: none;
}

.job-card-buttons .btn-outline {
    background: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
}

.job-card-buttons .btn-outline:hover {
    background: #8b5cf6;
    color: white;
}

.job-card-date {
    font-size: 0.8rem;
    color: #98a2b3;
}



/* ============================================
   COMPANIES
   ============================================ */
.companies {
    padding: 100px 0;
    background: var(--bg-light);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.company-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.company-logo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

.company-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.company-rating i {
    font-size: 0.8rem;
    color: var(--accent);
}

.company-rating span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    margin-left: 4px;
}

.company-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.company-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 16px;
}

/* ============================================
   USER REVIEWS - CAROUSEL
   ============================================ */
.user-reviews {
    padding: 100px 0;
    background: var(--bg-light);
}

.review-carousel-wrapper {
    background: linear-gradient(135deg, #eef2ff 0%, #f0f0ff 50%, #faf5ff 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.review-header {
    margin-bottom: 40px;
}

.review-header .section-badge {
    background: var(--primary-bg);
    color: var(--primary);
}

.review-header .section-title {
    color: var(--dark);
}

.review-header .section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-carousel {
    position: relative;
    min-height: 280px;
}

.review-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.review-slide.active {
    display: grid;
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-stars {
    display: flex;
    gap: 4px;
}

.review-stars i {
    color: var(--accent);
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.15rem;
    color: var(--dark-3);
    line-height: 1.8;
    font-style: italic;
}

.review-author h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.review-author span {
    font-size: 0.85rem;
    color: var(--gray);
}

.review-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.review-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.review-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 40px;
}

.review-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-white);
    color: var(--dark-3);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--dark);
    outline: none;
    transition: var(--transition);
    background: var(--bg-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-light);
}

.contact-form .btn {
    align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
    border-radius: var(--radius-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo .logo-icon .logo-shape {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-contact-item i {
    width: 16px;
    color: var(--primary-light);
    font-size: 0.85rem;
}

.footer-contact-item:hover {
    color: rgba(255,255,255,0.8);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual-col {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-text-col {
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .search-box {
        margin: 0 auto 32px;
    }

    .hero-stats {
        justify-content: center;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .job-listings {
        grid-template-columns: repeat(2, 1fr);
    }


    .company-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .why-choose-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-row-reverse {
        direction: ltr;
    }

    .why-choose-text h3 {
        font-size: 1.5rem;
    }

    .review-carousel-wrapper {
        padding: 40px 30px;
    }

    .review-slide {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .review-content {
        align-items: center;
    }

    .review-image img {
        width: 160px;
        height: 160px;
    }
}

/* ===== RESPONSIVE - MOBILE (max 768px) ===== */
@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 8px;
    }

    .search-field {
        width: 100%;
        padding: 10px 16px;
    }

    .search-divider {
        width: 100%;
        height: 1px;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .job-listings {
        grid-template-columns: 1fr;
    }

    .job-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

}

/* ===== RESPONSIVE - MOBILE SMALL (max 480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-desc {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 20px 12px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .category-card h3 {
        font-size: 0.85rem;
    }

    .job-card {
        padding: 16px 14px 16px;
        aspect-ratio: auto;
    }

    .job-card-logo {
        width: 48px;
        height: 48px;
    }

    .job-card-title {
        font-size: 0.95rem;
    }

    .job-card-desc {
        font-size: 0.75rem;
        -webkit-line-clamp: 5;
    }

    .job-card-tags {
        gap: 4px;
    }

    .job-tag {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    .job-card-meta-item {
        font-size: 0.75rem;
    }

    .job-card-buttons .btn {
        font-size: 0.75rem;
        padding: 8px 12px;
    }


    .company-card {
        padding: 24px 16px;
    }

    .company-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .testimonial-card {
        padding: 24px 18px;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-col ul li a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .trusted-logos {
        gap: 32px;
    }

    .trusted-logos i {
        font-size: 1.6rem;
    }

    .step-card {
        padding: 28px 20px;
    }

    .step-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .step-card h3 {
        font-size: 1rem;
    }
}

/* ===== RESPONSIVE - VERY SMALL (max 360px) ===== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .category-card {
        padding: 16px 10px;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-container {
        padding: 12px 16px;
    }
}

/* ===== RESPONSIVE - LARGE SCREEN (min 1400px) ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 4.2rem;
    }

    .job-listings {
        grid-template-columns: repeat(3, 1fr);
    }

    .company-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== RESPONSIVE - LANDSCAPE MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .search-box {
        margin-bottom: 20px;
    }
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    grid-column: 1 / -1;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== NO RESULTS ===== */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.no-results i {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.no-results p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SMOOTH TRANSITIONS ===== */
.job-card {
    animation: cardFadeIn 0.4s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card:nth-child(1) { animation-delay: 0.05s; }
.job-card:nth-child(2) { animation-delay: 0.1s; }
.job-card:nth-child(3) { animation-delay: 0.15s; }
.job-card:nth-child(4) { animation-delay: 0.2s; }
.job-card:nth-child(5) { animation-delay: 0.25s; }
.job-card:nth-child(6) { animation-delay: 0.3s; }
.job-card:nth-child(7) { animation-delay: 0.35s; }
.job-card:nth-child(8) { animation-delay: 0.4s; }
.job-card:nth-child(9) { animation-delay: 0.45s; }
.job-card:nth-child(10) { animation-delay: 0.5s; }

/* ===== NAV USER MENU (AUTH) ===== */
.nav-user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    user-select: none;
}

.nav-user-avatar:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.nav-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-user-dropdown .dropdown-header {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-user-dropdown .dropdown-header strong {
    font-size: 0.9rem;
    color: var(--dark);
}

.nav-user-dropdown .dropdown-header small {
    font-size: 0.8rem;
    color: var(--gray);
}

.nav-user-dropdown .dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

.nav-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--dark-2);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.nav-user-dropdown a:hover {
    background: var(--bg-light);
    color: var(--danger);
}

.nav-user-dropdown a i {
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}
