:root {
    --vf-primary: #EFE8DE; /* #7a1c1c;*/ /* Crimson alternative for VF corporate palette */
    --vf-dark: #212529;
    --vf-font-color-primary: #7a1c1c;
    --vf-light: #f8f9fa;
    --vf-light-bg: #f8f9fa;
    --vf-body-bg: #f4f5f6;
    --vf-body-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --vf-body-font-size: 1rem;
    --vf-body-font-size-lg: 1.1rem;
    --vf-text-dark: #2d3748;
    --vf-primary-crimson: #A51C30;
    --vf-dark-crimson: #7F1424;
    --vf-border-color: #e2e8f0;
}

html {
    scroll-margin-top: 90px; /* Average height of a sticky nav */
    scroll-behavior: smooth;
}

/* Ensure it applies to any elements with IDs being linked to */
[id] {
    scroll-margin-top: 90px; 
}

body {
    background: var(--vf-primary);
    background-color: var(--vf-body-bg);
    font-size: var(--vf-body-font-size);
    font-family: var(--vf-body-font-sans-serif);
    color: var(--vf-text-dark);
}

@media (min-width: 768px) {
    body {
        font-size: var(--vf-body-font-size-lg);
    }
}
/** navbar **/
.navbar-vf {
    background-color: var(--vf-primary);
}
.navbar-vf .navbar-brand, .navbar-vf .nav-link {
    color: var(--vf-font-color-primary) !important;
}
.navbar-vf .nav-link:hover{
    font-weight: bold;
}
.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Profile Image Styles */
.navbar-vf .profile-avatar {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/** navbar **/

.btn-vf {
    background-color: var(--vf-primary);
    border-color: var(--vf-font-color-primary) !important; 
    color: var(--vf-font-color-primary) !important;
}
.btn-vf:hover {
    font-weight: bold;
}
.btn-vf-primary {
    background-color: var(--vf-primary-crimson);
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 0.65rem;
    transition: all 0.2s ease;
}

.btn-vf-primary:hover {
    background-color: var(--vf-dark-crimson);
    color: #ffffff;
}

.btn-toggle:before {
    content: "+ ";
    display: inline-block;
    width: 12px;
}
.btn-toggle[aria-expanded="true"]::before {
    content: "- ";
}

/** Hero section **/
.hero-header {
    position: relative;
    color: #ffffff;
    background: #1a1a1a no-repeat center/cover; 
    min-height: 650px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Forces inline elements to center */
    overflow: hidden;
    animation: slideUpBackground 3.5s ease-out forwards;
}
.hero-header .backdrop-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}
.hero-header .content-wrap {
    position: relative;
    z-index: 2;
    max-width: 800px; 
    padding: 10px 10px;
    margin: 0 auto; /* Forces the block container to center inside the header */
    text-align: center; 
}
.hero-header .breadcrumb-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers flex items horizontally */
    justify-content: center;
    text-align: center;
}
.hero-header .p {
    padding: 30px 20px;
}
@media (min-width: 768px) {
    .hero-header {
        background-size: cover; 
    }

    .hero-header .backdrop-gradient {
        background: linear-gradient(90deg, #272727 0%, #272727 13%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, #272727 87%, #272727 100%);
    }
}
@keyframes slideUpBackground {
    0% {
        background-position: center 65%;
    }
    100% {
        background-position: center center;
    }
}
.hero-header h1.page-title, 
.hero-header .page-title {
    margin: 0 auto 10px auto;
    text-align: center;
    width: 100%;
    font-size: 2.5rem;
}
.hero-header .content {
    margin-top: 10px;
    text-align: center;
}
.hero-header .lead {
    font-size: 1.15rem;
    line-height: 1.6;
    text-align: center;
}
.hero-header a:hover {
    color: var(--vf-font-color-primary) !important;
    TEXT-DECORATION: blink;
}
/** Hero section **/

.card-hover-effect {
    transition: all 0.3s ease;
    border-radius: 12px;
}
.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.12) !important;
}

.section-divider {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 2rem;
}

/** VF Filter box **/
.vf-pne-filter-box {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 25px;
    border: 1px solid #e5e5e5;
}

.vf-pne-card {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: 0.3s;
    background: #ffffff;
    padding: 18px;
}

.vf-pne-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.vf-pne-card-header {
    /* padding: 20px; */
    cursor: pointer;
}

.vf-pne-initiative-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d1b2a;
}

