/* ===============================
CAREER PAGE MAIN WRAPPER
================================*/

.career-page {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #333;
}


/* ===============================
HERO SECTION
================================*/

.career-page .career-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://test.lunaslangkawi.com.my/carreer/assets2/image/img3.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    isolation: isolate;
    color: white;
    text-align: center;
}

/* Optional overlay to improve text readability */
.career-page .career-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay - adjust opacity as needed */
    z-index: -1;
}

.career-page .career-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative; /* Ensures text appears above overlay */
    z-index: 1;
}

.career-page .career-hero p {
    font-size: 20px;
    max-width: 650px;
    margin: auto;
    opacity: .9;
    position: relative; /* Ensures text appears above overlay */
    z-index: 1;
}


/* ===============================
CONTENT AREA
================================*/

.career-page .career-content {
    background: #f8fafc;
    padding: 60px 0;
}


/* ===============================
SEARCH SECTION
================================*/

.career-page .search-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    margin-bottom: 40px;
}

.career-page .search-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}

.career-page .search-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
}

.career-page .form-group {
    display: flex;
    flex-direction: column;
}

.career-page .form-label {
    font-size: 14px;
    margin-bottom: 8px;
}

.career-page .form-control {
    height: 46px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
}

.career-page .form-control:focus {
    outline: none;
    border-color: #3b82f6;
}


/* ===============================
SEARCH BUTTON
================================*/

.career-page .search-btn {
    height: 46px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 22px;
    cursor: pointer;
    font-weight: 500;
}

.career-page .search-btn:hover {
    background: #1e40af;
}


/* ===============================
RESULT HEADER
================================*/

.career-page .results-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.career-page .results-count {
    font-size: 16px;
}

.career-page .sort-controls {
    display: flex;
    gap: 10px;
}

.career-page .sort-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 12px;
}


/* ===============================
JOB LISTINGS
================================*/

.career-page .job-listings {
    display: grid;
    gap: 20px;
}

.career-page .job-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: .25s;
}

.career-page .job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}


/* ===============================
JOB HEADER
================================*/

.career-page .job-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
}

.career-page .job-title:hover {
    color: #3b82f6;
}

.career-page .job-department {
    display: inline-block;
    margin-top: 6px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}


/* ===============================
JOB META
================================*/

.career-page .job-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.career-page .meta-item {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    gap: 8px;
}


/* ===============================
JOB DESCRIPTION
================================*/

.career-page .job-description {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 20px;
}


/* ===============================
JOB FOOTER
================================*/

.career-page .job-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.career-page .job-posted {
    font-size: 13px;
    color: #9ca3af;
}


/* ===============================
BUTTONS
================================*/

.career-page .apply-button {
    background: #1e3a8a;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.career-page .apply-button:hover {
    background: #1e40af;
}

.career-page .read-more {
    font-size: 14px;
    color: #3b82f6;
}

.career-page .read-more:hover {
    text-decoration: underline;
}


/* ===============================
EMPTY STATE
================================*/

.career-page .empty-state {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 12px;
}

.career-page .empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}


/* ===============================
CTA SECTION
================================*/

.career-page .cta-section {
    background: linear-gradient(135deg,#1e293b 0%,#334155 100%);
    color: white;
    text-align: center;
    padding: 50px 20px;
	margin-bottom:0.5%;
	height:500px;


}

.career-page .cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.career-page .cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
	text-align: center;

}

.career-page .cta-button {
    background: white;
    color: #1e293b;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.career-page .cta-button:hover {
    background: #f1f5f9;
}


/* ===============================
RESPONSIVE
================================*/

@media(max-width:768px){

.career-page .search-form{
grid-template-columns:1fr;
}

.career-page .job-footer{
flex-direction:column;
gap:10px;
}

.career-page .results-header{
flex-direction:column;
gap:10px;
}

}
