html {
    scroll-behavior: smooth;
}

.header-block {
    background-image: url(https://8006154.fs1.hubspotusercontent-na1.net/hubfs/8006154/raw_assets/public/tinubu-theme-2024/images/sections/surety/hero-background.png);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    width: 100%;
    height: 650px;
    margin-bottom: -175px;
}

.hero-banner__content p {
    color: #FFF;
    text-align: center;

    /* TITLE-90 */
    -webkit-text-stroke-width: 1;
    -webkit-text-stroke-color: #FFF;
    font-family: Urbanist;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 30px;
}

.hero-banner__content b {
    color: #FFF;
    font-family: Urbanist;
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

.insurance-platform {
    height: auto;
}

.insurance-platform__heading {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.insurance-platform__content {
    font-family: 'Urbanist', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 0;
    text-align: center;
}

.insurance-platform__form-container {
    background-color: #21265c;
    padding: 2rem;
    color: #fff;
    border-radius: 0;
}

.insurance-platform__title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Urbanist', sans-serif;
}

.surety__hs-form {
    background: #21265c;
    padding: 40px 40px 1px 40px;
}

.surety__hs-form .insurance-platform__title {
    color: #FFFFFF;
    margin-bottom: 32px;
}

.build-vs-buy__hs-form {
    margin-top: 0;
    margin-bottom: 70px;
    margin-left: auto;
}

.build-vs-buy__hs-form .hsfc-Step__Content {
    padding: 0 !important;
}

.build-vs-buy__hs-form button[type=submit] {
    text-transform: uppercase;
    background-color: #f18549;
    border: none;
    color: #FFFFFF;
    border-radius: 0 !important;
    padding: 12px 42px !important;
    font-family: Montserrat, serif;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.build-vs-buy__hs-form input[type="text"],
.build-vs-buy__hs-form input[type="email"] {
    width: 100% !important;
    color: #666 !important;
    font-family: Urbanist, sans-serif !important;
    font-size: 15px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 160% */
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    height: 56px;
    padding: 16px !important;
    background: #ffff !important;
}

.build-vs-buy__hs-form label {
    display: none !important;
}

.build-vs-buy__hs-form .hsfc-NavigationRow {
    margin-top: 20px !important;
}

.build-vs-buy__hs-form .hsfc-ErrorAlert {
    color: red !important;
    display: block !important;
    font-family: Urbanist, sans-serif !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    margin-bottom: 5px !important;
}

.build-vs-buy__hs-form  .hsfc-NavigationRow__Buttons {
    justify-content: center !important;
}

.build-vs-buy__hs-form  .hsfc-RichText p {
    font-family: Urbanist, sans-serif !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 24px;
    color: #fff;
}

.build-vs-buy__hs-form  .hsfc-RichText p strong {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #fff;
}

.build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText {
    text-align: center;
}

.build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText p,
.build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText strong {
    color: #000000;
}


@media (min-width: 768px) and (max-width: 991px) {
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .header-block {
        background-image: url(https://8006154.fs1.hubspotusercontent-na1.net/hubfs/8006154/raw_assets/public/tinubu-theme-2024/images/sections/surety/hero-background.png);
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
        width: 100%;
        height: 600px;
        margin-bottom: -125px;
    }

    .hero-banner__content p {
        color: #FFF;
        text-align: center;

        /* TITLE-90 */
        -webkit-text-stroke-width: 1;
        -webkit-text-stroke-color: #FFF;
        font-family: Urbanist;
        font-size: 35px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 0;
        margin-top: 60px;
    }

    .hero-banner__content b {
        color: #FFF;
        font-family: Urbanist;
        font-size: 45px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .insurance-platform__heading {
        font-family: 'Urbanist', sans-serif;
        font-weight: 700;
        font-size: 48px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: center;
    }

    .insurance-platform__content {
        font-family: 'Urbanist', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 32px;
        letter-spacing: 0;
        text-align: left;
    }

    .insurance-platform__form-container {
        background-color: #21265c;
        padding: 2rem;
        color: #fff;
        border-radius: 0;
    }

    .insurance-platform__title {
        text-align: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        font-family: 'Urbanist', sans-serif;
    }

    .build-vs-buy__hs-form {
        margin-top: 0;
        max-width: 100%;
        margin-bottom: 70px;
        margin-left: auto;
    }

    .build-vs-buy__hs-form .hsfc-Step__Content {
        padding: 0 !important;
    }

    .build-vs-buy__hs-form button[type=submit] {
        text-transform: uppercase;
        background-color: #f18549;
        border: none;
        color: #FFFFFF;
        border-radius: 0 !important;
        padding: 12px 42px !important;
        font-family: Montserrat, serif;
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .build-vs-buy__hs-form input[type="text"],
    .build-vs-buy__hs-form input[type="email"] {
        width: 100% !important;
        color: #666 !important;
        font-family: Urbanist, sans-serif !important;
        font-size: 15px !important;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 160% */
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
        height: 56px;
        padding: 16px !important;
        background: #ffff !important;
    }

    .build-vs-buy__hs-form label {
        display: none !important;
    }

    .build-vs-buy__hs-form .hsfc-NavigationRow {
        margin-top: 20px !important;
    }

    .build-vs-buy__hs-form .hsfc-ErrorAlert {
        color: red !important;
        display: block !important;
        font-family: Urbanist, sans-serif !important;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 18px !important;
        margin-bottom: 5px !important;
    }

    .build-vs-buy__hs-form  .hsfc-NavigationRow__Buttons {
        justify-content: center !important;
    }

    .build-vs-buy__hs-form  .hsfc-RichText p {
        font-family: Urbanist, sans-serif !important;
        font-size: 16px !important;
        font-style: normal;
        font-weight: 400 !important;
        line-height: 24px;
        color: #fff;
    }

    .build-vs-buy__hs-form  .hsfc-RichText p strong {
        font-size: 18px !important;
        font-weight: 500 !important;
        color: #fff;
    }

    .build-vs-buy__hs-form .hsfc-PostSubmit p {
        color: #000000; !important;
    }
}



@media (min-width: 992px) {
    .header-block {
        background-image: url(https://8006154.fs1.hubspotusercontent-na1.net/hubfs/8006154/raw_assets/public/tinubu-theme-2024/images/sections/surety/hero-background.png) !important;
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
        width: 100%;
        height: 600px;
        margin-bottom: -125px;
    }

    .hero-banner__content p {
        color: #FFF;
        text-align: center;

        /* TITLE-90 */
        -webkit-text-stroke-width: 1;
        -webkit-text-stroke-color: #FFF;
        font-family: Urbanist;
        font-size: 40px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 0;
        margin-top: 60px;
    }

    .hero-banner__content b {
        color: #FFF;
        font-family: Urbanist;
        font-size: 48px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .insurance-platform__heading {
        font-family: 'Urbanist', sans-serif;
        font-weight: 700;
        font-size: 48px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: center;
    }

    .insurance-platform__content {
        font-family: 'Urbanist', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 32px;
        letter-spacing: 0;
        text-align: left;
    }

    .insurance-platform__form-container {
        background-color: #21265c;
        padding: 2rem;
        color: #fff;
        border-radius: 0;
    }

    .insurance-platform__title {
        text-align: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        font-family: 'Urbanist', sans-serif;
    }

    .build-vs-buy__hs-form {
        margin-top: 0;
        margin-bottom: 70px;
        margin-left: auto;
    }

    .build-vs-buy__hs-form .hsfc-Step__Content {
        padding: 0 !important;
    }

    .build-vs-buy__hs-form button[type=submit] {
        text-transform: uppercase;
        background-color: #f18549;
        border: none;
        color: #FFFFFF;
        border-radius: 0 !important;
        padding: 12px 42px !important;
        font-family: Montserrat, serif;
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .build-vs-buy__hs-form input[type="text"],
    .build-vs-buy__hs-form input[type="email"] {
        width: 100% !important;
        color: #666 !important;
        font-family: Urbanist, sans-serif !important;
        font-size: 15px !important;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 160% */
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
        height: 56px;
        padding: 16px !important;
        background: #ffff !important;
    }

    .build-vs-buy__hs-form label {
        display: none !important;
    }

    .build-vs-buy__hs-form .hsfc-NavigationRow {
        margin-top: 20px !important;
    }

    .build-vs-buy__hs-form .hsfc-ErrorAlert {
        color: red !important;
        display: block !important;
        font-family: Urbanist, sans-serif !important;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 18px !important;
        margin-bottom: 5px !important;
    }

    .build-vs-buy__hs-form  .hsfc-NavigationRow__Buttons {
        justify-content: center !important;
    }

    .build-vs-buy__hs-form  .hsfc-RichText p {
        font-family: Urbanist, sans-serif !important;
        font-size: 16px !important;
        font-style: normal;
        font-weight: 400 !important;
        line-height: 24px;
        color: #fff;
    }

    .build-vs-buy__hs-form  .hsfc-RichText p strong {
        font-size: 18px !important;
        font-weight: 500 !important;
        color: #fff;
    }

    .build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText {
        text-align: center;
    }

    .build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText p,
    .build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText strong {
        color: #000000;
    }
}

@media (min-width: 1440px) {
    .header-block {
        width: 100%;
        height: calc(20vw + 500px); /* Dynamically scales with screen width */
        min-height: 700px; /* Ensures a minimum height */
        margin-bottom: calc(-5vw - 125px); /* Dynamically adjusts negative margin */
    }

    .hero-banner__content p {
        color: #FFF;
        text-align: center;

        /* TITLE-90 */
        -webkit-text-stroke-width: 1;
        -webkit-text-stroke-color: #FFF;
        font-family: Urbanist;
        font-size: 48px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 0;
        margin-top: 60px;
    }

    .hero-banner__content b {
        color: #FFF;
        font-family: Urbanist;
        font-size: 65px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0;
        margin-top: 0;
    }

    .insurance-platform__heading {
        font-family: 'Urbanist', sans-serif;
        font-weight: 700;
        font-size: 48px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: center;
    }

    .insurance-platform__content {
        font-family: 'Urbanist', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .insurance-platform__form-container {
        background-color: #21265c;
        padding: 2rem;
        color: #fff;
        border-radius: 0;
    }

    .insurance-platform__title {
        text-align: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        font-family: 'Urbanist', sans-serif;
    }

    .build-vs-buy__hs-form {
        margin-top: 0;
        margin-bottom: 70px;
        margin-left: auto;
    }

    .build-vs-buy__hs-form .hsfc-Step__Content {
        padding: 0 !important;
    }

    .build-vs-buy__hs-form button[type=submit] {
        text-transform: uppercase;
        background-color: #f18549;
        border: none;
        color: #FFFFFF;
        border-radius: 0 !important;
        padding: 12px 42px !important;
        font-family: Montserrat, serif;
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .build-vs-buy__hs-form input[type="text"],
    .build-vs-buy__hs-form input[type="email"] {
        width: 100% !important;
        color: #666 !important;
        font-family: Urbanist, sans-serif !important;
        font-size: 15px !important;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 160% */
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
        height: 56px;
        padding: 16px !important;
        background: #ffff !important;
    }

    .build-vs-buy__hs-form label {
        display: none !important;
    }

    .build-vs-buy__hs-form .hsfc-NavigationRow {
        margin-top: 20px !important;
    }

    .build-vs-buy__hs-form .hsfc-ErrorAlert {
        color: red !important;
        display: block !important;
        font-family: Urbanist, sans-serif !important;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 18px !important;
        margin-bottom: 5px !important;
    }

    .build-vs-buy__hs-form  .hsfc-NavigationRow__Buttons {
        justify-content: center !important;
    }

    .build-vs-buy__hs-form  .hsfc-RichText p {
        font-family: Urbanist, sans-serif !important;
        font-size: 16px !important;
        font-style: normal;
        font-weight: 400 !important;
        line-height: 24px;
        color: #fff;
    }

    .build-vs-buy__hs-form  .hsfc-RichText p strong {
        font-size: 18px !important;
        font-weight: 500 !important;
        color: #fff;
    }

    .build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText {
        text-align: center;
    }

    .build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText p,
    .build-vs-buy__hs-form .hsfc-PostSubmit .hsfc-RichText strong {
        color: #000000;
    }
}