/* Careers Page Specific Styles */

/* Main Landmark Reset */
#main-content,
.careers-main,
main {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Sections General */
.careers-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Status Banner / Pill */
.hiring-status-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.hiring-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted-light);
    backdrop-filter: blur(8px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #eab308;
    box-shadow: 0 0 8px #eab308;
    display: inline-block;
}

.status-dot.active {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* Culture & Why Join Us Grid */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.culture-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.culture-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--glass-glow);
}

.culture-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 0.5rem;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.culture-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.culture-card:hover .culture-icon {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 6px 20px -2px rgba(59, 130, 246, 0.35);
}

.culture-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    color: var(--text);
    margin: 0;
    font-weight: 700;
}

.culture-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Open Positions Area */
.openings-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Empty State Card */
.empty-openings-card {
    text-align: center;
    padding: 4rem 2.5rem;
    border-radius: 1.5rem;
    background: var(--glass-bg);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.empty-icon {
    font-size: 3rem;
    opacity: 0.85;
}

.empty-openings-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    color: var(--text);
    margin: 0;
}

.empty-openings-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0;
}

.empty-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 0.4rem;
}

.empty-action-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glass-glow);
}

/* Job Opening Cards (For Active / Uncommented Roles) */
.job-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    padding: 2.5rem;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--glass-glow);
    transform: translateY(-3px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-tag {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

.job-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.job-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-checklist li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.job-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Spontaneous Application / Join Our Team Card */
.spontaneous-card {
    background: linear-gradient(135deg, rgba(14, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.25) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 1.5rem;
    padding: 3.5rem 3rem;
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.spontaneous-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--btn-gradient);
    opacity: 0.9;
}

.spontaneous-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(59, 130, 246, 0.15);
}

.spontaneous-content {
    flex: 1;
}

.spontaneous-kicker {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.spontaneous-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    color: var(--text);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.spontaneous-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0 0 1.25rem 0;
    max-width: 680px;
}

.spontaneous-instruction {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spontaneous-instruction strong {
    color: var(--primary);
}

.spontaneous-action {
    flex-shrink: 0;
}

/* ==========================================================================
   Spontaneous Application ("Join Our Team") - 5 Festival Themes Styling
   ========================================================================== */

/* 1. Diwali Theme */
[data-theme="diwali"] .spontaneous-card {
    background: linear-gradient(135deg, rgba(28, 17, 10, 0.92) 0%, rgba(245, 158, 11, 0.16) 100%);
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(245, 158, 11, 0.16);
}

[data-theme="diwali"] .spontaneous-card:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 158, 11, 0.28);
}

[data-theme="diwali"] .spontaneous-kicker {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(251, 191, 36, 0.35);
}

[data-theme="diwali"] .spontaneous-instruction strong {
    color: #fde68a;
}

[data-theme="diwali"] .culture-icon {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(251, 191, 36, 0.35);
    color: #fbbf24;
}

[data-theme="diwali"] .culture-card:hover .culture-icon {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 6px 20px -2px rgba(245, 158, 11, 0.4);
}

/* 2. Halloween Theme */
[data-theme="halloween"] .spontaneous-card {
    background: linear-gradient(135deg, rgba(20, 10, 30, 0.94) 0%, rgba(249, 115, 22, 0.16) 100%);
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(249, 115, 22, 0.18);
}

[data-theme="halloween"] .spontaneous-card:hover {
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(249, 115, 22, 0.32);
}

[data-theme="halloween"] .spontaneous-kicker {
    color: #fb923c;
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.35);
}

[data-theme="halloween"] .spontaneous-instruction strong {
    color: #fed7aa;
}

[data-theme="halloween"] .culture-icon {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.35);
    color: #fb923c;
}

[data-theme="halloween"] .culture-card:hover .culture-icon {
    background: rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 6px 20px -2px rgba(249, 115, 22, 0.4);
}

/* 3. Christmas Theme */
[data-theme="christmas"] .spontaneous-card {
    background: linear-gradient(135deg, rgba(10, 26, 18, 0.94) 0%, rgba(16, 185, 129, 0.16) 100%);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(16, 185, 129, 0.18);
}

[data-theme="christmas"] .spontaneous-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(16, 185, 129, 0.32);
}

[data-theme="christmas"] .spontaneous-kicker {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="christmas"] .spontaneous-instruction strong {
    color: #a7f3d0;
}

[data-theme="christmas"] .culture-icon {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

[data-theme="christmas"] .culture-card:hover .culture-icon {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 6px 20px -2px rgba(16, 185, 129, 0.4);
}

/* 4. Navratri Theme */
[data-theme="navratri"] .spontaneous-card {
    background: linear-gradient(135deg, rgba(28, 10, 24, 0.94) 0%, rgba(244, 63, 94, 0.18) 100%);
    border-color: rgba(244, 63, 94, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(244, 63, 94, 0.18);
}

[data-theme="navratri"] .spontaneous-card:hover {
    border-color: rgba(244, 63, 94, 0.6);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(244, 63, 94, 0.32);
}

[data-theme="navratri"] .spontaneous-kicker {
    color: #fb7185;
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.35);
}

[data-theme="navratri"] .spontaneous-instruction strong {
    color: #fecdd3;
}

[data-theme="navratri"] .culture-icon {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.35);
    color: #fb7185;
}

