:root {
    --bg-dark: #000000;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --primary-color: #9f49f4; /* A vibrant purple for highlights */
    --transition-time: 0.3s;
    --navbar-height: 65px; /* Define the navbar height for layout calculations */
    --scroll-offset: 100px; /* Re-added for scroll-mode JS logic */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--bg-dark); 
    color: var(--text-light);
    line-height: 1.6;
            
    /* SCROLL BEHAVIOR CONTROLLED BY JS/CSS */
    scroll-behavior: smooth;
        
    background-image: url('https://cdn.pixabay.com/photo/2024/08/29/15/10/hand-9007251_1280.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    /* --- CHANGE: REMOVE HORIZONTAL SCROLLER --- */
    overflow-x: hidden;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-time);
}

a:hover {
    color: #ffffff;
}

.cta-button, .cta-button-nav {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color var(--transition-time), transform 0.2s, box-shadow var(--transition-time);
    box-shadow: 0 4px 15px rgba(159, 73, 244, 0.4);
}

.cta-button:hover, .cta-button-nav:hover {
    background-color: #7a38b8;
    border-color: #7a38b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(159, 73, 244, 0.6);
}

.secondary-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color var(--transition-time), color var(--transition-time);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

 /* --- Layout Sections (HYBRID MODE STYLES) --- */
section {
    padding: 100px 5%;
    /* Default: Scroll Mode Styles */
    min-height: 100vh; /* CHANGED: Adjusted from 80vh to 100vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    position: relative;
    opacity: 1; 
    transition: opacity 0.3s;
}

/* ------------------------------------------------ */
/* --- SINGLE-VIEW MODE OVERRIDES (When class is applied to body) --- */
/* ------------------------------------------------ */

/* 1. Hide all non-active sections */
body.single-view-active section:not(.active-section) {
    display: none;
     opacity: 0;
}

        /* 2. Style the active section for single-view */
body.single-view-active section.active-section {
    display: flex !important;
    min-height: calc(100vh - var(--navbar-height)); 
    justify-content: flex-start; 
    overflow-y: auto; 
    padding-top: 50px; /* Reduced top padding in single view */
}
        
/* 3. Adjust Hero padding when in single-view to avoid huge gap */
body.single-view-active section#hero {
     padding-top: 100px;
}

/* ------------------------------------------------ */

/* --- HERO SECTION --- */
.hero {
    padding-top: 80px; /* Original padding for scroll mode */
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.9) 100%);
}

/* --- NAVBAR & OTHER STYLES (MATCHING index.html) --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%; /* CHANGED: To match index.html padding */
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: background-color var(--transition-time);
    /* Removed height: var(--navbar-height); to match index.html look */
}

.navbar .logo {
    font-size: 2.5rem; 
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.05em;
    text-shadow: 0 0 10px var(--text-light); 
    animation: logoPulse 2s infinite alternate ease-in-out; 
}

.navbar nav a {
    color: var(--text-light);
    text-decoration: none; /* ADDED: Ensure no default underline */
    margin-left: 30px;
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition-time); 
    z-index: 1; 
}
        
/* Link text color change on hover */
.navbar nav a:hover {
    color: var(--primary-color);
}
        
.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; 
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-time);
}

/* Underline is 100% wide on hover for all links */
.navbar nav a:hover::after {
    width: 100%;
}
        
/* Active Navigation Link Styling */
.navbar nav a.active-nav {
    color: var(--text-light) !important; 
}
.navbar nav a.active-nav::after {
    width: 100%;
}
        
/* ADDED: NAVIGATION LINK ACTIVE/FOCUS GLOW EFFECT (Matches Index) */
.navbar nav a:active,
.navbar nav a:focus { /* RESTORED: :focus state added back for accessibility */
    animation: linkPulse 1.5s 1 ease-in-out;
    z-index: 2; 
    transition: none;
    outline: none; /* Remove default focus outline when using custom visual effects */
}

.cta-button-nav {
    background-color: var(--primary-color); 
    color: var(--text-light);
    border: none; 
    padding: 10px 20px; 
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    text-decoration: none; /* ADDED: Ensure no default underline */
    transition: background-color var(--transition-time), box-shadow var(--transition-time), transform var(--transition-time);
}
        
.cta-button-nav:hover {
    background-color: #6a2a9e; 
    box-shadow: 0 0 10px rgba(159, 73, 244, 0.5);
    transform: scale(1.03); 
}
        
