/* =================================================================
   // TABLE OF CONTENTS
   
   1. Careers and Contact Hero Section
   2. Job Hiring Section
   3. Benefits Section
================================================================= */

/* ========== 1. Careers and Contact Hero Section ========== */
.careers-hero-section {
    position: relative;
    width: 100%;
    font-family: var(--font-secondary);
    overflow: hidden;
}

.car-hero-container {
    min-height: 100svh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-l);
    box-sizing: border-box;
}

/* Animated background elements */
.car-bg-element {
    position: absolute;
    filter: blur(200px);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.car-bg-element-1 {
    width: 400px;
    height: 400px;
    top: 0%;
    left: -10%;
    background: #C1D8FF;
}

.car-bg-element-2 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: -8%;
    background: #FF84AD;
}

.car-bg-element-3 {
    width: 250px;
    height: 250px;
    bottom: -5%;
    left: 20%;
    background: #FCD4C2;
}

.car-bg-element-4 {
    width: 200px;
    height: 200px;
    bottom: 30%;
    right: 25%;
    background: #FF84AD;
}

/* Main heading */
.car-main-title {
    font-size: 7.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
    line-height: 0.9;
    overflow: hidden;
    position: relative;
}

.car-title-char {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
}

/* Subtitle */
.car-subtitle {
    font-size: var(--fs-500);
    color: #4a4a4a;
    max-width: 700px;
    margin: 0 auto var(--space-s);
    line-height: 1.6;
    font-weight: 400;
    opacity: 0;
    transform: translateY(40px);
}

/* CTA Button */
.car-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-s) var(--space-xl);
    background: linear-gradient(to right, #FFB6C1, #C9D6FF);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 32px;
    font-size: var(--fs-400);
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 8px 24px rgba(139, 139, 139, 0.3);
}

.car-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.car-cta-button:hover {
    transform: translateY(-3px);
}

.car-cta-button:hover::before {
    left: 100%;
}

.car-cta-button:active {
    transform: translateY(-1px);
}

/* Floating particles */
.car-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(26, 26, 26, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Scroll indicator */
.car-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.car-scroll-text {
    font-size: var(--fs-200);
    color: #1a1a1a;
    font-weight: 400;
}

.car-scroll-line {
    width: 1px;
    height: 30px;
    background: #1a1a1a;
    position: relative;
    opacity: 0.6;
}

.car-scroll-dot {
    position: absolute;
    top: 0;
    left: -2px;
    width: 5px;
    height: 5px;
    background: #1a1a1a;
    border-radius: 50%;
}

/* ========== RESPONSIVE OPTIMIZATIONS ========== */
@media (max-width: 768px) {

    .car-hero-container {
        min-height: 0;
        padding: 30vh var(--space-l) 30vh;
    }

    .car-main-title {
        font-size: 5.5rem;
        margin-bottom: var(--space-l);
    }

    .car-subtitle {
        font-size: var(--fs-400);
        margin-bottom: var(--space-xl);
    }

    .car-bg-element {
        filter: blur(120px);
    }

    .car-bg-element-1 {
        width: 300px;
        height: 300px;
        top: 5%;
        left: -25%;
    }

    .car-bg-element-2 {
        width: 250px;
        height: 250px;
        top: 15%;
        right: -30%;
    }

    .car-bg-element-3 {
        width: 200px;
        height: 200px;
        bottom: 5%;
        left: 10%;
    }

    .car-bg-element-4 {
        width: 180px;
        height: 180px;
        bottom: 25%;
        right: 5%;
    }
}

@media (max-width: 480px) {

    .car-hero-container {
        padding: 20vh var(--space-m) 20vh;
    }

    .car-main-title {
        font-size: 4rem;
        margin-bottom: var(--space-m);
    }

    .car-subtitle {
        margin-bottom: var(--space-l);
        max-width: 95%;
    }

    .car-bg-element {
        filter: blur(100px);
    }

    .car-bg-element-1 {
        width: 250px;
        height: 250px;
        left: -40%;
    }

    .car-bg-element-2 {
        width: 200px;
        height: 200px;
        right: -45%;
    }
}

/* ========== 2. Job Hiring Section ========== */

.careers-page-header {
    text-align: start;
    margin-bottom: var(--space-xl);
}

.careers-page-hiring-badge {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: var(--space-xs) var(--space-s);
    border-radius: 999px;
    font-size: var(--fs-200);
    font-weight: 500;
    margin-bottom: var(--space-s);
}

.careers-page-main-title {
    /* font-size: var(--fs-900); */
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: var(--space-m);
    cursor: pointer;
}

.careers-page-word-container {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.careers-page-word {
    display: inline-block;
    transform: translateY(110%);
}

.careers-page-intro-description {
    max-width: 600px;
    font-size: var(--fs-400);
    color: var(--subtle-text-color);
}

.careers-page-category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.careers-page-filter-button {
    font-family: var(--font-secondary);
    font-size: var(--fs-300);
    font-weight: 500;
    padding: var(--space-xs) var(--space-s);
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--subtle-text-color);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.careers-page-filter-button:hover {
    border-color: var(--accent-color-dark);
    color: var(--text-color);
}

.careers-page-filter-button.active {
    background-color: var(--accent-color-dark);
    color: #fff;
    border-color: var(--accent-color-dark);
}

.careers-page-job-grid {
    position: relative;
    min-height: 300px;
    transition: min-height 0.7s ease;
}

.careers-page-job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-l) 0;
    border-top: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.careers-page-job-card[data-hidden="true"] {
    display: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
}

.careers-page-job-card:hover {
    transform: translateY(-5px);
}

.careers-page-job-details h2 {
    font-size: var(--fs-600);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--space-xxs);
}

