
/* ---------- Sector Front-End Pages (AllSectorsList & SectorsDetailsList) ---------- */
.sector-page-wrapper {
    background: linear-gradient(180deg, #e8f4ff 0%, #f4f9ff 100%);
    min-height: 65vh;
    padding: 2rem 0 3.5rem;
}

.sector-hero-banner {
    background: linear-gradient(135deg, #0a2670 0%, #00188f 55%, #4a69bc 100%);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(10, 38, 112, 0.16), 0 4px 10px rgba(10, 38, 112, 0.08);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.sector-hero-banner::after {
    content: "";
    position: absolute;
    right: -45px;
    top: -45px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 156, 255, 0.3) 0%, rgba(0, 156, 255, 0) 70%);
    pointer-events: none;
}

.sector-back-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff !important;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-back-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateX(-2px);
}

.sector-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #e2f2ff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
}

.sector-search-bar {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(10, 38, 112, 0.07), 0 1px 3px rgba(10, 38, 112, 0.05);
    border: 1px solid rgba(168, 218, 219, 0.65);
    margin-bottom: 1.5rem;
}

.sector-search-input-wrap {
    position: relative;
}

.sector-search-input-wrap .sector-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a69bc;
    pointer-events: none;
}

.sector-search-input-wrap input {
    padding-left: 40px;
    padding-right: 38px;
    height: 44px;
    border-radius: 10px;
}

.sector-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #777777;
    cursor: pointer;
    padding: 4px 8px;
    display: none;
}

.sector-search-clear:hover {
    color: #0a2670;
}

.sector-filter-pill {
    border: 1px solid #a8dadb;
    background: #f6fcff;
    color: #0a2670;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sector-filter-pill:hover {
    background: #e2f2ff;
}

.sector-filter-pill.active {
    background: #0a2670;
    color: #ffffff;
    border-color: #0a2670;
    box-shadow: 0 3px 10px rgba(10, 38, 112, 0.2);
}

.sector-grid-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(168, 218, 219, 0.65);
    box-shadow: 0 4px 12px rgba(10, 38, 112, 0.07), 0 1px 3px rgba(10, 38, 112, 0.05);
    padding: 1.35rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.sector-grid-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a2670, #009cff, #dd7900);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.sector-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(10, 38, 112, 0.16), 0 4px 12px rgba(0, 156, 255, 0.12);
    border-color: rgba(0, 156, 255, 0.55);
}

.sector-grid-card:hover::before {
    opacity: 1;
}

.sector-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6fcff 0%, #e2f2ff 100%);
    border: 1px solid rgba(168, 218, 219, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0a2670;
    font-size: 1.4rem;
    box-shadow: 0 1px 3px rgba(10, 38, 112, 0.06);
}

.sector-icon-badge img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.sector-card-title {
    color: #0a2670;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.35;
    margin: 0;
}

.sector-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.sector-type-pill.type-category {
    background-color: #e2f2ff;
    color: #0a2670;
}

.sector-type-pill.type-office {
    background-color: #fff4e0;
    color: #b85d00;
}

.sector-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007bff;
    font-weight: 600;
    font-size: 0.84rem;
    margin-top: 1rem;
    transition: gap 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.sector-grid-card:hover .sector-cta-link {
    gap: 10px;
    color: #0a2670;
}


/* ---------- Contact Us Front-End Page ---------- */
.contact-ui-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(168, 218, 219, 0.65);
    border-left: 4px solid #0a2670;
    box-shadow: 0 4px 12px rgba(10, 38, 112, 0.07), 0 1px 3px rgba(10, 38, 112, 0.05);
    padding: 1.25rem 1.35rem;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-left-color 0.22s ease;
}

.contact-ui-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(10, 38, 112, 0.13);
    border-left-color: #009cff;
}

.contact-card-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4a69bc;
}

.contact-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 9px;
    background-color: #f6fcff;
    border: 1px solid rgba(168, 218, 219, 0.6);
    color: #0a2670 !important;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none !important;
    word-break: break-all;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.contact-link-pill:hover {
    background-color: #e2f2ff;
    border-color: #009cff;
    transform: translateX(3px);
}

