/* ── Smart Jobs Elementor-style Widgets ────────────────────────────────────── */

.smart-jobs-section {
    padding: 2rem 0;
}

.elementor-section {
    width: 100%;
    padding: 0;
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.elementor-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.elementor-column {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.elementor-widget-wrap {
    position: relative;
    width: 100%;
}

.elementor-widget {
    position: relative;
}

/* Smart Job Card */
.smart-job-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.smart-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #7D019F 0%, #9f01c9 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.smart-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(125,1,159, 0.15);
}

.smart-job-card:hover::before {
    opacity: 1;
}

/* Smart Job Icon */
.smart-job-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7D019F 0%, #9f01c9 100%);
    border-radius: 50%;
    padding: 15px;
}

.smart-job-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Smart Job Content */
.smart-job-content {
    text-align: center;
}

.smart-job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.smart-job-project {
    margin-bottom: 1rem;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7D019F 0%, #9f01c9 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-badge i {
    margin-right: 0.5rem;
}

.smart-job-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Restrict image sizes in smart-job-description */
.smart-job-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Smart Job Footer */
.smart-job-footer {
    margin-top: 1.5rem;
}

.btn-smart-job {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7D019F 0%, #9f01c9 100%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-smart-job:hover {
    background: linear-gradient(135deg, #9f01c9 0%, #7D019F 100%);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(125,1,159, 0.3);
}

.btn-smart-job i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-smart-job:hover i {
    transform: translateX(3px);
}

/* Update cursor to pointer on hover for Smart Jobs items with content */
.smart-job-header.has-content {
    cursor: pointer !important;
}

.smart-job-header:not(.has-content) {
    cursor: default !important;
}

/* Responsive */
@media (max-width: 768px) {
    .elementor-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .smart-job-card {
        padding: 1.5rem;
    }
    
    .smart-job-icon {
        width: 60px;
        height: 60px;
    }
    
    .smart-job-title {
        font-size: 1.1rem;
    }
}
