/* =========================================
   VACANCIES PAGE SPECIFIC STYLES
   ========================================= */

/* Active link in the header */
#umuri-header-root .umuri-nav-links > li > a.active {
    color: var(--secondary-color) !important;
    box-shadow: 0 3px 0 var(--secondary-color) !important;
}

#umuri-header-root .umuri-top-row .secondary-nav a.active {
    color: var(--secondary-color) !important;
    box-shadow: 0 3px 0 var(--secondary-color) !important;
}

/* ---- Masthead (Hero) ---- */
.vac-masthead {
    margin-top: 170px;
    height: 450px;
    position: relative;
    background-image: url('../img/Delivering Football Drills/Tabagwe Sector/Copy of DSC_8877.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end; /* Aligns box to bottom */
    padding-bottom: 60px;
}

/* NO dark overlay over the image */
.vac-masthead::before {
    display: none;
}

/* Text box at the bottom left */
.vac-masthead-content {
    background: rgba(88, 27, 24, 0.88);
    padding: 40px;
    max-width: 650px;
    color: #fff;
    border-left: 6px solid var(--secondary-color);
    margin-left: 10%;
    position: relative;
    z-index: 2;
}

.vac-masthead h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.2;
}

.vac-masthead p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ---- Sections ---- */
.vac-section { padding: 80px 0; }
.vac-tint { background: #f7f3f0; border-top: 1px solid #e6ddd8; border-bottom: 1px solid #e6ddd8; }

.vac-head {
    text-align: center;
    margin-bottom: 50px;
}

.vac-head h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.vac-head h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

/* ---- Layout Split ---- */
.vac-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* ---- Sidebar ---- */
.vac-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: sticky;
    top: 100px;
}

.vac-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.vac-filter-group { margin-bottom: 20px; }

.vac-filter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.vac-filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
}

.vac-filter-select:focus {
    border-color: var(--secondary-color);
}

.vac-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vac-quick-links li { margin-bottom: 10px; }

.vac-quick-links a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.vac-quick-links a:hover { color: var(--secondary-color); }

/* ---- Job Cards ---- */
.vac-job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vac-job-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vac-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.vac-job-header {
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.vac-job-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.vac-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.vac-job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vac-job-meta i { color: var(--secondary-color); }

.vac-job-body { padding: 25px 30px; }

.vac-job-desc {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.vac-job-list-ul {
    padding-left: 20px;
    margin: 0 0 25px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.vac-apply-btn {
    display: inline-block;
    background: var(--secondary-color) !important;
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--secondary-color) !important;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.vac-apply-btn:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* ---- Benefits Grid ---- */
.vac-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.vac-benefit {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.vac-benefit i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.vac-benefit h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.vac-benefit p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ---- Process Steps ---- */
.vac-steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vac-step {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
}

.vac-step-num {
    font-size: 3rem;
    font-weight: 800;
    color: #f0e6e0;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.vac-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 8px;
    position: relative;
    z-index: 2;
}

.vac-step p {
    font-size: 14px;
    color: #666;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ---- FAQ ---- */
.vac-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.vac-faq-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.vac-faq-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.vac-faq-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ---- Application Modal ---- */
.vac-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vac-modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.vac-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
}

.vac-modal h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 25px;
}

.vac-form-group { margin-bottom: 20px; }

.vac-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.vac-form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.vac-form-input:focus { border-color: var(--secondary-color); }

.vac-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--secondary-color) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    border: none !important;
    border-radius: 5px;
    cursor: pointer;
}

.vac-submit-btn:hover { background: var(--primary-color) !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .vac-masthead { margin-top: 70px; height: 400px; }
    .vac-masthead-content { margin-left: 5%; padding: 30px; }
    .vac-masthead h1 { font-size: 2.2rem; }
    
    .vac-layout { grid-template-columns: 1fr; }
    .vac-sidebar { position: static; }
    .vac-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .vac-masthead { height: 350px; padding-bottom: 30px; }
    .vac-masthead-content { margin: 0 20px; padding: 25px; }
    .vac-masthead h1 { font-size: 1.8rem; }
    .vac-masthead p { font-size: 1rem; }
    
    .vac-grid-4, .vac-faq-grid { grid-template-columns: 1fr; }
    .vac-head h2 { font-size: 2rem; }
    .vac-section { padding: 50px 0; }
}