.contact-phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: #e2f2ff;
    color: #0a2670 !important;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.contact-phone-pill:hover {
    background-color: #0a2670;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.contact-map-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(168, 218, 219, 0.65);
    box-shadow: 0 8px 24px rgba(10, 38, 112, 0.1);
    overflow: hidden;
}

.contact-map-header {
    background: linear-gradient(90deg, #f6fcff 0%, #e2f2ff 100%);
    padding: 14px 20px;
    border-bottom: 1px solid rgba(168, 218, 219, 0.6);
}

/* ---------- Public Front-End Footer Redesign ---------- */
.front-footer {
    background: linear-gradient(135deg, #4a69bc 0%, #3c59ad 55%, #4a69bc 100%) !important;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #0a2670, #009cff, #dd7900) 1;
    box-shadow: 0 -8px 24px rgba(10, 38, 112, 0.16);
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.front-footer-logo-wrap {
    background: transparent;
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
}

.front-footer-logo-wrap .footerLogo {
    width: 72px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(10, 38, 112, 0.25));
}

.front-footer-heading {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 156, 255, 0.45);
    display: inline-block;
}

.front-footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2f2ff !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.front-footer-chip:hover {
    background: rgba(0, 156, 255, 0.25);
    border-color: rgba(0, 156, 255, 0.6);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.front-footer-links li {
    margin-bottom: 8px;
}

.front-footer-links a {
    color: rgba(226, 242, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.front-footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.front-footer-links a i {
    color: #009cff;
    font-size: 0.78rem;
}

.front-footer-map-box {
    display: inline-block;
    background: transparent;
    padding: 4px;
}

.front-footer-map {
    max-height: 210px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 10px rgba(10, 38, 112, 0.22));
}

.front-footer-bottom {
    background: rgba(10, 38, 112, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.front-footer-accent-link {
    color: #7cd4ff !important;
    font-weight: 600;
    text-decoration: none;
}

.front-footer-accent-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.front-footer-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2f2ff;
    font-size: 0.78rem;
}

/* ---------- Public Front-End Navbar Redesign & Hover Effects ---------- */
.topRowBlockMain {
    min-height: 32px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.topRowBlockMain .socialMediaRow .btn-square {
    width: 28px !important;
    height: 28px !important;
    margin: 3px 3px !important;
    font-size: 0.78rem !important;
}

.brandContactRow,
.logoBar,
.container-fluid.py-4.px-5 {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.front-navbar {
    background: linear-gradient(90deg, #0a2670 0%, #00188f 50%, #0a2670 100%) !important;
    border-bottom: 2px solid rgba(0, 156, 255, 0.35);
    box-shadow: 0 6px 20px rgba(10, 38, 112, 0.24) !important;
    min-height: 44px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.front-navbar .navbar-collapse {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.front-navbar .front-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 6px 15px !important;
    margin: 1px 2px;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.45px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease !important;
}

.front-navbar .front-nav-link .front-nav-icon {
    font-size: 0.85rem;
    color: rgba(168, 218, 219, 0.9);
    transition: color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.front-navbar .front-nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #009cff, #dd7900);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.front-navbar .front-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.front-navbar .front-nav-link:hover .front-nav-icon {
    color: #009cff;
    transform: scale(1.12);
}

.front-navbar .front-nav-link:hover::after {
    transform: scaleX(1);
}

.front-navbar .front-nav-link.active {
    background: linear-gradient(135deg, #e2f2ff 0%, #a8dadb 100%) !important;
    color: #0a2670 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 156, 255, 0.32);
}

.front-navbar .front-nav-link.active .front-nav-icon {
    color: #0a2670 !important;
}

.front-navbar .front-nav-link.active::after {
    transform: scaleX(0);
}

.front-nav-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
}

.front-nav-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.35) !important;
}

/* ---------- Fundamental Duties Front-End Page ---------- */
.duty-preamble-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(168, 218, 219, 0.65);
    border-left: 5px solid #dd7900;
    box-shadow: 0 4px 14px rgba(10, 38, 112, 0.08);
    padding: 1.25rem 1.5rem;
}

.duty-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(168, 218, 219, 0.65);
    box-shadow: 0 4px 12px rgba(10, 38, 112, 0.07), 0 1px 3px rgba(10, 38, 112, 0.05);
    padding: 1.25rem 1.35rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.duty-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0a2670, #009cff, #dd7900);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.duty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(10, 38, 112, 0.14);
    border-color: rgba(0, 156, 255, 0.5);
}

.duty-card:hover::before {
    opacity: 1;
}

.duty-code-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a2670 0%, #4a69bc 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(10, 38, 112, 0.2);
}

.duty-card-title {
    color: #0a2670;
    font-weight: 700;
    font-size: 0.96rem;
}

.duty-card-text {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- Public Front-End Breadcrumb Bar ---------- */
.front-breadcrumb-wrap {
    background: linear-gradient(90deg, #f6fcff 0%, #eaf5ff 100%);
    border-bottom: 1px solid rgba(168, 218, 219, 0.7);
    box-shadow: 0 2px 8px rgba(10, 38, 112, 0.05);
    padding: 10px 0;
}

.front-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    background: transparent !important;
    padding: 0 !important;
    font-size: 0.84rem !important;
}

.front-breadcrumb-list .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem !important;
    color: #4a69bc;
    font-weight: 500;
}

.front-breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #94a3b8;
    font-size: 0.72rem;
    padding-right: 8px;
    padding-left: 4px;
}

.front-breadcrumb-list .breadcrumb-item a {
    color: #4a69bc !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.84rem !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.front-breadcrumb-list .breadcrumb-item a:hover {
    background-color: rgba(0, 156, 255, 0.12);
    color: #0a2670 !important;
}

.front-breadcrumb-list .breadcrumb-item.active {
    color: #0a2670 !important;
    font-weight: 700;
    background-color: rgba(10, 38, 112, 0.07);
    padding: 2px 10px;
    border-radius: 999px;
}

/* ---------- Preserved Tab Header Colours (Blue Contacts / Orange Offices & Sub-Divisions) ---------- */
#categoryTabs.nav-tabs {
    border-bottom: 2px solid rgba(74, 105, 188, 0.22);
    gap: 8px;
}

#categoryTabs .nav-link {
    border-radius: 10px 10px 0 0 !important;
    border: 1px solid transparent;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#categoryTabs .contactstab .nav-link {
    background-color: #e2f2ff !important;
    color: #0a2670 !important;
    border-color: rgba(10, 38, 112, 0.2) !important;
}

