/* === Career Page Styling (career.css) === */

.career-content {
    padding: 50px 20px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.career-content h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #222;
}

.career-content p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.career-content h2 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #222;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 10px;
}

.profile-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    border-color: #007BFF;
}

.profile-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ddd;
    padding: 3px;
    background: #fff;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.profile-card h3 {
    font-size: 1.2em;
    margin: 10px 0 5px 0;
    color: #007BFF;
}

.profile-card p {
    font-size: 0.95em;
    margin: 0;
    color: #555;
}

.profile-card span {
    display: block;
    font-size: 0.85em;
    color: #777;
    margin-top: 5px;
}

.apply-button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.apply-button:hover {
    background-color: #0056b3;
}

.job-openings ul li {
    font-size: 1em;
    margin: 5px 0;
    text-align: center;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 10px;
}

.activity-grid img {
    width: 100%;
    height: 220px;
    object-fit: contain; /* agar tidak terpotong */
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .career-content {
        padding: 40px 15px;
    }
    .profile-card img,
    .activity-grid img {
        height: 180px;
    }
}


----------------------


.career-hero {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px auto;
}

.career-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Jika ingin overlay dan teks tetap dinamis, gunakan ini: */

.career-hero {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px auto;
}

.career-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* overlay gelap */
}

.career-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.career-hero-text h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.career-hero-text p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}


.career-hero {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px auto;
}

.career-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Jika ingin overlay dan teks tetap dinamis, gunakan ini: */

.career-hero {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px auto;
}

.career-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* overlay gelap */
}

.career-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.career-hero-text h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.career-hero-text p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}
