
/* Add global background to the page */
body {
    background-image: url('../public/image/homepage/epr_neo_green_vasundhara_hompage_background_image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Career Page Specific Styles */
.career-hero {
    position: relative;
    height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(-45deg, var(--bg-dark), #0B4B5C, #1F7A6B, var(--bg-dark));
    background-size: 400% 400%;
    animation: aurora 18s ease infinite;
    color: var(--text-dark);
    overflow: hidden;
}

.career-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Fix video background blocking centering */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.4;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 30% 50%, rgba(10, 47, 68, 0.1), rgba(10, 47, 68, 0.5));
}

.career-hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.career-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00E676 0%, #34D399 40%, #10B981 70%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.career-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}

.career-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00E676 0%, #34D399 40%, #10B981 70%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-title p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.career-hero .section-title p {
    color: #ffffff;
}

/* Why Join Us Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover {
    background: transparent;
    transform: translateY(-5px);
    border-color: #10B981;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #00E676;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Current Openings */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-card {
    background: var(--calc-bg);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.job-card:hover {
    border-color: #10B981;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.job-info h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-meta i {
    color: #00E676;
}

/* Apply Now Form */
.apply-container {
    background: var(--health-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(15, 107, 62, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #FDE047;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Form Submit Button (Matches Health Check Button) */
.apply-container .hc-btn {
    background: var(--calc-bg);
    color: var(--health-bg);
    border: none;
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 24px -6px rgba(253, 224, 71, 0.4);
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.apply-container .hc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -8px rgba(253, 224, 71, 0.6);
}

@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Extracted from inline styles */
.btn-sm {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid-2col {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
