/* ===================================================================
   3D Attractive & Responsive Career Page Stylesheet - Springedge Technology
   =================================================================== */

:root {
    --career-primary: #0e8eea;      /* Sky Blue */
    --career-secondary: #e8fd25;    /* Lime Green/Yellow */
    --career-purple: #8a2be2;       /* Vibrant Purple */
    --career-dark-bg: #090e1a;      /* Dark Blue Grey */
    --career-card-bg: rgba(255, 255, 255, 0.04);
    --career-card-border: rgba(255, 255, 255, 0.08);
    --career-glass-glow: rgba(14, 142, 234, 0.15);
}

/* ==========================================
   Hero Section
   ========================================== */
.career-hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 10% 20%, rgba(9, 14, 26, 1) 0%, rgba(13, 27, 42, 1) 90%);
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

.career-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(14, 142, 234, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.career-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.career-hero-container {
    position: relative;
    z-index: 5;
}

.career-hero .badge-glow {
    background: rgba(14, 142, 234, 0.1);
    border: 1px solid rgba(14, 142, 234, 0.3);
    color: var(--career-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(14, 142, 234, 0.15);
}

.career-hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.career-hero h1 span.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--career-primary) 70%, var(--career-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(14, 142, 234, 0.2);
}

.career-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* Floating Shapes in Hero Background */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(14, 142, 234, 0.2), rgba(138, 43, 226, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(10px);
    animation: floatAnim 10s infinite alternate ease-in-out;
}

.shape-1 { width: 120px; height: 120px; top: 15%; left: 8%; animation-duration: 12s; }
.shape-2 { width: 180px; height: 180px; bottom: 15%; right: 10%; animation-duration: 18s; animation-delay: -3s; }
.shape-3 { width: 80px; height: 80px; top: 60%; left: 75%; animation-duration: 9s; animation-delay: -6s; }

@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg) scale(1); }
    100% { transform: translateY(-40px) rotate(360deg) scale(1.1); }
}

/* ==========================================
   Perks & Core Values Section (3D Tilt Cards)
   ========================================== */
.perks-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-wrap h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
}

.section-title-wrap p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px;
    margin: 10px auto 0;
}

.perk-card-3d {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    height: 100%;
}

.perk-card-3d:hover {
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.perk-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(14, 142, 234, 0.1), rgba(138, 43, 226, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    transform: translateZ(40px);
    transition: transform 0.4s ease;
}

.perk-icon-wrapper i {
    font-size: 28px;
    color: var(--career-primary);
}

.perk-card-3d h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    transform: translateZ(30px);
}

.perk-card-3d p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    transform: translateZ(20px);
}

/* ==========================================
   Jobs Filter Section
   ========================================== */
.jobs-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.filter-btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--career-primary);
    color: #ffffff;
    border-color: var(--career-primary);
    box-shadow: 0 8px 20px rgba(14, 142, 234, 0.25);
}

/* ==========================================
   Job Cards (Modern 3D Responsive Grid)
   ========================================== */
.job-card-wrapper {
    margin-bottom: 30px;
    perspective: 1000px;
    transition: all 0.5s ease;
}

.job-card-3d {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    height: 100%;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.job-card-3d:hover {
    border-color: rgba(14, 142, 234, 0.3);
    box-shadow: 0 20px 45px rgba(14, 142, 234, 0.08);
}

.job-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--career-primary), var(--career-purple));
    border-radius: 4px 0 0 4px;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    transform: translateZ(20px);
}

.job-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-tag.tag-tech { background: rgba(14, 142, 234, 0.1); color: var(--career-primary); }
.job-tag.tag-time { background: rgba(138, 43, 226, 0.1); color: var(--career-purple); }
.job-tag.tag-loc { background: rgba(71, 85, 105, 0.08); color: #475569; }

.job-card-3d h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    transform: translateZ(30px);
}

.job-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    transform: translateZ(20px);
}

.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    transform: translateZ(25px);
}

