:root {
    --primary-blue: #003366;    /* Deep Academic Blue */
    --gold: #C5A059;           /* Premium Gold Accent */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
}

/* FORCE CDC FONT FOR CAREERS PAGE ONLY */

.careers-hero,
.container,
.why-join,
.benefit-card,
.vacancy-box,
.hero-content {
    font-family: 'Poppins', sans-serif;
}


/* --- Content Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- Why Join Section --- */
.why-join h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.why-join h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 10px auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* --- Vacancy Box (Premium Empty State) --- */
.vacancy-box {
    background: var(--white);
    border: 1px solid #eee;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.vacancy-box h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.apply-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-blue);
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 25px;
    transition: background 0.3s;
    border: 2px solid var(--primary-blue);
}

.apply-btn:hover {
    background: transparent;
    color: var(--primary-blue) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .careers-hero h1 { font-size: 2.2rem; }
    .vacancy-box { padding: 30px 20px; }
}
.careers-hero {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust this to 50vh if you want it even shorter */
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* This makes the image behave like a background but much more stable on mobile */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the magic: it fills the box without stretching */
    object-position: center; /* Keeps the center of the building in view */
    z-index: 1;
}

/* Premium Dark Blue Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.6));
    z-index: 2;
}

/* Content stays on top */
.hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold); /* #C5A059 */
    margin-bottom: 15px;
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .careers-hero {
        height: 50vh; /* Shorter on mobile so users don't have to scroll as much */
        min-height: 350px;
    }
    
    .hero-bg-img {
        object-position: center; /* Try '70% center' if the building is on the right side */
    }
}