﻿.bb-inner-services {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bb-features-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, clamp(420px, 25vw, 550px)) !important;
    gap: 40px max(15px, 3vw);
    width: 100%;
    justify-content: center;
    padding: 20px;
    grid-auto-rows: minmax(330px, auto);
}

.bb-banner-image-background {
    position: fixed;
}

.bb-home-mid-logo {
    width: clamp(150px, 15vw, 350px);
    margin: auto;
    margin-block: 12px;
}

.bb-home-services-title {
    font-size: clamp(24px, 3vw, 44px) !important;
    margin-bottom: 14px;
}

.bb-home-services-secondary-title {
    font-family: Nunito Sans;
    font-size: clamp(18px, 2vw, 38px);
    font-weight: 700;
    text-align: center;
    color: var(--fuschia);
    margin: 24px 0 24px 0;
    max-width: 620px;
    padding-inline: 12px;
}

.bb-services-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem !important;
    width: fit-content !important;
}

    .bb-services-wrapper .bb-service-card {
        max-width: 370px;
        height: 100%;
        max-height: 295px;
        width: 100%;
    }

    .bb-services-wrapper .bb-predefined-category-card {
        grid-column: 1 / -1;
        justify-self: center;
    }

.bb-card-card-icon-alternative {
    width: 94px;
    height: 94px;
    border: 2px solid #DDDDDD;
    margin-bottom: 16px;
    border-radius: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .bb-card-card-icon-alternative > img {
        width: 90%;
    }

.bb-service-card-alternative .bb-service-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 0 20px;
}

.bb-service-card-alternative .bb-service-card-title {
    margin-bottom: 10px;
}

.bb-service-card-alternative .bb-service-card-description {
    min-height: initial !important;
}

@media screen and (max-width: 1050px) {
    header > .dropdown {
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
    }

    .dropbtn {
        border-radius: unset !important;
        background-color: transparent;
        color: var(--fuschia);
        padding: 0;
        font-weight: var(--bold-font-weight);
        display: flex;
        align-items: center;
    }

    .invert-nav-colors .dropbtn {
        color: white;
    }

    .dropdown-content {
        top: calc(100% + 8px);
        left: unset;
        margin-right: 20px;
    }

    .dropbtn img {
        margin-left: 5px;
        margin-right: unset;
        /*margin-top: 2px;*/
    }

    .dropbtn .bb-arrow-icon {
        display: none;
    }

        .dropbtn .bb-arrow-icon.active {
            display: block;
        }

    .invert-nav-colors .dropbtn .bb-arrow-icon.active {
        display: none;
    }

    .invert-nav-colors .dropbtn .bb-arrow-icon {
        display: block;
    }

    header {
        justify-content: space-between;
    }
}

@media screen and (max-width: 800px) {
    .bb-services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width:600px) {
    .bb-services-wrapper {
        grid-template-columns: unset;
        padding: 6%;
    }
}