/* ==========================================================================
   567 AGRI CAREERS / RECRUITMENT PAGE STYLESHEET
   STRICTLY NAMESPACED UNDER .career-page (NO GLOBAL OVERRIDES)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

.career-page,
.career-page * { box-sizing: border-box; }

.career-page {
    font-family: 'Roboto', sans-serif;
    color: #334155;
    background-color: #F8F9FA;
    line-height: 1.65;
}

.career-page h1,
.career-page h2,
.career-page h3,
.career-page h4 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600 !important;
    color: #0F172A;
    margin-top: 0;
}

.career-page .career-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================================
   HERO SECTION
=========================================================== */
.career-page .career-hero {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.career-page .career-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(10, 40, 20, 0.88) 0%,
        rgba(15, 70, 35, 0.70) 50%,
        rgba(31, 122, 62, 0.30) 100%
    );
    z-index: 1;
}

.career-page .career-hero .career-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.career-page .hero-inner {
    display: flex;
    align-items: center;
    max-width: 700px;
}

.career-page .hero-left-col { width: 100%; }

.career-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.career-page .hero-title {
    font-size: 52px;
    font-weight: 700 !important;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.career-page .hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 480px;
}

.career-page .hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.85);
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.career-page .hero-cta-btn:hover {
    background: #ffffff;
    color: #1F7A3E;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ===========================================================
   STATS STRIP
=========================================================== */
.career-page .career-stats-strip {
    background: #ffffff;
    border-bottom: 1px solid #E2E8F0;
    padding: 36px 0;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

.career-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.career-page .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
    border-right: 1px solid #E2E8F0;
}

.career-page .stat-item:last-child { border-right: none; }

.career-page .stat-number {
    font-size: 36px;
    font-weight: 700 !important;
    color: #1F7A3E;
    line-height: 1;
    font-family: 'Roboto', sans-serif !important;
}

.career-page .stat-label {
    font-size: 14px;
    color: #64748B;
    font-weight: 500;
}

/* ===========================================================
   JOB LISTINGS SECTION
=========================================================== */
.career-page .career-jobs-section {
    padding: 80px 0;
}

.career-page .section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.career-page .section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #DCFCE7;
    color: #1F7A3E;
    border-radius: 50%;
    font-size: 18px;
    margin-bottom: 14px;
}

.career-page .section-heading h2 {
    font-size: 30px;
    font-weight: 700 !important;
    color: #0F172A;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.career-page .section-sub {
    font-size: 15px;
    color: #64748B;
    line-height: 1.65;
    margin: 0;
}

/* JOB CARD */
.career-page .jobs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.career-page .job-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.career-page .job-card:hover {
    transform: translateY(-6px);
    border-color: #1F7A3E;
    box-shadow: 0 20px 50px rgba(31,122,62,.14);
}

/* Job Icon */
.career-page .job-icon-col { flex-shrink: 0; }

.career-page .job-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #F0FDF4;
    color: #1F7A3E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 1px solid #BBFAD0;
    transition: all 0.3s ease;
}

.career-page .job-card:hover .job-icon-circle {
    background: #1F7A3E;
    color: #ffffff;
    border-color: #1F7A3E;
}

/* Job Info */
.career-page .job-info-col {
    flex: 1;
    min-width: 0;
}

.career-page .job-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.career-page .job-title {
    font-size: 18px;
    font-weight: 700 !important;
    color: #0F172A;
    margin: 0;
    transition: color 0.25s ease;
}

.career-page .job-card:hover .job-title { color: #1F7A3E; }

.career-page .job-new-badge {
    background: #F68B1F;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.career-page .job-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.career-page .job-meta-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

.career-page .job-meta-tag i { color: #1F7A3E; font-size: 13px; }

.career-page .job-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Job Action */
.career-page .job-action-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 160px;
}

.career-page .btn-apply-now {
    display: inline-block;
    background: #1F7A3E;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(31,122,62,.3);
}

.career-page .btn-apply-now:hover {
    background: #15542A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31,122,62,.4);
}

.career-page .job-deadline {
    font-size: 12px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* View More Button */
.career-page .view-more-wrap {
    text-align: center;
    margin-top: 10px;
}

.career-page .btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1F7A3E;
    border: 2px solid #1F7A3E;
    padding: 12px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.career-page .btn-view-more:hover {
    background: #1F7A3E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31,122,62,.25);
}

/* ===========================================================
   CTA SECTION
=========================================================== */
.career-page .career-cta-section {
    background: linear-gradient(135deg, #0D3D20 0%, #1F7A3E 50%, #145228 100%);
    padding: 80px 0;
}

.career-page .cta-inner-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

/* CTA Left */
.career-page .cta-title {
    font-size: 34px;
    font-weight: 700 !important;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.career-page .cta-title-accent { color: #F68B1F; }

.career-page .cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    margin-bottom: 36px;
}

.career-page .cta-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.career-page .cta-value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.career-page .cta-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.career-page .cta-value-item h4 {
    font-size: 14px;
    font-weight: 600 !important;
    color: #ffffff;
    margin: 0 0 4px;
}

.career-page .cta-value-item p {
    font-size: 12.5px;
    color: rgba(255,255,255,.75);
    margin: 0;
    line-height: 1.5;
}

/* CTA Right */
.career-page .cta-right-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.career-page .cta-team-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.career-page .cta-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.career-page .cta-right-card:hover .cta-team-img { transform: scale(1.05); }

.career-page .cta-right-content {
    padding: 28px;
    text-align: center;
}

.career-page .cta-right-content h3 {
    font-size: 18px;
    font-weight: 600 !important;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.career-page .cta-right-content p {
    font-size: 13px;
    color: rgba(255,255,255,.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.career-page .btn-send-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F68B1F;
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(246,139,31,.4);
}

.career-page .btn-send-cv:hover {
    background: #D97008;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(246,139,31,.5);
}

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 1024px) {
    .career-page .cta-inner-layout { grid-template-columns: 1fr; }
    .career-page .cta-right-card { max-width: 500px; margin: 0 auto; }
    .career-page .hero-title { font-size: 40px; }
}

@media (max-width: 768px) {
    .career-page .career-hero { height: auto; padding: 60px 0; }
    .career-page .hero-title { font-size: 32px; }
    .career-page .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .career-page .stat-item { border-right: none; }
    .career-page .job-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
    .career-page .job-action-col { width: 100%; }
    .career-page .cta-values-grid { grid-template-columns: 1fr; }
    .career-page .cta-title { font-size: 26px; }
}

@media (max-width: 480px) {
    .career-page .stats-grid { grid-template-columns: 1fr; }
    .career-page .stat-number { font-size: 28px; }
}
