/* LIFT Foundation Main Stylesheet */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Configuration - Palatino throughout the system */
body, 
html,
h1, h2, h3, h4, h5, h6,
p, span, div, a, button,
input, textarea, select,
.form-control, .btn, .nav-link,
.card, .alert, .badge {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif !important;
}

/* LIFT Foundation Color Variables */
:root {
    --lift-secondary: #388E3C;
    --lift-primary: #004AAD;
    --lift-light: #cfeaea;
    --lift-dark: #094a4a;
    --lift-gray: #D7DCDE;
}

/* Base Typography */
body {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    background-color: #f2f6f4;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
    margin-bottom: 1rem;
}

/* Links */
a {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
    color: var(--lift-primary);
    text-decoration: none;
}

a:hover {
    color: var(--lift-secondary);
}

/* Form Elements */
.form-control,
input, textarea, select {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif !important;
}

/* Buttons */
.btn {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif !important;
    font-weight: 600;
}

/* Navigation */
.nav-link {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif !important;
}

/* Cards and Components */
.card {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
}

.alert {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
}

.badge {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;
}

/* Utility Classes */
.font-palatino {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    body { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════
   LIFT Foundation shared "signature card" design system.
   One consistent card treatment reused across the homepage,
   about page and focus areas so they read as one design
   rather than several stitched-together templates.
   ══════════════════════════════════════════════════════════ */
.signature-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.25rem 1.85rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 20, 60, 0.07);
    border: 1px solid rgba(0, 20, 60, 0.05);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}

.signature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary, #004AAD), var(--brand-secondary, #388E3C));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.signature-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 45px rgba(0, 20, 60, 0.14);
}

.signature-card:hover::before {
    transform: scaleX(1);
}

.signature-card .card-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary, #004AAD), var(--brand-secondary, #388E3C));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 22px rgba(0, 74, 173, 0.28);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.signature-card:hover .card-icon-badge {
    transform: scale(1.08) rotate(-4deg);
}

.signature-card h3, .signature-card h4 {
    color: var(--brand-primary, #004AAD);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.signature-card p {
    color: #5a6472;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Numbered step-flow (Understand → Prevent → Check → Connect → Follow up) */
.step-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem 0;
    margin: 2.5rem 0 1rem;
    position: relative;
}

.step-flow-item {
    flex: 1 1 0;
    min-width: 140px;
    text-align: center;
    position: relative;
    padding: 0 0.75rem;
}

.step-flow-item .step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary, #004AAD), var(--brand-secondary, #388E3C));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 0.85rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0, 74, 173, 0.3);
}

.step-flow-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary, #004AAD), var(--brand-secondary, #388E3C));
    opacity: 0.3;
    z-index: 1;
}

.step-flow-item .step-label {
    font-weight: 700;
    color: var(--brand-primary, #004AAD);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

@media (max-width: 767px) {
    .step-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .step-flow-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
        min-width: 0;
        padding: 0;
    }
    .step-flow-item .step-num {
        margin: 0;
        flex-shrink: 0;
    }
    .step-flow-item:not(:last-child)::after {
        display: none;
    }
}

/* Wave section divider (reuses the technique already used in the footer) */
.wave-divider {
    line-height: 0;
    margin-bottom: -1px;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 50px;
}

/* Floating highlight strip (used under the homepage hero) */
.highlight-strip {
    position: relative;
    z-index: 5;
    margin-top: -3.5rem;
    margin-bottom: 2rem;
}
.highlight-strip .highlight-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 20, 60, 0.15);
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}
.highlight-strip .highlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-primary, #004AAD), var(--brand-secondary, #388E3C));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.highlight-strip .highlight-value {
    font-weight: 800;
    color: var(--brand-primary, #004AAD);
    font-size: 1.15rem;
    line-height: 1.2;
}
.highlight-strip .highlight-label {
    color: #6b7280;
    font-size: 0.85rem;
}
@media (max-width: 767px) {
    .highlight-strip {
        margin-top: 1.5rem;
    }
}
