/* Main Content */
.main-content {
    padding: 140px 0 80px;
    background: var(--gray-50);
    min-height: 100vh;
}

.careers-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 60px;
    box-shadow: var(--shadow-soft);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.intro-section {
    margin-bottom: 50px;
}

.mission-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.2);
}

.mission-banner h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-banner p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.95;
}

.mission-banner p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 20px;
}

.section {
    margin-bottom: 50px;
}

.section h2 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 10px;
}

.values-text {
    margin-bottom: 30px;
}

.values-text p {
    font-size: 18px;
    color: var(--gray-700);
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.value-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(26, 54, 93, 0.15);
    border-color: var(--accent-blue);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.openings-box {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(155, 207, 255, 0.2) 100%);
    border: 2px solid var(--accent-blue);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-blue);
}

.openings-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.openings-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.openings-text p {
    font-size: 18px;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.6;
}

.no-positions-box {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    border-left: 4px solid var(--gold);
}

.no-positions-box h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.no-positions-box p {
    color: var(--gray-700);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.life-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.life-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.life-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
}

.life-card:hover::before {
    transform: scaleX(1);
}

.life-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.life-card h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.life-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.apply-box {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(209, 250, 229, 0.3) 100%);
    border: 2px solid #2ecc71;
    border-radius: 16px;
    padding: 40px;
    margin: 20px 0;
    border-left: 4px solid #27ae60;
}

.apply-steps {
    margin-bottom: 30px;
}

.apply-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.apply-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #27ae60;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content p {
    color: var(--gray-800);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.apply-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(46, 204, 113, 0.3);
}

.apply-button {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 40px;
    border-radius: 12px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.apply-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #229954, #27ae60);
}

.email-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer-note {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 25px;
    margin: 40px 0 0 0;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.footer-note p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-600);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-blue);
}

/* Animation for cards */
.value-card, .life-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.life-card:nth-child(1) { animation-delay: 0.1s; }
.life-card:nth-child(2) { animation-delay: 0.2s; }
.life-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for apply button */
@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(46, 204, 113, 0.5); }
    100% { box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
}

.apply-button {
    animation: pulse 2s infinite;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .life-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .careers-container {
        padding: 40px 30px;
        margin: 20px;
    }

    .page-title {
        font-size: 32px;
    }

    .mission-banner {
        padding: 30px 25px;
    }

    .mission-banner h2 {
        font-size: 28px;
    }

    .mission-banner p {
        font-size: 16px;
    }

    .section h2 {
        font-size: 24px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .life-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .openings-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .apply-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .apply-button {
        font-size: 16px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .value-card, .life-card {
        padding: 25px;
    }

    .value-card h3, .life-card h3 {
        font-size: 18px;
    }

    .apply-box {
        padding: 30px 25px;
    }
} 