/* Keyframe for Logo Pulse Glow (Existing) */
@keyframes logoPulse {
    0% { text-shadow: 0 0 5px var(--text-light), 0 0 10px rgba(159, 73, 244, 0.5); }
    50% { text-shadow: 0 0 10px var(--text-light), 0 0 20px var(--text-light), 0 0 25px var(--primary-color), 0 0 35px rgba(159, 73, 244, 0.5); }
    100% { text-shadow: 0 0 5px var(--text-light), 0 0 10px rgba(159, 73, 244, 0.5); }
}
        
/* --- Keyframe Animation for Link Pulse Glow (ADDED to match index.html style) --- */
@keyframes linkPulse {
    0% {
        color: var(--text-light); 
        text-shadow: none;
    }
    10% {
        /* Peak effect: purple text, white glow */
        color: var(--primary-color); 
        text-shadow: 
            0 0 5px var(--text-light), 
            0 0 15px white, 
            0 0 25px rgba(255, 255, 255, 0.5); 
    }
    100% {
        color: var(--text-light); 
        text-shadow: none;
    }
}
        
/* --- CORE FEATURES --- */
#core-features {
    background-color: rgba(0, 0, 0, 0.4);
    min-height: auto;
    padding: 37px 5%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #282828;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(159, 73, 244, 0.2);
    border-color: var(--primary-color);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--text-light);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
}
        
/* --- NEW JOB INDUSTRIES SECTION STYLES --- */
.job-industries {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}

.job-industries h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
        
.job-industries p.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.job-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
        
/* --- DARK THEME COLOR ADJUSTMENTS FOR NEW CARDS --- */
.industry-card {
    background-color: #1a1a1a; /* Dark background */
    color: var(--text-light); /* White text */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #282828; /* Dark border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); /* Dark shadow */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
    height: 100%; 
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(159, 73, 244, 0.2);
    border-color: var(--primary-color); /* Purple hover border */
}

.industry-card .icon {
    font-size: 3rem;
    color: var(--primary-color); 
    margin-bottom: 15px;
}

.industry-card h3 {
    color: var(--text-light); /* White heading text */
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--text-muted); /* Muted gray text */
    margin-bottom: 0;
}
/* --- END DARK THEME ADJUSTMENTS --- */
        
/* --- INSIGHT CARDS --- */
.insight-section-header {
    text-align: center;
    margin-top: 80px; 
    margin-bottom: 40px;
}

.insight-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.insight-card {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #282828;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    min-height: 450px; 
}
        
.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(159, 73, 244, 0.3);
    border-color: var(--primary-color);
}

.insight-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.insight-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color); 
    margin-bottom: 15px;
}

.insight-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
        
.insight-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
        
.insight-card ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
        
.insight-card ul li::before {
    content: '•'; 
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    top: 0;
}
        
.insight-card strong {
    color: var(--text-light);
    font-weight: 600;
}

/* --- INTEGRATION/WORKFLOW --- */
#workflow {
    background: rgba(0, 0, 0, 0);
    min-height: auto;
    padding: 80px 5%;
}

.workflow-step {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    border-radius: 15px;
    background-color: rgba(159, 73, 244, 0.05); 
}

.workflow-step:nth-child(even) {
    flex-direction: row-reverse;
    background-color: rgba(159, 73, 244, 0.08);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
    align-self: flex-start;
}

.step-content {
    flex: 1;
}

.step-image-container {
    flex: 1;
    min-width: 300px;
    height: 250px;
    background-color: #1a1a1a;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 5px var(--primary-color), 0 10px 30px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    color: var(--text-light);
}
        
/* --- FAQ SECTION STYLES --- */
#faq {
    background-color: rgb(0, 0, 0, 0.8);
    min-height: auto;
    padding: 80px 5%;
    text-align: center;
}

#faq .faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    border-left: 5px solid var(--primary-color); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.faq-question i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0; 
}

/* --- PRICING/CTA --- */
#pricing {
    background-color: rgba(0, 0, 0, 0.4);
    min-height: auto;
    padding: 80px 5%;
    text-align: center;
}
        
#pricing .container p {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.plan-card {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    width: 320px;
    text-align: left;
    border: 1px solid #282828;
    transition: transform 0.3s, border-color 0.3s;
}

