html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* =========================================
   PEOPLEFIRST - PROFESSIONAL LANDING PAGE
========================================= */

:root {
    --pf-navy: #101b35;
    --pf-blue: #365cf5;
    --pf-blue-dark: #2448d8;
    --pf-muted: #667085;
    --pf-border: #e7eaf1;
    --pf-background: #f7f9fd;
}

html {
    scroll-behavior: smooth;
}

.landing-page {
    color: var(--pf-navy);
    overflow: hidden;
    background: #fff;
}


    .landing-page .container {
        width: 94%;
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }


.hero-section {
    padding: 88px 0 92px;
    background: radial-gradient(ellipse at 85% 10%, #e5ecff 0, transparent 34%), linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}

.hero-label,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--pf-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #20b486;
    flex-shrink: 0;
}

.hero-title {
    max-width: 620px;
    margin: 25px 0 22px;
    font-size: clamp(42px, 5.2vw, 66px);
    font-weight: 800;
    letter-spacing: -3.4px;
    line-height: 1.08;
}

    .hero-title span {
        display: block;
        color: var(--pf-blue);
    }

.hero-description {
    max-width: 520px;
    margin-bottom: 30px;
    color: var(--pf-muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 0 23px;
    border: 0;
    border-radius: 9px;
    background: var(--pf-blue);
    box-shadow: 0 8px 20px #365cf52b;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

    .hero-button:hover {
        background: var(--pf-blue-dark);
        transform: translateY(-2px);
    }

.hero-secondary-link {
    color: var(--pf-navy);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    .hero-secondary-link:hover {
        color: var(--pf-blue);
    }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    color: var(--pf-muted);
    font-size: 12px;
}

.trust-icon {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #e6f8ef;
    color: #13875c;
    font-weight: 800;
}

/* Dashboard preview */

.preview-window {
    overflow: hidden;
    border: 1px solid #e3e8f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 75px #24385e18, 0 4px 12px #24385e08;
    transform: rotateY(-2deg);
}

.preview-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 17px 20px;
    border-bottom: 1px solid #edf0f6;
}

.preview-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: var(--pf-blue);
    color: white;
    font-size: 15px;
}

.preview-live {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #69758b;
    font-size: 10px;
}

.preview-content {
    padding: 25px;
    background: #fbfcff;
}

.preview-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.preview-eyebrow {
    color: #78839a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.preview-welcome h3 {
    margin: 7px 0 4px;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    letter-spacing: -.6px;
}

.preview-welcome p {
    margin: 0;
    color: #7b8496;
    font-size: 11px;
}

.preview-avatar {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid #dfe5ff;
    border-radius: 12px;
    background: #edf1ff;
    color: var(--pf-blue);
    font-size: 12px;
    font-weight: 800;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.preview-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid #e9edf5;
    border-radius: 10px;
    background: white;
}

.stat-icon,
.feature-icon {
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-weight: 800;
}

.stat-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    font-size: 15px;
}

.stat-blue,
.feature-icon-blue {
    background: #eaf0ff;
    color: #365cf5;
}

.stat-green,
.feature-icon-green {
    background: #e6f8ef;
    color: #15966b;
}

.stat-purple,
.feature-icon-purple {
    background: #f1eaff;
    color: #8051d8;
}

.feature-icon-orange {
    background: #fff0e4;
    color: #c96a21;
}

.stat-caption {
    margin-bottom: 5px;
    color: #78839a;
    font-size: 10px;
}

.preview-stat strong {
    font-size: clamp(11px, 1.2vw, 14px);
    line-height: 1.4;
}

.preview-stat small {
    margin-top: 5px;
    color: #8a93a5;
    font-size: 9px;
}

.preview-bottom {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.preview-chart-card,
.preview-quick-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e9edf5;
    border-radius: 11px;
    background: white;
}

