.careers-hero {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 50px;
}

.careers-hero h1 {
    color: #26395c;
    font-size: 2.5rem;
    font-weight: 700;
}

.careers-hero p {
    color: #6c757d;
    font-size: 1.2rem;
}

.careers-section {
    padding: 50px 0;
}

.section-title h2 {
    color: #26395c;
    font-weight: 600;
}

.row.g-4 {
    margin: 0 -20px;  /* Negative margin for row */
}

.row.g-4 > [class*="col-"] {
    padding: 0 20px;  /* Padding for columns */
    margin-bottom: 40px;  /* Bottom margin for columns */
}

.job-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;  /* Added margin bottom */
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-header h3 {
    color: #26395c;
    font-size: 1.3rem;
    margin: 0;
}

.job-type {
    background: #00bcd4;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.job-info {
    margin-bottom: 15px;
}

.info-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    color: #6c757d;
}

.info-item i {
    margin-right: 8px;
    color: #00bcd4;
}

.job-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.apply-btn {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.apply-btn i {
    margin-left: 8px;
}

.apply-btn:hover {
    background: #008c9e;
    transform: translateX(5px);
}

.careers-cta {
    background: #f8f9fa;
    margin-top: 50px;
    padding: 60px 0;  /* Added padding */
}

.careers-cta h3 {
    color: #26395c;
}

.careers-cta p {
    color: #6c757d;
}

.general-apply-btn {
    display: inline-block;
    background: #00bcd4;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.general-apply-btn:hover {
    background: #008c9e;
    color: white;
    transform: translateY(-3px);
}

.general-apply-btn i {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 50px 0;
    }
    
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .row.g-4 > [class*="col-"] {
        margin-bottom: 30px;  /* Smaller margin on mobile */
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-type {
        margin-top: 10px;
    }
}