.plan-card.featured {
    background-color: #0d0d0d;
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(159, 73, 244, 0.5);
}
        
.plan-card.featured:hover {
     transform: scale(1.07);
}
        
.plan-card:hover:not(.featured) {
    transform: translateY(-5px);
    border-color: #555;
}

.plan-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}
        
.price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 5px;
}
        
.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.plan-card ul li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px dashed #282828;
    font-size: 1rem;
}
        
.plan-card ul li:last-child {
    border-bottom: none;
}
        
.plan-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}
        
.plan-card .cta-button {
    width: 100%;
    text-align: center;
}

/* ------------------------------------------------ */
/* --- NEW FINAL CTA BANNER (Extracted from image, color adjusted) --- */
/* ------------------------------------------------ */

#final-cta-banner {
    /* Use the primary color as the background, instead of the green in the image */
    background-color: var(--primary-color); 
    padding: 20px 5%;
    /* Keep the existing display properties which center the flex items */
    opacity: 1 !important; 
    min-height: auto;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    /* ADDED: Explicitly center the text inside the section for maximum compatibility */
    text-align: center;
}

#final-cta-banner h2 {
    color: var(--text-light); /* White text for contrast */
    margin-bottom: 50px;
    font-size: 2.2rem;
}

#final-cta-banner p {
    color: var(--text-light); /* White text for contrast */
    margin-bottom:11px;
    font-size: 1.2rem;
    opacity: 0.9;
}

#final-cta-banner .cta-button {
    /* --- CHANGE: WHITE BG, PURPLE TEXT, PURPLE BORDER --- */
    background-color: var(--text-light); /* White background */
    border-color: var(--primary-color); /* Purple border for definition */
    color: var(--primary-color); /* Purple text */
    /* (Existing styles below) */
    padding: 15px 35px;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Ensure default hover transition still works */
    transition: background-color var(--transition-time), color var(--transition-time), transform 0.2s, box-shadow var(--transition-time); 
}

#final-cta-banner .cta-button:hover {
    /* --- NEW CHANGE: HOVER TO BLACK BG, PURPLE TEXT, ENHANCED SHADOW --- */
    background-color: var(--bg-dark); /* Black background */
    color: var(--primary-color); /* Purple text on hover */
    border-color: var(--primary-color); /* Purple border */
    /* Add a bright purple glow to emphasize the dark button on the purple banner */
    box-shadow: 0 0 10px var(--text-light), 0 0 20px var(--primary-color); 
    transform: translateY(-2px);
}

/* Ensure the banner displays in single-view if it's the active section */
body.single-view-active section#final-cta-banner.active-section {
    min-height: 250px; /* Adjust height for this small section */
}

/* Hide the banner in single-view mode unless it is the active section (to prevent it from hanging at the bottom) */
body.single-view-active #final-cta-banner {
    display: none;
}
/* Re-enable display for the element if it's the active section */
body.single-view-active #final-cta-banner.active-section {
    display: flex !important;
}
        