.vf-pne-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 6px;
    border: 1px solid #dcdcdc;
}

.vf-pne-badge-label {
    padding: 6px 10px;
    background: #e9ecef;
    color: #495057;
    font-weight: 700;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.vf-pne-badge-value {
    padding: 6px 12px;
}

.pillar-badge .vf-pne-badge-value {
    background: #dbeafe;
    color: #1d4ed8;
}

.workstream-badge .vf-pne-badge-value {
    background: #dcfce7;
    color: #15803d;
}

.status-badge .vf-pne-badge-value {
    background: #fef3c7;
    color: #b45309;
}

.vf-pne-short-desc {
    color: #495057;
    margin-bottom: 14px;
}

.vf-pne-meta {
    font-size: 14px;
    color: #6c757d;
}

.vf-pne-collapse {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #ececec;
    background: #fafafa;
}

.vf-pne-detail-title {
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
}

.vf-pne-empty {
    text-align: center;
    padding: 50px;
    color: #6c757d;
}

@media (max-width: 768px) {

    .vf-pne-title {
        font-size: 24px;
    }

    .vf-pne-title {
        font-size: 18px;
    }

}
/** Quick message CSS : BEGIN **/
.vf-alert-row {
    background-color: var(--vf-primary);
}

.vf-alert-box {
    border: 1px solid transparent;
    transition: opacity 0.15s linear;
}

.vf-alert-info, .vf-alert-info-action {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-left: 4px solid #3b82f6;
    color: #1e3a8a;
}

.vf-alert-info i, .vf-alert-info-action i {
    color: #3b82f6;
}

.vf-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
    border-left: 4px solid #22c55e;
    color: #14532d;
}
.vf-alert-success i {
    color: #22c55e;
}

.vf-alert-danger {
    background-color: #fff5f6;
    border: 1px solid #ffe4e6;
    border-left: 4px solid var(--vf-primary-crimson, #A51C30);
    color: #5c0f1b;
}
.vf-alert-danger i {
    color: var(--vf-primary-crimson, #A51C30);
}
.vf-alert-warning {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #78350f;
}
.vf-alert-warning i {
    color: #f59e0b;
}
/** Quick message CSS ; END **/

/** vf pay page **/
.vf-pay-section-title {
    color: var(--vf-primary-crimson);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}
.vf-pay-btn-amount-toggle {
    border: 2px solid var(--vf-border-color);
    background: #fff;
    color: var(--vf-text-dark);
    font-weight: 600;
    padding: 0.75rem;
    transition: all 0.2s ease;
}
.vf-pay-btn-amount-toggle:hover {
    border-color: var(--vf-primary-crimson) !important;
    background: #fff5f6 !important;
    color: var(--vf-primary-crimson) !important;
}
.btn-check:checked + .vf-pay-btn-amount-toggle {
    background-color: var(--vf-primary-crimson) !important;
    border-color: var(--vf-primary-crimson) !important;
    color: #ffffff !important;
}
.form-label {
    font-weight: 500;
    font-size: 0.95rem;
    color: #4a5568;
}

.form-control:focus, .form-select:focus {
    border-color: var(--vf-primary-crimson);
    box-shadow: 0 0 0 0.25rem rgba(165, 28, 48, 0.15);
}
.vf-pay-required-asterisk {
    color: var(--vf-primary-crimson);
    font-weight: bold;
}

.vf-pay-sticky-summary {
    position: sticky;
    top: 20px;
}

.vf-pay-summary-card {
    border-top: 5px solid var(--vf-primary-crimson);
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.vf-pay-btn-submit {
    background-color: var(--vf-primary-crimson);
    color: #ffffff;
    border: none;
    font-weight: 600;
    /* padding: 0.85rem; */
    font-size: 1.1rem;
}

.vf-pay-btn-submit:hover,
.vf-pay-btn-submit:focus,
.vf-pay-btn-submit:focus-visible
{
    border-color: var(--vf-primary-crimson) !important;
    background: #fff5f6 !important;
    color: var(--vf-primary-crimson) !important;
    border: 2px solid var(--vf-border-color);    
}
/** vf pay page **/

/** vf login **/
.vf-login-auth-card {
    background: #ffffff;
    border: 1px solid var(--vf-border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
}
.vf-login-pin-box {
    letter-spacing: 1ch;
    font-size: 1.5rem;
    text-align: center;
}
/** vf login **/