.chart-heading {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

    .chart-heading strong {
        font-size: 12px;
    }

    .chart-heading p {
        margin: 5px 0 0;
        color: #8a93a5;
        font-size: 10px;
    }

.chart-period {
    color: #8a93a5;
    font-size: 8px;
    font-weight: 800;
}

.mini-chart {
    position: relative;
    display: flex;
    height: 100px;
    margin-top: 17px;
    border-bottom: 1px solid #e8edf5;
    background: repeating-linear-gradient( to bottom, transparent 0, transparent 24px, #edf0f6 25px );
}

.chart-y-labels {
    width: 5px;
    flex-shrink: 0;
}

.chart-bars {
    display: flex;
    flex: 1;
    align-items: flex-end;
    justify-content: space-around;
    gap: 7px;
    padding: 0 4px;
}

.chart-bar {
    width: 10%;
    max-width: 24px;
    border-radius: 4px 4px 0 0;
    background: #9eb3ff;
}

.bar-one {
    height: 36%;
}

.bar-two {
    height: 56%;
}

.bar-three {
    height: 45%;
}

.bar-four {
    height: 73%;
}

.bar-five {
    height: 61%;
}

.bar-six {
    height: 87%;
}

.bar-seven {
    height: 76%;
    background: var(--pf-blue);
}

.chart-legend {
    margin-top: 12px;
    color: #7b8496;
    font-size: 9px;
}

    .chart-legend i {
        display: inline-block;
        width: 7px;
        height: 7px;
        margin-right: 5px;
        border-radius: 50%;
        background: var(--pf-blue);
    }

.preview-quick-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-icon {
    margin-bottom: 12px;
    color: #365cf5;
    font-size: 24px;
}

.preview-quick-card strong {
    font-size: 15px;
    letter-spacing: -.4px;
}

.preview-quick-card p {
    margin: 10px 0 0;
    color: #7b8496;
    font-size: 10px;
    line-height: 1.7;
}

.preview-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 20px;
    border-top: 1px solid #edf0f6;
    color: #7b8496;
    font-size: 9px;
}

    .preview-footer > span:first-child {
        display: flex;
        align-items: center;
        gap: 7px;
    }

.preview-caption {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 19px;
    color: #65718a;
    font-size: 12px;
}

.caption-sparkle {
    color: var(--pf-blue);
}

/* Features */

.features-section {
    padding: 95px 0 100px;
    border-top: 1px solid #f0f2f7;
    background: #fff;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 49px;
    text-align: center;
}

    .section-heading h2 {
        margin: 17px 0;
        font-size: clamp(30px, 4vw, 43px);
        font-weight: 800;
        letter-spacing: -1.8px;
        line-height: 1.2;
    }

        .section-heading h2 span {
            color: #8792a8;
        }

    .section-heading > p {
        max-width: 500px;
        margin: 0 auto;
        color: var(--pf-muted);
        font-size: 14px;
        line-height: 1.8;
    }

.feature-card {
    height: 100%;
    padding: 27px 23px 23px;
    border: 1px solid var(--pf-border);
    border-radius: 13px;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: #d6defd;
        box-shadow: 0 18px 40px #24385e0c;
    }

.feature-icon {
    width: 47px;
    height: 47px;
    margin-bottom: 24px;
    font-size: 21px;
}

.feature-card h3 {
    margin-bottom: 11px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.feature-card p {
    min-height: 75px;
    margin-bottom: 24px;
    color: var(--pf-muted);
    font-size: 13px;
    line-height: 1.8;
}

.feature-number {
    color: #8a94a8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Call to action */

.cta-section {
    padding: 0 0 85px;
    background: white;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px 48px;
    border-radius: 16px;
    background: radial-gradient(ellipse at 95% 0%, #365cf538, transparent 35%), var(--pf-navy);
    color: white;
}

    .cta-panel .section-eyebrow {
        color: #9eb3ff;
    }

    .cta-panel h2 {
        margin: 15px 0 12px;
        font-size: clamp(28px, 3vw, 39px);
        font-weight: 800;
        letter-spacing: -1.4px;
        line-height: 1.2;
    }

    .cta-panel p {
        margin: 0;
        color: #c2cbe0;
        font-size: 13px;
        line-height: 1.8;
    }

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 49px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: white;
    color: var(--pf-navy);
    font-size: 13px;
    font-weight: 800;
}

    .cta-button:hover {
        background: #eaf0ff;
        color: var(--pf-blue);
    }

/* Responsive */

@media (max-width: 991.98px) {
    .hero-section {
        padding: 65px 0 75px;
    }

    .hero-title {
        letter-spacing: -2px;
    }

    .preview-window {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 48px 0 58px;
    }

    .hero-title {
        font-size: 43px;
        letter-spacing: -2.3px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .hero-trust {
        align-items: flex-start;
        line-height: 1.6;
    }

    .preview-content {
        padding: 14px;
    }

    .preview-topbar {
        padding: 13px;
    }

    .preview-stats {
        gap: 6px;
    }

    .preview-stat {
        padding: 10px 7px;
    }

    .preview-bottom {
        grid-template-columns: 1fr;
    }

    .preview-quick-card {
        min-height: 140px;
    }

    .preview-footer {
        padding: 12px;
        font-size: 8px;
    }

    .features-section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

        .section-heading h2 {
            letter-spacing: -1px;
        }

    .feature-card p {
        min-height: 0;
    }

    .cta-section {
        padding-bottom: 50px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 24px;
    }
}
/* Make the landing page use almost the full screen width */
.landing-page .container {
    width: 98% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px;
    padding-right: 12px;
}

/* Give the hero and features more horizontal space */
.landing-page .hero-section,
.landing-page .features-section,
.landing-page .cta-section {
    width: 100%;
    max-width: none;
}
/* Control the content width across the landing page */
.landing-page .container {
    width: 90% !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Keep the layout comfortable on mobile */
@media (max-width: 576px) {
    .landing-page .container {
        width: 96% !important;
    }
}



/* home page header footer style */

/* ===== PeopleFirst Home Header ===== */

.home-header {
    background: #ffffff;
    border-bottom: 1px solid #e7eaf1;
    position: relative;
    z-index: 10;
}

.home-navbar {
    padding: 16px 0;
}

.home-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #101b35;
    font-size: 23px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

    .home-brand:hover {
        color: #365cf5;
    }

.home-brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: #365cf5;
    box-shadow: 0 5px 14px rgba(54, 92, 245, 0.2);
}

.home-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

    .home-nav-links a,
    .home-account-link {
        color: #667085;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .home-nav-links a:hover,
        .home-account-link:hover {
            color: #365cf5;
        }

.home-nav-account,
.home-account-nav {
    display: flex;
    align-items: center;
}

.home-user-greeting {
    color: #667085;
    font-size: 13px;
}

.home-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid #365cf5;
    border-radius: 10px;
    background: #365cf5;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .home-login-button:hover {
        background: #2448d8;
        border-color: #2448d8;
        color: #ffffff;
        transform: translateY(-1px);
    }

.home-logout-button {
    font-family: inherit;
}

/* ===== PeopleFirst Home Footer ===== */

.home-footer {
    margin-top: 40px;
    padding: 54px 0 20px;
    background: #101b35;
    color: #c6cede;
}

.home-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.home-footer-logo {
    color: #ffffff;
}

    .home-footer-logo:hover {
        color: #ffffff;
    }

.home-footer-brand p {
    max-width: 340px;
    margin-top: 18px;
    color: #aeb8ca;
    font-size: 14px;
    line-height: 1.8;
}

.home-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

    .home-footer-links h6 {
        margin-bottom: 5px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
    }

    .home-footer-links a {
        color: #aeb8ca;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .home-footer-links a:hover {
            color: #ffffff;
        }

.home-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #aeb8ca;
    font-size: 12px;
}

/* ===== Responsive Header and Footer ===== */

@media (max-width: 768px) {
    .home-navbar-inner {
        flex-wrap: wrap;
        gap: 18px;
    }

    .home-nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 22px;
        flex-wrap: wrap;
    }

    .home-nav-account {
        margin-left: auto;
    }

    .home-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .home-footer-brand {
        grid-column: 1 / -1;
    }

    .home-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .home-brand {
        font-size: 20px;
    }

    .home-nav-links {
        gap: 16px;
    }

    .home-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .home-footer {
        padding-top: 40px;
    }
}

/* Match header and footer width with the main landing page */

.home-navbar-inner,
.home-footer > .container {
    width: 90% !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Keep the same responsive spacing on mobile */
@media (max-width: 576px) {
    .home-navbar-inner,
    .home-footer > .container {
        width: 96% !important;
    }
}

/* Header typography */

.home-brand {
    font-size: 24px;
    font-weight: 700;
}

.home-brand-mark {
    width: 42px;
    height: 42px;
    font-size: 22px;
}

.home-nav-links a {
    font-size: 16px;
    font-weight: 500;
}

.home-login-button {
    font-size: 15px;
    padding: 12px 22px;
}

.home-user-greeting,
.home-account-link {
    font-size: 15px !important;
}

/* Give the header more breathing room */
.home-navbar {
    padding-top: 18px;
    padding-bottom: 18px;
}

/* Footer typography */

.home-footer-brand p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 360px;
}

.home-footer-links h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.home-footer-links a {
    font-size: 15px;
    line-height: 1.9;
}

.home-footer-bottom {
    font-size: 14px;
    line-height: 1.8;
}

/* Give the footer more vertical spacing */
.home-footer {
    padding-top: 55px;
    padding-bottom: 24px;
}



/* =========================================
   PEOPLEFIRST LOGIN PAGE
   ========================================= */

.pf-login-page {
    width: 100%;
    padding: 55px 0;
    background: #f5f7fc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pf-login-card {
    width: 90%;
    max-width: 1120px;
    min-height: 570px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background: #ffffff;
    border: 1px solid #e7eaf2;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(16, 27, 53, 0.09);
}

/* Left welcome panel */

.pf-login-welcome {
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    background: linear-gradient(145deg, #172747 0%, #254b91 100%);
    position: relative;
    overflow: hidden;
}

    .pf-login-welcome::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        right: -115px;
        top: 100px;
        box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.035), 0 0 0 70px rgba(255, 255, 255, 0.025);
    }

.pf-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    font-weight: 750;
    position: relative;
    z-index: 1;
}

    .pf-login-brand:hover {
        color: #ffffff;
    }