/* --- FOOTER --- */
.minimal-footer {
    padding: 14px 5%;
    background-color: var(--bg-dark); /* Added for solid black background */
    border-top: 1px solid #1a1a1a;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

.minimal-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.minimal-footer .footer-links a {
    color: var(--text-muted);
    margin-left: 20px;
    transition: color var(--transition-time);
}

.minimal-footer .footer-links a:hover {
    color: var(--primary-color);
}
        
/* --- Media Queries for Responsiveness --- */
@media (max-width: 1024px) {
    .feature-grid, .insight-grid, .job-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-table {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card, .insight-card {
        width: 80%;
        max-width: 400px;
    }

    .insight-card {
        min-height: auto;
    }
}
        
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
            
    .navbar nav {
        display: none; 
    }
    
    .hero {
        padding-top: 50px;
    }

    .hero .button-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-grid, .insight-grid, .job-industries-grid {
        grid-template-columns: 1fr;
    }
            
    .workflow-step {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
            
    .workflow-step:nth-child(even) {
        flex-direction: column; 
    }
            
    .step-number {
        align-self: center;
        margin-bottom: 10px;
    }
            
    .step-image-container {
        min-width: 100%;
        height: 200px;
    }
            
    .minimal-footer .footer-content {
        flex-direction: column;
    }

    .minimal-footer .footer-links {
        margin-top: 10px;
        display: flex;
        flex-direction: column; 
        gap: 10px;
    }
    .minimal-footer .footer-links a {
        margin-left: 0; 
    }
}

/* ========================================================= */
/* === COMPANIES SECTION (full restored + requested tweaks) === */
/* ========================================================= */

/* --- Section base --- */
.companies-section {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 80px 0;
    text-align: center;
}

.companies-section h2 {
    margin-bottom: 10px;
    font-size: 2.5rem;
    color: var(--text-light);
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ========================================================= */
/* === SCROLLABLE CONTAINER (bordered, centered) === */
/* ========================================================= */

.job-scroll-vertical {
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 35px 35px;
    margin-top: 40px;
    scroll-behavior: smooth;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(5px);

    /* ✅ Centered & wider */
    width: 98%;               
    margin: 0 auto;           
    display: block;
    box-sizing: border-box;
}

.job-scroll-vertical::-webkit-scrollbar {
    width: 10px;
}

.job-scroll-vertical::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.job-scroll-vertical::-webkit-scrollbar-track {
    background: #222;
}

/* ========================================================= */
/* === FILTER BAR (sticky) — opaque so cards don't show thru === */
/* ========================================================= */

/* ========================================================= */
/* === FILTER BAR (curved edges & attached to scroll container) === */
/* ========================================================= */

.job-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;

    /* ✅ No gap between filter bar & scroll container */
    margin-bottom: 0;

    /* ✅ Same width & centered */
    width: 98%;
    margin: 0 auto;

    /* ✅ Styling */
    background: rgba(15, 15, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 22px;

    /* ✅ Curved edges — slightly smoother */
    border-radius: 18px 18px 0 0;

    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* visual separation shadow under filter bar */
.job-filter-bar::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

/* Dropdowns with arrow icons restored */
.job-filter-bar select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #0f0f10 url("data:image/svg+xml;utf8,<svg fill='white' height='12' viewBox='0 0 20 20' width='12' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>") no-repeat right 14px center;
    background-size: 12px;
    color: #fff;
    border: 1px solid rgba(159, 73, 244, 0.18);
    border-radius: 8px;
    padding: 10px 36px 10px 14px;
    font-size: 1rem;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.18s ease;
}

.job-filter-bar select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(159, 73, 244, 0.08);
}

/* Apply Filters button */
.filter-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.12s ease;
    box-shadow: 0 4px 14px rgba(159, 73, 244, 0.18);
}

.reset-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.12s ease;
}

.reset-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.filter-btn:hover {
    background: #7a38b8;
    transform: translateY(-2px);
}

/* responsive filter bar */
@media (max-width: 768px) {
    .job-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .job-filter-bar select,
    .filter-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ========================================================= */
/* === JOB CARDS GRID (2x2 wide columns) === */
/* ========================================================= */

.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(520px, 1fr));
    gap: 45px;
    justify-content: center;
    align-items: stretch; /* ✅ ensures all cards in a row are same height */
    grid-auto-rows: 1fr;  /* ✅ makes all cards stretch evenly per row */
    padding: 0 30px;
    }


@media (max-width: 1024px) {
    /* keep responsive breakpoints reasonable */
    .job-cards-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .job-scroll-vertical {
        padding: 25px 20px;
        max-height: 900px;
    }
}

/* ========================================================= */
/* === JOB CARD (wider & shorter) - keep all design intact === */
/* ========================================================= */

.job-card {
    background: #ffffff;
    color: #000000;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    padding: 26px 34px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    min-height: 260px;
    border: 2px solid transparent; /* ✅ Prevents layout shift on hover */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* ✅ fills full height set by grid */
    padding: 22px 28px; /* ✅ reduced inner padding */
}

.job-card:hover {
    transform: none; /* ✅ No lift */
    box-shadow: 0 0 25px rgba(159, 73, 244, 0.6); /* ✅ Purple glow */
    border-color: var(--primary-color); /* ✅ Highlight border */
}

/* --- job header --- */
.job-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px; /* tighter spacing */
    position: relative;
    gap: 18px;
}

.job-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
}

.tag.hiring {
    display: inline-block;
    background: #fbbc04;
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    position: relative;
    top: -4px;
}

/* bookmark icon */
.bookmark {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #999;
    font-size: 1.3rem;
    transition: color 0.2s ease;
}
.bookmark:hover { color: var(--primary-color); }

