/* Main content grows to fill all space, centering the heading vertically */
.hero>.container:first-child {
    flex: 1;
    display: flex;
    align-items: center;
}


/* Features bar sits at the bottom naturally because the container above takes flex:1 */
.hero-features-container {
    width: 100%;
}

.hero .hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    align-self: flex-end;
    margin-bottom: 20px;

}

.hero .hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.hero .hero-feature-item:last-child {
    border-right: none;
}

.hero .hero-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.hero .hero-feature-item span {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}


@media (min-width: 576px) and (max-width: 991px) {
    .hero .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 575px) {
    .hero .hero-features {
        grid-template-columns: 1fr;
    }

    .hero .hero-feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .hero .hero-feature-item:last-child {
        border-bottom: none;
    }

    .hero .hero-feature-item {
        padding: 12px 18px;
    }

    .hero .hero-feature-icon {
        width: 34px;
        height: 34px;
    }
}