#categoryTabs .contactstab .nav-link:hover {
    background-color: #cce6ff !important;
    color: #00188f !important;
}

#categoryTabs .contactstab .nav-link.active {
    background: linear-gradient(135deg, #0a2670 0%, #007bff 100%) !important;
    color: #ffffff !important;
    border-color: #0a2670 !important;
    box-shadow: 0 -2px 12px rgba(0, 123, 255, 0.28);
}

#categoryTabs .subcategorytab .nav-link {
    background-color: #fff4e0 !important;
    color: #b85d00 !important;
    border-color: rgba(221, 121, 0, 0.3) !important;
}

#categoryTabs .subcategorytab .nav-link:hover {
    background-color: #ffe6bd !important;
    color: #9a4d00 !important;
}

#categoryTabs .subcategorytab .nav-link.active {
    background: linear-gradient(135deg, #dd7900 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    border-color: #dd7900 !important;
    box-shadow: 0 -2px 12px rgba(221, 121, 0, 0.3);
}

/* ---------- Entity Cover Banner + Overlapping Profile Frame + Single-Row Tabs ---------- */
.entity-profile-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(168, 218, 219, 0.7);
    box-shadow: 0 8px 24px rgba(10, 38, 112, 0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.entity-cover-frame {
    position: relative;
    height: 190px;
    width: 100%;
    background: linear-gradient(135deg, #0a2670 0%, #00188f 55%, #4a69bc 100%);
    overflow: hidden;
}

.entity-cover-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 38, 112, 0.18) 0%, rgba(10, 38, 112, 0.45) 100%);
    pointer-events: none;
}

