/* Scale down the hero-21 background so it sits closer to the copy */
.hero-21 .th-hero-bg {
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: right 80px center;
    background-color: #0c101b;
}

.hero-21 .th-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 16, 27, 0.96) 0%, rgba(12, 16, 27, 0.9) 55%, rgba(12, 16, 27, 0.6) 72%, rgba(12, 16, 27, 0) 100%);
    pointer-events: none;
}

.hero-21 .hero-style5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 0;
    max-width: 720px;
}

.hero-21 .hero-inner {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 110px 0 40px 0;
}

@media (max-width: 1399px) {
    .hero-21 .th-hero-bg {
        background-size: 60%;
        background-position: right 40px center;
    }

    .hero-21 .hero-inner {
        min-height: calc(100vh - 120px);
        padding: 100px 0 40px 0;
    }
}

@media (max-width: 1199px) {
    .hero-21 .th-hero-bg {
        background-size: 75%;
        background-position: center;
    }

    .hero-21 .hero-inner {
        min-height: calc(100vh - 110px);
        padding: 90px 0 30px 0;
    }
}

@media (max-width: 767px) {
    .hero-21 .th-hero-bg {
        background-size: cover;
    }

    .hero-21 .hero-inner {
        min-height: auto;
        padding: 80px 0 30px 0;
    }
}

/* Navbar brand text next to logo */
.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-brand img {
    height: 54px;
    width: auto;
    display: block;
}

.logo-brand .brand-name {
    color: #f8fbff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .logo-brand img {
        height: 46px;
    }

    .logo-brand .brand-name {
        font-size: 16px;
    }
}
