/* Job Portal Custom Styles */

/* FAILSAFE: Force Full Width Layout (Commented Out by User) */
/*
body.page-template-job-portal-home #primary,
body.page-template-page-template-job-portal #primary,
body.page-template-page-template-job-portal-php #primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-template-job-portal-home #secondary,
body.page-template-page-template-job-portal #secondary,
body.page-template-page-template-job-portal-php #secondary {
    display: none !important;
}
body.page-template-job-portal-home .site-content > .ast-container,
body.page-template-page-template-job-portal .site-content > .ast-container,
body.page-template-page-template-job-portal-php .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}
*/

/* =========================================
   PREMIUM DESIGN SYSTEM (Synced with Theme)
   ========================================= */

/* Import Fonts: 'Outfit' for Headings, 'Inter' for Body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/*:root {*/
    /* Map to Astra Global Colors with Fallbacks */
/*    --primary-color: var(--ast-global-color-0, #0066FF);*/
    /* Theme Primary */
/*    --secondary-color: var(--ast-global-color-1, #0d1b2a);*/
    /* Theme Secondary */
/*    --text-color: var(--ast-global-color-3, #3a3a3a);*/
    /* Theme Text */
/*    --accent-color: var(--ast-global-color-2, #FFB400);*/
    /* Theme Link/Accent */

/*    --glass-bg: rgba(255, 255, 255, 0.1);*/
/*    --glass-border: rgba(255, 255, 255, 0.2);*/
/*    --font-heading: 'Outfit', sans-serif;*/
/*    --font-body: 'Inter', sans-serif;*/
/*}*/






body {
    font-family: var(--font-body);
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.text-theme-accent {
    color: var(--accent-color) !important;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero-section {
    /* Use Theme Primary Color for Gradient */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    padding: 100px 0 80px;
    color: #fff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    /* Always white on hero */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #fff;
}

.hero-signup-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.hero-signup-box:hover {
    transform: translateY(-5px);
}

.hero-stat-strip {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

/* =========================================
   PREMIUM JOB SLIDER & FILTERS
   ========================================= */

/* Filter Pills */
.filter-pills-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-pills-container::-webkit-scrollbar {
    display: none;
}

.btn-pill-filter {
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-color);
    background: #fff;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-pill-filter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f7ff;
}

.btn-pill-filter.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Generic shadow to match any color */
}

/* Job Slider Wrapper */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Premium Job Card */
.premium-job-card {
    min-width: 320px;
    max-width: 320px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.premium-job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--primary-color);
    /* Theme border color on hover */
    z-index: 2;
}

.badge-hiring {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    /* Force theme color */
    border-color: var(--primary-color) !important;
}

.job-meta-info i {
    color: #a0aec0;
}

/* Smooth Horizontal Scroll */
#premiumJobSlider {
    cursor: grab;
    scroll-snap-type: x mandatory;
    padding: 10px 5px 30px 5px;
}

#premiumJobSlider:active {
    cursor: grabbing;
}

.premium-job-card {
    scroll-snap-align: center;
}

/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Feature Cards (Categories) */
.feature-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.job-listing-container {
    padding: 60px 0;
    background: #fff;
}

.cta-section {
    /* Gradient using Theme Primary */
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.stats-number {
    font-family: var(--font-heading);
    /* Attempt to use theme color gradient text */
    background: -webkit-linear-gradient(var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    font-weight: 800;
}

/*body.page-template-page-template-job-portal #primary,*/
/*body.page-template-page-template-job-portal-php #primary {*/
/*    width: 100% !important;*/
/*    max-width: 100% !important;*/
/*    margin: 0 !important;*/
/*    padding: 0 !important;*/
/*}*/

/*body.page-template-job-portal-home #secondary,*/
/*body.page-template-page-template-job-portal #secondary,*/
/*body.page-template-page-template-job-portal-php #secondary {*/
/*    display: none !important;*/
/*}*/

/*body.page-template-job-portal-home .ast-container,*/
/*body.page-template-page-template-job-portal .ast-container,*/
/*body.page-template-page-template-job-portal-php .ast-container {*/
/*    max-width: 100% !important;*/
/*    padding: 0 !important;*/
/*}*/

/* =========================================
   PREMIUM DESIGN SYSTEM
   ========================================= */

/* Import Fonts: 'Outfit' for Headings, 'Inter' for Body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/*:root {*/
/*    --primary-color: #0066FF;*/
/*    --secondary-color: #0d1b2a;*/
/*    --accent-color: #FFB400;*/
/*    --glass-bg: rgba(255, 255, 255, 0.1);*/
/*    --glass-border: rgba(255, 255, 255, 0.2);*/
/*    --font-heading: 'Outfit', sans-serif;*/
/*    --font-body: 'Inter', sans-serif;*/
/*}*/

:root {
    /* Brand / Primary */
    --primary-color: #4F46E5;       /* Indigo */
    --primary-gradient: linear-gradient(
        90deg,
        #4F46E5 0%,
        #3730A3 50%,
        #1E1B4B 100%
    );

    /* Secondary / Text */
    --secondary-color: #0F172A;     /* Dark navy */
    --text-primary: #0F172A;
    --text-muted: #64748B;

    /* Accent / CTA */
    --accent-color: #22C55E;        /* Green – Add Job / Apply */
    --accent-hover: #16A34A;

    /* Backgrounds */
    --background-color: #F8FAFC;
    --card-bg: #FFFFFF;

    /* UI */
    --border-color: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(226, 232, 240, 0.8);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* =========================================
   HERO SECTION (Internshala Style Premium)
   ========================================= */

.hero-section {
    background: radial-gradient(circle at top right, #1e3c72, #2a5298);
    position: relative;
    padding: 100px 0 80px;
    color: #fff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-signup-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.hero-signup-box:hover {
    transform: translateY(-5px);
}

.hero-stat-strip {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

/* =========================================
   PREMIUM JOB SLIDER & FILTERS
   ========================================= */

/* Filter Pills */
.filter-pills-container {
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.filter-pills-container::-webkit-scrollbar {
    display: none;
}

.btn-pill-filter {
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
    background: #fff;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-pill-filter:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f7ff;
}

.btn-pill-filter.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

/* Job Slider Wrapper */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Premium Job Card */
.premium-job-card {
    min-width: 320px;
    max-width: 320px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.premium-job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: #bfdbfe;
    z-index: 2;
}

.badge-hiring {
    font-size: 0.75rem;
    font-weight: 600;
}

.job-meta-info i {
    color: #a0aec0;
}

/* Smooth Horizontal Scroll */
#premiumJobSlider {
    cursor: grab;
    scroll-snap-type: x mandatory;
    padding: 10px 5px 30px 5px;
    /* Bottom padding for shadow visibility */
}

#premiumJobSlider:active {
    cursor: grabbing;
}

.premium-job-card {
    scroll-snap-align: center;
}

/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Feature Cards (Categories) */
.feature-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.job-listing-container {
    padding: 60px 0;
    background: #fff;
}

.cta-section {
    background: linear-gradient(120deg, #2563eb, #1d4ed8);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.3);
    color: #fff;
}

.stats-number {
    font-family: var(--font-heading);
    background: -webkit-linear-gradient(#0066FF, #00C6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    font-weight: 800;
}