/* Careers Page Styles */

/* Hero Section */
.careers-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/careers-hero-bg.jpg') no-repeat center center/cover;
    /* Placeholder, will fallback to color if image missing */
    background-color: var(--primary-blue-dark);
    color: var(--white);
    margin-top: 60px;
    /* Navbar height compensation */
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.85;
}

.careers-hero .hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Welfare Section */
.welfare-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.welfare-group {
    margin-bottom: 4rem;
}

.welfare-group:last-child {
    margin-bottom: 0;
}

.group-title {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
}

.group-title i {
    color: var(--accent-gold);
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.welfare-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.welfare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue-light);
}

.welfare-card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.welfare-card:hover .card-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.welfare-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.welfare-card .card-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .welfare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .welfare-grid {
        grid-template-columns: 1fr;
    }
}

/* Recruitment Process Section */
.recruitment-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 3rem auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.step-card {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-gray);
    position: absolute;
    top: 10px;
    right: 15px;
    opacity: 0.5;
    line-height: 1;
}

.step-content h4 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.4;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--medium-gray);
}

.apply-cta {
    text-align: center;
    margin-top: 4rem;
}

.apply-cta p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .careers-hero {
        height: 50vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step-card {
        width: 100%;
    }
}

/* ==========================================
   Talent & Culture Section
   ========================================== */
.talent-culture-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--white);
    overflow: hidden;
}

.talent-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3xl);
}

/* Radar Chart (Left) */
.talent-radar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 450px;
}

.radar-container {
    position: relative;
    width: 420px;
    height: 420px;
}

.radar-grid {
    width: 100%;
    height: 100%;
}

.radar-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.grid-layer {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 0.5;
}

.data-layer {
    fill: rgba(0, 86, 179, 0.2);
    stroke: var(--primary-blue);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(0, 86, 179, 0.3));
    animation: growRadar 1s ease-out forwards;
    transform-origin: center;
}

@keyframes growRadar {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.radar-label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    white-space: nowrap;
}

.radar-label .strong {
    font-weight: 700;
    color: var(--primary-blue-dark);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.radar-label .sub {
    font-weight: 600;
    color: var(--text-medium);
    font-size: 1rem;
}

/* Label Positions (Hexagon Vertices) */
.label-top {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.label-top-right {
    top: 70px;
    right: -50px;
}

.label-bottom-right {
    bottom: 70px;
    right: -50px;
}

.label-bottom {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.label-bottom-left {
    bottom: 70px;
    left: -50px;
}

.label-top-left {
    top: 70px;
    left: -60px;
}

.radar-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.radar-logo-center img {
    width: 40px;
    height: auto;
}

/* Personas (Right) */
.talent-personas {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.persona-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: default;
}

.persona-card:hover {
    border-color: var(--primary-blue-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.persona-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.persona-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.persona-icon.blue {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.persona-icon.gold {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.persona-icon.red {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
}

.persona-title h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 2px;
}

.persona-title span {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

.persona-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    padding-left: calc(48px + var(--spacing-md));
    /* Align text with title */
}

.persona-desc strong {
    color: var(--primary-blue);
}

/* Benefits Grid (Removed) */
/* .benefits-divider, .culture-benefits-grid, .benefit-item, etc. removed */

/* Responsive */
@media (max-width: 992px) {
    .talent-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .talent-radar {
        min-width: auto;
        width: 100%;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
        /* Center radar on mobile */
    }

    .radar-container {
        width: 280px;
        /* Slightly smaller for mobile */
        height: 280px;
        margin: 20px auto;
    }

    /* Adjust Radar Labels for Mobile */
    .radar-label {
        font-size: 0.8rem;
    }

    .label-top {
        top: -25px;
    }

    .label-bottom {
        bottom: -25px;
    }

    .label-top-right,
    .label-top-left {
        top: 40px;
    }

    .label-bottom-right,
    .label-bottom-left {
        bottom: 40px;
    }

    .talent-description {
        width: 100%;
    }

    /* Stack Persona Cards */
    .persona-card {
        margin-bottom: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .culture-benefits-grid {
        /* This logical class might have been removed, but if re-added/used elsewhere */
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .persona-desc {
        padding-left: 0;
        margin-top: 10px;
        text-align: left;
    }
}