/* AMVIZ Digital - Careers Page Redesign Styles */

/* ==========================================
   Page Layout Constraints & resets
   ========================================== */
.main-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   Hero Section - Clean Layout with Visual collage
   ========================================== */
.careers-hero {
    position: relative;
    padding: 4.5rem 0 3.5rem 0;
    background: #ffffff; /* Solid premium white background */
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    z-index: 2;
    overflow: hidden;
}

.careers-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.careers-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.careers-hero-eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: rgba(19, 89, 214, 0.08);
    color: #1359D6; /* Brand Coral Orange */
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(19, 89, 214, 0.15);
}

.careers-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 850;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.careers-hero-desc {
    font-family: var(--font-secondary);
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: #475569;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 620px;
    font-weight: 400;
}

.careers-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.careers-hero-cta:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.careers-hero-cta svg {
    transition: transform 0.2s ease;
}

.careers-hero-cta:hover svg {
    transform: translateY(2px);
}

/* Hero Right: Stacked Image Collage Styling */
.hero-widget-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 5;
}

.careers-image-card {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    box-shadow: 
        0 20px 50px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform var(--transition-slow);
}

.careers-image-wrapper:hover .careers-image-card {
    transform: scale(1.02);
}

.careers-glow-shape {
    position: absolute;
    top: -15%;
    right: -15%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(19, 89, 214, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphic floating badges */
.careers-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.35rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        0 12px 30px rgba(15, 23, 42, 0.06),
        0 0 100px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.careers-badge:hover {
    transform: translateY(-4px) scale(1.02);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.badge-top-left {
    top: 10%;
    left: -12%;
}

.badge-bottom-right {
    bottom: 8%;
    right: -10%;
}

.badge-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon-circle.blue {
    background: rgba(19, 89, 214, 0.1);
    color: #1359D6;
}

.badge-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-stat {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.badge-label {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

/* Overlapping Avatars Stack inside Badge */
.careers-avatars-stack {
    display: flex;
    align-items: center;
}

.stack-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-right: -10px;
    object-fit: cover;
    background: #e2e8f0;
}

.stack-avatar:last-child {
    margin-right: 0;
}

/* ==========================================
   Culture Bento Grid Section
   ========================================== */
.careers-culture-section {
    padding: 3.5rem 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.culture-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.bento-card {
    background: #f8fafc; /* Clean off-white slate card base */
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.01);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.03);
    background: #ffffff;
}

.bento-card.card-large {
    grid-column: span 2;
}

.bento-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(19, 89, 214, 0.08);
    color: #1359D6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
}

.bento-card:hover .bento-icon-box {
    background: #1359D6;
    color: #ffffff;
}

.bento-card-title {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
}

.bento-card-desc {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   Open Positions Grid & Filtering
   ========================================== */
.job-board-section {
    padding: 3.5rem 0 4.5rem 0;
    background-color: #faf9f6; /* Warm alabaster background */
}

/* Filter pills */
.filter-pills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-pill {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
}

.filter-pill:hover {
    border-color: rgba(15, 23, 42, 0.18);
    color: #0f172a;
    transform: translateY(-1px);
}

.filter-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* Jobs card grid layout */
.jobs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.job-grid-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    text-align: left;
    box-sizing: border-box;
}

.job-grid-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.job-dept-tag {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1359D6;
    background: rgba(19, 89, 214, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.job-loc-tag {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.job-card-title {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.job-card-excerpt {
    font-family: var(--font-secondary);
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes the footer down evenly */
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 1.5rem;
    width: 100%;
    margin-top: auto;
}

.job-exp-info {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
}

.view-job-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0f172a;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.view-job-btn:hover {
    color: #1359D6;
}

.view-job-btn svg {
    transition: transform var(--transition-fast);
    width: 15px;
    height: 15px;
}

.view-job-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   Slide-out Job Details Drawer & Overlay
   ========================================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.35); /* Soft dim backdrop */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.careers-details-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    box-shadow: -10px 0 50px rgba(8, 12, 20, 0.08);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.careers-details-drawer.active {
    transform: translateX(0);
}

/* Close button */
.drawer-close-btn {
    position: absolute;
    top: 2rem;
    right: 2.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.15);
    transform: rotate(90deg);
}

.drawer-close-btn svg {
    width: 16px;
    height: 16px;
}

/* Interior scrollable container */
.drawer-inner-content {
    height: 100%;
    overflow-y: auto;
    padding: 4.5rem 3.5rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.drawer-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.drawer-dept-badge {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1359D6;
    background: rgba(19, 89, 214, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.drawer-title-text {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.drawer-meta-tags {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.drawer-meta-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f1f5f9;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
}

.drawer-meta-tags span svg {
    color: #1359D6;
    width: 14px;
    height: 14px;
}

/* Drawer Section Body */
.drawer-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: left;
}

.drawer-section {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.drawer-section-title {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    padding-bottom: 0.5rem;
}

.drawer-section-desc {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.7;
    margin: 0;
}

.drawer-section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.drawer-section-list li {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.drawer-section-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1359D6;
}

/* Drawer footer & CTA */
.drawer-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: flex-start;
}

.drawer-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 1.1rem 2.75rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.drawer-apply-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.drawer-apply-btn svg {
    transition: transform var(--transition-fast);
    width: 16px;
    height: 16px;
}

.drawer-apply-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   Responsive Media Overrides
   ========================================== */
@media (max-width: 1200px) {
    .culture-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card.card-large {
        grid-column: span 2;
    }
    
    .jobs-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 992px) {
    .careers-hero {
        padding: 3.5rem 0 2.5rem 0;
    }
    
    .careers-hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-text-col {
        align-items: center;
        text-align: center;
    }
    
    .careers-image-wrapper {
        max-width: 400px;
    }
    
    .badge-top-left {
        left: -8%;
    }
    
    .badge-bottom-right {
        right: -6%;
    }
}

@media (max-width: 768px) {
    .careers-hero-container {
        padding: 0 1.5rem;
    }
    
    .careers-hero {
        padding-top: 3rem;
    }
    
    .careers-hero-title {
        font-size: 2.2rem;
    }
    
    .careers-culture-section {
        padding: 2.5rem 0;
    }
    
    .culture-bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bento-card.card-large {
        grid-column: span 1;
    }
    
    .job-board-section {
        padding: 2.5rem 0;
    }
    
    .filter-pills-container {
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }
    
    .filter-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .jobs-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-grid-card {
        padding: 1.75rem;
        border-radius: 20px;
    }
    
    .careers-details-drawer {
        max-width: 100%;
    }
    
    .drawer-inner-content {
        padding: 4rem 1.75rem 2.5rem 1.75rem;
    }
    
    .drawer-title-text {
        font-size: 1.75rem;
    }
}

/* ==========================================
   Job Application Form Styles (apply.html)
   ========================================== */
.form-container-card {
    max-width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(19, 89, 214, 0.08);
    box-shadow: 0 20px 40px rgba(19, 89, 214, 0.04);
    padding: 3.5rem;
    box-sizing: border-box;
}

.careers-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section-subtitle {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-indigo);
    border-bottom: 1px solid rgba(19, 89, 214, 0.08);
    padding-bottom: 0.6rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-row-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-label span {
    color: #ef4444;
    margin-left: 0.2rem;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-icon-svg {
    position: absolute;
    left: 1.2rem;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3.2rem;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid rgba(19, 89, 214, 0.08);
    border-radius: 12px;
    outline: none;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 14px;
    padding-right: 2.8rem;
    cursor: pointer;
}

.form-textarea {
    min-height: 140px;
    padding-top: 1.1rem;
    resize: vertical;
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-icon {
    top: 1.2rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: #FFFFFF;
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 4px rgba(19, 89, 214, 0.08);
}

.form-input-wrapper:focus-within .form-icon-svg {
    color: var(--accent-indigo);
}

.form-submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.form-submit-btn {
    background: var(--accent-indigo);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    padding: 1.1rem 2.8rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 20px rgba(19, 89, 214, 0.2);
    transition: all var(--transition-normal);
}

.form-submit-btn:hover {
    background: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(19, 89, 214, 0.35);
}

.form-submit-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-submit-btn svg,
.form-submit-btn i {
    width: 16px;
    height: 16px;
}

/* Success Overlay */
.form-success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    box-sizing: border-box;
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(19, 89, 214, 0.1);
    color: var(--accent-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(19, 89, 214, 0.15);
}

.success-icon-wrap svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5px;
}

.success-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

.success-desc {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 480px;
    margin: 0 0 2.5rem 0;
}

.success-back-btn {
    background: transparent;
    border: 2px solid var(--accent-indigo);
    color: var(--accent-indigo);
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.success-back-btn:hover {
    background: rgba(19, 89, 214, 0.05);
    transform: translateY(-2px);
}

/* Responsive grid layouts */
@media (max-width: 768px) {
    .form-container-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-submit-container {
        justify-content: center;
    }
    
    .form-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   Careers Benefits Banner Section
   ========================================== */
.careers-benefits-banner {
    padding: 5rem 0;
    background-color: #FFFFFF;
    border-top: 1px solid rgba(19, 89, 214, 0.05);
    border-bottom: 1px solid rgba(19, 89, 214, 0.05);
    position: relative;
    z-index: 2;
}

.benefits-header-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: flex-start;
    margin-bottom: 3.5rem;
}

.benefits-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.benefits-eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    border: 1px solid rgba(19, 89, 214, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    color: var(--text-secondary);
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.benefits-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

.highlight-orange {
    color: #FF4D2D;
}

.benefits-header-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.benefits-desc-para {
    font-family: var(--font-secondary);
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Benefits Cards Grid */
.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #FFFFFF;
    border: 1px solid rgba(19, 89, 214, 0.06);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: all var(--transition-normal);
    text-align: left;
}

.benefit-card-item:hover {
    transform: translateY(-5px);
    border-color: rgba(19, 89, 214, 0.15);
    box-shadow: 0 20px 40px rgba(19, 89, 214, 0.06);
}

.benefit-card-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-card-icon-wrap.black-bg {
    background: #0f172a;
    color: #FFFFFF;
}

.benefit-card-icon-wrap.orange-bg {
    background: #FF4D2D;
    color: #FFFFFF;
}

.benefit-card-icon {
    width: 22px;
    height: 22px;
}

.benefit-card-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.benefit-card-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.4rem 0;
}

.benefit-card-desc {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Media Queries for Benefits Section */
@media (max-width: 992px) {
    .careers-benefits-banner {
        padding: 4rem 0;
    }
    
    .benefits-header-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .benefits-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .benefit-card-item {
        padding: 1.75rem 1.5rem;
    }
}

/* ==========================================
   Apply Page Hero Section (apply.html)
   ========================================== */
.apply-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 5.5rem 2rem; /* Clear fixed header */
    position: relative;
    background-color: var(--accent-indigo, #1359D6); /* Solid Brand Blue background */
    border-bottom: none;
    overflow: hidden;
    z-index: 2;
}

.apply-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.apply-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
}

.apply-hero-card {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Back Link styling */
.back-link-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.hero-back-link:hover {
    color: #FFFFFF;
    transform: translateX(-4px);
}

.hero-back-link svg,
.hero-back-link i {
    width: 18px;
    height: 18px;
}

/* Heading & Text styling */
.apply-hero .hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 750px;
    margin: 0;
}

.apply-hero .gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #96B9EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.apply-hero .hero-description {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 0 1.5rem 0;
}

/* Benefits Grid in Hero */
.hero-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 1.5rem;
    text-align: left;
}

.hero-benefit-item {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.hero-benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-benefit-icon {
    color: #96B9EE; /* Light ice blue accent */
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 3px;
}

.hero-benefit-text {
    display: flex;
    flex-direction: column;
}

.hero-benefit-text h4 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.hero-benefit-text p {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Responsive adjustment for Hero Benefits Grid */
@media (max-width: 992px) {
    .hero-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ==========================================
   Careers Centered Blue Hero Section
   ========================================== */
.careers-hero-blue {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 6.5rem 2rem; /* Clear fixed header */
    position: relative;
    background-color: var(--accent-indigo, #1359D6); /* Brand Blue background */
    border-bottom: none;
    overflow: hidden;
    z-index: 2;
}

.careers-hero-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.careers-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
}

.careers-hero-centered-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.careers-hero-title-centered {
    font-family: var(--font-primary);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

.highlight-block-white {
    background: #FFFFFF;
    color: var(--accent-indigo, #1359D6);
    padding: 0.1rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
}

.careers-hero-desc-centered {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 0 1rem 0;
}

/* Search Bar Pill styling */
.careers-search-capsule {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 9999px;
    padding: 0.6rem 1.5rem 0.6rem 0.8rem;
    width: 100%;
    max-width: 640px;
    box-shadow: 
        0 12px 30px rgba(15, 23, 42, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    gap: 1rem;
    border: 1px solid rgba(19, 89, 214, 0.08);
}

.search-icon-btn-circle {
    width: 42px;
    height: 42px;
    background-color: var(--accent-indigo, #1359D6);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.search-icon-btn-circle:hover {
    background-color: var(--accent-purple, #578FE5);
    transform: scale(1.05);
}

.search-btn-icon {
    width: 18px;
    height: 18px;
}

.search-input-field-wrap {
    flex: 1.2;
    display: flex;
    align-items: center;
}

.search-input-field-wrap input {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: transparent;
}

.search-input-field-wrap input::placeholder {
    color: var(--text-muted);
}

.search-divider-line {
    width: 1px;
    height: 24px;
    background-color: rgba(15, 23, 42, 0.1);
}

.search-location-field-wrap {
    flex: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-location-icon {
    color: var(--text-muted);
    width: 16px;
    height: 16px;
}

.search-location-field-wrap select {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.2rem center;
    background-size: 10px;
    padding-right: 1.2rem;
}

/* Responsive Search Capsule */
@media (max-width: 600px) {
    .careers-search-capsule {
        flex-direction: column;
        border-radius: 24px;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .search-input-field-wrap,
    .search-location-field-wrap {
        width: 100%;
    }
    
    .search-divider-line {
        width: 100%;
        height: 1px;
    }
    
    .search-icon-btn-circle {
        order: 3;
        width: 100%;
        border-radius: 12px;
        height: 46px;
    }
    
    .search-location-field-wrap select {
        background-position: right 0.5rem center;
    }
}



