
/* ===================================================
   HR POLICY PAGE (hr-policy.php)
   =================================================== */
.hr-hero { position: relative; background: #f4f5f7; padding: 60px 0 50px; overflow: hidden; }
.hr-hero .container { position: relative; z-index: 1; }

.hr-dots-tl, .hr-dots-tr {
    position: absolute; width: 90px; height: 80px;
    background-image: radial-gradient(circle, #d7dbe2 1.5px, transparent 1.6px);
    background-size: 12px 12px; opacity: .9; z-index: 0;
}
.hr-dots-tl { top: 24px; left: 24px; }
.hr-dots-tr { top: 40px; right: 40px; }

/* Heading */
.hr-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.hr-title { font-size: 40px; font-weight: 800; line-height: 1.15; color: var(--brand-dark); margin: 0 0 12px; }
.hr-title .orange { color: var(--brand-orange); display: block; }
.hr-underline { width: 46px; height: 3px; background: var(--brand-orange); }
.hr-heading-icon {
    position: relative; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
    border: 1.5px solid #d7dbe2; display: flex; align-items: center; justify-content: center;
    background: #fff;
}
.hr-icon-bg { color: #c7ccd4; font-size: 24px; }
.hr-icon-front {
    position: absolute; right: 5px; bottom: 5px; width: 20px; height: 20px;
    border-radius: 50%; background: var(--brand-orange); border: 2px solid #fff;
    display: flex; align-items: center; justify-content: center;
}
.hr-icon-front i { color: #fff; font-size: 9px; }

/* Policy point cards */
.hr-points { display: flex; flex-direction: column; gap: 14px; }
.hr-point {
    display: flex; align-items: flex-start; gap: 16px;
    background: #fff; border-radius: 10px; padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(26,35,50,.06);
    border-right: 3px solid var(--brand-orange);
}
.hr-point-icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
    background: var(--brand-orange); display: flex; align-items: center; justify-content: center;
}
.hr-point-icon i { color: #fff; font-size: 18px; }
.hr-point p { margin: 0; color: var(--text-gray); font-size: 13.5px; line-height: 1.7; }
.hr-point p .orange-text { color: var(--brand-orange); font-weight: 700; }

/* Right visual */
.hr-visual { position: relative; width: 100%; max-width: 430px; margin: 0 auto; aspect-ratio: 1 / 1; }
.hr-circle-main {
    position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
    border: 8px solid #fff; box-shadow: 0 20px 50px rgba(26,35,50,.15);
    background: linear-gradient(145deg, #2a3648, var(--brand-dark));
}
.hr-circle-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* arc: same center/radius as hr-circle-main, drawn as a ring that hugs its rim */
.hr-arc {
    position: absolute; inset: -14px; border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: var(--brand-orange);
    border-right-color: var(--brand-orange);
    transform: rotate(15deg);
    pointer-events: none;
}
.hr-arc-dot {
    position: absolute; top: 21%; right: -16px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--brand-orange);
}
.hr-dot-left {
    position: absolute; top: 48%; left: -14px; width: 10px; height: 10px;
    border-radius: 50%; background: var(--brand-dark);
}
.hr-circle-sub {
    position: absolute; right: -6%; bottom: -6%; width: 40%; aspect-ratio: 1/1;
    border-radius: 50%; overflow: hidden; border: 4px solid var(--brand-orange);
    box-shadow: 0 14px 34px rgba(26,35,50,.18);
    background: linear-gradient(145deg, #3a4658, var(--brand-dark));
}
.hr-circle-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bottom feature strip */
.hr-strip {
    display: flex; flex-wrap: wrap; gap: 22px;
    background: #fff; border-radius: 14px; padding: 26px 30px;
    box-shadow: 0 10px 30px rgba(26,35,50,.07);
    margin-top: 46px;
}
.hr-strip-item { flex: 1 1 180px; display: flex; align-items: flex-start; gap: 12px; }
.hr-strip-icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
    background: var(--brand-orange); display: flex; align-items: center; justify-content: center;
}
.hr-strip-icon i { color: #fff; font-size: 17px; }
.hr-strip-icon-dark { background: var(--brand-dark); }
.hr-strip-item h5 { font-size: 12.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--brand-orange); margin: 4px 0 4px; }
.hr-strip-item p { font-size: 12.5px; color: var(--text-gray); line-height: 1.55; margin: 0; }

/* Responsive */
@media (max-width: 991px) {
    .hr-visual { margin-top: 30px; max-width: 340px; }
    .hr-title { font-size: 32px; }
}
@media (max-width: 767px) {
    .hr-strip { flex-direction: column; }
}

/* ===================================================
   testimonials section
   =================================================== */
.tst-section {
    position: relative; background-color: var(--brand-dark);
    background-size: cover; background-position: center;
    padding: 80px 0; margin-top: 60px; overflow: hidden;
}
.tst-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,14,22,.72), rgba(10,14,22,.65));
}
.tst-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.tst-eyebrow-row .line { width: 30px; height: 2px; background: var(--brand-orange); }
.tst-eyebrow-row .label { color: var(--brand-orange); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.tst-heading { text-align: center; color: #fff; font-size: 38px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.tst-underline { width: 46px; height: 3px; background: var(--brand-orange); margin: 0 auto 20px; }
.tst-subtext { text-align: center; color: #c7ccd4; max-width: 620px; margin: 0 auto 50px; font-size: 14.5px; line-height: 1.8; }
.tst-subtext .orange { color: var(--brand-orange); font-weight: 700; }

.tst-slider { position: relative; overflow: hidden; }
.tst-track { display: flex; transition: transform .5s ease; }
.tst-page { flex-shrink: 0; }
.tst-page.active { display: block; animation: tstfade .4s ease; }
@keyframes tstfade { from { opacity: 0; transform: translatey(10px); } to { opacity: 1; transform: translatey(0); } }

.tst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tst-card {
    display: flex; align-items: flex-start;
    background: rgba(20,26,40,.72);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,.28); border-top: none;
    position: relative; overflow: visible; height: 340px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}
.tst-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--brand-orange); z-index: 3;
}
.tst-card::after {
    content: ''; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px;
    z-index: 2; pointer-events: none;
    background: linear-gradient(135deg, transparent calc(50% - 1px), var(--brand-orange) calc(50% - 1px), var(--brand-orange) calc(50% + 1px), transparent calc(50% + 1px));
}
.tst-photo {
    flex: 0 0 41%; position: relative; z-index: 1; overflow: hidden; height: 260px;
    padding: 0 2px 2px 0;
    background: var(--brand-orange);
    clip-path: polygon(0 0, 96% 0, 66% 100%, 0 100%);
}
.tst-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
    clip-path: polygon(0 0, 96% 0, 66% 100%, 0 100%);
}
.tst-content { flex: 1; padding: 30px 34px 30px 0; position: relative; z-index: 1; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tst-text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; font-size: 12px; line-height: 1.65; }
.tst-quote-icon {
    position: absolute; top: 22px; right: 28px; font-size: 40px;
    color: rgba(255,255,255,.10); z-index: 0;
}
.tst-name { color: #fff; font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.tst-role { color: #9aa1ac; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; }
.tst-line { width: 34px; height: 2px; background: var(--brand-orange); margin-bottom: 14px; }
.tst-text { color: #c7ccd4; font-size: 13.5px; line-height: 1.8; margin: 0; }

.tst-readmore-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: none; color: var(--brand-orange);
    font-size: 13px; font-weight: 700; padding: 0; margin-top: 12px;
    cursor: pointer; transition: .25s;
}
.tst-readmore-btn i { font-size: 11px; transition: transform .25s; }
.tst-readmore-btn:hover { color: #fff; }
.tst-readmore-btn:hover i { transform: translatex(4px); }

/* testimonial read more modal */
.tst-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(10,14,22,.82); backdrop-filter: blur(3px);
    align-items: center; justify-content: center; padding: 20px;
}
.tst-modal-overlay.active { display: flex; }
.tst-modal-card {
    display: flex; align-items: stretch; max-width: 900px; width: 100%;
    max-height: 85vh; overflow-y: auto;
    background: rgba(20,26,40,.97);
    border: 1px solid rgba(255,255,255,.28); border-top: none;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
    animation: tstmodalin .3s ease;
}
@keyframes tstmodalin { from { opacity: 0; transform: translatey(20px) scale(.97); } to { opacity: 1; transform: translatey(0) scale(1); } }
.tst-modal-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--brand-orange); z-index: 3;
}
.tst-modal-card::after {
    content: ''; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px;
    z-index: 2; pointer-events: none;
    background: linear-gradient(135deg, transparent calc(50% - 1px), var(--brand-orange) calc(50% - 1px), var(--brand-orange) calc(50% + 1px), transparent calc(50% + 1px));
}
.tst-modal-photo {
    flex: 0 0 34%; position: relative; z-index: 1; overflow: hidden;
    min-height: 320px;
    padding: 0 2px 2px 0;
    background: var(--brand-orange);
    clip-path: polygon(0 0, 96% 0, 66% 100%, 0 100%);
}
.tst-modal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; clip-path: polygon(0 0, 96% 0, 66% 100%, 0 100%); }
.tst-modal-content { flex: 1; padding: 40px 44px 40px 10px; position: relative; z-index: 1; min-width: 0; }
.tst-modal-name { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.tst-modal-role { color: #9aa1ac; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; }
.tst-modal-line { width: 40px; height: 2px; background: var(--brand-orange); margin-bottom: 18px; }
.tst-modal-text { color: #c7ccd4; font-size: 14.5px; line-height: 1.9; margin: 0; white-space: pre-line; }
.tst-modal-close {
    position: absolute; top: 16px; right: 16px; z-index: 5;
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.05); color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: .25s; font-size: 14px;
}
.tst-modal-close:hover { background: var(--brand-orange); border-color: var(--brand-orange); }

@media (max-width: 767px) {
    .tst-modal-card { flex-direction: column; max-height: 90vh; }
    .tst-modal-photo { flex: 0 0 220px; width: 100%; clip-path: none; min-height: 220px; }
    .tst-modal-photo img { clip-path: none; }
    .tst-modal-content { padding: 30px 24px; }
}

.tst-nav { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.tst-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
    background: transparent; color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: .3s;
}
.tst-btn:hover { background: var(--brand-orange); border-color: var(--brand-orange); }

@media (max-width: 767px) {
    .tst-grid { grid-template-columns: 1fr; }
    .tst-card { flex-direction: column; }
    .tst-photo { flex: 0 0 200px; clip-path: none; }
    .tst-heading { font-size: 28px; }
}


/* ===================================================
   AVAILABLE VACANCIES (white theme, dynamic from DB)
   =================================================== */
.vac-section {
    position: relative; background-color: #ffffff;
    padding: 60px 0 70px;
}
.vac-title { color: var(--brand-dark); font-size: 30px; font-weight: 800; margin: 0 0 10px; }
.vac-underline { width: 46px; height: 3px; background: var(--brand-orange); margin-bottom: 14px; }
.vac-subtext { color: var(--text-gray); font-size: 14px; line-height: 1.7; max-width: 560px; margin-bottom: 34px; }

.vac-empty { text-align: center; padding: 50px 20px; color: var(--text-gray); }
.vac-empty i { font-size: 30px; color: #d7dbe2; display: block; margin-bottom: 10px; }

.vac-list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
.vac-job-card {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: #fff; border: 1px solid #e9ebee; border-radius: 12px;
    padding: 22px 26px; box-shadow: 0 4px 18px rgba(20,30,45,.05);
    transition: .25s; cursor: pointer; text-decoration: none;
}
.vac-job-card:hover { box-shadow: 0 10px 28px rgba(20,30,45,.1); transform: translateY(-2px); border-color: rgba(229,90,37,.25); }
.vac-job-main { flex: 1; min-width: 0; }
.vac-job-title { color: var(--brand-dark); font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.vac-job-subrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.vac-job-openings { color: var(--brand-orange); font-size: 12.5px; font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: .3px; }
.vac-job-posted { color: #9aa0ab; font-size: 12px; font-weight: 500; position: relative; padding-left: 12px; }
.vac-job-posted::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 50%; background: #d7dbe2; }
.vac-job-desc { color: var(--text-gray); font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; }
.vac-job-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.vac-job-meta span { color: #6b7280; font-size: 12.5px; font-weight: 600; }
.vac-job-meta i { color: var(--brand-orange); width: 14px; margin-right: 4px; }

.vac-job-arrow {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
    background: #f4f6f9; color: var(--brand-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: .25s;
}
.vac-job-card:hover .vac-job-arrow { background: var(--brand-orange); color: #fff; transform: translateX(3px); }

@media (max-width: 767px) {
    .vac-job-card { flex-direction: column; align-items: flex-start; }
    .vac-view-btn { width: 100%; justify-content: center; }
}

/* Job Detail Page (job-detail.php) */
.jobd-section { background: #fff; padding: 50px 0 90px; }
.jobd-back { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-dark); font-weight: 600; font-size: 14px; margin-bottom: 30px; transition: .25s; }
.jobd-back:hover { color: var(--brand-orange); }
.jobd-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid #eee; }
.jobd-title { font-size: 36px; font-weight: 800; color: var(--brand-dark); margin: 0 0 12px; }
.jobd-meta { display: flex; flex-wrap: wrap; gap: 18px; }
.jobd-meta span { color: var(--text-gray); font-size: 14px; font-weight: 600; }
.jobd-meta i { color: var(--brand-orange); margin-right: 5px; }
.jobd-apply-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-orange); color: #fff !important; text-decoration: none;
    font-weight: 700; font-size: 15px; padding: 14px 30px; border-radius: 30px; transition: .25s;
}
.jobd-apply-btn:hover { background: #c94a1a; }
.jobd-body { max-width: 800px; }
.jobd-desc { color: #333; font-size: 15.5px; line-height: 1.9; }

@media (max-width: 767px) {
    .jobd-title { font-size: 26px; }
    .jobd-head { flex-direction: column; }
    .jobd-apply-btn { width: 100%; text-align: center; }
}

/* Job Requirements Boxes (Responsibilities / Must Have / Nice to have) */
.jobd-reqs-section { background: #f5f6f8; padding: 40px 0 60px; }
.jobd-reqs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.jobd-reqs-col { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.05); }
.jobd-reqs-head { background: var(--brand-dark); color: #fff; font-size: 16px; font-weight: 800; padding: 14px 18px; }
.jobd-reqs-list { list-style: none; margin: 0; padding: 0; }
.jobd-reqs-list li { padding: 12px 18px; font-size: 14px; color: #333; border-bottom: 1px solid #eee; line-height: 1.6; }
.jobd-reqs-list li:last-child { border-bottom: none; }
.jobd-reqs-list li:nth-child(even) { background: #fafbfc; }

@media (max-width: 991px) {
    .jobd-reqs-grid { grid-template-columns: 1fr; }
}

/* What's great in the job? + Featured News (job-detail.php) */
.jobd-highlight-section { background: #fff; padding: 50px 0 70px; }
.jobd-highlight-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.jobd-highlight-col { min-width: 0; }

.jobd-highlight-title { font-size: 28px; font-weight: 800; color: var(--brand-dark); margin: 0 0 22px; }
.jobd-highlight-list { list-style: none; margin: 0; padding: 0; }
.jobd-highlight-list li { position: relative; padding-left: 24px; margin-bottom: 14px; font-size: 15px; color: #333; line-height: 1.6; }
.jobd-highlight-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); }

.jobd-news-box { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); border: 1px solid #eee; }
.jobd-news-head { background: var(--brand-dark); color: #fff; font-size: 16px; font-weight: 800; padding: 14px 20px; display: flex; align-items: center; gap: 10px; }
.jobd-news-head i { color: var(--brand-orange); }
.jobd-news-box .ne-featured { border-radius: 0; height: 360px; margin: 0; }

@media (max-width: 991px) {
    .jobd-highlight-grid { grid-template-columns: 1fr; }
    .jobd-highlight-col:first-child { order: 1; }
    .jobd-highlight-col:last-child { order: 2; margin-top: 10px; }
}
@media (max-width: 767px) {
    .jobd-news-box .ne-featured { height: 280px; }
    .jobd-highlight-title { font-size: 22px; }
}

/* Job Application Form (apply-job.php) */
.jaf-title { font-size: 30px; font-weight: 800; color: var(--brand-dark); margin: 0 0 24px; }

.jaf-alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.jaf-alert-success { background: rgba(22,163,74,.1); color: #16a34a; }
.jaf-alert-error { background: rgba(239,68,68,.1); color: #ef4444; }

.jaf-field { margin-bottom: 22px; }
.jaf-label { display: block; font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.jaf-label .req { color: var(--brand-orange); }
.jaf-input, .jaf-textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #dcdfe4; border-radius: 8px;
    font-size: 14px; color: #333; outline: none; transition: .2s;
}
.jaf-input:focus, .jaf-textarea:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 .2rem rgba(229,90,37,.12); }
.jaf-textarea { resize: vertical; }

.jaf-input-icon { display: flex; align-items: center; border: 1px solid #dcdfe4; border-radius: 8px; overflow: hidden; }
.jaf-input-icon i { background: #0a66c2; color: #fff; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.jaf-input-icon input { flex: 1; border: none; padding: 12px 14px; font-size: 14px; outline: none; }

.jaf-file { width: 100%; padding: 10px 12px; border: 1px solid #dcdfe4; border-radius: 8px; font-size: 13.5px; }
.jaf-hint { font-size: 12px; color: var(--text-gray); margin: 6px 0 0; }

.jaf-submit {
    background: var(--brand-orange); color: #fff; border: none; border-radius: 30px;
    padding: 14px 34px; font-size: 15px; font-weight: 700; cursor: pointer; transition: .25s;
}
.jaf-submit:hover { background: #c94a1a; }

.jaf-side { background: #f7f8fa; border-radius: 12px; padding: 26px; }
.jaf-desc-btn {
    display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
    background: #fff; border: 1px solid #dcdfe4; color: var(--brand-dark) !important;
    text-decoration: none; font-weight: 700; font-size: 13.5px; padding: 12px; border-radius: 30px;
    margin-bottom: 24px; transition: .25s;
}
.jaf-desc-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange) !important; }

.jaf-side-item { margin-bottom: 18px; }
.jaf-side-label { display: block; color: var(--text-gray); font-size: 12px; margin-bottom: 3px; }
.jaf-side-value { color: var(--brand-dark); font-weight: 700; font-size: 15px; margin: 0; }

@media (max-width: 767px) {
    .jaf-title { font-size: 24px; }
    .jaf-side { margin-top: 10px; }
}