.entity-cover-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.entity-cover-back {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 3;
}

.entity-profile-body {
    padding: 0 1.75rem 1.5rem;
    position: relative;
}

.entity-avatar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: -56px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
}

.entity-avatar-frame {
    width: 112px;
    height: 112px;
    border-radius: 16px;
    background: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(10, 38, 112, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.entity-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.entity-avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2f2ff 0%, #cce6ff 100%);
    color: #0a2670;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

/* Force single-row full-width tabs (overrides vendor 50% wrap bug) */
#categoryTabs.nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    border-bottom: 2px solid rgba(74, 105, 188, 0.22) !important;
}

#categoryTabs.nav-tabs > .nav-item {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

#categoryTabs.nav-tabs > .nav-item > .nav-link {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    padding: 11px 16px !important;
}

@media (max-width: 575.98px) {
    .entity-cover-frame {
        height: 140px;
    }
    .entity-avatar-frame {
        width: 88px;
        height: 88px;
    }
    .entity-avatar-row {
        margin-top: -44px;
    }
}

/* ---------- Home Screen "WHAT ARE YOU LOOKING FOR?" Hero Search Panel ---------- */
#nsearchform.home-hero-search {
    background: linear-gradient(135deg, rgba(10, 38, 112, 0.94) 0%, rgba(56, 86, 172, 0.94) 100%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 18px !important;
    padding: 1.25rem 1.75rem 1.25rem !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 20px 44px rgba(10, 38, 112, 0.34), 0 6px 16px rgba(0, 0, 0, 0.16) !important;
    position: relative;
    overflow: hidden;
}

#nsearchform.home-hero-search::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009cff 0%, #dd7900 50%, #009cff 100%);
}

.home-search-heading {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.7px;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    margin-bottom: 4px;
}

.home-search-sub {
    color: rgba(226, 242, 255, 0.88) !important;
    font-size: 0.88rem !important;
}

.home-field-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2f2ff !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px !important;
}

.home-field-label i {
    color: #009cff;
}

#nsearchform .home-search-input {
    height: 46px !important;
    background-color: #ffffff !important;
    color: #0a2670 !important;
    border: 1px solid rgba(168, 218, 219, 0.8) !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-size: 0.92rem !important;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(10, 38, 112, 0.14) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#nsearchform .home-search-input::placeholder {
    color: #64748b !important;
}

#nsearchform .home-search-input:focus {
    border-color: #009cff !important;
    box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.35), 0 4px 12px rgba(10, 38, 112, 0.18) !important;
    outline: none !important;
}

/* Pixel-match Select2 inside Home Search Panel */
#nsearchform .select2-container {
    width: 100% !important;
}

#nsearchform .select2-container--default .select2-selection--single {
    height: 46px !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(168, 218, 219, 0.8) !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 10px rgba(10, 38, 112, 0.14) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
}

#nsearchform .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0a2670 !important;
    font-size: 0.92rem !important;
    font-weight: 500;
    line-height: 44px !important;
    padding-left: 4px !important;
    padding-right: 26px !important;
}

#nsearchform .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #64748b !important;
}

#nsearchform .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 8px !important;
}

#nsearchform .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #009cff !important;
    box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.35) !important;
}

