:root {
    --pwp-primary: #0b3d91;
    --pwp-dark: #102542;
    --pwp-light: #f8f9fa;
    --pwp-border: #e5eef7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #1c2734;
    background-color: #f9fbfd;
}

/* Reserve layout for above-the-fold content before async styles load */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

[class^="col-"], [class*=" col-"] {
    position: relative;
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .py-md-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .col-lg-8 {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }

    .col-lg-10 {
        flex: 0 0 83.3333%;
        max-width: 83.3333%;
    }
}

@media (min-width: 1200px) {
    .col-xl-8 {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }
}

.text-center {
    text-align: center !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.15rem;
    line-height: 1.5;
    border-radius: 0.4rem;
}

.btn-group {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.btn-warning {
    color: #102542;
    background-color: #ffc107;
    border-color: #ffc107;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.display-5 {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.h5, .h5 * {
    font-size: 1.25rem;
    line-height: 1.2;
}

.header-div {
    background: linear-gradient(135deg, var(--pwp-primary), var(--pwp-dark));
    color: var(--pwp-light);
    padding-top: 8px;
    padding-bottom: 12px;
    min-height: 76px;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 64px;
}

/* Defer layout/paint for below-the-fold sections to speed initial render */
.link-grid,
.faq-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

.hero-layout {
    max-width: 1040px;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0.35rem;
}

@media (max-width: 767.98px) {
    .hero-layout {
        min-height: 320px;
        padding-top: 0.65rem;
        padding-bottom: 1.25rem;
        align-items: center;
    }
}

.hero-eyebrow {
    letter-spacing: 0.08em;
    font-weight: 700;
    color: rgba(248, 249, 253, 0.72);
    font-size: 0.95rem;
}

#messageBox {
    align-items: center;
}

#messageBox .col {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.75rem 0;
}

#messageTxt {
    margin: 0;
    line-height: 1.4;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(248, 249, 253, 0.9);
}

.hero-dropdown {
    width: 260px;
    max-width: 100%;
}

.hero-dropdown .btn {
    min-width: 100%;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.hero-dropdown .dropdown-menu {
    min-width: 100%;
    width: 100%;
}

.navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.7rem;
    background: transparent;
    min-height: 64px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    font-size: 1rem;
    line-height: 1.4;
}

.navbar-nav.navBtn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-collapse {
    width: 100%;
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}

.navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    line-height: 1.25;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 600;
}

.nav-links-pending .navbar-collapse {
    visibility: hidden;
}

.nav-links-ready .navbar-collapse {
    visibility: visible;
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        display: none;
        width: 100%;
        padding-top: 0.35rem;
    }

    .navbar-collapse.show {
        display: block;
    }

    .navbar-nav {
        width: 100%;
        align-items: flex-start;
        gap: 0;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 0.35rem 0;
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 12rem;
    padding: 0.5rem 0;
    margin-top: 0.35rem;
    font-size: 1rem;
    color: #1c2734;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #d9e4f2;
    border-radius: 0.5rem;
    box-shadow: 0 12px 30px rgba(16, 37, 66, 0.12);
}

.dropdown.show > .dropdown-menu,
.show > .dropdown-menu {
    display: block;
}


.navbar-brand {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 767.98px) {
    .header-div {
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar {
        padding: 0.35rem 0.75rem;
    }

    .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 0.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
        background: transparent;
        border: 1px solid rgba(248, 249, 250, 0.5);
        box-shadow: none;
    }

    .navbar-toggler-icon {
        width: 1.5rem;
        height: 1.5rem;
        background-size: 1.5rem 1.5rem;
    }
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.1rem rgba(248, 249, 250, 0.45);
}

@media (min-width: 768px) {
    .header-div {
        min-height: 88px;
    }
}


.customNav .nav-link {
    color: var(--pwp-light);
    font-weight: 600;
    padding: 0.07rem 0.12rem;
}

.customNav {
    background: linear-gradient(135deg, #0b3d91, #102542);
}

.brand-logo {
    width: 40px;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.w-40px {
    width: 40px !important;
}

@media (min-width: 768px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        align-items: center;
        justify-content: space-between;
    }

    .py-md-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }

    .navbar-toggler {
        display: none;
    }
}

.light-color {
    color: #FAE391 !important;
}

.mainBoxesNew1 {
    background-color: rgba(255, 255, 255, 0.08);
}

.light-blue-bg {
    background-color: rgba(255, 255, 255, 0.06);
}

.features-section {
    background: linear-gradient(180deg, #f9fbff 0%, #f3f6fb 100%);
    border-radius: 20px;
    padding: 40px 28px 48px;
    box-shadow: 0 18px 54px rgba(15, 43, 70, 0.08);
    border: 1px solid #e3e9f4;
}

.feature-eyebrow {
    letter-spacing: 0.12rem;
    font-weight: 700;
    color: #1d7cd2;
}

.feature-subtitle {
    color: #4b5b6b;
    font-size: 0.95rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e7f0;
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 14px 36px rgba(15, 43, 70, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    text-align: center;
}

.feature-card-body {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 43, 70, 0.12);
    flex-shrink: 0;
    margin: 0 auto 6px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.link-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-grid__item {
    background: #ffffff;
    border: 1px solid var(--pwp-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(17, 42, 74, 0.08);
}

.link-grid__item h5 {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.link-grid__item p {
    margin: 0;
}

.link-grid__item a {
    color: var(--pwp-primary);
    font-weight: 700;
    text-decoration: none;
}

.link-grid__item a:hover,
.link-grid__item a:focus {
    color: #072b68;
    text-decoration: underline;
}

.faq-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--pwp-border);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(17, 42, 74, 0.08);
}

.faq-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px auto;
    border-radius: 14px;
    color: #0f2b46;
    background: #eef5ff;
    box-shadow: 0 10px 26px rgba(15, 43, 70, 0.12);
}

.faq-icon svg {
    width: 1.1em;
    height: 1.1em;
    display: block;
}

@media (max-width: 767px) {
    .navbar {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .feature-icon-container {
        width: 56px;
        height: 56px;
    }
}
