/* Careers page — hero & pre-form intro only (form untouched) */

.careers-page-hero {
    position: relative;
    margin-bottom: 0;
    min-height: 44vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(115deg, rgba(31, 31, 46, 0.92) 0%, rgba(92, 6, 50, 0.85) 55%, rgba(0, 0, 0, 0.65) 100%),
        url(../img/header.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.careers-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.09), transparent 45%);
    pointer-events: none;
}

.careers-page-hero .container {
    position: relative;
    z-index: 2;
}

.careers-page-hero h1,
.careers-page-hero .careers-hero-sub,
.careers-page-hero .breadcrumb-careers,
.careers-page-hero .breadcrumb-careers a,
.careers-page-hero .breadcrumb-careers span {
    color: #fff !important;
}

.careers-page-hero h1 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.careers-hero-sub {
    color: rgba(255, 255, 255, 0.92);
    max-width: 700px;
    margin: 0 auto 1.25rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.careers-hero-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.breadcrumb-careers {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
    margin-bottom: 1.75rem;
}

.breadcrumb-careers a:hover {
    text-decoration: none;
    opacity: 0.85;
}

.careers-hero-cta .btn-careers-apply {
    background: linear-gradient(135deg, #fff, #f3f4f8);
    color: #5C0632;
    font-weight: 700;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.careers-hero-cta .btn-careers-apply:hover {
    color: #5C0632;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.careers-intro-section {
    padding: 72px 0 56px;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.careers-info-strip {
    margin-top: -48px;
    position: relative;
    z-index: 3;
    margin-bottom: 48px;
}

.careers-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid rgba(92, 6, 50, 0.08);
    box-shadow: 0 12px 28px rgba(31, 31, 46, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.careers-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(31, 31, 46, 0.12);
}

.careers-info-card i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(92, 6, 50, 0.08);
    color: #5C0632;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.careers-info-card strong {
    display: block;
    color: #1f1f2e;
    font-size: 1rem;
    margin-bottom: 4px;
}

.careers-info-card span {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.careers-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.careers-section-head .eyebrow {
    display: inline-block;
    color: #5C0632;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
}

.careers-section-head h2 {
    font-weight: 800;
    margin-bottom: 12px;
    color: #1f1f2e;
}

.careers-section-head p {
    color: #6c757d;
    margin-bottom: 0;
}

.careers-perk-card {
    background: #fff;
    border: 1px solid rgba(92, 6, 50, 0.08);
    border-radius: 14px;
    padding: 28px 22px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 24px rgba(31, 31, 46, 0.06);
    transition: transform 0.3s ease;
}

.careers-perk-card:hover {
    transform: translateY(-4px);
}

.careers-perk-card i {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(92, 6, 50, 0.12), rgba(92, 6, 50, 0.06));
    color: #5C0632;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.careers-perk-card h6 {
    font-weight: 700;
    color: #1f1f2e;
    margin-bottom: 8px;
}

.careers-perk-card p {
    color: #6c757d;
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.55;
}

.careers-roles-panel {
    background: linear-gradient(135deg, #1f1f2e 0%, #5C0632 100%);
    border-radius: 18px;
    padding: 36px 32px;
    color: #fff;
    box-shadow: 0 20px 44px rgba(92, 6, 50, 0.25);
}

.careers-roles-panel h3,
.careers-roles-panel .h3 {
    color: #fff !important;
    font-weight: 800;
    margin-bottom: 10px;
}

.careers-roles-panel p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 20px;
}

.careers-role-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 8px 10px 0;
}

.careers-roles-panel .btn-light {
    font-weight: 700;
    margin-top: 8px;
}

@media (max-width: 991.98px) {
    .careers-page-hero {
        min-height: auto;
        padding: 70px 0 50px;
    }

    .careers-info-strip {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .careers-intro-section {
        padding: 48px 0 40px;
    }

    .careers-roles-panel {
        padding: 28px 20px;
    }
}

/* ── Application form design layer (fields/validation unchanged) ── */

.careers-form-card {
    border-radius: 18px !important;
    overflow: hidden;
    border: 1px solid rgba(92, 6, 50, 0.1) !important;
    box-shadow: 0 24px 50px rgba(31, 31, 46, 0.12) !important;
}

.careers-form-header {
    background: linear-gradient(135deg, #1f1f2e 0%, #5C0632 100%) !important;
    border: none;
}

.careers-form-header h2,
.careers-form-header p {
    color: #fff !important;
}

.careers-form-body {
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%) !important;
}

.careers-application-form label {
    font-weight: 600;
    color: #1f1f2e;
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.careers-application-form .form-control,
.careers-application-form .custom-select {
    border-radius: 8px;
    border-color: #dde2e8;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.careers-application-form .form-control:focus {
    border-color: #5C0632;
    box-shadow: 0 0 0 0.15rem rgba(92, 6, 50, 0.12);
}

.careers-application-form .form-control.is-invalid {
    border-color: #dc3545;
}

.careers-application-form h4.text-primary,
.careers-application-form h5.text-primary {
    color: #5C0632 !important;
    font-weight: 800;
    padding-bottom: 10px;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid rgba(92, 6, 50, 0.12);
}

.careers-application-form hr.border-primary {
    border-color: rgba(92, 6, 50, 0.2) !important;
    margin: 2.5rem 0;
}

.careers-application-form .bg-light.p-4,
.careers-application-form .bg-white.p-4.border {
    border-radius: 12px !important;
    border-color: rgba(92, 6, 50, 0.1) !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(31, 31, 46, 0.04);
}

.careers-application-form .alert-info {
    border-radius: 10px;
    border-left: 4px solid #5C0632;
    background: rgba(92, 6, 50, 0.05);
    border-color: rgba(92, 6, 50, 0.12);
    color: #1f1f2e;
}

.careers-application-form .alert-warning {
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.careers-application-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #5C0632;
    border-color: #5C0632;
}

.careers-application-form .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.15rem rgba(92, 6, 50, 0.2);
}

.careers-submit-btn {
    background: linear-gradient(135deg, #5C0632, #7a0a43) !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.careers-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(92, 6, 50, 0.35) !important;
}

.careers-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* File upload UI */
.career-file-upload {
    position: relative;
}

.career-file-upload .career-file-native {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.career-file-dropzone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px dashed #d5dbe3;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.career-file-dropzone:hover {
    border-color: #5C0632;
    background: rgba(92, 6, 50, 0.03);
}

.career-file-dropzone i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(92, 6, 50, 0.08);
    color: #5C0632;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.career-file-dropzone-text strong {
    display: block;
    color: #1f1f2e;
    font-size: 0.92rem;
}

.career-file-dropzone-text span {
    color: #6c757d;
    font-size: 0.8rem;
}

.career-file-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(92, 6, 50, 0.15);
    border-radius: 10px;
    background: #fff;
    margin-top: 10px;
}

.career-file-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(92, 6, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.career-file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-file-thumb i {
    color: #5C0632;
    font-size: 1.25rem;
}

.career-file-meta {
    flex: 1;
    min-width: 0;
}

.career-file-meta strong {
    display: block;
    font-size: 0.9rem;
    color: #1f1f2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.career-file-meta span {
    font-size: 0.78rem;
    color: #6c757d;
}

.career-file-remove {
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.career-file-remove:hover {
    background: rgba(220, 53, 69, 0.18);
}

.career-file-upload.is-invalid .career-file-dropzone,
.career-file-upload.is-invalid .career-file-selected {
    border-color: #dc3545;
}

.career-file-upload.is-disabled .career-file-dropzone {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.career-file-upload.has-file .career-file-dropzone {
    display: none;
}

@media (max-width: 575.98px) {
    .careers-form-body {
        padding: 1.75rem !important;
    }

    .career-file-selected {
        flex-wrap: wrap;
    }

    .career-file-remove {
        width: 100%;
        margin-top: 4px;
    }
}
