/* Careers Page Styles */

.careers-hero {
    position: relative;
    min-height: min(68vh, 640px);
    height: auto;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    background: transparent;
    padding: 0;
}

.careers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 16, 64, 0.92) 0%, rgba(26, 41, 128, 0.72) 48%, rgba(26, 41, 128, 0.45) 100%),
        url('assets/images/hr.jpg') center/cover no-repeat;
    transform: scale(1.04);
    animation: aaHeroZoom 18s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
    z-index: 0;
}

.careers-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 100px 90px 72px;
    text-align: center;
    animation: aaFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.careers-hero-content .aa-kicker {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
}

.careers-hero-content h1 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.careers-hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2vw, 19px);
    margin: 0 auto;
    line-height: 1.65;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.92);
}

.careers-section {
    padding: 100px 90px;
    background: linear-gradient(180deg, #f4f6fc 0%, #ffffff 100%);
}

.careers-container {
    max-width: 1200px;
    margin: 0 auto;
}

.careers-header {
    text-align: left;
    margin-bottom: 48px;
    max-width: 720px;
}

.careers-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #4665BB;
    margin-bottom: 12px;
}

.careers-header h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    color: #1a2980;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.careers-header p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #5a6078;
    max-width: 720px;
    margin: 0;
    line-height: 1.7;
}

.careers-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.career-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(70, 101, 187, 0.12);
    box-shadow: none;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.career-card:hover {
    border-color: rgba(70, 101, 187, 0.28);
    box-shadow: 0 14px 36px rgba(26, 41, 128, 0.07);
    transform: translateY(-2px);
}

.career-card-summary {
    padding: 28px 30px;
}

.career-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.career-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(70, 101, 187, 0.1);
    color: #4665BB;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.career-card-summary h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a2980;
    margin-bottom: 6px;
}

.career-company,
.career-modal-company {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #4665BB;
    margin: 0 0 14px;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 16px;
}

.career-meta span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
}

.career-meta i {
    color: #4665BB;
    margin-right: 6px;
}

.career-teaser {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 22px;
}

.career-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4665BB 0%, #1a2980 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(70, 101, 187, 0.28);
}

.career-read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(70, 101, 187, 0.34);
}

.career-read-more-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.career-read-more-btn:hover i {
    transform: translateX(3px);
}

.career-list {
    margin: 0;
    padding-left: 20px;
}

.career-list li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.career-job-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: careerFadeIn 0.3s ease-out;
}

.career-job-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-job-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.career-job-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    max-width: 860px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: careerSlideUp 0.35s ease-out;
    z-index: 10001;
}

@keyframes careerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes careerSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.career-job-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4665BB 0%, #1a2980 100%);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    transition: transform 0.2s ease;
    z-index: 2;
}

.career-job-modal-close:hover {
    transform: scale(1.08) rotate(90deg);
}

.career-job-modal-header {
    padding: 32px 32px 0;
    padding-right: 72px;
}

.career-job-modal-header h2 {
    font-family: 'Lexend', sans-serif;
    font-size: 34px;
    font-weight: 600;
    color: #1a2980;
    margin: 12px 0 6px;
}

.career-job-modal-body {
    padding: 20px 32px 32px;
}

.career-job-modal-body h4 {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a2980;
    margin: 24px 0 10px;
}

.career-job-modal-body h4:first-child {
    margin-top: 0;
}

.career-job-modal-body p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px;
}

.career-modal-apply-cta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(70, 101, 187, 0.12);
}

.career-modal-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4665BB 0%, #1a2980 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(70, 101, 187, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.career-modal-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(70, 101, 187, 0.34);
    color: #ffffff;
}

.careers-form-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(70, 101, 187, 0.12);
    box-shadow: 0 8px 30px rgba(26, 41, 128, 0.08);
    padding: 30px;
    position: sticky;
    top: 110px;
}

.careers-form-card h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #1a2980;
    margin-bottom: 10px;
}

.careers-form-intro {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 16px;
}

.career-apply-list {
    margin: 0 0 24px;
    padding-left: 20px;
}

.career-apply-list li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.career-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #4665BB 0%, #1a2980 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(70, 101, 187, 0.28);
}

.career-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(70, 101, 187, 0.34);
}

.careers-email-note {
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #777;
    text-align: center;
}

.careers-email-note a {
    color: #4665BB;
    font-weight: 600;
    text-decoration: none;
}

.careers-email-note a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1024px) {
    .careers-section {
        padding: 80px 40px;
    }

    .careers-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .careers-form-card {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .careers-hero {
        min-height: 56vh;
        height: auto;
    }

    .careers-hero-content {
        padding: 72px 20px 48px;
    }

    .careers-hero-content h1 {
        font-size: 36px;
    }

    .careers-hero-content p {
        font-size: 16px;
    }

    .careers-header h2 {
        font-size: 32px;
    }

    .careers-section {
        padding: 60px 20px;
    }

    .careers-layout {
        grid-template-columns: 1fr;
    }

    .career-job-modal-header {
        padding: 28px 20px 0;
        padding-right: 64px;
    }

    .career-job-modal-header h2 {
        font-size: 28px;
    }

    .career-job-modal-body {
        padding: 16px 20px 24px;
    }

    .career-card-summary h3 {
        font-size: 24px;
    }
}
