﻿/* RR 25-Nov-2026 Home redesign (design 6). Used only by _LayoutHomePro. */
:root {
    --hp-g: #145a3c;      /* main green */
    --hp-g2: #0f4a31;     /* deep green */
    --hp-g3: #1d7a50;     /* light green */
    --hp-gl: #e8f3ec;     /* green tint */
    --hp-gold: #d6a630;
    --hp-gold2: #b8891c;
    --hp-ink: #17251e;
    --hp-mut: #5d6e65;
    --hp-line: #e3ebe6;
    --hp-bg: #f5f8f6;
}

/* one font for the whole site (Urdu text falls back to Noto Nastaliq) */
body.hp { --hp-font: "Plus Jakarta Sans", "Noto Nastaliq Urdu", "Segoe UI", Arial, sans-serif; font-family: var(--hp-font); color: var(--hp-ink); background: #fff; }
body.hp h1, body.hp h2, body.hp h3, body.hp h4, body.hp h5, body.hp h6,
body.hp p, body.hp a, body.hp li, body.hp td, body.hp th, body.hp label, body.hp dt, body.hp dd,
body.hp input, body.hp select, body.hp textarea, body.hp button, body.hp .btn,
body.hp .title, body.hp .tp-caption, body.hp .menuzord-menu a, body.hp .megamenu h4 { font-family: var(--hp-font); }
/* keep icon fonts */
body.hp .fa { font-family: FontAwesome; }
body.hp .fa-solid, body.hp .fas, body.hp .fa-regular, body.hp .far { font-family: "Font Awesome 6 Free"; }
body.hp .fa-brands, body.hp .fab { font-family: "Font Awesome 6 Brands"; }
body.hp .glyphicon { font-family: "Glyphicons Halflings"; }
.hp a { text-decoration: none; }

/* ---------- top strip ---------- */
.hp-topbar { background: var(--hp-g2); color: #cfe3d7; font-size: 12.5px; }
.hp-topbar .container-fluid { display: flex; justify-content: space-between; align-items: center; padding: 6px 30px; }
.hp-toplinks { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.hp-toplinks a { color: #cfe3d7; }
.hp-toplinks a:hover { color: var(--hp-gold); }

/* ---------- header / menu ---------- */
.hp-nav { background: var(--hp-g) !important; box-shadow: 0 6px 18px -10px rgba(0,0,0,.5); }
.hp-nav .container-fluid { padding: 0 30px; }
.hp-nav .menuzord { background: transparent; padding: 0; }
.hp-nav .menuzord-brand { margin: 12px 30px 12px 0; }
/* desktop: brand left, menu center, buttons right */
@media (min-width: 900px) {
    .hp-nav .menuzord-menu > li { padding: 0 !important; margin: 0 !important; flex: none; }
    .hp-nav .menuzord-menu > li > a { white-space: nowrap; }
    .hp-nav .menuzord-menu > li > a > .indicator { margin-left: 4px; }
    .hp-nav .menuzord { display: flex; align-items: center; }
    .hp-nav .menu-center { display: flex; justify-content: center; flex: 1; float: none; }
    .hp-nav .menu-right { margin-left: auto; display: flex; align-items: center; float: none; }
}
.hp-nav .menuzord-menu > li > a { color: #fff !important; font-weight: 600; font-size: 14px; padding: 26px 14px; }
.hp-nav .menuzord-menu > li.active > a,
.hp-nav .menuzord-menu > li:hover > a { color: var(--hp-gold) !important; background: transparent !important; }
.hp-nav .menuzord-menu > li.active > a { box-shadow: inset 0 -3px 0 var(--hp-gold); }
.hp-nav .menuzord-menu ul.dropdown,
.hp-nav .menuzord-menu .megamenu { border-top: 3px solid var(--hp-gold); border-radius: 0 0 10px 10px; box-shadow: 0 18px 40px -15px rgba(0,0,0,.35); }
.hp-nav .menuzord-menu ul.dropdown li a:hover,
.hp-nav .megamenu a:hover { color: var(--hp-g) !important; }
.hp-nav .menu-right li.hp-ico a { padding: 22px 8px !important; }
.hp-nav .menu-right li.hp-call a { background: var(--hp-gold) !important; color: var(--hp-ink) !important; border-radius: 10px; padding: 10px 20px !important; margin: 16px 0 16px 10px; font-weight: 700; }
.hp-nav .menu-right li.hp-call a:hover { background: #e7bb48 !important; }
.hp-nav .showhide em { background: #fff; }
.hp-nav .menuzord-menu ul.dropdown { min-width: 230px; }
.hp-nav .menuzord-menu ul.dropdown li a { font-size: 13.5px; padding: 9px 18px; }
.hp-nav .menuzord-menu ul.dropdown li a i { color: var(--hp-g3); width: 18px; }
/* 9 menu items: tighten on laptops */
@media (min-width: 900px) and (max-width: 1439px) {
    .hp-nav .container-fluid { padding: 0 16px; }
    .hp-nav .menuzord-brand { margin-right: 14px; }
    .hp-nav .menuzord-brand img { height: 38px; }
    .hp-nav .menuzord-menu > li > a { font-size: 13px; padding: 26px 9px; }
    .hp-nav .menu-right li.hp-ico { display: none; }
    .hp-nav .menu-right li.hp-call a { padding: 9px 14px !important; }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .hp-nav .menuzord-menu > li > a { font-size: 12.5px; padding: 26px 7px; }
    .hp-nav .menuzord-brand img { height: 32px; }
    .hp-nav .menu-right li.hp-call { display: none; }
}

/* ---------- slider (same revolution slider, light touch) ---------- */
/* banners already carry their own text: no dark overlay */
.hp-slider .rev_slider li::before { display: none; }
.hp-slider .rev_slider_wrapper { background: var(--hp-g2); }
.hp-slider .btn-theme-colored { background: var(--hp-gold) !important; border-color: var(--hp-gold) !important; color: var(--hp-ink) !important; font-weight: 700; border-radius: 8px; }

/* ---------- quick strip ---------- */
.hp-quick { background: var(--hp-g); }
.hp-quick .row { margin: 0; }
.hp-quick a { display: flex; align-items: center; gap: 12px; padding: 18px 14px; color: #fff; border-right: 1px solid rgba(255,255,255,.12); }
.hp-quick .col-md-2:last-child a { border-right: 0; }
.hp-quick a:hover { background: var(--hp-g2); }
.hp-quick i { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.12); color: var(--hp-gold); display: grid; place-items: center; font-size: 17px; flex: none; }
.hp-quick b { display: block; font-size: 14px; }
.hp-quick small { color: #b9d6c6; font-size: 11.5px; }

/* ---------- section basics ---------- */
.hp-sec { padding: 70px 0; }
.hp-sec.alt { background: var(--hp-bg); }
/* theme adds 80px to section > .container; our sections set their own */
.hp-sec > .container, .hp-stats > .container { padding-top: 0; padding-bottom: 0; }
.hp-eyebrow { color: var(--hp-gold2); font-size: 11.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.hp-eyebrow:before { content: ""; width: 26px; height: 2px; background: var(--hp-gold); }
.hp-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.hp-head h2 { font-size: 32px; font-weight: 800; margin: 8px 0 0; color: var(--hp-ink); }
.hp-more { color: var(--hp-g) !important; font-weight: 700; font-size: 13.5px; border-bottom: 2px solid var(--hp-gold); padding-bottom: 2px; }
.hp-card { background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; box-shadow: 0 20px 40px -30px rgba(20,90,60,.35); }

/* ---------- facility stats ---------- */
.hp-stats { padding: 40px 0; border-bottom: 1px solid var(--hp-line); }
.hp-stats .wrapx { display: flex; align-items: center; gap: 10px; }
.hp-total { padding-right: 30px; margin-right: 10px; border-right: 1px solid var(--hp-line); min-width: 210px; }
.hp-total b { font-size: 48px; font-weight: 800; color: var(--hp-g); line-height: 1; display: block; }
.hp-total small { color: var(--hp-mut); font-size: 12.5px; }
.hp-stat { flex: 1; display: block; padding: 6px 12px; border-radius: 12px; color: var(--hp-ink) !important; }
.hp-stat:hover { background: var(--hp-gl); }
.hp-stat i { color: var(--hp-gold2); font-size: 16px; }
.hp-stat b { display: block; font-size: 26px; font-weight: 800; margin-top: 4px; }
.hp-stat small { color: var(--hp-mut); font-size: 12px; }

/* ---------- notifications & jobs ---------- */
.hp-list { padding: 22px 24px; }
.hp-list h4 { font-size: 16px; font-weight: 700; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; }
.hp-list h4 a { font-size: 12.5px; color: var(--hp-g); font-weight: 600; }
.hp-row { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hp-line); align-items: flex-start; }
.hp-date { min-width: 58px; text-align: center; }
.hp-date b { display: block; font-size: 22px; font-weight: 800; color: var(--hp-g); line-height: 1; }
.hp-date small { font-size: 11px; color: var(--hp-mut); text-transform: uppercase; }
.hp-row .t { flex: 1; font-size: 14px; font-weight: 600; color: var(--hp-ink); line-height: 1.45; }
.hp-row .t a { color: var(--hp-ink); }
.hp-row .t a:hover { color: var(--hp-g); }
.hp-dl { color: var(--hp-g) !important; font-size: 17px; padding: 2px 6px; }
.hp-jobs .hp-date { background: var(--hp-gl); border-radius: 10px; padding: 6px 4px; }
.hp-jobs .hp-date small.m { display: block; background: var(--hp-g); color: #fff; border-radius: 6px; font-weight: 700; margin-bottom: 4px; }
.hp-apply { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--hp-gold2) !important; }
.hp-empty { color: var(--hp-mut); font-size: 13.5px; padding: 14px 0; border-top: 1px solid var(--hp-line); }

/* ---------- news (dark) ---------- */
.hp-news { background: var(--hp-g2); color: #fff; }
.hp-news .hp-head h2 { color: #fff; }
.hp-news .hp-more { color: #fff !important; }
.hp-main-news { display: block; color: #fff !important; }
.hp-main-news .img { border-radius: 16px; overflow: hidden; height: 360px; background: #0a3524; }
.hp-main-news img { width: 100%; height: 100%; object-fit: cover; }
.hp-main-news .d { color: var(--hp-gold); font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-top: 18px; text-transform: uppercase; }
.hp-main-news h3 { color: #fff; font-size: 26px; font-weight: 800; margin: 8px 0 10px; line-height: 1.3; }
.hp-main-news p { color: #c6ddd0; font-size: 14.5px; line-height: 1.7; }
.hp-side-news a { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff !important; }
.hp-side-news a:first-child { padding-top: 0; }
.hp-side-news .img { width: 130px; height: 86px; border-radius: 10px; overflow: hidden; flex: none; background: #0a3524; }
.hp-side-news img { width: 100%; height: 100%; object-fit: cover; }
.hp-side-news small { color: var(--hp-gold); font-size: 11px; font-weight: 700; }
.hp-side-news b { display: block; font-size: 14.5px; line-height: 1.4; margin-top: 4px; }
.hp-read { display: inline-block; background: var(--hp-gold); color: var(--hp-ink) !important; font-weight: 700; padding: 10px 20px; border-radius: 10px; font-size: 13.5px; }

/* ---------- info cards ---------- */
.hp-info { padding: 22px 24px; height: 100%; display: flex; flex-direction: column; }
.hp-info .d { color: var(--hp-gold2); font-size: 12px; font-weight: 700; }
.hp-info h4 { font-size: 16px; font-weight: 700; line-height: 1.4; margin: 8px 0; }
.hp-info p { color: var(--hp-mut); font-size: 13.5px; line-height: 1.6; flex: 1; }
.hp-info a { color: var(--hp-g); font-weight: 700; font-size: 13px; }
.hp-eq { display: flex; flex-wrap: wrap; }
.hp-eq > div { display: flex; margin-bottom: 20px; }
.hp-eq > div > .hp-card { width: 100%; }

/* ---------- tenders ---------- */
.hp-tbl { width: 100%; }
.hp-tbl th { font-size: 11px; letter-spacing: 1.5px; color: var(--hp-mut); text-transform: uppercase; padding: 14px 20px; background: var(--hp-bg); font-weight: 700; }
.hp-tbl td { padding: 16px 20px; border-top: 1px solid var(--hp-line); font-size: 14px; vertical-align: middle; }
.hp-tbl td.dt { color: var(--hp-mut); white-space: nowrap; width: 130px; }
.hp-tbl td.ac { text-align: right; width: 110px; }
.hp-tbl td.ac a { color: var(--hp-g); font-weight: 700; }

/* ---------- find care ---------- */
.hp-find { background: linear-gradient(135deg, var(--hp-g2), var(--hp-g)); color: #fff; }
.hp-find h2 { color: #fff !important; }
.hp-find p.lead { color: #c6ddd0; font-size: 15px; line-height: 1.7; margin: 14px 0 24px; }
.hp-find .hp-btns a { display: inline-block; margin: 0 8px 10px 0; padding: 11px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 600; font-size: 13.5px; }
.hp-find .hp-btns a.p { background: var(--hp-gold); border-color: var(--hp-gold); color: var(--hp-ink); font-weight: 700; }
.hp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hp-tiles a { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px; color: #fff; }
.hp-tiles a:hover { background: rgba(255,255,255,.15); }
.hp-tiles b { display: block; font-size: 26px; font-weight: 800; color: var(--hp-gold); }
.hp-tiles small { color: #c6ddd0; font-size: 12px; }

/* ---------- leadership ---------- */
.hp-lead { padding: 26px; display: flex; gap: 22px; align-items: flex-start; height: 100%; }
.hp-lead .ph { width: 120px; height: 140px; border-radius: 14px; overflow: hidden; flex: none; background: var(--hp-gl); border: 3px solid #fff; box-shadow: 0 10px 25px -12px rgba(0,0,0,.4); }
.hp-lead .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hp-lead q { display: block; color: #3a4a42; font-size: 14.5px; line-height: 1.7; font-style: italic; quotes: "\201C" "\201D"; }
.hp-lead b { display: block; margin-top: 14px; font-size: 15px; }
.hp-lead small { color: var(--hp-g); font-weight: 700; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; }
.hp-lead .lk { display: inline-block; margin-top: 8px; color: var(--hp-gold2); font-weight: 700; font-size: 12.5px; }

/* ---------- secretary (big, after stats) ---------- */
.hp-secy { background: linear-gradient(180deg, var(--hp-gl), #fff); }
.hp-secy .row { display: flex; align-items: center; flex-wrap: wrap; }
.hp-secy-ph { position: relative; border-radius: 20px; overflow: hidden; height: 440px; background: #fff; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(20,90,60,.55); }
.hp-secy-ph:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--hp-gold); }
.hp-secy-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hp-secy h2 { font-size: 36px; font-weight: 800; margin: 10px 0 4px; color: var(--hp-ink); }
.hp-secy-des { color: var(--hp-g); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.hp-secy-msg { position: relative; margin: 24px 0 26px; padding-left: 56px; }
.hp-secy-msg i { position: absolute; left: 0; top: 2px; font-size: 34px; color: var(--hp-gold); }
.hp-secy-msg p { font-size: 16px; line-height: 1.85; color: #33443b; margin: 0; }
.hp-secy .hp-btns a { margin-right: 10px; }
.hp-ghost { display: inline-block; padding: 10px 20px; border-radius: 10px; border: 1px solid var(--hp-g); color: var(--hp-g) !important; font-weight: 700; font-size: 13.5px; }

/* RR 26-Nov-2026 Minister + Secretary side by side */
.hp-ldr { background: linear-gradient(180deg, var(--hp-gl), #fff); }
.hp-ldr .row { display: flex; flex-wrap: wrap; }
.hp-ldr .row > div { display: flex; margin-bottom: 24px; }
.hp-ldr-card { width: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 30px; border-top: 5px solid var(--hp-gold); box-shadow: 0 30px 60px -34px rgba(20,90,60,.45); }
.hp-ldr-top { display: flex; gap: 22px; align-items: center; }
.hp-ldr-ph { width: 150px; height: 180px; flex: none; border-radius: 16px; overflow: hidden; background: var(--hp-gl); border: 4px solid #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); }
.hp-ldr-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hp-ldr-card h3 { font-size: 24px; font-weight: 800; margin: 8px 0 4px; color: var(--hp-ink); }
.hp-ldr-des { color: var(--hp-g); font-weight: 700; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.hp-ldr-msg { position: relative; flex: 1; margin: 22px 0; padding-left: 46px; }
.hp-ldr-msg i { position: absolute; left: 0; top: 2px; font-size: 28px; color: var(--hp-gold); }
.hp-ldr-msg p { font-size: 15px; line-height: 1.8; color: #33443b; margin: 0; }
@media (max-width: 991px) { .hp-ldr .row > div { width: 100%; } }
@media (max-width: 767px) {
    .hp-ldr-card { padding: 22px; }
    .hp-ldr-top { flex-direction: column; align-items: flex-start; }
    .hp-ldr-ph { width: 100%; height: 320px; }
    .hp-ldr-msg { padding-left: 38px; }
    .hp-ldr-msg p { font-size: 14.5px; }
}
/* RR 26-Nov-2026 End */

/* ---------- helpline + FM ---------- */
.hp-help { padding: 30px; display: flex; gap: 30px; align-items: center; height: 100%; }
.hp-help .num { font-size: 76px; font-weight: 800; color: #c62828; line-height: 1; }
.hp-help .lbl { font-size: 11px; color: var(--hp-mut); letter-spacing: 2px; font-weight: 700; }
.hp-help h4 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.hp-help p { color: var(--hp-mut); font-size: 13.5px; margin: 0 0 10px; }
.hp-help ul { list-style: none; padding: 0; margin: 0; columns: 2; font-size: 13px; }
.hp-help li { margin-bottom: 6px; }
.hp-help li i { color: var(--hp-g); }
.hp-fm { background: var(--hp-g); color: #fff; border-radius: 16px; padding: 30px; height: 100%; }
.hp-fm .lbl { color: var(--hp-gold); font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.hp-fm h4 { color: #fff; font-size: 20px; font-weight: 800; margin: 8px 0; }
.hp-fm p { color: #c6ddd0; font-size: 13.5px; }
.hp-fm a { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--hp-g); font-weight: 700; padding: 10px 18px; border-radius: 99px; font-size: 13.5px; margin-top: 6px; }
.hp-fm a i { width: 30px; height: 30px; border-radius: 50%; background: var(--hp-g); color: #fff; display: grid; place-items: center; }

/* ---------- documents ---------- */
.hp-docs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.hp-docs a { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; color: var(--hp-ink); font-weight: 600; font-size: 13.5px; }
.hp-docs a:hover { border-color: var(--hp-g3); color: var(--hp-g); }
.hp-docs i { color: var(--hp-gold2); font-size: 16px; width: 18px; text-align: center; }

/* ---------- functions ---------- */
.hp-fn { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hp-fn > div { padding: 22px; border: 1px solid var(--hp-line); border-radius: 14px; background: #fff; }
.hp-fn i { width: 42px; height: 42px; border-radius: 12px; background: var(--hp-gl); color: var(--hp-g); display: grid; place-items: center; font-size: 18px; }
.hp-fn b { display: block; font-size: 14.5px; margin: 14px 0 6px; }
.hp-fn small { color: var(--hp-mut); font-size: 12.5px; line-height: 1.5; display: block; }

/* ---------- footer ---------- */
.hp-footer { background: var(--hp-g2); color: #c6ddd0; padding-top: 56px; border-top: 4px solid var(--hp-gold); }
.hp-footer h5 { color: #fff; font-weight: 700; font-size: 14px; margin: 6px 0 16px; }
.hp-footer ul { list-style: none; padding: 0; margin: 0 0 24px; }
.hp-footer ul li { margin-bottom: 9px; }
.hp-footer a { color: #c6ddd0; font-size: 13.5px; }
.hp-footer a:hover { color: var(--hp-gold); }
.hp-fbrand p { margin: 16px 0; font-size: 13.5px; line-height: 1.7; }
.hp-social { display: flex; gap: 10px; }
.hp-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; font-size: 15px; }
.hp-social a:hover { background: var(--hp-gold); color: var(--hp-ink); }
.hp-copy { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 12.5px; margin-top: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .hp-docs, .hp-fn { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .hp-topbar .hp-gov { display: none; }
    .hp-topbar .container-fluid { padding: 6px 15px; }
    .hp-stats .wrapx { flex-wrap: wrap; }
    .hp-total { border-right: 0; width: 100%; margin-bottom: 10px; }
    .hp-stat { flex: 0 0 25%; }
    .hp-quick a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .hp-tiles { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
    .hp-main-news .img { height: 260px; }
    .hp-side-news { margin-top: 26px; }
    .hp-col-gap > div { margin-bottom: 20px; }
}
@media (max-width: 767px) {
    .hp-sec { padding: 46px 0; }
    .hp-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hp-head h2 { font-size: 25px; }
    .hp-stat { flex: 0 0 50%; }
    .hp-docs, .hp-fn { grid-template-columns: repeat(2, 1fr); }
    .hp-help { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hp-lead { flex-direction: column; }
    .hp-secy-ph { height: 340px; margin-bottom: 24px; }
    .hp-secy h2 { font-size: 27px; }
    .hp-secy-msg { padding-left: 42px; }
    .hp-secy-msg p { font-size: 14.5px; }
    .hp-tbl td.dt { width: auto; white-space: normal; }
    .hp-tbl th, .hp-tbl td { padding: 12px 10px; word-break: break-word; font-size: 13px; }
    .hp-tbl td.ac { width: 70px; }
}


/* =====================================================================
   RR 25-Nov-2026 Inner pages (all pages linked from home use this layout)
   Only overrides old theme classes; page markup unchanged.
   ===================================================================== */

/* page banner */
body.hp .inner-header { background-color: var(--hp-g2) !important; position: relative; }
body.hp .inner-header.layer-overlay::before,
body.hp .inner-header.layer-overlay:before {
    background: linear-gradient(100deg, rgba(15,74,49,.96) 0%, rgba(20,90,60,.88) 55%, rgba(29,122,80,.75) 100%) !important;
    opacity: 1 !important;
}
body.hp .inner-header > .container { padding-top: 54px !important; padding-bottom: 54px !important; position: relative; z-index: 2; }
body.hp .inner-header h2,
body.hp .inner-header .title { color: #fff !important; font-weight: 800; font-size: 30px; letter-spacing: .3px; text-transform: capitalize; text-shadow: none; margin: 0; }
body.hp .main-content > section.inner-header.layer-overlay .text-theme-colored { color: var(--hp-gold) !important; }
body.hp .main-content > section.inner-header h4 { color: #fff; }
body.hp .inner-header h2:after { content: ""; display: block; width: 54px; height: 3px; background: var(--hp-gold); margin: 14px auto 0; border-radius: 3px; }
body.hp .inner-header .text-left h2:after { margin-left: 0; }
body.hp .inner-header p, body.hp .inner-header h5, body.hp .inner-header h6 { color: #cfe3d7 !important; }

/* content spacing after banner */
body.hp .main-content > section:not(.inner-header):not([class*="hp-"]) > .container { padding-top: 50px; padding-bottom: 60px; }

/* tables (not the home tenders table) */
body.hp .main-content > section:not([class*="hp-"]) table:not(.hp-tbl) { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; overflow: hidden; }
body.hp .main-content > section:not([class*="hp-"]) table:not(.hp-tbl) th { background: var(--hp-g) !important; color: #fff !important; font-weight: 700; font-size: 12.5px; letter-spacing: .4px; padding: 13px 12px; border: 0 !important; vertical-align: middle; }
body.hp .main-content > section:not([class*="hp-"]) table:not(.hp-tbl) td { padding: 12px; border: 0 !important; border-top: 1px solid var(--hp-line) !important; font-size: 13.5px; font-weight: 500; color: var(--hp-ink); vertical-align: middle; }
body.hp .main-content > section:not([class*="hp-"]) table:not(.hp-tbl) tr { font-weight: 500; }
body.hp .main-content > section:not([class*="hp-"]) table:not(.hp-tbl) tr:nth-child(even) { background-color: var(--hp-bg) !important; }
body.hp .main-content > section:not([class*="hp-"]) table:not(.hp-tbl) tr:hover td { background-color: var(--hp-gl); }

/* buttons */
body.hp .main-content > section:not([class*="hp-"]) .button,
body.hp .main-content > section:not([class*="hp-"]) .btn-group a,
body.hp .main-content > section:not([class*="hp-"]) .btn-success,
body.hp .main-content > section:not([class*="hp-"]) .btn-info,
body.hp .main-content > section:not([class*="hp-"]) .btn-theme-colored,
body.hp .thumbnail > p > a {
    background: var(--hp-g) !important; border: 1px solid var(--hp-g) !important; color: #fff !important;
    border-radius: 8px; padding: 7px 16px; font-weight: 600; font-size: 12.5px; text-shadow: none; box-shadow: none;
}
body.hp .main-content > section:not([class*="hp-"]) .button:hover,
body.hp .main-content > section:not([class*="hp-"]) .btn-group a:hover,
body.hp .main-content > section:not([class*="hp-"]) .btn-success:hover,
body.hp .main-content > section:not([class*="hp-"]) .btn-info:hover,
body.hp .main-content > section:not([class*="hp-"]) .btn-theme-colored:hover,
body.hp .thumbnail > p > a:hover { background: var(--hp-gold) !important; border-color: var(--hp-gold) !important; color: var(--hp-ink) !important; }
body.hp .main-content > section:not([class*="hp-"]) .btn-group a { margin: 0 6px 6px 0; }

/* search boxes / inputs */
body.hp .main-content > section:not([class*="hp-"]) .form-control { border-radius: 10px; border: 1px solid #d5e2da; height: 42px; box-shadow: none; font-size: 13.5px; }
body.hp .main-content > section:not([class*="hp-"]) textarea.form-control { height: auto; }
body.hp .main-content > section:not([class*="hp-"]) .form-control:focus { border-color: var(--hp-g3); box-shadow: 0 0 0 3px rgba(29,122,80,.15); }

/* pagination */
body.hp .pagination > li > a, body.hp .pagination > li > span { color: var(--hp-g) !important; border-color: var(--hp-line) !important; border-radius: 8px !important; margin: 0 3px; font-weight: 600; }
body.hp .pagination > .active > a, body.hp .pagination > .active > span,
body.hp .pagination > .active > a:hover { background: var(--hp-g) !important; border-color: var(--hp-g) !important; color: #fff !important; }
body.hp .pagination-lg > li > a { font-size: 14px; padding: 8px 14px; }

/* tabs */
body.hp .main-content > section:not([class*="hp-"]) .nav-tabs { border-bottom: 1px solid var(--hp-line); }
body.hp .main-content > section:not([class*="hp-"]) .nav-tabs > li > a { color: var(--hp-mut); font-weight: 600; border-radius: 10px 10px 0 0; }
body.hp .main-content > section:not([class*="hp-"]) .nav-tabs > li.active > a,
body.hp .main-content > section:not([class*="hp-"]) .nav-tabs > li.active > a:hover,
body.hp .main-content > section:not([class*="hp-"]) .nav-tabs > li.active > a:focus { background: var(--hp-g) !important; color: #fff !important; border-color: var(--hp-g) !important; }

/* panels (About, Secretary details) */
body.hp .main-content > section:not([class*="hp-"]) .panel { border: 1px solid var(--hp-line); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -32px rgba(20,90,60,.4); }
body.hp .main-content > section:not([class*="hp-"]) .panel-heading { background: var(--hp-g) !important; border: 0; border-bottom: 3px solid var(--hp-gold) !important; padding: 14px 18px; }
body.hp .main-content > section:not([class*="hp-"]) .panel-heading, body.hp .main-content > section:not([class*="hp-"]) .panel-heading .title, body.hp .main-content > section:not([class*="hp-"]) .panel-heading h3 { color: #fff !important; font-weight: 700; font-size: 16px; margin: 0; }
body.hp .main-content > section:not([class*="hp-"]) .img-thumbnail { border-radius: 12px; border-color: var(--hp-line); }

/* cards used on facility / info pages */
body.hp .main-content > section:not([class*="hp-"]) .thumbnail { border: 1px solid var(--hp-line); border-radius: 14px; padding: 26px 18px; box-shadow: 0 20px 40px -32px rgba(20,90,60,.45); transition: transform .15s; }
body.hp .main-content > section:not([class*="hp-"]) .thumbnail:hover { transform: translateY(-3px); border-color: var(--hp-g3); }
body.hp .main-content > section:not([class*="hp-"]) .thumbnail h4 { color: var(--hp-ink); font-weight: 700; font-size: 15px; }
body.hp .main-content > section:not([class*="hp-"]) .well, body.hp .main-content > section:not([class*="hp-"]) .x_panel { border: 1px solid var(--hp-line); border-radius: 14px; background: #fff; box-shadow: none; }
body.hp .main-content > section:not([class*="hp-"]) .alert-info { background: var(--hp-gl); border-color: #cfe5d8; color: var(--hp-g2); border-radius: 12px; }

/* text links in content */
body.hp .main-content > section:not([class*="hp-"]) a:not(.button):not(.btn):not([class*="hp-"]) { color: var(--hp-g); }
body.hp .main-content > section:not([class*="hp-"]) a:not(.button):not(.btn):not([class*="hp-"]):hover { color: var(--hp-gold2); }
body.hp .main-content > section:not([class*="hp-"]) .text-theme-colored { color: var(--hp-g) !important; }

@media (max-width: 767px) {
    body.hp .inner-header > .container { padding-top: 36px !important; padding-bottom: 36px !important; }
    body.hp .inner-header h2, body.hp .inner-header .title { font-size: 22px; }
    body.hp .main-content > section:not(.inner-header):not([class*="hp-"]) > .container { padding-top: 30px; padding-bottom: 40px; }
}

/* RR 25-Nov-2026 collapsed (mobile) menu: menuzord switches at 900px */
@media (max-width: 899px) {
    .hp-nav .container-fluid { padding: 6px 15px; }
    .hp-nav .menuzord-menu > li > a { padding: 12px 14px; color: #fff !important; }
    .hp-nav .menuzord-menu { background: var(--hp-g); }
    .hp-nav .menuzord-menu ul.dropdown, .hp-nav .menuzord-menu .megamenu { border-radius: 0; box-shadow: none; }
    .hp-nav .menu-right li.hp-ico { display: inline-block; }
    .hp-nav .menu-right li.hp-call a { margin: 8px 14px; display: inline-block; }
}

/* RR 25-Nov-2026 laptop / tablet fixes */
@media (min-width: 768px) and (max-width: 1199px) {
    .hp-quick .col-md-2 { width: 33.333%; }
    .hp-quick a { border-bottom: 1px solid rgba(255,255,255,.12); }
    .hp-stats .wrapx { flex-wrap: wrap; }
    .hp-total { border-right: 0; width: 100%; margin-bottom: 10px; }
    .hp-stat { flex: 0 0 25%; }
}

/* RR 25-Nov-2026 stats: numbers in one line even when labels wrap */
.hp-stat { align-self: flex-start; }
.hp-total { align-self: center; }
.hp-stat small { display: block; line-height: 1.45; }

/* RR 25-Nov-2026 mobile header: logo and menu button in one row */
@media (max-width: 899px) {
    .hp-nav .menuzord-brand { margin: 10px 0; }
    .hp-nav .menuzord-brand img { height: 38px; }
    .hp-nav .showhide { margin-top: 6px; }
}
@media (max-width: 400px) {
    .hp-nav .menuzord-brand img { height: 32px; }
}