.pf-login-brand-mark {
    width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ffffff;
    color: #2855c5;
    font-size: 25px;
    font-weight: 800;
}

.pf-login-welcome-content {
    position: relative;
    z-index: 1;
    margin: 45px 0;
}

.pf-login-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #c6d8ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.pf-login-welcome h1 {
    max-width: 390px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(32px, 3vw, 43px);
    font-weight: 750;
    line-height: 1.2;
}

.pf-login-welcome-content > p {
    max-width: 370px;
    color: #d6e0f3;
    font-size: 15px;
    line-height: 1.9;
}

.pf-login-decoration {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.pf-login-decoration-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 21px;
}

.pf-login-decoration strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.pf-login-decoration p {
    margin: 0;
    color: #d6e0f3;
    font-size: 12px;
}

.pf-login-welcome-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #c6d8ff;
    font-size: 13px;
}

/* Right form panel */

.pf-login-form-section {
    padding: 55px clamp(28px, 5vw, 65px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf-login-form-header {
    margin-bottom: 32px;
}

    .pf-login-form-header h2 {
        margin: 0 0 10px;
        color: #14213d;
        font-size: 32px;
        font-weight: 750;
    }

    .pf-login-form-header > p {
        margin: 0;
        color: #707b90;
        font-size: 14px;
        line-height: 1.7;
    }

.pf-login-mobile-brand {
    display: none;
    margin-bottom: 20px;
    color: #2855c5;
    font-size: 22px;
    font-weight: 750;
}

.pf-login-field {
    margin-bottom: 23px;
}

    .pf-login-field label {
        display: block;
        margin-bottom: 9px;
        color: #26344d;
        font-size: 14px;
        font-weight: 600;
    }

.pf-login-password-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

    .pf-login-password-heading a {
        margin-bottom: 9px;
        color: #315bd4;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

        .pf-login-password-heading a:hover {
            text-decoration: underline;
        }

.pf-login-input {
    width: 100%;
    min-height: 51px;
    padding: 13px 15px;
    border: 1px solid #dce2ed;
    border-radius: 10px;
    background: #ffffff;
    color: #17233d;
    font-size: 14px;
    box-shadow: none;
}

    .pf-login-input::placeholder {
        color: #a0a9b9;
    }

    .pf-login-input:focus {
        border-color: #4268e8;
        box-shadow: 0 0 0 4px rgba(66, 104, 232, 0.10);
        outline: none;
    }

.pf-login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 25px;
}

    .pf-login-remember .form-check-input {
        width: 17px;
        height: 17px;
        margin: 0;
        cursor: pointer;
        accent-color: #315bd4;
    }

    .pf-login-remember label {
        margin: 0;
        color: #5e6a80;
        font-size: 13px;
        cursor: pointer;
    }

.pf-login-submit {
    width: 100%;
    min-height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: none;
    border-radius: 10px;
    background: #315bd4;
    color: #ffffff;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .pf-login-submit:hover {
        background: #2448b5;
        transform: translateY(-1px);
    }

    .pf-login-submit span {
        font-size: 20px;
    }

.pf-login-validation {
    margin-bottom: 18px;
    font-size: 13px;
}

.pf-login-field span[data-valmsg-for] {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.pf-login-security {
    margin-top: 28px;
    color: #8a94a6;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

/* Responsive layout */

@media (max-width: 900px) {
    .pf-login-card {
        width: 94%;
        grid-template-columns: 0.85fr 1.15fr;
    }

    .pf-login-welcome {
        padding: 30px;
    }

    .pf-login-form-section {
        padding: 40px 30px;
    }

    .pf-login-brand {
        font-size: 21px;
    }

    .pf-login-welcome h1 {
        font-size: 32px;
    }
}

@media (max-width: 650px) {
    .pf-login-page {
        padding: 28px 0;
    }

    .pf-login-card {
        width: 94%;
        max-width: 480px;
        min-height: auto;
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .pf-login-welcome {
        display: none;
    }

    .pf-login-form-section {
        padding: 38px 25px;
    }

    .pf-login-mobile-brand {
        display: block;
    }

    .pf-login-form-header {
        margin-bottom: 27px;
    }

        .pf-login-form-header h2 {
            font-size: 28px;
        }
}

/* =====================================================
   PEOPLEFIRST - ADMIN LAYOUT
   Theme: Navy, Royal Blue, White
===================================================== */

:root {
    --admin-bg: #f4f7fc;
    --admin-surface: #ffffff;
    --admin-sidebar: #111d38;
    --admin-sidebar-light: #19294b;
    --admin-blue: #4775f5;
    --admin-blue-hover: #365fe0;
    --admin-text: #202d45;
    --admin-muted: #8996ad;
    --admin-border: #e6ebf4;
    --admin-sidebar-text: #c4cfe3;
}

/* Reset */
html,
body.admin-page {
    width: 100%;
    height: 100%;
    margin: 0;
}

body.admin-page {
    overflow: hidden;
    background: var(--admin-bg);
    color: var(--admin-text);
    font-family: "Segoe UI", Arial, sans-serif;
}

.admin-page *,
.admin-page *::before,
.admin-page *::after {
    box-sizing: border-box;
}

/* Main layout */
.admin-layout {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--admin-bg);
}

/* =====================================================
   SIDEBAR
===================================================== */

.admin-sidebar {
    display: flex;
    flex: 0 0 278px;
    flex-direction: column;
    width: 278px;
    min-width: 278px;
    height: 100vh;
    padding: 25px 16px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    color: white;
    background: radial-gradient( ellipse at top left, rgba(71, 117, 245, 0.18), transparent 45% ), linear-gradient( 180deg, var(--admin-sidebar-light), var(--admin-sidebar) );
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    scrollbar-width: thin;
    scrollbar-color: #34466d transparent;
}

/* =====================================================
   PEOPLEFIRST BRAND
===================================================== */

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 0 0 28px;
    padding: 3px 5px 24px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

    .admin-brand:hover,
    .admin-brand:focus {
        color: white;
        text-decoration: none;
    }

    /* Blue P logo */
    .admin-brand .admin-brand-icon {
        display: flex;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 13px;
        color: #ffffff;
        background: linear-gradient(145deg, #7196ff, #3862ed);
        box-shadow: 0 7px 20px rgba(55, 100, 240, 0.30);
        font-size: 25px;
        font-weight: 800;
        line-height: 1;
    }

    /* Brand name and subtitle */
    .admin-brand .admin-brand-copy {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-width: 0;
        gap: 5px;
    }

        .admin-brand .admin-brand-copy strong {
            display: block;
            margin: 0;
            padding: 0;
            color: #ffffff;
            font-size: 21px;
            font-weight: 750;
            letter-spacing: -0.5px;
            line-height: 1.25;
            white-space: nowrap;
        }

        .admin-brand .admin-brand-copy small {
            display: block;
            margin: 0;
            padding: 0;
            color: #a8b9dc;
            font-size: 8px;
            font-weight: 700;
            letter-spacing: 0.75px;
            line-height: 1.5;
            white-space: nowrap;
        }

/* Workspace label */
.admin-nav-label {
    margin: 0 11px 12px;
    color: #8194ba;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

/* =====================================================
   NAVIGATION
===================================================== */

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .admin-nav a {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 48px;
        padding: 10px 13px;
        overflow: hidden;
        border: 1px solid transparent;
        border-radius: 10px;
        color: var(--admin-sidebar-text);
        text-decoration: none;
        font-size: 14px;
        font-weight: 550;
        transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    }

        .admin-nav a .nav-icon {
            display: flex;
            flex: 0 0 27px;
            align-items: center;
            justify-content: center;
            width: 27px;
            height: 27px;
            margin: 0;
            padding: 0;
            color: #a9badc;
            font-size: 21px;
            line-height: 1;
            transition: color 0.22s ease;
        }

        .admin-nav a:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.07);
            border-color: rgba(255, 255, 255, 0.06);
            transform: translateX(2px);
        }

            .admin-nav a:hover .nav-icon {
                color: #ffffff;
            }

        .admin-nav a.active {
            color: #ffffff;
            background: linear-gradient(100deg, #4775f5, #365fe0);
            border-color: rgba(255, 255, 255, 0.13);
            box-shadow: 0 6px 17px rgba(35, 77, 205, 0.24);
        }

            .admin-nav a.active .nav-icon {
                color: #ffffff;
            }

            .admin-nav a.active::before {
                position: absolute;
                top: 11px;
                bottom: 11px;
                left: 0;
                width: 3px;
                border-radius: 0 4px 4px 0;
                background: #b5caff;
                content: "";
            }

/* =====================================================
   USER PROFILE
===================================================== */

.admin-sidebar-bottom {
    margin-top: auto;
    padding-top: 24px;
}

.admin-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 17px 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-user-avatar {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(145deg, #6587e4, #334f9c);
    font-size: 16px;
    font-weight: 800;
}

.admin-user-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

    .admin-user-info strong {
        overflow-wrap: anywhere;
        color: #ffffff;
        font-size: 12px;
        font-weight: 650;
    }

    .admin-user-info small {
        color: #9eafd2;
        font-size: 11px;
    }

.admin-online-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: #35d39a;
    box-shadow: 0 0 0 4px rgba(53, 211, 154, 0.12);
}

/* =====================================================
   LOGOUT BUTTON
===================================================== */

.admin-sidebar-bottom form {
    width: 100%;
    margin: 0;
}

.admin-logout {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    color: #c5cfe2;
    background: transparent;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .admin-logout span {
        color: #a9badc;
        font-size: 19px;
        line-height: 1;
    }

    .admin-logout:hover {
        border-color: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

/* =====================================================
   MAIN CONTENT
===================================================== */

.admin-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--admin-bg);
}

.admin-content {
    flex: 1 0 auto;
    min-width: 0;
    padding: 30px 32px;
}

    .admin-content > :last-child {
        margin-bottom: 0;
    }

/* =====================================================
   FOOTER
===================================================== */

.admin-footer {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 30px;
    border-top: 1px solid var(--admin-border);
    color: #8792a7;
    background: #ffffff;
    font-size: 12px;
}

    .admin-footer span {
        color: #a0a9ba;
    }

/* =====================================================
   RESPONSIVE LAYOUT
===================================================== */

@media (max-width: 768px) {
    body.admin-page {
        overflow: auto;
    }

    .admin-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .admin-sidebar {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        height: auto;
        padding: 18px 15px;
        overflow: visible;
    }

    .admin-brand {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

        .admin-nav a {
            min-width: 0;
            min-height: 44px;
            gap: 8px;
            padding: 9px 10px;
            font-size: 13px;
        }

            .admin-nav a .nav-icon {
                flex-basis: 23px;
                width: 23px;
                font-size: 19px;
            }

            .admin-nav a.active::before {
                display: none;
            }

    .admin-sidebar-bottom {
        margin-top: 15px;
        padding-top: 12px;
    }

    .admin-main {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .admin-content {
        padding: 20px 15px;
    }

    .admin-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding: 14px 16px;
    }
}

/* Small mobile screens */
@media (max-width: 380px) {
    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-brand .admin-brand-copy strong {
        font-size: 20px;
    }

    .admin-brand .admin-brand-copy small {
        font-size: 7px;
        letter-spacing: 0.65px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .admin-page *,
    .admin-page *::before,
    .admin-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Workspace welcome banner */
.workspace-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 320px;
    padding: 40px;
    margin: 28px 0 34px;
    overflow: hidden;
    border: 1px solid #dce6fa;
    border-radius: 24px;
    background: radial-gradient(circle at 85% 20%, #dce7ff 0, transparent 32%), linear-gradient(120deg, #ffffff, #edf3ff);
    box-shadow: 0 14px 38px rgba(39, 70, 130, 0.08);
}

.workspace-copy {
    flex: 1;
    min-width: 0;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.workspace-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #3768d8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4778ed;
    box-shadow: 0 0 0 5px #dce7ff;
}

.workspace-copy h2 {
    margin: 0 0 18px;
    color: #172544;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.4px;
}

    .workspace-copy h2 span {
        color: #4674e8;
    }

.workspace-copy p {
    max-width: 520px;
    margin-bottom: 24px;
    color: #64718a;
    font-size: 16px;
    line-height: 1.8;
}

.workspace-features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

    .workspace-features span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 12px;
        border: 1px solid #dce6f8;
        border-radius: 10px;
        background: white;
        color: #34425e;
        font-size: 12px;
        font-weight: 700;
    }

    .workspace-features b {
        color: #3265d8;
        font-size: 15px;
    }

.workspace-visual {
    position: relative;
    flex: 0 0 290px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orbit {
    position: absolute;
    border: 1px solid #cbd9fb;
    border-radius: 50%;
}

.orbit-one {
    width: 220px;
    height: 220px;
}

.orbit-two {
    width: 170px;
    height: 170px;
    border-style: dashed;
}

.visual-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 32px;
    background: linear-gradient(145deg, #638af5, #315bd1);
    color: white;
    box-shadow: 0 18px 40px rgba(53, 91, 199, 0.3);
    transform: rotate(-5deg);
}

.visual-emoji {
    font-size: 32px;
    margin-bottom: 7px;
}

.visual-center strong {
    font-size: 16px;
    font-weight: 800;
}

.visual-center small {
    margin-top: 5px;
    color: #e3eaff;
    font-size: 11px;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e1e8f5;
    border-radius: 13px;
    background: white;
    box-shadow: 0 10px 28px rgba(35, 61, 112, 0.12);
}

.floating-card-top {
    top: 8px;
    right: -3px;
}

.floating-card-bottom {
    bottom: 8px;
    left: -5px;
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: #e9f0ff;
    color: #3768dc;
    font-size: 20px;
    font-weight: 800;
}

.floating-card strong,
.floating-card small {
    display: block;
    white-space: nowrap;
}

.floating-card strong {
    color: #233351;
    font-size: 12px;
}

.floating-card small {
    margin-top: 4px;
    color: #8490a5;
    font-size: 10px;
}

@media (max-width: 900px) {
    .workspace-hero {
        padding: 28px;
    }

    .workspace-visual {
        flex-basis: 240px;
        transform: scale(0.9);
    }
}

@media (max-width: 650px) {
    .workspace-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
    }

    .workspace-copy h2 {
        font-size: 32px;
    }

    .workspace-copy p {
        font-size: 14px;
    }

    .workspace-visual {
        align-self: center;
        width: 100%;
        flex-basis: auto;
        transform: none;
    }
}

/* =========================================
   PEOPLEFIRST DASHBOARD WELCOME BANNER
========================================= */

.dashboard-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 260px;
    margin-bottom: 30px;
    padding: 30px 38px;
    overflow: hidden;
    border: 1px solid #dbe5ff;
    border-radius: 20px;
    background: radial-gradient(ellipse at 85% 15%, rgba(255,255,255,.9), transparent 33%), linear-gradient(115deg, #e7edff 0%, #dce7ff 54%, #edf3ff 100%);
    box-shadow: 0 9px 30px rgba(42, 79, 164, .07);
}

.welcome-copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4164c8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.welcome-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #24ad83;
    box-shadow: 0 0 0 4px rgba(36, 173, 131, .12);
}

.welcome-copy h2 {
    margin: 16px 0 12px;
    color: #172b53;
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 800;
    letter-spacing: -1.3px;
    line-height: 1.18;
}

.welcome-copy > p {
    max-width: 460px;
    margin: 0;
    color: #5d6e91;
    font-size: 14px;
    line-height: 1.8;
}

.welcome-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 17px;
    margin-top: 22px;
}

    .welcome-features span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #3b5076;
        font-size: 11px;
        font-weight: 650;
    }

    .welcome-features i {
        display: grid;
        place-items: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        color: #2a9b79;
        font-size: 11px;
        font-style: normal;
        box-shadow: 0 2px 5px rgba(30, 60, 110, .08);
    }

/* CSS illustration */
.welcome-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 37%;
    min-width: 250px;
    min-height: 205px;
    align-self: stretch;
}

.art-orbit {
    position: absolute;
    border: 1px solid rgba(78, 111, 199, .16);
    border-radius: 50%;
}

.art-orbit-one {
    width: 240px;
    height: 240px;
}

.art-orbit-two {
    width: 185px;
    height: 185px;
}

.art-window {
    position: relative;
    z-index: 1;
    width: min(100%, 290px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 17px 38px rgba(43, 70, 137, .17);
    transform: rotate(2deg);
}

.art-window-top {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 14px;
    border-bottom: 1px solid #edf0f8;
}

    .art-window-top > span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #cad5ef;
    }

    .art-window-top b {
        margin-left: auto;
        color: #8b97b0;
        font-size: 8px;
        letter-spacing: 1px;
    }

.art-window-content {
    padding: 17px;
}

.art-mini-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.art-person {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border: 2px solid #fff;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(30,50,90,.08);
}

.art-person-one {
    background: linear-gradient(145deg, #77a0ff, #4569d9);
}

.art-person-two {
    background: linear-gradient(145deg, #f2bb8b, #ce805c);
}

.art-person-three {
    background: linear-gradient(145deg, #ad9bf5, #7660ce);
}

.art-person-four {
    background: linear-gradient(145deg, #83d5c1, #359f88);
}

.art-mini-profile strong,
.art-floating-card strong {
    display: block;
    color: #273858;
    font-size: 11px;
}

.art-mini-profile small,
.art-floating-card small {
    display: block;
    margin-top: 4px;
    color: #8a97af;
    font-size: 9px;
}

.art-online {
    margin-left: auto;
    color: #28bd91;
    font-size: 10px;
}

.art-progress-label {
    display: flex;
    justify-content: space-between;
    margin: 19px 0 8px;
    color: #7785a1;
    font-size: 9px;
}

    .art-progress-label strong {
        color: #4269dc;
    }

.art-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 10px;
    background: #eaf0ff;
}

    .art-progress span {
        display: block;
        width: 86%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #6e94ff, #4268ed);
    }

.art-team {
    display: flex;
    align-items: center;
    margin-top: 17px;
}

    .art-team .art-person {
        width: 30px;
        height: 30px;
        margin-right: -5px;
        border-radius: 10px;
    }

.art-team-more {
    margin-left: 12px;
    color: #7b89a5;
    font-size: 9px;
}

.art-floating-card {
    position: absolute;
    z-index: 2;
    right: -2px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #fff;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(43, 70, 137, .15);
    transform: rotate(-2deg);
}

.art-floating-check {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 10px;
    background: #e2f8ef;
    color: #189a70;
    font-weight: 800;
}

@media (max-width: 900px) {
    .dashboard-welcome {
        padding: 27px;
    }

    .welcome-art {
        width: 33%;
        min-width: 220px;
    }

    .art-floating-card {
        right: -5px;
    }
}

@media (max-width: 650px) {
    .dashboard-welcome {
        padding: 25px 22px;
    }

    .welcome-art {
        display: none;
    }

    .welcome-copy h2 {
        font-size: 30px;
    }

    .welcome-features {
        gap: 10px;
    }
}

/* =========================================
   PEOPLEFIRST - EMPLOYEES PAGE
========================================= */

.employees-page {
    --emp-blue: #416ee0;
    --emp-navy: #182747;
    --emp-muted: #77839a;
    --emp-border: #e5eaf3;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    color: var(--emp-navy);
    font-family: inherit;
}

.employees-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 4px 0 28px;
}

.employees-breadcrumb {
    margin-bottom: 10px;
    color: #5474c2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

    .employees-breadcrumb span {
        padding: 0 7px;
        color: #aab5c9;
    }

.employees-header h1 {
    margin: 0;
    color: #182747;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
}

.employees-header p {
    margin: 9px 0 0;
    color: #77839a;
    font-size: 15px;
    line-height: 1.7;
}

.employee-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid #416ee0;
    border-radius: 12px;
    background: linear-gradient(135deg, #527ff0, #3863d3);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 7px 18px rgba(65, 110, 224, 0.2);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .employee-add-button:hover {
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 11px 23px rgba(65, 110, 224, 0.27);
    }

.add-symbol {
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}

/* Welcome banner */

.employees-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 260px;
    margin-bottom: 28px;
    padding: 32px 38px;
    overflow: hidden;
    border: 1px solid #dce6fa;
    border-radius: 22px;
    background: radial-gradient(circle at 83% 15%, rgba(128, 163, 255, .22), transparent 32%), linear-gradient(115deg, #fff 0%, #f2f6ff 60%, #e9efff 100%);
    box-shadow: 0 12px 32px rgba(40, 68, 125, .06);
}

.employees-welcome-copy {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.employees-welcome-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: #426bd0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

    .employees-welcome-label > span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #4b78e8;
        box-shadow: 0 0 0 4px #e0eaff;
    }

.employees-welcome h2 {
    margin: 0 0 14px;
    color: #192848;
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.2px;
}

    .employees-welcome h2 span {
        color: #4774e5;
    }

.employees-welcome-copy p {
    max-width: 475px;
    margin: 0;
    color: #6d7a93;
    font-size: 14px;
    line-height: 1.8;
}

/* Decorative team illustration */

.employees-welcome-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 260px;
    height: 205px;
}

.employee-orbit {
    position: absolute;
    border: 1px solid rgba(77, 113, 211, .2);
    border-radius: 50%;
}

.employee-orbit-one {
    width: 185px;
    height: 185px;
}

.employee-orbit-two {
    width: 140px;
    height: 140px;
    border-style: dashed;
}

.employee-people-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 7px solid rgba(255, 255, 255, .7);
    border-radius: 32px;
    background: linear-gradient(145deg, #6d91f3, #3762d5);
    box-shadow: 0 16px 35px rgba(56, 94, 201, .27);
    transform: rotate(-5deg);
}

    .employee-people-icon span {
        margin: 0 -3px;
        color: white;
        font-size: 39px;
        font-weight: 700;
    }

        .employee-people-icon span:nth-child(2) {
            margin-top: -18px;
            font-size: 46px;
        }

.employee-art-note {
    position: absolute;
    right: -5px;
    bottom: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e0e7f5;
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 9px 24px rgba(35, 61, 112, .12);
}

.employee-art-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e6f7ed;
    color: #24945a;
    font-size: 18px;
    font-weight: 800;
}

.employee-art-note strong,
.employee-art-note small {
    display: block;
    white-space: nowrap;
}

.employee-art-note strong {
    color: #263653;
    font-size: 11px;
}

.employee-art-note small {
    margin-top: 4px;
    color: #8590a4;
    font-size: 10px;
}

/* Search and filter card */

.employee-tools,
.employee-results {
    margin-bottom: 26px;
    padding: 25px;
    border: 1px solid #e6ebf4;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(31, 55, 100, .045);
}

.employee-tools-heading,
.employee-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

    .employee-tools-heading h2,
    .employee-results-heading h2 {
        margin: 0;
        color: #20304e;
        font-size: 20px;
        font-weight: 800;
    }

    .employee-tools-heading p,
    .employee-results-heading p {
        margin: 6px 0 0;
        color: #8590a4;
        font-size: 13px;
        line-height: 1.6;
    }

.directory-label,
.employee-records-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid #e2eaff;
    border-radius: 9px;
    background: #f4f7ff;
    color: #4569c2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    white-space: nowrap;
}

    .employee-records-tag > span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #4a79e8;
    }

.employee-filter-row {
    display: grid;
    grid-template-columns: minmax(200px, 1.5fr) minmax(170px, 1fr) 175px;
    align-items: end;
    gap: 17px;
}

    .employee-filter-row label {
        display: block;
        margin-bottom: 9px;
        color: #46536c;
        font-size: 12px;
        font-weight: 700;
    }

.employee-input-wrap {
    position: relative;
}

.employee-search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color: #7d8ca8;
    font-size: 25px;
    line-height: 1;
    transform: translateY(-54%);
    pointer-events: none;
}

.employee-input-wrap .form-control,
.employee-department-field .form-select {
    width: 100%;
    min-height: 47px;
    border: 1px solid #e0e6f0;
    border-radius: 10px;
    background-color: #fbfcff;
    color: #283653;
    font-size: 13px;
    box-shadow: none;
}

.employee-input-wrap .form-control {
    padding-left: 43px;
}

    .employee-input-wrap .form-control::placeholder {
        color: #a0aabc;
    }

    .employee-input-wrap .form-control:focus,
    .employee-department-field .form-select:focus {
        border-color: #7194f0;
        background-color: #fff;
        box-shadow: 0 0 0 3px rgba(65, 110, 224, .1);
    }

.employee-search-button {
    width: 100%;
    min-height: 47px;
    padding: 0 15px;
    border: 0;
    border-radius: 10px;
    background: #416ee0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease;
}

    .employee-search-button:hover {
        background: #315ac5;
    }

/* Employee records table area */

.employee-results {
    padding-bottom: 18px;
}

.employee-results-heading {
    margin-bottom: 20px;
}

#employeeTableContainer {
    position: relative;
    min-width: 0;
}

    #employeeTableContainer .table-responsive {
        overflow-x: auto;
        border: 1px solid #edf0f6;
        border-radius: 12px;
    }

    #employeeTableContainer table {
        width: 100%;
        min-width: 590px;
        margin-bottom: 0;
        border-collapse: separate;
        border-spacing: 0;
        color: #34415c;
        font-size: 13px;
    }

        #employeeTableContainer table thead th {
            padding: 15px 17px;
            border-bottom: 1px solid #e7ecf5;
            background: #f7f9fd;
            color: #7c88a0;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: .9px;
            white-space: nowrap;
        }

        #employeeTableContainer table tbody td {
            padding: 16px 17px;
            border-bottom: 1px solid #edf0f6;
            background: #fff;
            vertical-align: middle;
        }

        #employeeTableContainer table tbody tr:last-child td {
            border-bottom: 0;
        }

        #employeeTableContainer table tbody tr:hover td {
            background: #f9fbff;
        }

        #employeeTableContainer table .btn {
            border-radius: 8px;
            font-size: 12px;
        }

        #employeeTableContainer table a {
            text-decoration: none;
        }

    #employeeTableContainer .pagination {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 18px 0 0;
    }

        #employeeTableContainer .pagination .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 35px;
            min-height: 35px;
            border: 1px solid #e2e8f3;
            border-radius: 8px !important;
            background: #fff;
            color: #50617f;
            font-size: 12px;
            box-shadow: none;
        }

        #employeeTableContainer .pagination .active .page-link {
            border-color: #416ee0;
            background: #416ee0;
            color: #fff;
        }

        #employeeTableContainer .pagination .page-link:hover {
            border-color: #b9caf8;
            background: #f0f4ff;
            color: #315ac5;
        }