.job-exp {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.job-exp i {
    color: var(--career-primary);
    margin-right: 6px;
}

.btn-apply-3d {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-apply-3d:hover {
    background: var(--career-primary);
    box-shadow: 0 6px 15px rgba(14, 142, 234, 0.3);
    color: #ffffff;
}

/* ==========================================
   Slide-in Glassmorphism Modal Form (Enhanced Premium Dark UI)
   ========================================== */
.application-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.application-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.application-modal {
    width: 580px;
    background: rgba(10, 15, 30, 0.92);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
    height: 100%;
    overflow-y: auto;
    padding: 60px 45px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Background glowing mesh circles inside the modal */
.modal-glow-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.modal-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.modal-glow-circle.c1 {
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--career-primary);
}

.modal-glow-circle.c2 {
    bottom: 10%;
    left: -20%;
    width: 350px;
    height: 350px;
    background: var(--career-purple);
}

.application-modal-overlay.open .application-modal {
    transform: translateX(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.modal-content-inner {
    position: relative;
    z-index: 2;
    padding-top: 15px;
}

.modal-header-info {
    margin-bottom: 40px;
}

.modal-header-info h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.modal-header-info h2 span {
    background: linear-gradient(135deg, var(--career-primary), var(--career-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-header-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================
   Form Custom Fields
   ========================================== */
.form-group-custom {
    margin-bottom: 24px;
}

.form-group-custom label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Input Icon Wrapper styling */
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i.field-icon {
    position: absolute;
    left: 18px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.form-control-custom {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0px 20px;
    padding-left: 48px; /* space for icon */
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* For inputs that don't need icons */
.form-control-custom.no-icon {
    padding-left: 20px;
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--career-primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 18px rgba(14, 142, 234, 0.25);
}

.input-icon-wrapper:focus-within i.field-icon {
    color: var(--career-primary);
}

/* Select element customization */
select.form-control-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 15px;
    cursor: pointer;
}

select.form-control-custom option {
    background-color: #0d1326;
    color: #ffffff;
}

/* File Upload Field (Futuristic glass style) */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--career-primary);
    background: rgba(14, 142, 234, 0.05);
    box-shadow: 0 0 15px rgba(14, 142, 234, 0.1);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-wrapper i {
    font-size: 38px;
    color: var(--career-primary);
    margin-bottom: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.file-upload-wrapper:hover i {
    transform: translateY(-4px);
}

.file-upload-wrapper span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.file-upload-wrapper .file-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
}

/* ==========================================
   Custom Checkbox / Switch
   ========================================== */
.custom-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-top: 5px;
}

.custom-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
}

.custom-checkbox-wrapper input[type="checkbox"]:checked + .checkbox-box {
    background: var(--career-primary);
    border-color: var(--career-primary);
    box-shadow: 0 0 10px rgba(14, 142, 234, 0.4);
}

.checkbox-box i {
    font-size: 10px;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.custom-checkbox-wrapper input[type="checkbox"]:checked + .checkbox-box i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    user-select: none;
}

.checkbox-label a {
    color: var(--career-primary);
    text-decoration: underline;
}

/* ==========================================
   Submit Button
   ========================================== */
.submit-btn-glow {
    width: 100%;
    background: linear-gradient(135deg, var(--career-primary) 0%, var(--career-purple) 100%);
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(14, 142, 234, 0.3);
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn-glow:hover {
    box-shadow: 0 15px 35px rgba(14, 142, 234, 0.5);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ==========================================
   Success Screen Overlay
   ========================================== */
.success-screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0f1e;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.success-screen-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.success-icon-wrapper i {
    font-size: 40px;
    color: #10b981;
    animation: scaleCheck 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}

@keyframes scaleCheck {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-screen-overlay h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.success-screen-overlay p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 35px;
}

.success-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-close-btn:hover {
    background: #ffffff;
    color: #0a0f1e;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* Custom scrollbar for the modal */
.application-modal::-webkit-scrollbar {
    width: 6px;
}
.application-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.application-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
.application-modal::-webkit-scrollbar-thumb:hover {
    background: var(--career-primary);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .career-hero h1 {
        font-size: 40px;
    }
    .career-hero p {
        font-size: 16px;
    }
    .application-modal {
        width: 100%;
        padding: 50px 25px;
    }
}

