/* ==========================================================================
   SSE AUTOMATION & ROBOTICS - CAREERS CSS
   Light theme layout, dynamic animations, accordion grids, and modal drawers.
   ========================================================================== */

/* Theme Override & Base Settings */
body.careers-page {
    background-color: #ffffff;
    color: #111111;
}

body.careers-page header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.careers-page header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.careers-page .nav-links a {
    color: #111111;
}

body.careers-page .nav-links a:hover {
    color: #0077ff;
}

body.careers-page .hamburger {
    color: #111111;
}

/* Base Layout Helpers */
.careers-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0077ff;
    margin-bottom: 12px;
}

.careers-eyebrow.light-eyebrow {
    color: #4bcaaf;
}

/* Careers Button System */
.careers-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.primary-careers-btn {
    background-color: #111111;
    color: #ffffff;
    border: 1px solid #111111;
}

.primary-careers-btn:hover {
    background-color: #0077ff;
    border-color: #0077ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.2);
}

.secondary-careers-btn {
    background-color: transparent;
    color: #111111;
    border: 1px solid #e2e8f0;
    margin-left: 15px;
}

.secondary-careers-btn:hover {
    background-color: #f8fafc;
    border-color: #111111;
    transform: translateY(-2px);
}

.outline-careers-btn {
    background-color: transparent;
    color: #111111;
    border: 2px solid #111111;
}

.outline-careers-btn:hover {
    background-color: #111111;
    color: #ffffff;
    transform: translateY(-2px);
}