[data-theme="navratri"] .culture-card:hover .culture-icon {
    background: rgba(244, 63, 94, 0.25);
    border-color: rgba(244, 63, 94, 0.6);
    box-shadow: 0 6px 20px -2px rgba(244, 63, 94, 0.4);
}

/* 5. Holi Theme (Global Desktop & Mobile) */
[data-theme="holi"] .spontaneous-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(219, 39, 119, 0.22) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 25px rgba(219, 39, 119, 0.12) !important;
}

[data-theme="holi"] .spontaneous-card:hover {
    border-color: rgba(219, 39, 119, 0.5) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09), 0 0 30px rgba(219, 39, 119, 0.22) !important;
}

[data-theme="holi"] .spontaneous-kicker {
    color: #be185d !important;
    background: rgba(219, 39, 119, 0.1) !important;
    border-color: rgba(219, 39, 119, 0.25) !important;
}

[data-theme="holi"] .spontaneous-content h3 {
    color: #0f172a !important;
    text-shadow: none !important;
}

[data-theme="holi"] .spontaneous-content p {
    color: #334155 !important;
    text-shadow: none !important;
}

[data-theme="holi"] .spontaneous-instruction {
    color: #475569 !important;
}

[data-theme="holi"] .spontaneous-instruction strong {
    color: #db2777 !important;
}

[data-theme="holi"] .culture-icon {
    background: rgba(219, 39, 119, 0.12) !important;
    border: 1px solid rgba(219, 39, 119, 0.28) !important;
    color: #be185d !important;
}

[data-theme="holi"] .culture-card:hover .culture-icon {
    background: rgba(219, 39, 119, 0.2) !important;
    border-color: rgba(219, 39, 119, 0.5) !important;
    box-shadow: 0 6px 20px -2px rgba(219, 39, 119, 0.3) !important;
}


/* Hiring Philosophy Card */
.hiring-philosophy-card {
    max-width: 820px;
    margin: 2rem auto 0 auto;
    padding: 2.75rem 3rem;
    text-align: center;
    border-radius: var(--radius-card);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: 1.85;
    color: var(--text);
    margin: 0;
    font-weight: 400;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.35s ease;
}

.process-step-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-3px);
}

.process-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.4);
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    color: var(--text);
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

.process-step-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .spontaneous-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .careers-section {
        padding: 3rem 1.25rem;
    }

    .culture-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .empty-openings-card {
        padding: 2.5rem 1.5rem;
    }

    .empty-openings-card h3 {
        font-size: 1.4rem;
    }

    .spontaneous-content h3 {
        font-size: 1.45rem;
    }

    .spontaneous-content p,
    .empty-openings-card p {
        font-size: 1rem;
        line-height: 1.7;
        color: var(--text-muted-light);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    }

    /* Festival Theme Readability Veil & Blur on Mobile */
    [data-theme="diwali"] .bg-animation::before,
    [data-theme="halloween"] .bg-animation::before,
    [data-theme="christmas"] .bg-animation::before,
    [data-theme="navratri"] .bg-animation::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 2;
        background: rgba(0, 0, 0, 0.38);
    }

    [data-theme="holi"] .bg-animation::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 2;
        background: rgba(255, 255, 255, 0.38);
    }

    [data-theme="diwali"] .bg-animation::after,
    [data-theme="halloween"] .bg-animation::after,
    [data-theme="christmas"] .bg-animation::after,
    [data-theme="navratri"] .bg-animation::after,
    [data-theme="holi"] .bg-animation::after {
        filter: blur(3.5px) brightness(0.85);
        -webkit-filter: blur(3.5px) brightness(0.85);
        opacity: 0.95 !important;
    }

    .hiring-philosophy-card {
        padding: 2rem 1.5rem;
    }

    .philosophy-text {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    /* Light Theme (Holi) Text Overrides */
    [data-theme="holi"] .hero-banner-title,
    [data-theme="holi"] .section-title,
    [data-theme="holi"] .culture-card h3,
    [data-theme="holi"] .empty-openings-card h3,
    [data-theme="holi"] .spontaneous-content h3,
    [data-theme="holi"] .process-step-card h3 {
        color: #0f172a !important;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
    }

    [data-theme="holi"] .culture-card p,
    [data-theme="holi"] .empty-openings-card p,
    [data-theme="holi"] .spontaneous-content p,
    [data-theme="holi"] .process-step-card p,
    [data-theme="holi"] .spontaneous-instruction,
    [data-theme="holi"] .philosophy-text {
        color: #334155 !important;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7) !important;
    }
}