.employee-loading {
    opacity: .55;
    pointer-events: none;
}

.employee-message {
    padding: 25px;
    border-radius: 10px;
    background: #fff6f5;
    color: #b33a32;
    font-size: 14px;
}

/* Responsive layout */

@media (max-width: 1050px) {
    .employee-filter-row {
        grid-template-columns: 1fr 1fr;
    }

    .employee-search-action {
        grid-column: 1 / -1;
    }

        .employee-search-action label {
            display: none;
        }

    .employees-welcome {
        padding: 27px;
    }

    .employees-welcome-art {
        flex-basis: 220px;
        transform: scale(.9);
    }
}

@media (max-width: 700px) {
    .employees-header {
        align-items: flex-start;
        flex-direction: column;
    }

        .employees-header h1 {
            font-size: 29px;
        }

    .employees-welcome {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 21px;
    }

        .employees-welcome h2 {
            font-size: 32px;
        }

    .employees-welcome-art {
        align-self: center;
        width: 100%;
        max-width: 280px;
        flex-basis: auto;
        height: 190px;
        transform: none;
    }

    .employee-tools,
    .employee-results {
        padding: 18px 14px;
    }

    .employee-filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .employee-search-action {
        grid-column: auto;
    }

    .employee-tools-heading,
    .employee-results-heading {
        align-items: flex-start;
    }

    .directory-label,
    .employee-records-tag {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .employee-add-button {
        transition: none;
    }
}



/*-=-=-=-=-=-=-=-=-============---------*/

/* ============================================
   PEOPLEFIRST — LARGER PREMIUM ADMIN DASHBOARD
============================================ */

/* Main layout */
.admin-layout {
    --admin-blue: #4c78ff;
    --admin-blue-light: #7095ff;
    --admin-navy: #111d38;
    --admin-text: #1d2b45;
    --admin-border: #e4eaf5;
    background: #f2f5fc;
}

/* Wider sidebar */
.admin-sidebar {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    padding: 32px 20px 22px;
    background: radial-gradient( ellipse at 0% 0%, rgba(76, 120, 255, 0.25), transparent 48% ), linear-gradient(180deg, #19294b 0%, #101a33 100%);
}

/* Larger PeopleFirst branding */
.admin-brand {
    gap: 15px;
    margin-bottom: 38px;
    padding: 4px 8px 28px;
}

    .admin-brand .admin-brand-icon {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        border-radius: 16px;
        background: linear-gradient(145deg, #83a4ff, #3865f2);
        box-shadow: 0 8px 24px rgba(55, 100, 240, 0.4);
        font-size: 30px;
    }

    .admin-brand .admin-brand-copy {
        gap: 6px;
    }

        .admin-brand .admin-brand-copy strong {
            font-size: 25px;
            font-weight: 800;
            letter-spacing: -0.7px;
        }

        .admin-brand .admin-brand-copy small {
            font-size: 9px;
            letter-spacing: 1px;
        }

/* Workspace label */
.admin-nav-label {
    margin: 0 13px 16px;
    color: #91a7d4;
    font-size: 11px;
    letter-spacing: 2px;
}

/* Larger navigation items */
.admin-nav {
    gap: 10px;
}

    .admin-nav a {
        min-height: 56px;
        gap: 15px;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
    }

        .admin-nav a .nav-icon {
            flex-basis: 30px;
            width: 30px;
            height: 30px;
            font-size: 24px;
        }

        /* More visible active navigation */
        .admin-nav a.active {
            background: linear-gradient(105deg, #527fff, #345ce0);
            box-shadow: 0 8px 22px rgba(50, 91, 220, 0.32);
        }

        .admin-nav a:hover {
            background: rgba(104, 143, 255, 0.15);
        }

/* Larger profile section */
.admin-sidebar-bottom {
    padding-top: 28px;
}

.admin-user {
    gap: 13px;
    padding: 21px 5px 19px;
}

.admin-user-avatar {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 19px;
}

.admin-user-info strong {
    font-size: 14px;
}

.admin-user-info small {
    font-size: 12px;
}

.admin-logout {
    min-height: 49px;
    padding: 13px 16px;
    border-radius: 11px;
    font-size: 15px;
}

/* More spacious dashboard content */
.admin-content {
    padding: 38px 40px;
}

    /* Make dashboard headings larger */
    .admin-content h1 {
        font-size: clamp(30px, 2.4vw, 38px);
        font-weight: 800;
        letter-spacing: -0.8px;
        color: #172746;
    }

    .admin-content h2 {
        font-size: 27px;
        font-weight: 750;
        color: #203253;
    }

    .admin-content h3 {
        font-size: 21px;
        font-weight: 700;
        color: #263957;
    }

    /* More spacious dashboard cards */
    .admin-content .card {
        border: 1px solid #e5ebf6;
        border-radius: 17px;
        box-shadow: 0 5px 20px rgba(31, 55, 100, 0.055);
    }

    /* Bigger dashboard metrics */
    .admin-content .stat-value,
    .admin-content .dashboard-stat-value {
        font-size: 32px;
        font-weight: 800;
        color: #1d3155;
    }

/* Footer styling */
.admin-footer {
    padding: 19px 40px;
    background: #ffffff;
    border-top: 1px solid #e4eaf5;
    font-size: 13px;
}

/* Tablet screens */
@media (max-width: 1000px) and (min-width: 769px) {
    .admin-sidebar {
        flex-basis: 270px;
        width: 270px;
        min-width: 270px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .admin-content {
        padding: 28px 24px;
    }

    .admin-brand .admin-brand-copy strong {
        font-size: 22px;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .admin-sidebar {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        padding: 22px 17px;
    }

    .admin-brand {
        margin-bottom: 24px;
    }

    .admin-nav a {
        min-height: 48px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .admin-content {
        padding: 24px 17px;
    }

        .admin-content h1 {
            font-size: 29px;
        }

        .admin-content h2 {
            font-size: 23px;
        }

    .admin-footer {
        padding: 16px 18px;
    }
}



/*  =====================       */



/* ============================================
   PEOPLEFIRST — BOLDER, LARGER TYPOGRAPHY
============================================ */

/* Brand name */
.admin-brand .admin-brand-copy strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.3;
}

.admin-brand .admin-brand-copy small {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
}

/* Workspace label */
.admin-nav-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Sidebar navigation */
.admin-nav a {
    min-height: 59px;
    padding: 15px 16px;
    font-size: 17px;
    font-weight: 600;
}

    .admin-nav a .nav-icon {
        font-size: 26px;
    }

/* User profile */
.admin-user-info strong {
    font-size: 14px;
    font-weight: 700;
}

.admin-user-info small {
    font-size: 12px;
}

/* Logout */
.admin-logout {
    font-size: 16px;
    font-weight: 600;
}

/* Main dashboard headings */
.admin-content h1 {
    font-size: clamp(34px, 2.6vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.admin-content h2 {
    font-size: 29px;
    font-weight: 750;
}

.admin-content h3 {
    font-size: 23px;
    font-weight: 700;
}

/* Dashboard card text */
.admin-content .card-title {
    font-size: 18px;
    font-weight: 700;
}

.admin-content .stat-value,
.admin-content .dashboard-stat-value {
    font-size: 36px;
    font-weight: 800;
}

/* Keep typography comfortable on mobile */
@media (max-width: 768px) {
    .admin-brand .admin-brand-copy strong {
        font-size: 25px;
    }

    .admin-nav a {
        min-height: 50px;
        font-size: 15px;
    }

    .admin-content h1 {
        font-size: 30px;
    }

    .admin-content h2 {
        font-size: 24px;
    }
}















/* home page animtion */

/* =====================================================
   PEOPLEFIRST HOME PAGE
   Unique animation style: SaaS landing page reveal
===================================================== */

/* Smooth entrance for the whole landing page */
.landing-page {
    overflow: hidden;
    animation: homePageAppear 0.8s ease-out both;
}

@keyframes homePageAppear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Soft decorative glow behind the hero */
.hero-section {
    position: relative;
    isolation: isolate;
}

    .hero-section::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 5%;
        right: -140px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(76, 120, 255, 0.13), rgba(76, 120, 255, 0) );
        filter: blur(12px);
        pointer-events: none;
        animation: heroGlowDrift 9s ease-in-out infinite alternate;
    }

@keyframes heroGlowDrift {
    from {
        transform: translate3d(0, 0, 0) scale(0.95);
    }

    to {
        transform: translate3d(-35px, 24px, 0) scale(1.12);
    }
}

/* Hero content: staggered entrance */
.hero-label {
    animation: homeSlideIn 0.65s 0.08s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-title {
    animation: homeSlideIn 0.8s 0.16s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-description {
    animation: homeSlideIn 0.75s 0.27s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-actions {
    animation: homeSlideIn 0.75s 0.38s cubic-bezier(.2, .75, .25, 1) both;
}

.hero-trust {
    animation: homeSlideIn 0.75s 0.48s cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes homeSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard preview: subtle floating entrance */
.preview-window {
    transform-origin: center;
    animation: previewEnter 1s 0.2s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes previewEnter {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.965);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-caption {
    animation: homeSlideIn 0.7s 0.7s ease both;
}

/* Live indicators */
.status-dot {
    animation: statusBreath 2.2s ease-in-out infinite;
}

@keyframes statusBreath {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(53, 211, 154, 0.22);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(53, 211, 154, 0);
    }
}

/* Floating preview avatar and icons */
.preview-avatar {
    animation: avatarDrift 4s ease-in-out infinite;
}

@keyframes avatarDrift {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.stat-icon,
.feature-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-stat:hover .stat-icon,
.feature-card:hover .feature-icon {
    transform: translateY(-4px) rotate(-4deg);
}

/* Animated illustrative chart bars */
.chart-bar {
    transform-origin: bottom;
    animation: chartBarReveal 0.8s cubic-bezier(.2, .75, .25, 1) both;
}

.bar-one {
    animation-delay: 0.35s;
}

.bar-two {
    animation-delay: 0.43s;
}

.bar-three {
    animation-delay: 0.51s;
}

.bar-four {
    animation-delay: 0.59s;
}

.bar-five {
    animation-delay: 0.67s;
}

.bar-six {
    animation-delay: 0.75s;
}

.bar-seven {
    animation-delay: 0.83s;
}

@keyframes chartBarReveal {
    from {
        opacity: 0.35;
        transform: scaleY(0.08);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Feature section heading */
.section-heading {
    animation: homeSlideIn 0.75s 0.1s ease both;
}

/* Feature cards: staggered entrances */
.feature-card {
    height: 100%;
    animation: featureReveal 0.75s cubic-bezier(.2, .75, .25, 1) both;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.features-section .row > div:nth-child(1) .feature-card {
    animation-delay: 0.12s;
}

.features-section .row > div:nth-child(2) .feature-card {
    animation-delay: 0.22s;
}

.features-section .row > div:nth-child(3) .feature-card {
    animation-delay: 0.32s;
}

.features-section .row > div:nth-child(4) .feature-card {
    animation-delay: 0.42s;
}

@keyframes featureReveal {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 120, 255, 0.28);
    box-shadow: 0 16px 35px rgba(31, 55, 100, 0.09);
}

/* Feature number accent */
.feature-number {
    transition: color 0.25s ease;
}

.feature-card:hover .feature-number {
    color: #4775f5;
}

/* CTA entrance */
.cta-panel {
    animation: homeSlideIn 0.8s 0.15s ease both;
}

/* Buttons: subtle lift */
.hero-button,
.cta-button {
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

    .hero-button:hover,
    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(52, 95, 224, 0.23);
        filter: brightness(1.04);
    }

/* Secondary link */
.hero-secondary-link {
    transition: color 0.25s ease;
}

    .hero-secondary-link:hover {
        color: #4775f5;
    }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}







/*    lower section of home page */

/* ==========================================
   PEOPLEFIRST — LOWER HOME PAGE
   Distinct scroll and hover animation style
========================================== */

/* Feature section gets its own visual atmosphere */
.features-section {
    position: relative;
    isolation: isolate;
    padding-top: 90px;
    padding-bottom: 100px;
}

    .features-section::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 12%;
        left: -180px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(76, 120, 255, 0.09), transparent 70% );
        pointer-events: none;
    }

    /* Section heading: different from the hero entrance */
    .features-section .section-heading {
        animation: lowerHeadingReveal 0.9s ease-out both;
    }

@keyframes lowerHeadingReveal {
    from {
        opacity: 0;
        letter-spacing: 2px;
        filter: blur(5px);
    }

    to {
        opacity: 1;
        letter-spacing: normal;
        filter: blur(0);
    }
}

/* Feature cards: elegant, staggered appearance */
.feature-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(220, 229, 245, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 25px rgba(24, 44, 82, 0.035);
    transition: transform 0.4s cubic-bezier(.2, .8, .2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

    /* A moving light sweep on hover */
    .feature-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -130%;
        width: 70%;
        height: 100%;
        background: linear-gradient( 110deg, transparent, rgba(105, 145, 255, 0.10), transparent );
        transform: skewX(-18deg);
        transition: left 0.7s ease;
        pointer-events: none;
    }

    .feature-card:hover::after {
        left: 150%;
    }

    .feature-card:hover {
        transform: translateY(-10px) scale(1.015);
        border-color: rgba(76, 120, 255, 0.35);
        box-shadow: 0 22px 48px rgba(36, 66, 130, 0.10), 0 0 0 4px rgba(76, 120, 255, 0.035);
    }

/* Feature icons: soft orbit-like movement */
.feature-icon {
    transition: transform 0.45s cubic-bezier(.2, .8, .2, 1), box-shadow 0.45s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-4px) rotate(7deg) scale(1.08);
    box-shadow: 0 10px 24px rgba(76, 120, 255, 0.17);
}

/* Feature number changes independently */
.feature-number {
    transition: transform 0.35s ease, color 0.35s ease;
}

.feature-card:hover .feature-number {
    transform: translateX(5px);
    color: #4775f5;
}

/* CTA: bold gradient reveal, unlike the hero */
.cta-section {
    position: relative;
    padding-top: 35px;
    padding-bottom: 90px;
}

.cta-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(120deg, #142344, #243f78 55%, #315bd0);
    box-shadow: 0 25px 60px rgba(23, 45, 91, 0.17);
    transition: box-shadow 0.4s ease;
}

    .cta-panel::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -120px;
        right: -70px;
        width: 320px;
        height: 320px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.035), 0 0 0 70px rgba(255, 255, 255, 0.025);
        animation: ctaOrbFloat 10s ease-in-out infinite alternate;
        pointer-events: none;
    }

@keyframes ctaOrbFloat {
    from {
        transform: translate(0, 0) scale(0.95);
    }

    to {
        transform: translate(-18px, 18px) scale(1.06);
    }
}

.cta-panel:hover {
    box-shadow: 0 32px 75px rgba(23, 45, 91, 0.24);
}

/* CTA button: distinct press and lift effect */
.cta-button {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

    .cta-button:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }

    .cta-button:active {
        transform: translateY(-1px) scale(0.98);
    }

/* Footer-like bottom area */
.preview-caption {
    transition: color 0.3s ease, transform 0.3s ease;
}

    .preview-caption:hover {
        color: #4775f5;
        transform: translateY(-2px);
    }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .features-section *,
    .features-section *::before,
    .features-section *::after,
    .cta-section *,
    .cta-section *::before,
    .cta-section *::after {
        animation: none !important;
        transition: none !important;
    }
}