.w-100 {
    width: 100%;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.careers-hero {
    padding: 180px 0 110px 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.25) 100%),
                url('assets/CAREER PAGE HERO IMAGE.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.careers-hero .hero-text-side {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.careers-hero .careers-eyebrow {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
    display: inline-block;
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.careers-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -1px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.careers-hero p {
    font-size: 1.2rem;
    color: #f8fafc;
    line-height: 1.7;
    margin-bottom: 38px;
    max-width: 640px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.careers-hero .hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.careers-hero .primary-careers-btn {
    background-color: #0077ff;
    color: #ffffff;
    border: 1px solid #0077ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

.careers-hero .primary-careers-btn:hover {
    background-color: #0060df;
    border-color: #0060df;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.5);
}

.careers-hero .secondary-careers-btn {
    background-color: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border: 1px solid #ffffff;
    font-weight: 600;
    margin-left: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.careers-hero .secondary-careers-btn:hover {
    background-color: #ffffff;
    color: #0077ff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* SVG ANIMATIONS */
/* Rotating Outer Rings */
.rotating-ring-slow {
    transform-origin: 250px 200px;
    animation: rotateRing 35s linear infinite;
}

.rotating-ring-fast {
    transform-origin: 250px 200px;
    animation: rotateRingRev 20s linear infinite;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateRingRev {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Conveyor Box Movement */
.conveyor-box {
    animation: moveConveyorBox 6s linear infinite;
}

@keyframes moveConveyorBox {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(160px);
        opacity: 0;
    }
}

/* Roller Spinning */
.roller-spin {
    transform-origin: 20px 20px;
    animation: spinRollers 1.5s linear infinite;
}
.conveyor-group circle:nth-child(3) { transform-origin: 80px 20px; }
.conveyor-group circle:nth-child(4) { transform-origin: 140px 20px; }
.conveyor-group circle:nth-child(5) { transform-origin: 200px 20px; }
.conveyor-group circle:nth-child(6) { transform-origin: 260px 20px; }

@keyframes spinRollers {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Robotic Arm Motion */
.lower-arm {
    animation: swingLower 8s ease-in-out infinite alternate;
}

.upper-arm {
    animation: swingUpper 8s ease-in-out infinite alternate;
}

.wrist {
    animation: swingWrist 8s ease-in-out infinite alternate;
}

@keyframes swingLower {
    0% { transform: translate(0, -25) rotate(-45deg); }
    50% { transform: translate(0, -25) rotate(-20deg); }
    100% { transform: translate(0, -25) rotate(-35deg); }
}

@keyframes swingUpper {
    0% { transform: translate(0, -75) rotate(50deg); }
    50% { transform: translate(0, -75) rotate(90deg); }
    100% { transform: translate(0, -75) rotate(65deg); }
}

@keyframes swingWrist {
    0% { transform: translate(0, -60) rotate(-15deg); }
    50% { transform: translate(0, -60) rotate(-45deg); }
    100% { transform: translate(0, -60) rotate(-25deg); }
}

/* Gripper Closing/Opening */
.gripper-left {
    animation: grabLeft 8s ease-in-out infinite alternate;
}
.gripper-right {
    animation: grabRight 8s ease-in-out infinite alternate;
}

@keyframes grabLeft {
    0%, 40% { transform: rotate(0deg); }
    50%, 70% { transform: rotate(4deg); }
    80%, 100% { transform: rotate(0deg); }
}
@keyframes grabRight {
    0%, 40% { transform: rotate(0deg); }
    50%, 70% { transform: rotate(-4deg); }
    80%, 100% { transform: rotate(0deg); }
}

/* Laser Scanning Line Sweep */
.laser-scanner {
    transform-origin: 0px -18px;
    animation: scanSweep 4s ease-in-out infinite alternate;
}

@keyframes scanSweep {
    0% { transform: translate(0, -18) rotate(170deg) translate(0, 18); opacity: 0.15; }
    50% { opacity: 0.45; }
    100% { transform: translate(0, -18) rotate(190deg) translate(0, 18); opacity: 0.15; }
}

/* Vision Camera Laser Pulsing & Line scan */
.camera-pulse {
    animation: pulseLaser 2.5s ease-in-out infinite alternate;
}

.camera-line {
    animation: sweepLine 2.5s ease-in-out infinite alternate;
}

@keyframes pulseLaser {
    0% { opacity: 0.05; }
    100% { opacity: 0.35; }
}

@keyframes sweepLine {
    0% { transform: translateY(-5px); opacity: 0.4; }
    100% { transform: translateY(5px); opacity: 1; }
}

/* ==========================================================================
   2. WHY SSE SECTION
   ========================================================================== */
.why-sse-section {
    padding: 100px 0;
    background-color: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
}

.careers-section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.careers-section-header.centered-header {
    text-align: center;
    margin: 0 auto 60px auto;
}

.careers-section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.5px;
}

.careers-header-desc {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.why-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 30px 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    border-color: #0077ff;
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #0077ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.why-card:hover .why-card-icon {
    background: #0077ff;
    color: #ffffff;
}

.why-card-icon svg {
    width: 22px;
    height: 22px;
}

.why-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 5px;
}

.why-card-content p {
    font-size: 0.95rem;
    color: #555555;
    margin: 0;
}

/* ==========================================================================
   3. CURRENT OPENINGS (DYNAMIC ACCORDION)
   ========================================================================== */
.openings-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.jobs-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.jobs-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

.job-card {
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover {
    border-color: #ccc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.job-card.expanded {
    border-color: #111111;
}

/* Job Header summary block */
.job-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    cursor: pointer;
    user-select: none;
}

.job-title-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.job-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-tag i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.job-trigger-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.job-expand-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.job-card.expanded .job-expand-icon {
    transform: rotate(180deg);
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}

/* Job Details Accordion Dropdown */
.job-details-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 0px solid #eaeaea;
}

.job-card.expanded .job-details-dropdown {
    border-top-width: 1px;
}

.job-details-content {
    padding: 40px;
    background-color: #fafbfc;
}

.job-description-block {
    margin-bottom: 30px;
}

.job-description-block p {
    color: #444444;
    font-size: 1rem;
    line-height: 1.6;
}

.job-grids-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.job-detail-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111111;
    margin-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.job-detail-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-detail-col ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.job-detail-col ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0077ff;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: -1px;
}

.job-apply-footer {
    display: flex;
    justify-content: flex-end;
}

/* General Application Section Styling */
.general-apply-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 40px;
    background-color: #fafbfc;
    margin-top: 40px;
}

.general-apply-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.general-apply-content p {
    color: #555555;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 750px;
}

/* ==========================================================================
   4. CAREER JOURNEY SECTION
   ========================================================================== */
.journey-section {
    padding: 100px 0;
    background-color: #fafbfc;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.journey-stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 40px;
    padding: 0 20px;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.journey-step:hover .step-badge {
    border-color: #0077ff;
    background-color: #0077ff;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(0, 119, 255, 0.15);
}

.journey-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.journey-step p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    max-width: 140px;
    line-height: 1.4;
}

.journey-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e2e8f0;
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   5. ENGINEERING CULTURE VISUAL SECTION
   ========================================================================== */
.culture-visual-section {
    position: relative;
    padding: 140px 0;
    background-image: url('https://images.unsplash.com/photo-1616401784845-180882ba9ba8?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
}

.culture-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.7);
    z-index: 1;
}

.culture-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.culture-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.culture-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
}

