/* Careers Page Styling */

/* Section 1: Hero Section */
.career-section-one {
    background: linear-gradient(135deg, var(--primary-colour) 0%, var(--secondary-colour) 100%);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    font-family: var(--primary-body-font);
    font-weight: 500;
}

.career-section-one::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 1;
}

.career-section-starts {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.career-section-starts h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 0.8s ease;
    font-family: var(--primary-heading-font);
}

.career-section-starts p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.3s both;
    font-family: var(--primary-body-font);
    font-weight: 500;
}

.career-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.career-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-weight: 500;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 1rem;
    text-align: center;
    font-family: var(--primary-body-font);
    font-weight: 500;
}

.career-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Section 2: Why Join Us */
.section-two {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    font-family: var(--primary-body-font);
    font-weight: 500;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: #2c3e50;
    font-family: var(--primary-heading-font);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.benefit-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-colour) 0%, var(--secondary-colour) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: var(--primary-heading-font);
}

.benefit-card p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 1rem;
    font-family: var(--primary-body-font);
    font-weight: 500;
}

/* Section 3: Current Job Openings */
.career-section-three {
    padding: 60px 0;
    background: #fff;
    font-family: var(--primary-body-font);
    font-weight: 500;
}

.career-section-three .row h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a365d;
    font-family: var(--primary-heading-font);
    text-align: center;
}

.job-listing {
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-colour);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.03) 0%, rgba(66, 153, 225, 0.03) 100%);
    z-index: 1;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left-color: var(--primary-colour);
}

.job-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #2d3748;
    position: relative;
    z-index: 2;
    font-family: var(--primary-heading-font);
}

.job-card .job-description {
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
    font-family: var(--primary-body-font);
    font-weight: 500;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-colour) 0%, var(--secondary-colour) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(66, 153, 225, 0.3);
    font-family: var(--primary-body-font);
    font-weight: 500;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(66, 153, 225, 0.4);
    color: #fff;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .career-section-starts h1 {
        font-size: 3rem;
    }
    
    .career-section-starts p {
        font-size: 1.15rem;
    }
}

@media (max-width: 991px) {
    .career-section-one {
        padding: 100px 0;
    }
    
    .career-section-starts h1 {
        font-size: 2.2rem;
    }
    
    .career-section-three .row h2 {
        font-size: 2.4rem;
    }
    
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .career-section-one {
        padding: 60px 0;
    }
    
    .career-section-starts h1 {
        font-size: 2.2rem;
    }
    
    .career-section-starts p {
        font-size: 1.05rem;
    }
    
    .career-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .career-btn {
        width: 100%;
        justify-content: center;
    }
    
    .career-section-three .row h2 {
        font-size: 2rem;
    }
    
    .col-lg-4,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .job-card {
        padding: 30px;
    }
    
    .job-card h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 575px) {
    .career-section-starts h1 {
        font-size: 1.8rem;
    }
    
    .career-section-starts p {
        font-size: 1rem;
    }
    
    .career-section-three {
        padding: 70px 0;
    }
    
    .job-card {
        padding: 25px 20px;
    }
}