
    /* Critical H1 styles – ensures LCP paints immediately */
    .banner-text h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
        color: #fff;
        line-height: 1.2;
    }
    @media (max-width: 768px) {
        .banner-text h1 { font-size: 1.8rem; }
    }
    @media (max-width: 480px) {
        .banner-text h1 { font-size: 1.5rem; }
    }
    /* Force consistent icon dimensions and prevent layout shift */
.bi::before, [class*=" bi-"]::before, [class^="bi-"]::before {
    font-size: 1rem !important;          /* fixed size, not relative to parent */
    line-height: 1 !important;
    vertical-align: middle !important;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    text-align: center;
}

/* Also target the parent <i> or <span> that might have extra margins */
.bi, [class*=" bi-"], [class^="bi-"] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
}
.banner-text {
    min-height: 300px;   /* prevents CLS on desktop */
}
@media (max-width: 768px) {
    .banner-text {
        min-height: 260px;
    }
}
@media (max-width: 480px) {
    .banner-text {
        min-height: 220px;
    }
}
.banner-text h1 {
    line-height: 1.2 !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
}
.banner-text .lead {
    line-height: 1.4 !important;
    margin: 0 0 1.5rem 0 !important;
}
.container {
    min-height: 200px;
}