.home-btn-search {
    background: linear-gradient(135deg, #009cff 0%, #007bff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 26px !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(0, 156, 255, 0.38) !important;
}

.home-btn-search:hover {
    background: linear-gradient(135deg, #008ae6 0%, #0066d6 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 156, 255, 0.5) !important;
}

.home-btn-reset {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 999px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.4px;
}

.home-btn-reset:hover {
    background: rgba(220, 38, 38, 0.85) !important;
    border-color: rgba(220, 38, 38, 0.9) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.home-adv-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(221, 121, 0, 0.92);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.84rem !important;
    box-shadow: 0 4px 14px rgba(221, 121, 0, 0.35);
    transition: background-color 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.home-adv-pill:hover {
    background: #c56a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(221, 121, 0, 0.48);
}

@media (max-width: 767.98px) {
    #nsearchform.home-hero-search {
        padding: 1.25rem 1rem !important;
    }
    .home-search-heading {
        font-size: 1.15rem !important;
    }
}

/* Smooth hover transitions across Home cards & interactive elements */
.orgcategory .fact-item,
.sectorBlock .service-item,
.sector-grid-card,
.contact-ui-card,
.duty-card,
.contact_cards .card {
    will-change: transform, box-shadow;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease,
                background-color 0.35s ease !important;
}

.orgcategory .fact-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    background: #a8dadb !important;
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(10, 38, 112, 0.14) !important;
    overflow: hidden !important;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.38s ease !important;
}

.orgcategory .fact-item .category_title {
    min-height: 68px !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #a8dadb !important;
    transition: background-color 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.orgcategory .fact-item .category_title h6 {
    color: #0a2670 !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    transition: color 0.38s ease !important;
}

.orgcategory .fact-item img {
    width: 100% !important;
    height: 210px !important;
    object-fit: contain !important;
    padding: 14px !important;
    background: #ffffff !important;
    display: block !important;
    flex-grow: 1;
}

.orgcategory .fact-item .category-footer {
    background-color: #a8dadb !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    margin-top: auto !important;
    transition: background-color 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.orgcategory .fact-item .category-footer .see_details {
    color: #0a2670 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.4px;
    margin: 0 !important;
    transition: color 0.38s ease !important;
}

.orgcategory .fact-item:hover {
    transform: translate3d(0, -6px, 0) !important;
    background: #0a2670 !important;
    box-shadow: 0 16px 34px rgba(10, 38, 112, 0.24) !important;
}

.orgcategory .fact-item:hover .category_title,
.orgcategory .fact-item:hover .category-footer {
    background-color: #0a2670 !important;
}

.orgcategory .fact-item:hover .category_title h6,
.orgcategory .fact-item:hover .category-footer .see_details {
    color: #ffffff !important;
}

.sectorBlock .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(10, 38, 112, 0.16);
}

.btn,
.front-nav-link,
.front-footer-chip,
.contact-phone-pill,
.contact-link-pill,
.home-adv-pill {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease !important;
}

/* ---------- Home Screen "VIEW CONTACTS BY SECTORS" Block ---------- */
.home-sector-kicker {
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a2670 0%, #4a69bc 100%);
    color: #ffffff;
    font-size: 0.74rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 4px 12px rgba(10, 38, 112, 0.2);
}

.home-sector-heading {
    color: #0a2670 !important;
    font-weight: 800 !important;
    font-size: 1.65rem !important;
    letter-spacing: 0.5px;
}

.home-sector-divider {
    width: 76px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0a2670 0%, #009cff 55%, #dd7900 100%);
}

.sectorBlock .home-sector-card {
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(74, 105, 188, 0.18) !important;
    border-bottom: 3px solid #4a69bc !important;
    box-shadow: 0 8px 20px rgba(10, 38, 112, 0.08), 0 2px 5px rgba(10, 38, 112, 0.04) !important;
    padding: 1.4rem 0.95rem 1.1rem !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    gap: 10px;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease,
                background-color 0.35s ease !important;
}

.sectorBlock .home-sector-card:hover {
    transform: translate3d(0, -5px, 0) !important;
    margin: 0 !important;
    padding: 1.4rem 0.95rem 1.1rem !important;
    background: #ffffff !important;
    border-color: rgba(0, 156, 255, 0.45) !important;
    border-bottom-color: #dd7900 !important;
    box-shadow: 0 16px 32px rgba(10, 38, 112, 0.16), 0 4px 12px rgba(0, 156, 255, 0.14) !important;
}

.home-sector-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 35%, #d6ecff 100%);
    border: 2px solid rgba(74, 105, 188, 0.22);
    box-shadow: 0 4px 12px rgba(10, 38, 112, 0.1), inset 0 0 0 3px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex-shrink: 0;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.home-sector-icon-wrap img.sector-img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

.sectorBlock .home-sector-card:hover .home-sector-icon-wrap {
    border-color: #009cff;
    box-shadow: 0 6px 16px rgba(0, 156, 255, 0.28), inset 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.home-sector-title {
    color: #0a2670 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    min-height: 2.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.25px;
    transition: color 0.35s ease;
}

.sectorBlock .home-sector-card:hover .home-sector-title {
    color: #007bff !important;
}

.home-sector-explore {
    font-size: 0.72rem !important;
    font-weight: 700;
    color: #4a69bc;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: opacity 0.35s ease, color 0.35s ease;
}

.home-sector-explore i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sectorBlock .home-sector-card:hover .home-sector-explore {
    opacity: 1;
    color: #dd7900;
}

.sectorBlock .home-sector-card:hover .home-sector-explore i {
    transform: translateX(4px);
}

.home-sectors-all-btn {
    background: linear-gradient(135deg, #0a2670 0%, #4a69bc 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 26px !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    box-shadow: 0 6px 16px rgba(10, 38, 112, 0.22) !important;
}

.home-sectors-all-btn:hover {
    background: linear-gradient(135deg, #00188f 0%, #007bff 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.32) !important;
}

/* ---------- Home Screen: Important Links, Feedback & Partner Logos ---------- */
.home-impt-section {
    background: linear-gradient(135deg, #0a2670 0%, #00188f 55%, #4a69bc 100%) !important;
    position: relative;
}

.home-impt-kicker {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e2f2ff;
    font-size: 0.76rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.home-impt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(168, 218, 219, 0.6);
    padding: 1.75rem 1.25rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.36s ease;
}

.home-impt-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009cff, #dd7900);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-impt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.home-impt-card:hover::before {
    opacity: 1;
}

.home-impt-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: linear-gradient(135deg, #e2f2ff 0%, #cce6ff 100%);
    color: #0a2670;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.home-impt-card:hover .home-impt-icon {
    background: linear-gradient(135deg, #0a2670 0%, #007bff 100%);
    color: #ffffff;
}

.home-impt-title {
    color: #0a2670 !important;
    font-weight: 800 !important;
    font-size: 0.94rem !important;
    letter-spacing: 0.4px;
}

.home-impt-sub {
    color: #64748b;
    font-size: 0.78rem !important;
    font-weight: 500;
}

/* Feedback Card */
.home-feedback-card {
    background: linear-gradient(135deg, #ffffff 0%, #f2f8ff 100%);
    border-radius: 20px;
    border: 1px solid rgba(168, 218, 219, 0.75);
    border-top: 4px solid #dd7900;
    box-shadow: 0 10px 28px rgba(10, 38, 112, 0.09);
    padding: 2.5rem 2rem;
}

.home-feedback-icon-wrap {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    background: #e2f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(10, 38, 112, 0.1);
}

.home-feedback-icon-wrap img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.home-feedback-cta {
    background: linear-gradient(135deg, #dd7900 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 11px 28px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(221, 121, 0, 0.34) !important;
}

.home-feedback-cta:hover {
    background: linear-gradient(135deg, #c26700 0%, #dd7900 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(221, 121, 0, 0.45) !important;
}

/* Partner Logos Strip */
.home-partners-section {
    background: #f4f9ff !important;
    border-top: 1px solid rgba(168, 218, 219, 0.6);
}

.home-partner-tile {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(168, 218, 219, 0.65);
    box-shadow: 0 3px 10px rgba(10, 38, 112, 0.06);
    height: 86px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.3s ease;
}

.home-partner-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(10, 38, 112, 0.13);
    border-color: rgba(0, 156, 255, 0.45);
}

.home-partner-tile img {
    max-height: 58px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}
