.intro-bg-overlay__media {
    min-height: 100%;
}

.intro-bg-overlay__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-bg-overlay__scrim {
    pointer-events: none;
}

.intro-bg-overlay__content-box {
    max-width: 48rem;
}

.intro-bg-overlay__decor-top {
    width: 6rem;
    height: 6rem;
    top: 5rem;
    left: 2.5rem;
}

.intro-bg-overlay__decor-bottom {
    width: 8rem;
    height: 8rem;
    bottom: 5rem;
    right: 2.5rem;
}

.intro-bg-overlay__decor-mid {
    width: 4rem;
    height: 4rem;
    top: 33%;
    right: 25%;
}

.intro-bg-overlay__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-bg-overlay__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* features institution — hairline dividers between trust items (width/style only, color comes from Tailwind/BS classes) */

/* BS flex child needs min-width:0 to shrink instead of overflowing on long titles (no BS utility) */
.features-inst__body {
    min-width: 0;
}

.features-inst__item:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

@media (min-width: 768px) {
    /* equal-width columns regardless of text length (basis 0 + min-width:0 lets a text-heavy item shrink) */
    .features-inst__item {
        flex: 1 1 0%;
        min-width: 0;
    }

    .features-inst__item:not(:first-child) {
        border-top-width: 0;
        border-left-width: 1px;
        border-left-style: solid;
    }
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-bracket {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-bracket__corner {
    width: 1.5rem;
    height: 1.5rem;
}

.whyus-bracket__corner--tl { top: 1.5rem; inset-inline-start: 1.5rem; }
.whyus-bracket__corner--tr { top: 1.5rem; inset-inline-end: 1.5rem; }
.whyus-bracket__corner--bl { bottom: 1.5rem; inset-inline-start: 1.5rem; }
.whyus-bracket__corner--br { bottom: 1.5rem; inset-inline-end: 1.5rem; }

.whyus-bracket__head {
    margin-bottom: 3rem;
}

.whyus-bracket__badge {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.whyus-bracket__badge-text,
.whyus-bracket__num {
    font-size: 0.75rem;
}

.whyus-bracket__badge-text {
    letter-spacing: 0.025em;
}

.whyus-bracket__lead {
    font-size: 1rem;
}

.whyus-bracket__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.whyus-bracket__card {
    padding: 1.5rem;
    transition: box-shadow 150ms ease;
}

/* hover ring — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:ring-2 wins there */
:where(.whyus-bracket__card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

.whyus-bracket__card-title {
    font-size: 1.125rem;
}

.whyus-bracket__card-desc {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .whyus-bracket {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-bracket__head {
        margin-bottom: 4rem;
    }

    .whyus-bracket__lead {
        font-size: 1.125rem;
    }

    .whyus-bracket__card-desc {
        font-size: 1rem;
    }

    .whyus-bracket__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .whyus-bracket__card {
        padding: 1.75rem;
    }

    .whyus-bracket__card-title {
        font-size: 1.25rem;
    }

    .whyus-bracket__heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .whyus-bracket__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .whyus-bracket__heading {
        font-size: 3rem;
    }
}

/* whyus v24 — bracket-framed card grid */

.whyus-bracket__heading {
    display: inline-block;
    font-size: 1.875rem;
    transform: perspective(600px) rotateX(4deg);
    transform-origin: center bottom;
}

.whyus-bracket__card {
    animation: whyus-bracket-reveal 0.6s ease both;
}

.whyus-bracket__card:nth-child(1) { animation-delay: 0.05s; }
.whyus-bracket__card:nth-child(2) { animation-delay: 0.12s; }
.whyus-bracket__card:nth-child(3) { animation-delay: 0.19s; }
.whyus-bracket__card:nth-child(4) { animation-delay: 0.26s; }
.whyus-bracket__card:nth-child(5) { animation-delay: 0.33s; }
.whyus-bracket__card:nth-child(6) { animation-delay: 0.4s; }

@keyframes whyus-bracket-reveal {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-bracket__card {
        animation: none;
    }

    .whyus-bracket__heading {
        transform: none;
    }
}

.outline-orb-top {
    top: 0;
    right: 0;
    width: 18rem;
    height: 18rem;
    filter: blur(3rem);
}

.outline-orb-bottom {
    bottom: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    filter: blur(3rem);
}

.outline-media-group:hover .outline-image-hover {
    transform: scale(1.1);
}

.outline-image-hover {
    transition: transform 0.7s ease;
}

.outline-overlay-hover {
    transition: opacity 0.5s ease;
}

.outline-media-group:hover .outline-overlay-hover {
    opacity: 1;
}

.outline-float-star {
    top: -1rem;
    right: -1rem;
}

.outline-float-check {
    bottom: -1rem;
    left: -1rem;
}

@keyframes bounce-kf {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes pulse-kf {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.35; }
}

.outline-bounce {
    animation: bounce-kf 1s infinite;
}

.outline-pulse {
    animation: pulse-kf 3s ease-in-out infinite;
}

.outline-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outline-card-group:hover .outline-card-hover {
    transform: scale(1.05);
    box-shadow: var(--bs-box-shadow-lg);
}

.outline-icon-rotate-hover {
    transition: transform 0.3s ease;
}

.outline-card-group:hover .outline-icon-rotate-hover {
    transform: rotate(12deg);
}

.outline-title-hover {
    transition: color 0.3s ease;
}

.outline-card-group:hover .outline-title-hover {
    color: var(--bs-primary);
}

.outline-sq-6  { width: 1.5rem;  height: 1.5rem;  flex-shrink: 0; }
.outline-sq-8  { width: 2rem;    height: 2rem;    flex-shrink: 0; }
.outline-sq-14 { width: 3.5rem;  height: 3.5rem;  flex-shrink: 0; }