/* ==========================================================================
   6. FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
    padding: 100px 0;
    text-align: center;
    background-color: #ffffff;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.final-cta-section p {
    font-size: 1.15rem;
    color: #555555;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* ==========================================================================
   7. APPLICATION DRAWER & OVERLAY
   ========================================================================== */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.app-drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 740px;
    max-width: 92vw;
    max-height: 88vh;
    background-color: #ffffff;
    z-index: 10001;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transform: translate(-50%, -46%) scale(0.92);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-drawer.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    padding: 22px 32px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    flex-shrink: 0;
}

.drawer-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.drawer-close-btn {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 32px;
}

/* ==========================================================================
   8. FORM DESIGN & VALIDATION
   ========================================================================== */
.form-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin: 30px 0 15px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.form-group input[readonly] {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
    font-weight: 600;
    cursor: not-allowed;
}

.form-group input:focus:not([readonly]),
.form-group textarea:focus {
    border-color: #0077ff;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.12);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

/* Custom Upload Drag & Drop Area */
.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 4px;
    padding: 30px 20px;
    text-align: center;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #0077ff;
    background-color: rgba(0, 119, 255, 0.02);
}

.upload-area i {
    font-size: 2rem;
    color: #64748b;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.upload-area:hover i {
    color: #0077ff;
}

.upload-area p {
    font-size: 0.95rem;
    color: #334155;
    margin: 0 0 6px 0;
}

.upload-area .browse-link {
    color: #0077ff;
    font-weight: 600;
    text-decoration: underline;
}

.upload-area .file-spec {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

/* File Selected Details Display */
.selected-file-display {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 12px 18px;
    margin-top: 10px;
}

.selected-file-display i {
    font-size: 1.35rem;
    color: #0077ff;
    margin-right: 12px;
}

.selected-file-display .filename {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-file-display .filesize {
    font-size: 0.8rem;
    color: #64748b;
    margin-right: 15px;
}

.remove-file-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: color 0.2s;
}

.remove-file-btn:hover {
    color: #ef4444;
}

/* Checkbox Style Override */
.checkbox-group {
    margin-top: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background-color: #ffffff;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label:hover input ~ .custom-checkbox {
    border-color: #0077ff;
}

.checkbox-label input:checked ~ .custom-checkbox {
    background-color: #0077ff;
    border-color: #0077ff;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .custom-checkbox::after {
    display: block;
}

.checkbox-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
}

/* Error Summary CSS */
.form-error-summary {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 25px;
    font-weight: 500;
}

.form-submit-row {
    margin-top: 30px;
}

/* Inline Field Validation Error Messaging */
.validation-message {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 5px;
    display: none;
}

.form-group.invalid input:not([readonly]),
.form-group.invalid textarea,
.form-group.invalid .upload-area,
.checkbox-group.invalid .custom-checkbox {
    border-color: #ef4444;
    background-color: #fffdfd;
}

.form-group.invalid .validation-message,
.checkbox-group.invalid .validation-message {
    display: block;
}

/* ==========================================================================
   9. SUCCESS STATE
   ========================================================================== */
.success-state-container {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 30px;
}

.success-checkmark-svg {
    width: 100%;
    height: 100%;
}

.circle-draw {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.check-draw {
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    animation: drawCheck 0.5s 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.success-state-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
}

.success-state-container p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 450px;
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text-side p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual-side {
        max-width: 440px;
        margin: 0 auto;
    }

    .journey-stepper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0;
    }

    .journey-line {
        display: none;
    }
    
    .journey-step {
        width: 100%;
    }
    
    .journey-step p {
        max-width: 280px;
    }

    .general-apply-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        padding: 30px;
    }
    
    .general-apply-action {
        width: 100%;
    }
    
    .general-apply-action button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 120px 0 60px 0;
    }
    
    .hero-text-side h1 {
        font-size: 2.4rem;
    }
    
    .why-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .why-card-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .job-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .job-trigger-action {
        width: 100%;
        justify-content: space-between;
    }
    
    .job-details-content {
        padding: 30px 20px;
    }
    
    .job-grids-requirements {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .app-drawer {
        width: 95vw;
        max-width: 95vw;
        max-height: 92vh;
        border-radius: 12px;
    }
    
    .drawer-header {
        padding: 20px;
    }
    
    .drawer-body {
        padding: 25px 20px;
    }
    
    .culture-content h2 {
        font-size: 2rem;
    }
    
    .final-cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-actions button,
    .cta-actions a {
        width: 100%;
    }
    
    .secondary-careers-btn {
        margin-left: 0;
    }
}