/* --- title and meta --- */
.job-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: -4px 0 2px; /* reduced from 8px 0 10px */
    color: #111;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    color: #1c1c1c;
    font-size: 0.78rem; /* smaller overall meta size */
    margin: 4px 0 4px 0;
    align-items: center;
}

.job-meta p {
    margin: 0;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem; /* ✅ ensure paragraphs follow new size */
}

.job-meta i {
    color: #930485;
    margin-right: 5px;
    font-size: 0.8rem; /* ✅ smaller icons to match text */
}

.job-meta p + p {
    margin-left: 14px;      /* adds horizontal gap between each meta item */
}

/* smaller divider spacing so the hr doesn't feel too separated */
.job-card hr {
    border: none;
    border-top: 1px solid #e9e9e9;
    margin: 8px 0;          /* tightened vertical spacing */
    opacity: 0.95;
}

.job-details strong {
    color: #000;
    font-weight: 600;
    margin-right: 6px;
        font-size: 0.9rem;       /* keep labels like Type, Eligibility slightly bold but smaller */
    font-weight: 600;
}

/* ✅ Compact job details section spacing */
.job-details {
    display: flex;
    flex-direction: column;
    gap: 4px;              /* reduced from default line gaps */
    margin-top: 4px;       /* smaller top margin */
    margin-bottom: 4px;    /* less space before Apply button */
}

.job-details p {
    font-size: 0.85rem;       /* ✅ smaller text */
    margin: 2px 0;         /* tighter spacing between lines */
    line-height: 1.25;      /* slightly compressed text */
}

.detail-chip,
.skill-chip,
.salary {
    font-size: 0.82rem;       /* ✅ shrink chips and salary text slightly */
}

.job-details .skill-chip {
    margin-right: 4px;
    margin-bottom: 3px;    /* neat wrapping for skills */
}

.detail-chip {
    display: inline-block;
    background: #eeeeee;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 0.82rem;
    font-weight: 400;
    color: #101010;
    margin-left: 4px;
    }

.skill-chip {
    display: inline-block;
    background: #eeeeee;
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 0.82rem;
    font-weight: 400;
    color: #101010;
    margin-right: 5px;
}

.salary {
    color: #12c11d;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================================= */
/* === APPLY BUTTON === */
/* ========================================================= */
.apply-now {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(90deg, #9f49f4, #a850f4); /* smooth purple gradient */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 0;
    margin-top: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(159, 73, 244, 0.4);
}

.apply-now:hover {
    background: linear-gradient(90deg, #7a38b8, #9445d6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(159, 73, 244, 0.6);
    }


/* ========================================================= */
/* === LOAD MORE CARD === */
/* ========================================================= */
/* === LOAD MORE CARD (themed & equal height) === */
.load-more {
    background: linear-gradient(180deg, rgba(159, 73, 244, 0.12), rgba(159, 73, 244, 0.25)); /* ✅ subtle purple tint */
    border: 2px dashed rgba(159, 73, 244, 0.5); /* ✅ matches site color */
    color: var(--text-light);
    border-radius: 12px;
    text-align: center;

    /* ✅ Same height as job cards */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 30px;
    box-shadow: 0 0 25px rgba(159, 73, 244, 0.25); /* ✅ soft purple glow */
    transition: all 0.3s ease;
}

.load-more:hover {
    box-shadow: 0 0 35px rgba(159, 73, 244, 0.6);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.load-more .plus-icon {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.load-more h4 {
    color: var(--primary-color);
    margin-bottom: 6px;
    font-size: 1.25rem;
    font-weight: 700;
}

.load-more p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.browse-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.browse-btn:hover {
    background: #7a38b8;
    transform: translateY(-2px);
}

/* ========================================================= */
/* === Small-screen adjustments (keep intact) === */
/* ========================================================= */
@media (max-width: 480px) {
    .companies-section h2 { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.95rem; }
    .job-filter-bar { gap: 10px; padding: 10px; }
    .job-cards-grid { padding: 0 12px; gap: 18px; }
    .job-card { padding: 18px 16px; min-height: auto; }
    .job-logo { width: 56px; height: 56px; font-size: 1.1rem; }
    .job-meta { gap: 10px; font-size: 0.86rem; }
    .apply-now { padding: 10px 0; font-size: 0.92rem; }
}