.careers-page-job-details p {
    color: var(--subtle-text-color);
    margin-bottom: var(--space-s);
}

.careers-page-job-labels {
    display: flex;
    gap: var(--space-xs);
}

.careers-page-job-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xxs);
    font-size: var(--fs-200);
    padding: var(--space-xs) var(--space-s);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--subtle-text-color);
}

.careers-page-job-label svg {
    margin-top: -1px;
}

.careers-page-job-cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-400);
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    padding: var(--space-s);
    white-space: nowrap;
}

.careers-page-job-cta .careers-page-arrow-icon {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.careers-page-job-cta:hover .careers-page-arrow-icon {
    transform: translate(4px, -4px);
}

.careers-page-no-results {
    text-align: center;
    padding: var(--space-xl) var(--space-s);
    border-top: 1px solid var(--border-color);
    color: var(--subtle-text-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    max-height: 0;
    overflow: hidden;
}

.careers-page-no-results:not([hidden]) {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
}

.careers-page-no-results h3 {
    font-size: var(--fs-500);
    color: var(--text-color);
    margin-bottom: var(--space-xs);
}

[data-careers-anim="fade-up"],
[data-careers-anim="reveal"] {
    opacity: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .careers-page-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-m);
    }
}

/* ========== 3. BENEFITS SECTION ========== */

.bn-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.bn-tag {
    display: inline-block;
    background-color: #e5e5e5;
    color: #333;
    padding: var(--space-xs) var(--space-s);
    border-radius: 999px;
    font-size: var(--fs-200);
    font-weight: 500;
    margin-bottom: var(--space-s);
}

.bn-main-heading {
    /* font-size: var(--fs-800); */
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl) var(--space-l);
}

.bn-item {
    opacity: 0;
    transform: translateY(30px);
}

.bn-item-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.bn-item h3 {
    font-size: var(--fs-500);
    font-family: var(--font-primary);
    font-weight: 600;
    color: #111;
}

.bn-item p {
    color: #555;
    line-height: 1.6;
    font-size: var(--fs-300);
}

.bn-checkmark {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.bn-checkmark path {
    opacity: 0;
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
}

/* --- Responsive Styles --- */
@media (max-width: 480px) {
    .bn-main-heading {
        font-size: var(--fs-700);
    }
}


/* =========================== END of Careers Page =========================== */