/* Hero Section */
.career-hero {
    position: relative;
    height: 70vh;
    background: url('../assets/MAFINA/careers/career-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 6rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Investment Section */
.investment-section {
    padding: 5rem 0;
}

.investment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.investment-text {
    padding-right: 2rem;
}

.investment-highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 30px;
}

.investment-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.investment-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Global Section */
.global-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.global-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.global-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.global-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
}

.global-list {
    list-style: none;
    margin: 2rem 0;
}

.global-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.global-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.cta-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: var(--primary-dark);
    gap: 1rem;
}

/* Programs Section */
.programs-section {
    padding: 5rem 0;
}

.programs-tabs {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--primary-light);
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.tab-button:hover {
    color: var(--dark-color);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active:after {
    width: 100%;
}

.tab-content {
    display: none;
    padding: 3rem 0;
}

.tab-content.active {
    display: block;
}

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.tab-text p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    list-style: none;
    margin: 2rem 0;
}

.program-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.program-features i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
    min-width: 20px;
}

.program-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.tab-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tab-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stories Section */
.stories-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.stories-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.story-image {
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 2rem;
}

.story-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.story-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.story-quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    position: relative;
}

.story-quote:before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    line-height: 1;
    z-index: 0;
}

.story-journey {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.journey-step {
    text-align: center;
    padding: 0.5rem;
    min-width: 80px;
}

.step-year {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.step-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

.journey-arrow {
    color: var(--primary-light);
    padding: 0 0.5rem;
}

/* CTA Section */
.career-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button-primary {
    background: white;
    color: var(--primary-color);
}

.cta-button-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta-button-secondary {
    border: 2px solid white;
    color: white;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .investment-content,
    .global-content,
    .tab-inner {
        grid-template-columns: 1fr;
    }
    
    .investment-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: 1px solid var(--light-bg);
    }
    
    .tab-button:after {
        display: none;
    }
    
    .tab-button.active {
        background: var(--primary-light);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .stories-slider {
        grid-template-columns: 1fr;
    }
}