/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #F8F8F8;
    /* Soft Ivory for main background */
    color: #1D1D1D;
    /* Dark Charcoal text */
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
    /* VERY IMPORTANT: make sure navbar is on top */
}

.logo img {
    height: 50px;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: #1D3557;
    /* Deep Blue / Navy */
    font-weight: 500;
    padding-bottom: 6px;
}

.nav-links a:hover {
    color: #D4AF37;
    /* Gold hover accent */
}

.nav-links a.active {
    color: #1D3557;
    font-weight: 700;
    border-bottom: 3px solid #1D3557;
}

/* ================= CAREER HERO ================= */
.career-hero {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url("../images/ppkBuilding.jpg") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.career-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.career-hero p {
    max-width: 800px;
    margin: 0 auto 15px;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 500;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .career-hero {
        padding: 80px 20px 50px;
    }

    .career-hero h1 {
        font-size: 32px;
    }

    .career-hero p {
        font-size: 14px;
    }
}


/* ================= CAREER FORM ================= */
.career-form-section {
    padding: 60px 20px;
    background-color: #f8f9fb;
    font-family: 'Poppins', sans-serif;
}

.career-form-container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.career-form-container .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.career-desc {
    text-align: center;
    font-size: 15px;
    color: #555;
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ===== FORM STRUCTURE ===== */

.career-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

/* ===== UNDERLINE INPUT STYLE ===== */

.form-group input,
.form-group select {
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 5px;
    font-size: 14px;
    outline: none;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: #0b5ed7;
}

/* ===== FILE INPUT ===== */

.form-group input[type="file"] {
    border-bottom: none;
    padding-left: 0;
    font-size: 14px;
}

/* ===== CHECKBOX ===== */

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
}

/* ===== SUBMIT BUTTON ===== */

.submit-btn {
    background-color: #0b5ed7;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #094bb5;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .career-form-container {
        padding: 40px 25px;
    }

    .career-form-container .section-title {
        font-size: 24px;
    }
}

/* Career Section Wrapper */
.career-section {
    width: 100%;
    padding: 60px 0px;
    background: #f5f6fa; /* optional background */
    display: flex;
    justify-content: center;
}

/* Flex container for text + image */
.career-container {
    display: block;
    margin: 0 auto;
    max-width: 1100px;
    background: #ffffff;
    width: 100%;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Text container styling */
.career-text {
    display: block;
    width: 100%;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Paragraph styling */
.career-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

/* Image container */
.career-image {
    flex: 1 1 400px; /* grows/shrinks, min width 400px */
}

.career-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* ================= FOOTER ================= */
.ppk-footer {
    background: #1D3557;
    /* Dark Navy footer */
    padding: 50px 20px 0;
    color: #F8F8F8;
    /* Light text */
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1 1 220px;
}

.footer-col h4 {
    color: #D4AF37;
    /* Gold headings in footer */
    margin-bottom: 15px;
}

.footer-logo {
    max-width: 150px;
    background-color: #F8F8F8;
    /* light background behind logo */
    padding: 5px 10px;
    border-radius: 8px;
}

.footer-bottom {
    margin-top: 40px;
    border-top: 2px solid #D4AF37;
    /* gold accent */
    background: #1D3557;
    width: 100%;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-bottom a {
    color: #F8F8F8;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: #D4AF37;
}

.job-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.job-title {
    padding: 15px;
    background: #2b4eff;
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-title i {
    transition: 0.3s;
}

.job-content {
    display: none;
    padding: 20px;
    background: #f9f9f9;
}

/* rotate arrow */
.job-item.active .job-title i {
    transform: rotate(180deg);
}

.no-job {
    background: #f5f7fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #666;
    font-size: 16px;
    border: 1px dashed #ccc;
}

.contact-float {
    position: fixed;
    right: 20px; /* bagi space sikit dari tepi */
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

/* DEFAULT (SMALL ICON ONLY) */
.contact-item {
    display: flex;
    align-items: center;

    width: 50px;
    height: 50px;

    margin: 10px 0;
    border-radius: 50%;
    color: white;

    cursor: pointer;
    overflow: hidden;

    transition: all 0.4s ease;

    padding-left: 16px; /* bagi ruang icon */
}

/* ICON ALWAYS VISIBLE */
.contact-item i {
    font-size: 18px;
    min-width: 20px; /* penting supaya tak lari */
}

/* TEXT */
.contact-item span {
    opacity: 0;
    margin-left: 10px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

/* HOVER */
.contact-item:hover {
    width: 220px;
    border-radius: 30px;
}

/* SHOW TEXT */
.contact-item:hover span {
    opacity: 1;
}

/* COLORS */
.phone {
    background: #2b4eff;
}

.email {
    background: #00a86b;
}

.job-section {
    margin-bottom: 15px;
}

.job-section h3 {
    color: #1a237e;
    margin-bottom: 5px;
    font-size: 18px;
    border-left: 4px solid #1a237e;
    padding-left: 10px;
}

.job-section p {
    margin: 0;
    padding-left: 10px;
    line-height: 1.6;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;

    color: #fff;
    text-align: center;

    padding: 25px;
    margin-bottom: 30px;

    border-radius: 12px;

    /* gradient + image */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url("../images/backgroundcs.jpg") center/cover no-repeat;

    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.career-remarks-global {
    margin: 20px 0 30px;
    padding: 16px 20px;

    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    border-left: 10px solid #1D3557;

    border-radius: 10px;

    font-size: 14px;
    line-height: 1.6;
    color: #1D3557;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Container */
.floating-contact {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
}

/* Main button (always visible) */
.main-btn {
    background: #1D3557;
    color: #fff;
    padding: 15px;
    border-radius: 30px 0 0 30px;
    cursor: pointer;
    text-align: center;
}

/* Sub buttons hidden */
.sub-buttons {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(100%);
    transition: 0.3s;
}

/* Show when hover container */
.floating-contact:hover .sub-buttons {
    opacity: 1;
    transform: translateX(0);
}

/* Button style */
.sub-buttons a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin: 5px 0;
    color: #fff;
    text-decoration: none;
    border-radius: 30px 0 0 30px;
    transition: 0.3s;
}

.sub-buttons i {
    margin-right: 10px;
}

/* Colors */
.call-btn { background: #2a9d8f; }
.email-btn { background: #e63946; }

/* Hover effect */
.sub-buttons a:hover {
    transform: translateX(-5px);
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown hidden */
.dropdown-content {
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 6px;
    overflow: hidden;
    z-index: 999;
}

/* Dropdown link */
.dropdown-content a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin: 0;
    box-sizing: border-box;
}

.dropdown-content a:hover {
    background: #f0f0f0;
}

/* Show on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

html {
    scroll-behavior: smooth;
}

.dropdown a i {
    font-size: 12px;
    margin-left: 5px;
    transition: 0.3s;
}

/* rotate bila hover */
.dropdown:hover a i {
    transform: rotate(180deg);
}