/* ==========================================================================
   THE PRESIDENT'S AWARD - KENYA  |  MASTER STYLESHEET
   --------------------------------------------------------------------------
   Rules to keep this file safe to edit:
   1. Every selector is defined ONCE. To change a look, edit it where it lives.
   2. Component styles are scoped to their section; shared helpers
      (.bg-*, .border-*) are scoped so they can't leak into other components.
   3. ALL responsive rules live in the media-query block at the very bottom.
   4. Accessibility modes (high contrast / grayscale) come before responsive
      so they always win.
   ========================================================================== */

/* ==========================================================================
   0. VARIABLES & BASE
   ========================================================================== */
:root {
    --pak-light-blue: #009EDC;
    --pak-cyan-accent: #18b1e7;
    --pak-navy-dark: #00313C;
    --pak-red: #E40046;
    --pak-yellow: #FFCF21;
    --pak-green: #71A100;
    --pak-purple: #882581;
    --pak-charcoal: #1E1E1E;
    --pak-silver: #707578;
    --pak-border: #dfe3e6;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', 'Calibri', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: #2c3338;
    background-color: #ffffff;
    line-height: 1.6;
    transition: font-size 0.2s ease, filter 0.2s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   1. BRAND RIBBON & UTILITY TOP BAR
   ========================================================================== */
.iaf-color-stripe { height: 7px; width: 100%; display: flex; }
.stripe-block { flex: 1; height: 100%; }
.s-red { background-color: var(--pak-red); }
.s-yellow { background-color: var(--pak-yellow); }
.s-blue { background-color: var(--pak-light-blue); }
.s-green { background-color: var(--pak-green); }
.s-purple { background-color: var(--pak-purple); }

.utility-top-bar {
    background-color: var(--pak-navy-dark);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.8rem;
}
.utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.utility-left { display: flex; align-items: center; gap: 12px; }
.govmail-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.govmail-link:hover { color: var(--pak-light-blue); }
.motto-divider { color: var(--pak-silver); }
.motto-text { color: #cfd8dc; font-style: italic; }
.utility-right { display: flex; align-items: center; gap: 14px; }
.follow-label {
    color: var(--pak-silver);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.social-icon-link {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.social-icon-link:hover { color: var(--pak-light-blue); }

/* ==========================================================================
   2. MAIN BRAND HEADER
   ========================================================================== */
.main-header {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid var(--pak-border);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.gov-logo-img {
    height: 70px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}
.brand-center { text-align: center; }
.portal-main-heading {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 900;
    color: var(--pak-navy-dark);
    letter-spacing: -0.5px;
}
.portal-tagline {
    font-size: 11.5px;
    color: var(--pak-silver);
    font-weight: 600;
}
.iaf-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   3. MAIN NAVIGATION & DROPDOWNS
   ========================================================================== */
.main-navigation {
    background-color: var(--pak-light-blue);
    box-shadow: 0 3px 10px rgba(0, 158, 220, 0.25);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.nav-item { position: relative; flex-shrink: 0; }
.nav-link {
    display: block;
    padding: 13px 10px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: background 0.2s;
}
.nav-link:hover,
.nav-link.active { background-color: #0b7bb0; }
.register-btn { background-color: var(--pak-red); }
.register-btn:hover { background-color: #a8161b; }
.staff-mail-nav { background-color: var(--pak-navy-dark); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    min-width: 265px;
    list-style: none;
    display: none;
    z-index: 1000;
    border-top: 3px solid var(--pak-light-blue);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f1f3f5;
}
.dropdown-menu li a:hover {
    background-color: #f0f9ff;
    color: var(--pak-light-blue);
}
.nav-item.has-dropdown:hover .dropdown-menu { display: block; }

/* Sub-section divider + label inside any dropdown */
.dropdown-menu .menu-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 6px 0;
    list-style: none;
    pointer-events: none;
}
.dropdown-menu .menu-section-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--pak-light-blue);
    padding: 8px 18px 4px;
    list-style: none;
    cursor: default;
    background: #f8fafc;
}

/* ==========================================================================
   4. HERO CAROUSEL & STATS STRIP
   ========================================================================== */
.hero-carousel-wrapper {
    position: relative;
    overflow: hidden;
    height: 490px;
    background: #001f26;
}
.carousel-slides { position: relative; height: 100%; }
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.carousel-slide.active { opacity: 1; z-index: 2; }
.slide-content { color: #fff; max-width: 820px; }
.badge-tag {
    background-color: var(--pak-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 15px;
}
.slide-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
}
.slide-desc { font-size: 16px; margin-bottom: 25px; color: #eaf4fb; }
.slide-buttons { display: flex; gap: 15px; }

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 49, 60, 0.65);
    color: #fff;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    border-radius: 3px;
}
.carousel-nav.prev { left: 15px; }
.carousel-nav.next { right: 15px; }
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.car-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.car-dot.active { background: var(--pak-light-blue); }

.stats-strip {
    background-color: var(--pak-navy-dark);
    color: #fff;
    padding: 24px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--pak-light-blue);
}
.stat-label { font-size: 12px; color: #b2c2c9; text-transform: uppercase; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    padding: 12px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary { background: var(--pak-light-blue); color: #fff; }
.btn-primary:hover { background: #0b7bb0; }
.btn-secondary { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-secondary:hover { background: #fff; color: var(--pak-navy-dark); }
.btn-outline {
    border: 1px solid var(--pak-light-blue);
    color: var(--pak-light-blue);
    background: transparent;
}
.btn-outline:hover { background: var(--pak-light-blue); color: #fff; }
.btn-gold-solid {
    background: var(--pak-yellow);
    color: #111;
    font-weight: 800;
    margin-right: 10px;
}
.btn-gold-solid:hover { background: #eab308; }
.btn-white-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 800;
}
.btn-white-outline:hover { background: #ffffff; color: var(--pak-navy-dark); }
.btn-map-full { display: block; text-align: center; text-decoration: none; }

/* ==========================================================================
   6. PORTAL HUB TABS
   ========================================================================== */
.portal-hub-section { padding: 50px 0; background: #f4f8fb; }
.hub-header { text-align: center; margin-bottom: 30px; }
.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--pak-navy-dark);
    font-weight: 800;
}
.section-subtitle { color: #5f7178; font-size: 14px; margin-top: 5px; }
.tab-button-group {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.hub-tab-btn {
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid var(--pak-border);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.2s;
}
.hub-tab-btn:hover,
.hub-tab-btn.active {
    background-color: var(--pak-light-blue);
    color: #ffffff;
    border-color: var(--pak-light-blue);
}
.hub-content-box {
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.hub-tab-pane { display: none; }
.hub-tab-pane.active { display: block; }
.pane-header {
    margin-bottom: 25px;
    border-bottom: 2px solid #eef4f8;
    padding-bottom: 12px;
}
.pane-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--pak-navy-dark);
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.portal-card-box {
    background: #f9fbfd;
    border: 1px solid #dce8ef;
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    color: inherit;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
}
.portal-card-box:hover {
    transform: translateY(-4px);
    border-color: var(--pak-light-blue);
    box-shadow: 0 8px 20px rgba(0, 158, 220, 0.12);
}
.portal-icon-wrap { font-size: 32px; margin-bottom: 10px; }
.portal-card-box h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--pak-navy-dark);
}
.portal-card-box p { font-size: 12px; color: #555; flex: 1; margin-bottom: 12px; }
.portal-link-label { font-size: 12px; font-weight: 700; color: var(--pak-light-blue); }

.audit-auth-box {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border: 1px solid var(--pak-border);
    border-radius: 6px;
    max-width: 520px;
    margin: 20px auto;
}
.auth-lock-icon { font-size: 36px; margin-bottom: 10px; }
.audit-auth-box h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--pak-navy-dark);
    margin-bottom: 6px;
}
.audit-auth-box p { font-size: 13px; color: #64748b; margin-bottom: 15px; }
.audit-login-form { display: flex; flex-direction: column; gap: 10px; }
.auth-err-msg { display: none; color: var(--pak-red); font-size: 12px; font-weight: 700; }
.audit-summary-boxes { display: flex; gap: 15px; flex-wrap: wrap; }
.audit-badge-box {
    background: #f8fafc;
    border: 1px solid #dce8ef;
    padding: 12px 18px;
    border-radius: 4px;
    flex: 1;
    min-width: 180px;
}
.badge-title { display: block; font-size: 11px; color: #64748b; text-transform: uppercase; }
.audit-badge-box strong { font-family: var(--font-heading); font-size: 16px; color: var(--pak-navy-dark); }
.event-tag { background: #e0f2fe; color: #0369a1; padding: 3px 8px; font-size: 11px; border-radius: 3px; font-weight: 700; }
.status-verified { color: #16a34a; font-weight: 700; font-size: 12px; }
.gov-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gov-table th { background: #edf2f7; padding: 10px; text-align: left; font-family: var(--font-heading); }
.gov-table td { padding: 10px; border-bottom: 1px solid #e2e8f0; }
.table-responsive { overflow-x: auto; }

/* ==========================================================================
   7. SPEECHES & FAQ
   ========================================================================== */
.speeches-list { display: flex; flex-direction: column; gap: 16px; }
.speech-item-card {
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--pak-light-blue);
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.speech-title-bar { background: #f0f7fb; padding: 12px 18px; font-family: var(--font-heading); }
.speech-title-bar h4 { font-size: 14.5px; color: #1e293b; font-weight: 700; }
.speech-body { padding: 16px 18px; font-size: 13.5px; }
.speech-body p { color: #475569; margin-bottom: 8px; line-height: 1.6; }
.speech-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}
.btn-text-read {
    background: none;
    border: none;
    color: var(--pak-light-blue);
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}
.btn-text-read:hover { text-decoration: underline; }
.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pak-red);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-pdf-download:hover { background: #b91c1c; }

.faq-accordion-group { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--pak-border); border-radius: 4px; background: #ffffff; overflow: hidden; }
.faq-question-btn {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--pak-navy-dark);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.faq-question-btn:hover { background: #f0f7fb; }
.faq-icon { font-size: 16px; transition: transform 0.25s ease; color: var(--pak-light-blue); }
.faq-question-btn.open .faq-icon { transform: rotate(180deg); }
.faq-answer-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #ffffff; }
.faq-answer-inner {
    padding: 16px 20px;
    font-size: 14px;
    color: #475569;
    border-top: 1px solid #edf2f7;
    line-height: 1.7;
}

/* ==========================================================================
   8. IMPACT, CAREERS, TENDERS, CONTACT & FEEDBACK FORM
   ========================================================================== */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impact-feature-card {
    background: #f8fafc;
    border: 1px solid #dce8ef;
    border-radius: 6px;
    padding: 24px;
    text-align: center;
}
.impact-icon { font-size: 36px; margin-bottom: 12px; }
.impact-feature-card h4 {
    font-family: var(--font-heading);
    color: var(--pak-navy-dark);
    font-size: 16px;
    margin-bottom: 8px;
}
.impact-feature-card p { font-size: 13px; color: #555; line-height: 1.6; }

.careers-gui-wrapper {
    background: linear-gradient(135deg, #f0f8fc 0%, #e2f2fb 100%);
    border: 1px solid #c9e4f4;
    border-radius: 6px;
    padding: 30px;
}
.careers-content h4 {
    font-family: var(--font-heading);
    color: var(--pak-navy-dark);
    font-size: 20px;
    margin-bottom: 10px;
}
.careers-content p {
    font-size: 14px;
    color: #334155;
    margin-bottom: 20px;
    max-width: 850px;
}
.careers-stats { display: flex; gap: 25px; margin-bottom: 25px; flex-wrap: wrap; }
.c-stat {
    background: #ffffff;
    border: 1px solid #d0e4f0;
    padding: 12px 20px;
    border-radius: 4px;
}
.c-stat span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: var(--pak-light-blue);
}
.c-stat small { font-size: 11px; color: #64748b; text-transform: uppercase; }
.careers-action-bar { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.portal-hint { font-size: 12px; color: #64748b; font-family: monospace; }

.empty-tender-card {
    text-align: center;
    padding: 50px 20px;
    background: #fdfefe;
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
}
.tender-notice-icon { font-size: 40px; margin-bottom: 12px; }
.empty-tender-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--pak-navy-dark);
    margin-bottom: 8px;
}
.empty-tender-card p {
    font-size: 14px;
    color: #475569;
    max-width: 650px;
    margin: 0 auto 10px;
}
.empty-tender-card small { display: block; color: #64748b; font-size: 12px; }

.contact-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-detail-card,
.contact-map-card {
    background: #f8fafc;
    border: 1px solid var(--pak-border);
    padding: 20px;
    border-radius: 6px;
}
.contact-email-list { list-style: none; margin-top: 8px; }
.contact-email-list li { margin-bottom: 6px; }
.contact-email-list a { color: var(--pak-light-blue); font-weight: 600; text-decoration: none; }
.contact-email-list a:hover { text-decoration: underline; }
.map-preview-container { margin-top: 10px; margin-bottom: 15px; overflow: hidden; border-radius: 4px; }

.feedback-box-wrapper {
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 6px;
    padding: 24px;
}
.feedback-box-wrapper h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--pak-navy-dark);
    margin-bottom: 8px;
}
.feedback-form { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field {
    padding: 10px 14px;
    border: 1px solid var(--pak-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
}
.form-field:focus { outline: none; border-color: var(--pak-light-blue); }

/* ==========================================================================
   9. PAGE BANNERS, CONTENT BLOCKS & STICKY SUB-NAV
   ========================================================================== */
.page-title-banner {
    background: linear-gradient(135deg, var(--pak-navy-dark) 0%, #054854 100%);
    color: #fff;
    padding: 45px 0;
    border-bottom: 4px solid var(--pak-light-blue);
}
.page-title-banner h1 { font-family: var(--font-heading); font-size: 32px; font-weight: 900; }
.banner-badge {
    background: var(--pak-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 8px;
}
.page-content-section { padding: 45px 0; }
.content-block { margin-bottom: 40px; }
.bold-glow-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--pak-navy-dark);
    margin-bottom: 6px;
}
.sub-pill,
.category-kicker {
    font-size: 11px;
    font-weight: 800;
    color: var(--pak-light-blue);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.award-subnav-sticky {
    position: sticky;
    top: 0;
    z-index: 99;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--pak-border);
    padding: 10px 0;
}
.subnav-flex { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.subnav-pill {
    padding: 7px 16px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.2s;
    background: #f1f5f9;
}
.subnav-pill:hover,
.subnav-pill.active { background: var(--pak-light-blue); color: #ffffff; }

.bg-red { background: var(--pak-red); }
.bg-yellow { background: var(--pak-yellow); color: #111; }
.bg-green { background: var(--pak-green); }
.bg-blue { background: var(--pak-light-blue); }
.text-white { color: #ffffff !important; }
.text-light-blue { color: #bae6fd !important; }

/* ==========================================================================
   10. THE AWARD PAGE
   ========================================================================== */
.text-center { text-align: center; }
.section-title-wrap { margin-bottom: 4px; }
.section-intro { font-size: 14px; color: #5f7178; margin-top: 4px; }
.award-main-content { padding: 45px 0; }
.award-content-block { scroll-margin-top: 70px; }
.block-header { margin-bottom: 30px; }
.block-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--pak-navy-dark);
    margin-bottom: 6px;
}
.title-accent-bar {
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--pak-light-blue);
    margin: 10px auto 14px;
}
.block-lede {
    max-width: 820px;
    margin: 0 auto;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}
.subhead-bar {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--pak-navy-dark);
    background: #f0f7fb;
    border-left: 4px solid var(--pak-light-blue);
    padding: 10px 16px;
    margin: 10px 0 18px;
    border-radius: 0 4px 4px 0;
}

.gold-residential-banner {
    display: flex;
    align-items: stretch;
    gap: 26px;
    background: linear-gradient(135deg, #fffaf0 0%, #fdf1cf 100%);
    border: 1px solid #ecd48a;
    border-left: 6px solid #c8a12e;
    border-radius: 8px;
    padding: 24px;
    overflow: hidden;
}
.gold-res-image-wrap {
    flex-shrink: 0;
    width: 260px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(200, 161, 46, 0.25);
    background: #fdf1cf;
}
.gold-res-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.gold-residential-banner:hover .gold-res-image {
    transform: scale(1.04);
}
.gold-res-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.gold-res-badge {
    align-self: flex-start;
    background: #c8a12e;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 3px;
}
.gold-res-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--pak-navy-dark);
    margin: 4px 0 6px;
}
.gold-res-body p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

.tier-summary { font-size: 13px; color: #475569; margin-bottom: 14px; }
.level-card.featured-tier {
    position: relative;
    border: 2px solid #c8a12e;
    box-shadow: 0 8px 24px rgba(200, 161, 46, 0.18);
}
.featured-ribbon {
    position: absolute;
    top: 16px;
    right: 14px;
    background: #c8a12e;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 9px;
    border-radius: 3px;
}

.why-header h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 6px;
}
.why-header .category-kicker { color: var(--pak-yellow) !important; }
.why-cta-wrap { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.why-cta-wrap .btn-gold-solid { margin-right: 0; }
.onboard-final-cta { display: block; }
.onboard-box p a { color: var(--pak-light-blue); font-weight: 600; }

.circular-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}
.circular-sec-card {
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.circular-sec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.sec-circle-avatar-wrap {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.sec-circle-avatar-wrap.border-red    { border: 5px solid var(--pak-red); }
.sec-circle-avatar-wrap.border-green  { border: 5px solid var(--pak-green); }
.sec-circle-avatar-wrap.border-yellow { border: 5px solid var(--pak-yellow); }
.sec-circle-avatar-wrap.border-blue   { border: 5px solid var(--pak-light-blue); }
.sec-circle-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-card-body { flex: 1; }
.sec-badge {
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 6px;
}
.sec-card-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--pak-navy-dark);
    margin-bottom: 4px;
}
.sec-tagline {
    font-style: italic;
    color: var(--pak-light-blue);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}
.sec-focus { font-size: 13px; color: #334155; margin-bottom: 12px; }
.arrow-bullets-list { display: flex; flex-direction: column; gap: 6px; }
.arrow-bullet-item {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bullet-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.arrow-red { color: var(--pak-red); }
.arrow-green { color: var(--pak-green); }
.arrow-yellow { color: #d97706; }
.arrow-blue { color: var(--pak-light-blue); }

.vibrant-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}
.vibrant-card {
    border-radius: 6px;
    border: 1px solid var(--pak-border);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}
.vibrant-card:hover { transform: translateY(-4px); }
.vibrant-card.border-red { border-top: 4px solid var(--pak-red); }
.vibrant-card.border-green { border-top: 4px solid var(--pak-green); }
.vibrant-card.border-yellow { border-top: 4px solid var(--pak-yellow); }
.vibrant-card.border-blue { border-top: 4px solid var(--pak-light-blue); }
.vibrant-media-wrap { position: relative; height: 220px; background: #001f26; overflow: hidden; }
.vibrant-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.vibrant-card:hover .vibrant-img { transform: scale(1.04); }
.vibrant-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}
.vibrant-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.vibrant-content h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    color: var(--pak-navy-dark);
    margin-bottom: 4px;
}
.section-motto {
    font-style: italic;
    color: var(--pak-light-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}
.vibrant-content p { font-size: 13.5px; color: #475569; line-height: 1.6; margin-bottom: 15px; }
.examples-tag-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.example-tag {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
}

.levels-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.level-card {
    border: 1px solid var(--pak-border);
    border-radius: 6px;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.tier-strip { height: 6px; }
.bronze-color { background-color: #b5732f; }
.silver-color { background-color: #8b949c; }
.gold-color { background-color: #c8a12e; }
.level-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.level-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #777; margin-bottom: 5px; }
.level-body h4 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 10px; color: #222; }
.time-pill {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 12px;
    align-self: flex-start;
}
.level-requirements-list {
    list-style: none;
    font-size: 13px;
    color: #444;
    margin-bottom: 20px;
}
.level-requirements-list li { margin-bottom: 6px; }

.steps-flow-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 30px auto 0;
}
.step-card {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
}
.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pak-light-blue);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-details h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--pak-navy-dark);
    margin-bottom: 4px;
}
.step-details p { font-size: 13.5px; color: #475569; line-height: 1.6; }

.why-do-box {
    background: linear-gradient(135deg, var(--pak-navy-dark) 0%, #06404d 100%);
    border-radius: 10px;
    padding: 45px 35px;
    margin-top: 30px;
}
.why-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.why-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px;
    border-radius: 6px;
    color: #ffffff;
}
.why-icon { font-size: 32px; margin-bottom: 12px; }
.why-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--pak-yellow);
    margin-bottom: 8px;
}
.why-card p { font-size: 13px; color: #e2e8f0; line-height: 1.6; }

.delivering-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 25px; }
.delivery-col {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px;
}
.col-heading {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--pak-navy-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}
.adult-roles-wrapper {
    margin-top: 40px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 30px;
}
.roles-main-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--pak-navy-dark);
    margin-bottom: 20px;
}
.roles-deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.role-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 6px;
}
.role-card h4 {
    font-family: var(--font-heading);
    font-size: 14.5px;
    color: var(--pak-light-blue);
    margin-bottom: 6px;
}
.role-card p { font-size: 12.5px; color: #64748b; line-height: 1.5; }
.centre-onboarding-steps { margin-top: 40px; }
.onboarding-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.onboard-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 22px 18px;
    position: relative;
}
.ob-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #cbd5e1;
    display: block;
    margin-bottom: 6px;
}
.onboard-box h5 {
    font-family: var(--font-heading);
    font-size: 14.5px;
    color: var(--pak-navy-dark);
    margin-bottom: 6px;
}
.onboard-box p { font-size: 12px; color: #64748b; line-height: 1.6; }

/* ==========================================================================
   11. ABOUT PAGE
   ========================================================================== */
.gov-card-deck { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gov-overview-card {
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.gov-card-icon {
    font-size: 34px;
    background: #f0f7fb;
    padding: 12px;
    border-radius: 8px;
    flex-shrink: 0;
}
.gov-card-content h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--pak-navy-dark);
    margin-bottom: 8px;
}
.gov-card-content p { font-size: 13.5px; color: #475569; line-height: 1.65; }

.whoweare-banner-card {
    background: #f8fafc;
    border: 1px solid var(--pak-border);
    border-left: 5px solid var(--pak-light-blue);
    border-radius: 6px;
    padding: 24px 28px;
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
}

.values-visual-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card-vibrant {
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--pak-light-blue);
}
.value-card-vibrant.v-mission { border-top-color: var(--pak-red); }
.value-card-vibrant.v-values { border-top-color: var(--pak-yellow); }
.v-icon { font-size: 32px; margin-bottom: 10px; }
.value-card-vibrant h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    color: var(--pak-navy-dark);
    margin-bottom: 8px;
}
.value-card-vibrant p { font-size: 13.5px; color: #475569; line-height: 1.6; }
.values-pill-list { list-style: none; font-size: 13px; color: #475569; }
.values-pill-list li { margin-bottom: 8px; }

.themes-grid-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theme-card {
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}
.theme-card:hover { transform: translateY(-3px); border-color: var(--pak-light-blue); }
.theme-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: #cbd5e1;
    display: block;
    margin-bottom: 6px;
}
.theme-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--pak-navy-dark);
    margin-bottom: 6px;
}
.theme-card p { font-size: 13px; color: #475569; line-height: 1.6; }

.person-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.person-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--pak-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    align-items: center;
}
.person-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pak-light-blue);
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
}
.person-photo:hover { transform: scale(1.05); }
.person-info h4,
.person-info h5 { font-family: var(--font-heading); font-size: 15px; color: #111; }
.person-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--pak-light-blue);
    display: block;
    margin-bottom: 4px;
}
.person-info p {
    font-size: 12px;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-profile-more {
    background: none;
    border: none;
    color: var(--pak-red);
    font-weight: 700;
    font-size: 11.5px;
    cursor: pointer;
    margin-top: 5px;
    padding: 0;
}

.profile-modal-card { display: flex; gap: 25px; }
.profile-photo-magnified {
    width: 220px;
    height: 250px;
    border-radius: 6px;
    object-fit: cover;
    border: 3px solid var(--pak-light-blue);
    flex-shrink: 0;
}
.profile-modal-bio h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--pak-navy-dark);
}
.profile-modal-role {
    color: var(--pak-light-blue);
    font-weight: 700;
    font-size: 13.5px;
    display: block;
    margin-bottom: 12px;
}
.profile-modal-bio p { font-size: 14px; line-height: 1.7; color: #334155; }

/* ==========================================================================
   12. PRESS ROOM / DOWNLOADS
   ========================================================================== */
.downloads-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.download-media-card {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 4px;
}
.dl-media-icon { font-size: 36px; }
.dl-media-info h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--pak-navy-dark);
    margin-bottom: 5px;
}
.file-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--pak-light-blue);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}
.dl-media-info p { font-size: 12.5px; color: #475569; margin-bottom: 12px; }
.dl-actions { display: flex; gap: 10px; }
.btn-dl-file {
    padding: 6px 14px;
    background: var(--pak-light-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
}
.btn-dl-file:hover { background: #0b7bb0; }
.btn-play-video {
    padding: 6px 14px;
    background: var(--pak-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}
.btn-play-video:hover { background: #a8161b; }

/* ==========================================================================
   13. FLOATING TOOLS
   ========================================================================== */
.accessibility-trigger {
    position: fixed;
    right: 0;
    top: 45%;
    transform: translateY(-50%);
    background: var(--pak-red);
    color: #ffffff;
    border: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 12px 10px;
    cursor: pointer;
    box-shadow: -2px 4px 15px rgba(228, 0, 70, 0.4);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.a11y-wheel { font-size: 20px; }
.a11y-label {
    writing-mode: vertical-rl;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1px;
}
.accessibility-drawer {
    position: fixed;
    right: -280px;
    top: 40%;
    transform: translateY(-50%);
    width: 260px;
    background: #ffffff;
    border: 1px solid var(--pak-border);
    box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 18px;
    z-index: 1000;
    transition: right 0.3s ease;
}
.accessibility-drawer.active { right: 10px; }
.a11y-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.a11y-header h5 {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--pak-navy-dark);
}
.a11y-btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt-btn {
    padding: 8px;
    font-size: 12px;
    font-family: var(--font-heading);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.a11y-opt-btn:hover { background: #fee2e2; color: var(--pak-red); }

.chatway-float-badge { position: fixed; bottom: 25px; right: 25px; z-index: 998; }
.chatway-launch-btn {
    background: var(--pak-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(228, 0, 70, 0.45);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    transition: transform 0.2s;
}
.chatway-launch-btn:hover { transform: scale(1.04); background: #b91c1c; }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.portal-footer {
    background-color: var(--pak-light-blue);
    color: #ffffff;
    padding-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 35px;
}
.footer-logo-wrap img {
    height: 50px;
    width: auto;
    background: #ffffff;
    padding: 4px;
    border-radius: 3px;
    margin-bottom: 15px;
}
.footer-blurb { font-size: 13px; line-height: 1.6; margin-bottom: 15px; color: #eaf4fb; }

.world-ready-badge {
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.world-ready-badge .wr-hash {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 22px;
    color: var(--pak-light-blue);
}
.world-ready-badge .wr-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--pak-light-blue);
}

.btn-read-more-footer {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
}
.btn-read-more-footer:hover { background: #fff; color: var(--pak-light-blue); }

.dpa-badge-footer {
    background: rgba(0, 49, 60, 0.25);
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    border-left: 3px solid #ffffff;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 6px;
}
.footer-links-list { list-style: none; }
.footer-links-list li { margin-bottom: 6px; }
.footer-links-list a { color: #ffffff; text-decoration: none; font-size: 13px; }
.footer-links-list a:hover { text-decoration: underline; }
.event-item { margin-bottom: 15px; }
.event-date {
    background: #ffffff;
    color: var(--pak-light-blue);
    font-weight: 800;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 4px;
}
.event-desc { font-size: 12.5px; color: #eaf4fb; }

.site-visit-badge {
    margin-top: 15px;
    padding: 12px 14px;
    background: rgba(0, 49, 60, 0.35);
    border-radius: 4px;
}
.visit-label { font-size: 11px; color: #e0f2fe; text-transform: uppercase; display: block; margin-bottom: 2px; }
.visit-num { font-family: var(--font-heading); font-size: 20px; color: #ffffff; }

.footer-bottom-ribbon {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0 10px;
}
.ribbon-flex { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.ribbon-item { display: flex; align-items: center; gap: 12px; }
.ribbon-icon { font-size: 24px; color: var(--pak-light-blue); }
.ribbon-item strong { display: block; font-size: 13px; color: #fff; font-family: var(--font-heading); }
.ribbon-item p,
.ribbon-item a { font-size: 12px; color: #aaa; text-decoration: none; }
.copyright-bar {
    border-top: 1px solid #222;
    padding-top: 12px;
    text-align: center;
    font-size: 12px;
    color: #777;
}
.copyright-bar a { color: var(--pak-light-blue); text-decoration: none; }

/* ==========================================================================
   15. MODALS
   ========================================================================== */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop.active { display: flex; }
.modal-dialog {
    background: #fff;
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: 6px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}
.modal-header h3 { font-family: var(--font-heading); font-size: 16px; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; }
.modal-meta-bar { background: #f8fafc; padding: 8px 20px; font-size: 12px; color: #64748b; font-weight: 600; }
.modal-body { padding: 20px; font-size: 14px; line-height: 1.8; color: #334155; }
.modal-footer { padding: 12px 20px; border-top: 1px solid #e2e8f0; display: flex; justify-content: flex-end; gap: 10px; }

.video-modal-dialog { max-width: 800px; background: #000; color: #fff; }
.video-modal-dialog .modal-header { background: #111; color: #fff; border-bottom: 1px solid #333; }
.video-modal-dialog .modal-close { color: #fff; }

.dpo-contact-card {
    background: #f0f9ff;
    border-left: 4px solid var(--pak-light-blue);
    padding: 14px 18px;
    margin: 15px 0;
    border-radius: 3px;
    font-size: 13.5px;
}
.dpo-contact-card p { margin-bottom: 4px; }
.data-protection-body h4 {
    font-family: var(--font-heading);
    color: var(--pak-navy-dark);
    margin: 18px 0 8px;
    font-size: 15px;
}
.data-protection-body ul { margin-left: 20px; margin-bottom: 15px; }

/* ==========================================================================
   16. ACCESSIBILITY MODES
   ========================================================================== */
body.grayscale-mode { filter: grayscale(100%); }

body.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}
body.high-contrast * {
    background-color: transparent !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}
body.high-contrast .accessibility-trigger,
body.high-contrast .chatway-launch-btn {
    background-color: var(--pak-red) !important;
    color: #ffffff !important;
}
body.high-contrast .accessibility-drawer,
body.high-contrast .modal-dialog {
    background-color: #000000 !important;
}

/* ==========================================================================
   17. AHA-K : AWARD HOLDERS ALUMNI KENYA
   ========================================================================== */
.alumni-person-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.alumni-person-card:hover {
    transform: translateY(-3px);
    border-color: var(--pak-light-blue);
    box-shadow: 0 8px 22px rgba(0, 158, 220, 0.12);
}

.alumni-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.alumni-stat-card {
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--pak-light-blue);
    transition: transform 0.2s ease;
}
.alumni-stat-card:hover { transform: translateY(-3px); }
.alumni-stat-card:nth-child(1) { border-top-color: var(--pak-red); }
.alumni-stat-card:nth-child(2) { border-top-color: var(--pak-green); }
.alumni-stat-card:nth-child(3) { border-top-color: var(--pak-yellow); }
.alumni-stat-card:nth-child(4) { border-top-color: var(--pak-light-blue); }

.alumni-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--pak-navy-dark);
    line-height: 1.1;
    margin-bottom: 6px;
}
.alumni-stat-label {
    font-size: 12.5px;
    color: #5f7178;
    line-height: 1.5;
    display: block;
}

.alumni-join-box {
    background: linear-gradient(135deg, var(--pak-navy-dark) 0%, #054854 100%);
    border-radius: 10px;
    padding: 45px 35px;
    margin-top: 30px;
}
.alumni-join-grid { margin-top: 25px; }

/* ==========================================================================
   18. KEY PARTNERS & STAKEHOLDERS — LOGO CAROUSEL + INFO MODAL
   ========================================================================== */
.partners-slideshow-section {
    background: #f4f8fb;
    padding: 60px 0 70px;
    border-top: 1px solid var(--pak-border);
    overflow: hidden;
}

.partners-header { margin-bottom: 30px; }
.partners-header .section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--pak-navy-dark);
    margin-bottom: 6px;
}
.partners-header .section-subtitle {
    font-size: 14px;
    color: #5f7178;
}

.partners-carousel-viewport {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6px 4px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.partners-carousel-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    will-change: transform;
    transform: translateX(0);
    width: max-content;
}

.partner-logo-card {
    flex: 0 0 auto;
    width: 235px;
    height: 190px;
    background: #ffffff;
    border: 1px solid var(--pak-border);
    border-radius: 12px;
    padding: 20px 18px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    text-align: center;
    font-family: inherit;
}
.partner-logo-card:hover,
.partner-logo-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--pak-light-blue);
    box-shadow: 0 10px 24px rgba(0, 158, 220, 0.18);
    outline: none;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.partner-logo-name {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--pak-navy-dark);
    letter-spacing: 0.2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    pointer-events: none;
}

.partners-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.partner-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--pak-light-blue);
    border: 1px solid var(--pak-border);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.partner-arrow-btn:hover {
    background: var(--pak-light-blue);
    color: #ffffff;
    border-color: var(--pak-light-blue);
    box-shadow: 0 6px 16px rgba(0, 158, 220, 0.28);
}

/* Partner Info Modal */
.partner-modal-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.partner-modal-logo-wrap {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--pak-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.partner-modal-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-modal-body { flex: 1; min-width: 0; }

.partner-modal-short {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--pak-light-blue);
    background: #e0f2fe;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.partner-modal-body h4 {
    font-family: var(--font-heading);
    font-size: 19px;
    color: var(--pak-navy-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.partner-modal-body p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    border-left: 3px solid var(--pak-light-blue);
    padding-left: 12px;
}

/* ==========================================================================
   19. EXTERNAL LINK HINT + PHOTO GALLERY CTA CARD (Press Room)
   ========================================================================== */

/* Small ↗ hint inside dropdown items that open external sites */
.dropdown-menu .ext-link-icon {
    font-size: 11px;
    margin-left: 4px;
    color: var(--pak-light-blue);
    opacity: 0.85;
}

/* Photo Gallery call-to-action card on the Press Room page */
.photo-gallery-cta-card {
    display: flex;
    gap: 22px;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #c9e4f4;
    border-left: 5px solid var(--pak-light-blue);
    border-radius: 8px;
    padding: 26px 28px;
    box-shadow: 0 4px 15px rgba(0, 158, 220, 0.08);
}
.photo-gallery-cta-icon {
    font-size: 44px;
    flex-shrink: 0;
    line-height: 1;
}
.photo-gallery-cta-body { flex: 1; min-width: 0; }
.photo-gallery-cta-body h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--pak-navy-dark);
    margin-bottom: 6px;
}
.photo-gallery-cta-body p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
}

/* ==========================================================================
   20. PRELOADER / LOADING SCREEN
   ========================================================================== */
.pa-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pa-loader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pa-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.pa-loader-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #e6f4fb;
    border-top-color: var(--pak-light-blue);
    animation: paLoaderSpin 0.8s linear infinite;
}

.pa-loader-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pak-navy-dark);
}

.pa-loader-dots {
    display: inline-block;
    animation: paLoaderDots 1.4s steps(3, end) infinite;
    width: 1.2em;
    text-align: left;
}

@keyframes paLoaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes paLoaderDots {
    0%   { clip-path: inset(0 100% 0 0); }
    33%  { clip-path: inset(0 66% 0 0);  }
    66%  { clip-path: inset(0 33% 0 0);  }
    100% { clip-path: inset(0 0 0 0);    }
}

/* ==========================================================================
   21. RESPONSIVE — the ONLY media query block.
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
        font-size: 12px;
        padding: 11px 12px;
    }
}

@media (max-width: 900px) {
    .header-container { flex-direction: column; text-align: center; }

    .portals-grid { grid-template-columns: repeat(2, 1fr); }
    .roles-deck,
    .onboarding-flow-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .alumni-stats-grid { grid-template-columns: repeat(2, 1fr); }

    .gov-card-deck,
    .values-visual-deck,
    .themes-grid-deck,
    .circular-sections-grid,
    .vibrant-sections-grid,
    .downloads-cards-grid,
    .person-grid,
    .impact-grid,
    .levels-deck,
    .why-benefits-grid,
    .delivering-split-grid,
    .footer-grid,
    .contact-split-grid,
    .form-row-split,
    .profile-modal-card { grid-template-columns: 1fr; }

    .ribbon-flex { flex-direction: column; text-align: center; }
    .profile-modal-card { flex-direction: column; }
    .circular-sec-card { flex-direction: column; text-align: center; }
    .sec-circle-avatar-wrap { margin: 0 auto 15px; }
    .arrow-bullet-item { text-align: left; }
    .step-card { flex-direction: column; text-align: center; }

    .profile-photo-magnified { width: 100%; height: 220px; }
    .why-do-box { padding: 30px 20px; }
    .alumni-join-box { padding: 30px 20px; }

    .gold-residential-banner { flex-direction: column; align-items: stretch; }
    .gold-res-image-wrap { width: 100%; }
    .gold-res-image { min-height: 180px; max-height: 240px; }

    .block-title,
    .why-header h2 { font-size: 24px; }

    /* Partners carousel — 3 logos visible on tablets */
    .partners-slideshow-section { padding: 45px 0 55px; }
    .partner-logo-card {
        width: 210px;
        height: 170px;
        padding: 16px 14px 12px;
    }
    .partner-logo-img { max-height: 90px; }

    .partner-modal-card { flex-direction: column; align-items: center; text-align: center; }
    .partner-modal-body p { border-left: none; padding-left: 0; }
    .partner-modal-logo-wrap { width: 120px; height: 120px; }

    /* Photo Gallery CTA card stacks */
    .photo-gallery-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
    }
    .photo-gallery-cta-icon { font-size: 38px; }
}

@media (max-width: 520px) {
    .alumni-stats-grid { grid-template-columns: 1fr; }
    .alumni-stat-num { font-size: 24px; }

    /* Partners carousel — 2 logos visible on phones */
    .partner-logo-card {
        width: 155px;
        height: 150px;
        padding: 12px 10px 10px;
    }
    .partner-logo-img { max-height: 78px; }
    .partner-logo-name { font-size: 11px; }
    .partners-carousel-track { gap: 14px; }
}