

/* overlay for readability */
.careers-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 122, 124, 0.15);
  z-index: 1;
}

/* keep content above overlay */
.careers-bg .container {
  position: relative;
  z-index: 2;
}
.careers.section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef6fa 100%);
    position: relative;
    background: url("/img/bg/career1.jpg") center center / cover no-repeat;
}

.career-card-modern {
    background: #ffffff;
    border-radius: 14px;
    padding: 0;
    border: 1px solid #e3eaf2;
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.career-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 73, 104, 0.15);
    border-color: #0e4968;
}

/* Accent gradient bar */
.career-card-modern::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(
        180deg,
        #0e4968 0%,
        #107a7c 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.career-card-modern:hover::before {
    opacity: 1;
}

/* Header Section - Compact */
.career-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px 14px;
    border-bottom: 1px solid #f0f4f8;
    gap: 16px;
    flex-wrap: wrap;
}

.career-title-section {
    flex: 1;
    min-width: 200px;
}

.career-title-section h4 {
    font-weight: 600;
    font-size: 18px;
    color: #1c2b36;
    margin-bottom: 10px;
    line-height: 1.3;
}

.career-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.career-location,
.career-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #5f6b76;
    font-weight: 500;
}

.career-location i,
.career-type-badge i {
    color: #107a7c;
    font-size: 15px;
}

/* Status Badge - Compact */
.career-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    border: 1px solid #86efac;
}

/* Description - Compact */
.career-description {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f4f8;
}

.career-description p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Requirements Grid - Compact */
.career-requirements {
    padding: 18px 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    background: #fafbfc;
    flex-grow: 1;
}

.requirement-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.requirement-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirement-label i {
    color: #107a7c;
    font-size: 16px;
}

.requirement-value {
    font-size: 14px;
    color: #1c2b36;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

/* Skill Tags - Compact */
.skill-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #ffffff;
    border: 1px solid #e3eaf2;
    color: #0e4968;
    font-size: 12px;
    font-weight: 500;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #eef6fa;
    border-color: #0e4968;
    transform: translateY(-2px);
}

/* Footer - Compact */
.career-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 18px;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.career-posted {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
}

.career-posted i {
    color: #107a7c;
    font-size: 15px;
}

/* Apply Button - Compact */
.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #0e4968 0%, #107a7c 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 73, 104, 0.2);
}

.btn-apply:hover {
    background: linear-gradient(135deg, #0a3750 0%, #0d6264 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 73, 104, 0.3);
    color: #ffffff;
}

.btn-apply i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.btn-apply:hover i {
    transform: translateX(4px);
}

/* Section Title Enhancement */
.careers .section-title h2 {
    font-size: 38px;
    color: #1c2b36;
    margin-bottom: 12px;
}

.careers .section-title p {
    font-size: 16px;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 992px) {
    .career-requirements {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .career-header {
        padding: 18px 20px 14px;
    }
    
    .career-title-section h4 {
        font-size: 17px;
    }
    
    .career-description,
    .career-requirements,
    .career-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .career-requirements {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px 20px;
    }
    
    .career-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 20px 16px;
    }
    
    .btn-apply {
        justify-content: center;
        width: 100%;
    }
    
    .career-meta {
        gap: 12px;
    }
    
    .careers .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .career-title-section h4 {
        font-size: 16px;
    }
    
    .career-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .status-badge {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .career-description p {
        font-size: 13px;
    }
}
#careers .row > div {
    border: 1px solid #107A7C;
    border-radius: 16px;
    padding: 12px;
    transition: all 0.3s ease;
}

#careers .row > div:hover {
    border-color: #0e4968;
    box-shadow: 0 8px 24px rgba(14, 73, 104, 0.08);
}
.career-search-box {
  position: relative;
}

.career-search-box input {
  padding: 12px 45px 12px 18px;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.career-search-box i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 18px;
}
.search-highlight {
  background: #fff3a0;
  color: #000;
  padding: 2px 4px;
  border-radius: 3px;
}

