.custom-container {
    max-width: 1516px;
    margin: auto;
    padding: 0 20px;
    width: 100%;
}

.custom-tabs {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-left: 0;
}

.custom-tabs .nav-item {
    flex: 0 0 auto;
}

.tab-content {
    margin-top: 40px;
    margin-bottom: 100px;
}

.nav-pills .nav-link {
    border-radius: 30px;
    padding: 10px 24px;
    margin: 0;
    border: 1px solid #E5EBF7;
    color: #666666;
    font-family: Mulish;
    font-weight: 500;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0%;
    border-radius: 50px !important;
    -webkit-border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    -ms-border-radius: 50px !important;
    -o-border-radius: 50px !important;
    white-space: nowrap;
}



.nav-pills .nav-link.active {
    background: #003BAF !important;
    color: #ffffff !important;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.title {
    font-family: Nunito;
    font-weight: 600;
    font-size: 25px;
    line-height: 38.07px;
    letter-spacing: 1%;
    vertical-align: middle;
    margin-bottom: 50px;
}

.text {
    font-family: Manrope;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 1%;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .custom-tabs {
        gap: 12px;
    }
    .nav-pills .nav-link {
        padding: 10px 18px;
        font-size: 15px;
        line-height: 28px;
    }
}

@media (max-width: 767px) {
    .custom-tabs {
        gap: 10px;
    }
    .nav-pills .nav-link {
        padding: 9px 16px;
        font-size: 14px;
        line-height: 24px;
    }
    .title {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 30px;
    }
    .text {
        font-size: 15px;
        line-height: 24px;
    }
}

@media (max-width: 575px) {
    .custom-tabs {
        flex-direction: column;
        align-items: center;
    }
    .custom-tabs .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .nav-pills .nav-link {
        width: 100%;
        max-width: 320px;
        text-align: center;
        white-space: normal;
        line-height: 22px;
        padding: 12px 18px;
    }
    .tab-content {
        margin-top: 30px;
    }
    .title {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 24px;
    }
    .text {
        font-size: 14px;
        line-height: 22px;
    }
}